http://bugs.gpodder.org/show_bug.cgi?id=454

           Summary: iPod Video cannot Open Device
           Product: gPodder
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: medium
         Component: Application
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Ian Barton wrote:
> Marco Antonio Villegas Vega wrote:
>> Hi Ian,
>>
>> El Mon, 04 May 2009 16:36:35 +0100
>> Ian wrote:
>>
>>> I am getting this error when I try to sync Podcasts to my iPod. I am using 
>>> gPodder 0.15.2. I have python-gpod and libgpod installed. The
>>> iPod is mounted correctly on /media/IPOD. I can sync things OK using
>>> gtkPod and Banshee. The iPod already contains some tracks and
>>> podcasts.
>>>
>>> Using Ubuntu Jaunty.
>>>
>>> Any ideas as how to get some more info about why it isn't working?
>> Maybe the path, I see the default one for ipod is /media/ipod (case
>> sensitive on *nix).
>>
>> so, maybe you only have to change the path on your Podcasts >
>> Preferences menu(device tab) to point the right path.
>>
> Thanks, but it's not that, I have /media/IPOD which is correct for Ubuntu and 
> I can access files via the terminal. I'll try running gPodder from a terminal 
> and see if I can get more useful error messages.
>
I have made a bit of progress. I have checked out the source and i think it may
be a problem with the python bindings. Just to recap - gtkpod and  Banshee both
work OK with this iPod, so the basic libgpod4 library seems to be working
correctly.

If I put some debug code in sync.py:

    def open(self):
        Device.open(self)
        print "ipod mount point: ", self.mountpoint
        if not gpod_available or not os.path.isdir(self.mountpoint):
            print "Error opening gpod or with mount path."
            return False

        self.notify('status', _('Opening iPod database'))
        self.itdb = gpod.itdb_parse(self.mountpoint, None)
        if self.itdb is None:
            print "self.itb is none."
            return False


        self.itdb.mountpoint = self.mountpoint
        self.podcasts_playlist = gpod.itdb_playlist_podcasts(self.itdb)

        if self.podcasts_playlist:
            self.notify('status', _('iPod opened'))
            print "iPod opened."
            # build the initial tracks_list
            self.tracks_list = self.get_all_tracks()

            return True
        else:
            print "Unable to get playlist."
            return False

The itunes database is opened OK but it fails to get the playlist in:
self.podcasts_playlist = gpod.itdb_playlist_podcasts(self.itdb) i.e.
self.podcasts_playlist returns false.

Ian.

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

Reply via email to