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

           Summary: Synchronizing with iPod Classic (1st gen) corrupts
                    iTunesDB
           Product: gPodder
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: low
         Component: Application
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=593)
 --> (https://bugs.gpodder.org/attachment.cgi?id=593)
gPodder config

Hello,
I have a big problem with gPodder as sending episodes to my iPod seems to
corrupt database on my iPod. It does not behave in 100% predictable way, but
sending episodes (or synchronizing with device) can result in:
- "No podcasts" message in iPod interface, even though gPooder just sent them.
- Orphaned files (connected with previous point)
- Songs (not just only podcasts!) begin to show up twice in DB.
- Corrupted artworks (mixed up covers in all songs!).
- Strange error messages when opening this iPod later in GTKpod (like "The
following dangling track doesn't have file on PC. 
Press OK to remove it, CANCEL to leave it as is." - it complains about some
random, not related with anything song.)

All this led to situation when after using gPodder with this iPod a couple of
times only restoring it from iTunes helped (and this is VERY bad - resulted in
major data loss)...

I use it together with GTKpod 1.0.0 (claims to be using libgpod 0.7.93).

Previously I had this exact version of libgpod installed. Upgraded it to newer
version, but this made no difference:
at...@thinkpad:~$ dpkg-query -l|grep libgpod
ii  libgpod-common                                                0.7.95-1     
                       common files for libgpod
ii  libgpod-dev                                                   0.7.95-1     
                       development files for libgpod
ii  libgpod4                                                      0.7.95-1     
                       library to read and write songs and artwork to an iPod
ii  python-gpod                                                   0.7.95-1     
                       Python bindings for libgpod


When sending episode to iPod this showed up in console (when 'gpodder -v'):

[  65.272] (gPodderSyncUI) Removing episode from device: The Account: The Snows
Are Eternal part 15

** (gpodder:10796): CRITICAL **: itdb_filename_on_ipod: assertion `track->itdb'
failed

** (gpodder:10796): CRITICAL **: itdb_track_unlink: assertion `itdb' failed
[  67.268] (iPodDevice) Marking as played on transfer:
http://traffic.libsyn.com/davekropf/drummertalk_20101118.mp3

** (gpodder:10796): CRITICAL **: prepare_itdb_for_write: assertion `link'
failed

** (gpodder:10796): CRITICAL **: mk_mhla: assertion `fexp->albums' failed

** (gpodder:10796): CRITICAL **: mk_mhli: assertion `fexp->artists' failed

** (gpodder:10796): CRITICAL **: itdb_splr_validate: assertion `at !=
ITDB_SPLAT_UNKNOWN' failed

** (gpodder:10796): CRITICAL **: itdb_splr_validate: assertion `at !=
ITDB_SPLAT_UNKNOWN' failed

** (gpodder:10796): CRITICAL **: itdb_splr_validate: assertion `at !=
ITDB_SPLAT_UNKNOWN' failed

** (gpodder:10796): CRITICAL **: itdb_splr_validate: assertion `at !=
ITDB_SPLAT_UNKNOWN' failed

** (gpodder:10796): CRITICAL **: itdb_splr_validate: assertion `at !=
ITDB_SPLAT_UNKNOWN' failed

** (gpodder:10796): CRITICAL **: itdb_splr_validate: assertion `at !=
ITDB_SPLAT_UNKNOWN' failed

** (gpodder:10796): WARNING **: Itdb_Track ID '196' not found.

[  68.717] (iPodDevice) Error when writing iTunesDB.ext
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/gpodder/sync.py", line 346, in close
    db = gpod.ipod.Database(self.mountpoint)
  File "/usr/lib/pymodules/python2.6/gpod/ipod.py", line 86, in __init__
    self._load_gtkpod_extended_info()
  File "/usr/lib/pymodules/python2.6/gpod/ipod.py", line 102, in
_load_gtkpod_extended_info
    gtkpod.parse(itdbext_file, self, self._itdb_file)
  File "/usr/lib/pymodules/python2.6/gpod/gtkpod.py", line 116, in parse
    tracks_by_sha[sha1_hash(track.ipod_filename())] = track
  File "/usr/lib/pymodules/python2.6/gpod/gtkpod.py", line 33, in sha1_hash
    size = os.path.getsize(filename)
  File "/usr/lib/python2.6/genericpath.py", line 49, in getsize
    return os.stat(filename).st_size
TypeError: coercing to Unicode: need string or buffer, NoneType found

[  68.777] (Database) Loaded episode 410 from DB
[  68.788] (Database) COMMIT


I enclose my gPodder config file. I'd be more than happy to help you track down
this bug because apart from that gPodder is a great tool and I would like to
keep using it.

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