http://bugs.gpodder.org/show_bug.cgi?id=363
Summary: Filename collisions with a fresh download directory
(mime type correction?)
Product: gPodder
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: low
Component: Application
AssignedTo: [email protected]
ReportedBy: [email protected]
I'm testing today's git checkout, the newest commit at the moment being
566bef1375ca3be2bf0a5886281eb0158495aae0. I'm getting lots of filename
collisions even though I've purged the configuration and download directory
with gpodder-backup. Here are some log snippets:
[ 648.757] Correcting mime type: audio/mpeg => application/ogg
[ 648.758] Filename collision: dww20090209.ogg - trying to resolve...
[ 649.028] Filename dww20090209 is available - collision resolved.
[ 649.029] (podcastItem) Warning: /home/viltsu/gpodder-downloads/Distrowatch
Weekly Podcast/dww20090209 exists or /home/viltsu/gpodder-downloads/Distrowatch
Weekly Podcast/dww20090209.ogg does not.
[ 649.029] (podcastItem) Updating filename of
http://distrowatch.com/podcast/dww20090209.ogg to "dww20090209".
[ 649.029] addDownloadedItem(http://distrowatch.com/podcast/dww20090209.ogg)
[ 649.035] Do not know how to update file extension 209 :/
[1172.391] Correcting mime type: audio/ogg => application/ogg
[1172.392] Filename collision: armoredpenguin-ep2.ogg - trying to resolve...
[1173.043] Filename armoredpenguin-ep2 is available - collision resolved.
[1173.043] (podcastItem) Warning: /home/viltsu/gpodder-downloads/Armored
Penguin » OGG Feed/armoredpenguin-ep2 exists or
/home/viltsu/gpodder-downloads/Armored Penguin » OGG
Feed/armoredpenguin-ep2.ogg does not.
[1173.043] (podcastItem) Updating filename of
http://www.armoredpenguin.net/main/wp-content/uploads/ogg/armoredpenguin-ep2.ogg
to "armoredpenguin-ep2".
[1173.044]
addDownloadedItem(http://www.armoredpenguin.net/main/wp-content/uploads/ogg/armoredpenguin-ep2.ogg)
[1173.051] Do not know how to update file extension ep2 :/
[1428.488] Correcting mime type: audio/x-ogg => application/ogg
[1428.489] Filename collision: JakAttack71.ogg - trying to resolve...
[1429.749] Filename JakAttack71 is available - collision resolved.
[1429.750] (podcastItem) Warning: /home/viltsu/gpodder-downloads/thejakattack's
Podcast (OGGPodcasts)/JakAttack71 exists or
/home/viltsu/gpodder-downloads/thejakattack's Podcast
(OGGPodcasts)/JakAttack71.ogg does not.
[1429.750] (podcastItem) Updating filename of
http://media.libsyn.com/media/thejakattack/JakAttack71.ogg to "JakAttack71".
[1429.751]
addDownloadedItem(http://media.libsyn.com/media/thejakattack/JakAttack71.ogg)
[1429.803] Do not know how to update file extension k71 :/
I get lots more of these but I guess it's no use pasting them all here. One
thing which clearly stands out here is that this happens every time gPodder
tries to correct the mime type. If there is nothing in the console about mime
type correction, then there are no filename collisions either.
After these error messages I'm seeing a bunch of files in ~/gpodder-downloads
without an extension, like "armoredpenguin-ep2".
As a related "bug", if I try synchronizing to a filesystem based device now,
gPodder throws this exception:
Exception in thread Thread-48:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/lib/python2.5/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/viltsu/tiedostot/checkoutit/gpodder-oma/src/gpodder/gui.py", line
2308, in sync_to_ipod_thread
device.add_tracks(episodes)
File "/home/viltsu/tiedostot/checkoutit/gpodder-oma/src/gpodder/sync.py",
line 197, in add_tracks
added = self.add_track(track)
File "/home/viltsu/tiedostot/checkoutit/gpodder-oma/src/gpodder/sync.py",
line 545, in add_track
from_file = util.sanitize_encoding(self.convert_track(episode))
File "/home/viltsu/tiedostot/checkoutit/gpodder-oma/src/gpodder/sync.py",
line 214, in convert_track
if libconverter.converters.has_converter(extension):
File
"/home/viltsu/tiedostot/checkoutit/gpodder-oma/src/gpodder/libconverter.py",
line 75, in has_converter
if extension[0] == '.':
IndexError: string index out of range
It seems like gPodder is trying to find the "." but it doesn't exist, because
the extension part of the filename has been cut out.
--
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