gPodder Bug Tracker – Bug 1905
PodcastChannel.rewrite_url method missing, breaks rewrite command
Last modified: 2014-04-01 21:36:55 BST
The PodcastChannel.rewrite_url method is called in gPodderCli.rewrite, but nowhere defined. I assume it got broken by this commit and exists in all recent versions: https://github.com/gpodder/gpodder/commit/6787fbcb1ff292aa6aebaed443139f86d077e414
Traceback (most recent call last):
File "/usr/bin/gpo", line 848, in <module>
File "/usr/bin/gpo", line 737, in _shell
File "/usr/bin/gpo", line 823, in _parse
return self._checkargs(func, command_line)
File "/usr/bin/gpo", line 765, in _checkargs
File "/usr/bin/gpo", line 671, in rewrite
result = podcast.rewrite_url(new_url)
AttributeError: 'PodcastChannel' object has no attribute 'rewrite_url'
Thanks for the bug report.
Fixed in 3.x here: http://gpodder.org/commit/c576997c
Fixed in 4.x here: https://github.com/gpodder/gpodder-core/commit/f690585
Both fixes will be part of the next release for each branch.