phatch won't start when no left space on hard disk

Bug #393183 reported by Nicolas Chouali
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Phatch
Fix Released
Low
Stani
phatch (Ubuntu)
Fix Released
Undecided
Stani

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

Stani (stani)
Changed in phatch (Ubuntu):
assignee: nobody → stani (stani)
status: New → Confirmed
Changed in phatch:
assignee: nobody → stani (stani)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Stani (stani) wrote :

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

Changed in phatch:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package phatch - 0.2.1-4

---------------
phatch (0.2.1-4) unstable; urgency=low

  * Add mlocate as an alternative dependency to locate (Closes: #548251)

phatch (0.2.1-3) unstable; urgency=low

  * replace --install-scripts=/usr/bin with --prefix=/usr
    (so that data files will be installed in the right place as well)

phatch (0.2.1-2) unstable; urgency=low

  * pass --install-scripts=/usr/bin to setup.py (otherwise it will FTBFS when
    default Python version is >= 2.6)

phatch (0.2.1-1) unstable; urgency=low

  [ Stani M ]
   * New upstream release (Closes LP: #198365, #234788, #270478,
    #297241, #304132, #311646, #344548, #352009, #378889, #378890,
    #379280, #379720, #380415, #380776, #380816, #381091, #381145,
    #381149, #381169, #381379, #381660, #382266, #382763, #382766,
    #382776, #382977, #383140, #383664, #383889, #384273, #384315,
    #384322, #384420, #384421, #384495, #384522, #384548, #384974,
    #385058, #385059, #385166, #385246, #385356, #385740, #386411,
    #386494, #386509, #386638, #386643, #386707, #386741, #386761,
    #386772, #387116, #387413, #388094, #388155, #388371, #388848,
    #390070, #391006, #391483, #391484, #391486, #391488, #391539,
    #391542, #392907, #392999, #393183, #393255, #393257, #393993,
    #394022, #394041, #394946, #398704, #413271, #415152, #418519,
    #419459, #419563, #425910)
  * debian/copyright:
    - Added copyrights for the new contributions.
  * debian/control:
    - Added python-notify and libtiff-tools as dependencies

  [ Emilio Pozuelo Monfort ]
  * debian/rules:
    - Install phatch in /usr/share/phatch instead of as a public module.
    - Stop removing a file from a pysupport folder. With the above change
      is not necessary anymore. Closes: #516322.
  * debian/copyright:
    - Add "Copyright" to the debian copyright.
    - Update years.
  * debian/control:
    - move python-nautilus and pkg-config to Build-Depends-Indep.
    - Wrap depends.
  * Update my email address.

  [ Piotr Ożarowski ]
  * Splitting out the package, new binary packages:
    - phatch-cli (command line interface)
    - phatch-doc (documentation for developers)
    - phatch-nautilus (Python nautilus integration)
  * Add blender and inkscape to phatch's Suggests
  * Add imagemagick, libjpeg-progs, exiftran, xcftools and dcraw to
    phatch-cli's Recommends (new actions will use them)
  * Add ttf-freefont and ttf-thai-tlwg to phatch-cli Depends (and add symlinks
    to use fonts from these packages instead of local copies)
  * Add locate to phatch-cli's Depends (used to find fonts)
  * Add python-sphinx and locate to build depens (docs are regenerated at
    build time)
  * Add lintian override for extra-license-file in phatch-doc (false positive)
  * Bump Standards-Version to 3.8.3 (no changes needed)

 -- stani <email address hidden> Mon, 28 Sep 2009 13:15:14 +0100

Changed in phatch (Ubuntu):
status: Confirmed → Fix Released
Stani (stani)
Changed in phatch:
milestone: none → 0.2.1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.