GNOME Bugzilla – Bug 576969
postr crashed with OSError in getsize()
Last modified: 2009-11-04 21:33:29 UTC
Originally reported @ https://bugs.launchpad.net/ubuntu/+source/postr/+bug/282312 Binary package hint: postr Description: Ubuntu intrepid (development branch) Release: 8.10 postr: Installiert: 0.12.2-1ubuntu1 Kandidat: 0.12.2-1ubuntu1 Versions-Tabelle: *** 0.12.2-1ubuntu1 0 500 http://ftp.hosteurope.de intrepid/universe Packages 100 /var/lib/dpkg/status Crash happens when executing postr <filename> and <filename> does not exist. I think this should not result in a crash like this. ProblemType: Crash Architecture: amd64 DistroRelease: Ubuntu 8.10 ExecutablePath: /usr/bin/postr InterpreterPath: /usr/bin/python2.5 Package: postr 0.12.2-1ubuntu1 PackageArchitecture: all ProcAttrCurrent: unconfined ProcCmdline: /usr/bin/python /usr/bin/postr test.png test2.png ProcEnviron: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/X11R6/bin LANG=de_DE.UTF-8 SHELL=/usr/bin/fish PythonArgs: ['/usr/bin/postr', 'test.png', 'test2.png'] SourcePackage: postr Title: postr crashed with OSError in getsize() Uname: Linux 2.6.27-7-generic x86_64 UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev sambashare vboxusers video
Created attachment 138777 [details] [review] Catch os.error when using os.path.getsize()
Review of attachment 138777 [details] [review]: It looks and works fine.
This problem has been fixed in our software repository as well as the development version. The fix will go into the next software release. Thank you for your bug report.