After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 576969 - postr crashed with OSError in getsize()
postr crashed with OSError in getsize()
Status: RESOLVED FIXED
Product: postr
Classification: Other
Component: General
0.12
Other Linux
: Normal normal
: ---
Assigned To: Postr Maintainers
Postr Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-27 14:25 UTC by Vadim Peretokin
Modified: 2009-11-04 21:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Catch os.error when using os.path.getsize() (720 bytes, patch)
2009-07-20 02:41 UTC, Matthew Martin
reviewed Details | Review

Description Vadim Peretokin 2009-03-27 14:25:05 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
Comment 1 Matthew Martin 2009-07-20 02:41:37 UTC
Created attachment 138777 [details] [review]
Catch os.error when using os.path.getsize()
Comment 2 Germán Poo-Caamaño 2009-11-04 16:29:27 UTC
Review of attachment 138777 [details] [review]:

It looks and works fine.
Comment 3 Germán Poo-Caamaño 2009-11-04 21:33:29 UTC
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.