phatch-dev team mailing list archive
-
phatch-dev team
-
Mailing list archive
-
Message #00194
[Bug 386509] [NEW] After using library changes cant be saved when quiting phatch.
Public bug reported:
(ubuntu 9.04 32bit phatch version 0.2.0.bzr763)
If you use the library and edit something you will get a error when
quiting phatch or when changing to new or different actions. You will
get this dialog:
Save last changes to
"/usr/share/phatch/actionlists/polaroid.phatch"?
If you choose yes you will get this error in the terminal:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/phatch/pyWx/gui.py", line 719, in
on_close
if self.is_save_not_ok(): return
File "/usr/lib/python2.6/dist-packages/phatch/pyWx/gui.py", line 715, in
is_save_not_ok
return not self.on_menu_file_save(None)
File "/usr/lib/python2.6/dist-packages/phatch/pyWx/gui.py", line 411, in
on_menu_file_save
self._save()
File "/usr/lib/python2.6/dist-packages/phatch/pyWx/gui.py", line 618, in
_save
api.save_actionlist(self.filename,data)
File "/usr/lib/python2.6/dist-packages/phatch/core/api.py", line 502, in
save_actionlist
os.rename(filename,filename+'~')
OSError: [Errno 13] Permission denied
This is because its not allowed to change the library since its located
in a root directory. Phatch shouldn't open a dialog to explain you can't
save to a root directory or shouldn't ask to save in
~/share/phatch/actionlists.
Also when using a library and going to file -> open/save as.. he will
open the folder in /usr/share/phatch/actionlist or when changing
highlights /usr/share/phatch/highlights this should be changed to a
default location like ~/.local/share/phatch to save time and make it
more user friendly.
** Affects: phatch
Importance: Undecided
Status: New
--
After using library changes cant be saved when quiting phatch.
https://bugs.launchpad.net/bugs/386509
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.
Status in Phatch = Photo & Batch!: New
Bug description:
(ubuntu 9.04 32bit phatch version 0.2.0.bzr763)
If you use the library and edit something you will get a error when quiting phatch or when changing to new or different actions. You will get this dialog:
Save last changes to
"/usr/share/phatch/actionlists/polaroid.phatch"?
If you choose yes you will get this error in the terminal:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/phatch/pyWx/gui.py", line 719, in
on_close
if self.is_save_not_ok(): return
File "/usr/lib/python2.6/dist-packages/phatch/pyWx/gui.py", line 715, in
is_save_not_ok
return not self.on_menu_file_save(None)
File "/usr/lib/python2.6/dist-packages/phatch/pyWx/gui.py", line 411, in
on_menu_file_save
self._save()
File "/usr/lib/python2.6/dist-packages/phatch/pyWx/gui.py", line 618, in
_save
api.save_actionlist(self.filename,data)
File "/usr/lib/python2.6/dist-packages/phatch/core/api.py", line 502, in
save_actionlist
os.rename(filename,filename+'~')
OSError: [Errno 13] Permission denied
This is because its not allowed to change the library since its located in a root directory. Phatch shouldn't open a dialog to explain you can't save to a root directory or shouldn't ask to save in ~/share/phatch/actionlists.
Also when using a library and going to file -> open/save as.. he will open the folder in /usr/share/phatch/actionlist or when changing highlights /usr/share/phatch/highlights this should be changed to a default location like ~/.local/share/phatch to save time and make it more user friendly.
Follow ups
References