Bug 198582

Summary: libgpod lacks the python module it is packaged with
Product: [Fedora] Fedora Reporter: Jason <com4>
Component: libgpodAssignee: Alexander Larsson <alexl>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: cweyl, icon, jspaleta, tmz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-17 12:18:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150225    
Attachments:
Description Flags
.spec with included python bindings none

Description Jason 2006-07-12 02:26:50 UTC
Description of problem:
libgpod comes with a python module. ./configure --with-python or --enable-python
(i forget which) will compile a gpod.py module and place it in
/usr/lib/python2.4/site-packages/ This module is missing from the current
libgpod package.

Version-Release number of selected component (if applicable):
rpmlibgpod-0.3.0-2.2.src.rpm

How reproducible:
Open python and import gpod. This will give you a module not found error

Steps to Reproduce:
1. Type python
2. type import gpod
  
Actual results:
[jason@pine ~]$ python
Python 2.4.3 (#1, Jun 13 2006, 11:46:08)
[GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gpod
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named gpod
>>>


Expected results:
[jason@pine ~]$ python
Python 2.4.3 (#1, Jun 13 2006, 11:46:08)
[GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gpod
>>>

Additional info:

Comment 1 Konstantin Ryabitsev 2006-08-22 04:00:51 UTC
Created attachment 134613 [details]
.spec with included python bindings

This .spec (Extras-style) bumps the release to 0.3.2 and includes the Python
bindings. There are some projects that I'd like to include in Extras, but can't
because it's an older version and because it doesn't include python.

This also fixes the "no running ldconfig after installing an .so" bug.

Comment 2 Jef Spaleta 2006-11-13 01:00:03 UTC
This effects fe6 packages now as well as fc5 packages.
In particular the listen application could make use of the python binding to get
ipod access.

Is there any particular reason why this package is lingering in an un updated
state?  

Please pretty please, can we have a status update with regard to the hold-up
with either updating libgpod to the latest version.. or at the very least
enabling the python bindings in the currently available fedora core version.

Is this just a matter of maintainer not having the cycles to deal with this.. or
is there a technical issue I am not aware of that's preventing movement?

-jef


Comment 3 Matthias Clasen 2006-11-20 01:40:36 UTC
libgpod was only packaged because it became an optional rhythmbox dependency a
while ago. For that, we didn't need the python bindings. If there are other apps
which need python bindings for libgpod, we should probably put them in a subpackage.

Comment 4 Todd Zullinger 2006-12-05 05:05:32 UTC
The python module is now available as python-gpod in extras-development. 
If/when libgpod is updated to 0.4.0 or greater in FC[56], the python-gpod
package will get built for FC[56] as well.  If you can poke at the package in
development and report any issues there it would be much appreciated.  BZ
#211648 has more discussion on getting libgpod updated.

Comment 5 Todd Zullinger 2007-01-17 12:18:03 UTC
python-gpod-0.4.2 is now available for FC6 (in Extras).  Please try it out and
report any bugs found against the python-gpod component in bugzilla.