← Back to team overview

phatch-dev team mailing list archive

[Bug 393183] Re: phatch won't start when no left space on hard disk

 

Fixed in Phatch PPA. It will now display a nice error message in the
terminal.

** Changed in: phatch
       Status: Confirmed => Fix Committed

-- 
phatch won't start when no left space on hard disk
https://bugs.launchpad.net/bugs/393183
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Fix Committed
Status in “phatch” package in Ubuntu: Confirmed

Bug description:
Binary package hint: phatch

hi !

On Ubuntu Junty, launch phatch's gui (0.1.5) from 'Applications>Graphics>Phatch' failed when there's no left space on hard disk.

Message from the console:

mypc@sireloup:~$ phatch 
Traceback (most recent call last):
  File "/usr/bin/phatch", line 14, in <module>
    main(config_paths, app_file = __file__)
  File "/var/lib/python-support/python2.6/phatch/app.py", line 167, in main
    _gui(app_file,paths,settings)
  File "/var/lib/python-support/python2.6/phatch/app.py", line 126, in _gui
    gui.main(settings,actionlist)
  File "/var/lib/python-support/python2.6/phatch/pyWx/gui.py", line 895, in main
    app         = App(settings,actionlist,0)
  File "/var/lib/python-support/python2.6/phatch/pyWx/gui.py", line 850, in __init__
    self._loadSettings(settings)
  File "/var/lib/python-support/python2.6/phatch/pyWx/gui.py", line 832, in _loadSettings
    self.settings.update(cPickle.load(f))
EOFError
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 96, in apport_excepthook
    pr.write(report_file)
  File "/usr/lib/python2.6/dist-packages/problem_report.py", line 262, in write
    print >> file, '', v.replace('\n', '\n ')
IOError: [Errno 28] Aucun espace disponible sur le périphérique

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/phatch", line 14, in <module>
    main(config_paths, app_file = __file__)
  File "/var/lib/python-support/python2.6/phatch/app.py", line 167, in main
    _gui(app_file,paths,settings)
  File "/var/lib/python-support/python2.6/phatch/app.py", line 126, in _gui
    gui.main(settings,actionlist)
  File "/var/lib/python-support/python2.6/phatch/pyWx/gui.py", line 895, in main
    app         = App(settings,actionlist,0)
  File "/var/lib/python-support/python2.6/phatch/pyWx/gui.py", line 850, in __init__
    self._loadSettings(settings)
  File "/var/lib/python-support/python2.6/phatch/pyWx/gui.py", line 832, in _loadSettings
    self.settings.update(cPickle.load(f))
EOFError
mypc@sireloup:~$ df -h
Sys. de fich.            Tail. Occ. Disp. %Occ. Monté sur
/dev/sda2              33G   31G     0 100% /
tmpfs                 497M     0  497M   0% /lib/init/rw
varrun                497M  236K  497M   1% /var/run
varlock               497M     0  497M   0% /var/lock
udev                  497M  164K  497M   1% /dev
tmpfs                 497M     0  497M   0% /dev/shm
overflow              1,0M   16K 1008K   2% /tmp


It would be nice to display an alerte message instead of.

Regards

Nicolas