https://bugs.gpodder.org/show_bug.cgi?id=924

           Summary: Missing Python modules cause Fedora's ABRT to think
                    gPodder has crashed
           Product: gPodder
           Version: 2.3
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: feature request
          Priority: low
         Component: Application
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


We've received the following bug report against the Fedora packages:
https://bugzilla.redhat.com/show_bug.cgi?id=570811

Fedora has no pymtp packages so we can't require those. If the user happens to
enable MTP synchronization anyway, gPodder does show a nice error message when
synchronizing, but it also throws an exception at around

File "/usr/lib/python2.6/site-packages/gpodder/sync.py", line 772, in __init__
    self.__MTPDevice = pymtp.MTP()
NameError: global name 'pymtp' is not defined

Fedora's ABRT happens to think this is a bug/crash. Could something be changed
in the code or should we just start expecting these reports? ;) In this file
specifically I could of course send a patch with some more "try:
pymtp.something except: pass" type of code, but adding that sort of stuff for
every extra module wouldn't be too clean.

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to