http://bugs.gpodder.org/show_bug.cgi?id=370
Summary: Gpodder unable to add feeds with >> in the feed title
Product: gPodder
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: medium
Component: Application
AssignedTo: [email protected]
ReportedBy: [email protected]
The recent unique file-naming changes to gpodder in git for the 0.15.x series
causes gpodder to crash when attempting to deal with the Cory Doctorow and
Novell Open Audio feeds.
An error similar to the one below is displayed on the console and gpodder's
dialog box simply says there was an error adding the feed.
[ 697.154] Adding new channel: http://feeds.feedburner.com/doctorow_podcast
[ 699.104] (podcastChannel) Found pre-0.15.0 download folder for
http://feeds.feedburner.com/doctorow_podcast: 7dc1a749784efc6e7eb98fab68cfcc94
[ 699.104] (podcastChannel) Renaming
/home/ajs/gpodder-downloads/7dc1a749784efc6e7eb98fab68cfcc94 =>
/home/ajs/gpodder-downloads/http___feeds.feedburner.com_doctorow_podcast
[ 699.105] (podcastChannel) Updating foldername of
http://feeds.feedburner.com/doctorow_podcast to
"http___feeds.feedburner.com_doctorow_podcast".
[ 699.107] (podcastChannel) Renaming
/home/ajs/gpodder-downloads/http___feeds.feedburner.com_doctorow_podcast =>
/home/ajs/gpodder-downloads/http___feeds.feedburner.com_doctorow_podcast (2)
[ 699.108] (podcastChannel) Updating foldername of
http://feeds.feedburner.com/doctorow_podcast to
"http___feeds.feedburner.com_doctorow_podcast (2)".
[ 699.111] (gPodder) Error in
podcastChannel.load(http://feeds.feedburner.com/doctorow_podcast): You must not
use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit
bytestrings (like text_factory = str). It is highly recommended that you
instead just switch your application to Unicode strings.
Traceback (most recent call last):
File "/home/ajs/Software/gpodder/src/gpodder/gui.py", line 1680, in
add_new_channel_proc
channel = podcastChannel.load(url=url, create=True,
authentication_tokens=authentication_tokens)
File "/home/ajs/Software/gpodder/src/gpodder/libpodcasts.py", line 102, in
load
success, error_code = tmp.update()
File "/home/ajs/Software/gpodder/src/gpodder/libpodcasts.py", line 176, in
update
self.update_cover(force=True)
File "/home/ajs/Software/gpodder/src/gpodder/libpodcasts.py", line 219, in
update_cover
if self.cover_file is None or not os.path.exists(self.cover_file) or force:
File "/home/ajs/Software/gpodder/src/gpodder/libpodcasts.py", line 526, in
get_cover_file
return os.path.join( self.save_dir, 'cover')
File "/home/ajs/Software/gpodder/src/gpodder/libpodcasts.py", line 477, in
get_save_dir
wanted_foldername = self.find_unique_folder_name(fn_template)
File "/home/ajs/Software/gpodder/src/gpodder/libpodcasts.py", line 453, in
find_unique_folder_name
while db.channel_foldername_exists(current_try):
File "/home/ajs/Software/gpodder/src/gpodder/dbsqlite.py", line 559, in
channel_foldername_exists
return self.__get__("SELECT id FROM channels WHERE foldername = ?",
(foldername,)) is not None
File "/home/ajs/Software/gpodder/src/gpodder/dbsqlite.py", line 525, in
__get__
cur.execute(sql, params)
ProgrammingError: You must not use 8-bit bytestrings unless you use a
text_factory that can interpret 8-bit bytestrings (like text_factory = str). It
is highly recommended that you instead just switch your application to Unicode
strings.
gpodder 0.14.x can deal with the two feeds and displays them with a small ">>"
in the title. These are the only two feeds in my list that 0.15.x cannot deal
with and I can only assume that the ">>" is the cause of the problem.
--
Configure bugmail: http://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