save on windows 7 fails permissions check
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fractal Fr0st |
Fix Released
|
High
|
Vitor Bosshard |
Bug Description
When you go to save a flame fractal (generated by the random batch script) if you just hit save, you get an error (see error trace below). If you do save as the path says parameters/
Since windows 7 requires UAC to temporarily have administrator privileges to write to the program files directory, I am guessing the error message below is failing because of ability to write to program files. (which you also get if you save as with default, or save as browse and leave the folder in program files)
I would suggest that the default should be the parameters folder created in the users directory for the initial save, and after that the default file should be the previously saved file (yes even for save as, since you are saving a flame to a file, rather than saving a whole file)
Error:
Traceback (most recent call last):
File "fr0stlib\
File "fr0stlib\
File "fr0stlib\
File "fr0stlib\
IOError: [Errno 13] Permission denied: 'parameters/
Platform: win32
Config:
{'Bits': 0,
'Edit-Post-Xform': False,
'Gradient-
'Img-Dir': u'C:\\Users\
'Img-Type': u'.png',
'Large-
'Lock-Axes': False,
'Preview-
'Rect-Editor': None,
'Rect-Main': None,
'Rect-Preview': None,
'Render-Settings': {'buffer_depth': 33,
'Var-Preview-
'Variation-
'World-Pivot': True,
'active-vars': ('linear',
'flamepath': 'samples.flame',
'renderer': 'flam3'}
Flame Path:
'parameters/
UserParametersDir: C:\Users\
RendersDir: C:\Users\
UserScriptsDir: C:\Users\
ConfigDir: C:\Users\
Frozen: True
AppBaseDir: C:\Program Files (x86)\fr0st
IconsDir: C:\Program Files (x86)\fr0st\icons
Changed in fr0st: | |
milestone: | none → 1.1.0beta |
It looks like there are 2 problems here:
1) The app is not checking if a save path is legal. Fr0st should just refuse to save, but it tries anyway and causes an exception.
2) The path of the parameters dir is not correctly found on windows 7.
Could you please test the following:
-Does it work when you manually change the path to a folder where you *do* have write access?
-Does it work when you just start fr0st and try saving one of the default flames? What path is shown in the dialog in that case?