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

           Summary: The gpo command line utility should handle raised
                    exceptions
           Product: gPodder
           Version: 2.11+ (Git "master" branch)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: low
         Component: Application
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


We had the following bug filed in Fedora's bug tracker via the Automatic Bug
Reporting Tool: https://bugzilla.redhat.com/show_bug.cgi?id=668284

feedcore.py:156:_check_offline:Offline

Traceback (most recent call last):
  File "/usr/bin/gpo", line 265, in <module>
    cli._parse(sys.argv[1:]) or sys.stderr.write(__doc__)
  File "/usr/bin/gpo", line 258, in _parse
    return self._checkargs(func, command_line)
  File "/usr/bin/gpo", line 244, in _checkargs
    return func(*command_line)
  File "/usr/bin/gpo", line 186, in update
    podcast.update()
  File "/usr/lib/python2.7/site-packages/gpodder/api.py", line 84, in update
    self._manager._config.mimetype_prefs)
  File "/usr/lib/python2.7/site-packages/gpodder/model.py", line 319, in update
    self.feed_fetcher.fetch_channel(self)
  File "/usr/lib/python2.7/site-packages/gpodder/model.py", line 73, in
fetch_channel
    self.fetch(url, etag, modified)
  File "/usr/lib/python2.7/site-packages/gpodder/feedcore.py", line 238, in
fetch
    self._parse_feed(url, etag, modified)
  File "/usr/lib/python2.7/site-packages/gpodder/feedcore.py", line 221, in
_parse_feed
    self._check_offline(feed)
  File "/usr/lib/python2.7/site-packages/gpodder/feedcore.py", line 156, in
_check_offline
    raise Offline()
Offline

Local variables in innermost frame:
feed: {'feed': {}, 'encoding': 'utf-8', 'bozo': 1, 'version': None, 'entries':
[], 'bozo_exception': URLError(timeout('timed out',),)}
self: <gpodder.model.gPodderFetcher object at 0x17a6b10>

The gpo utility should handle these exceptions so that they don't trickle their
way directly to the user.

-- 
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