bugCompact Disc Input and Control Library - Bugs: bug #38185, pycdio 0.18 is broken when built...

 
 

bug #38185: pycdio 0.18 is broken when built against libcdio 0.90

Submitter:  Thomas Vander Stichele <thomasvs>
Submitted:  Mon 28 Jan 2013 08:01:06 PM UTC
Votes: 10
 
Category:  Python Severity:  5 - Average
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  rocky
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 16 Feb 2013 08:50:32 AM UTC, comment #4: 

Haven't heard from you so I'll assume this is fixed.

If this is still of interest to you then try with release pycdio 0.19.

Rocky Bernstein <rocky>
Group administrator
Thu 31 Jan 2013 02:03:00 AM UTC, comment #3: 

Does commit b8b1d4d01367d5d095c9ed6fe755ab5b8d043e95 address the CDTEXT_ARRANGER versus CDTEXT_FIELD_ARRANGER problem?

As for MIN_DRIVER, I don't see that anymore in the pycdio code. And let's split out these two things since they are separate bugs.

Rocky Bernstein <rocky>
Group administrator
Mon 28 Jan 2013 08:07:33 PM UTC, comment #2: 

Suggest changing the title to 'pycdio 0.18 is broken against libcdio 0.83 and higher' - savannah doesn't let me edit the title myself.

Thomas Vander Stichele <thomasvs>
Mon 28 Jan 2013 08:06:38 PM UTC, comment #1: 

Actually, from reading the code again after I was trying to work around MIN_DRIVER having gone away, I realized that it's also pycdio.py taking MIN_DRIVER from _pycdio.so

From this I conclude that pycdio 0.18 is also broken with older libcdio versions, since 0.82 (first release after 8e8b18e1970bd16f46d629a56096ef33d1cac6a9)

Thomas Vander Stichele <thomasvs>
Mon 28 Jan 2013 08:01:06 PM UTC, original submission:  

When importing pycdio on e.g. Fedora Rawhide:

   File "/usr/lib64/python2.7/site-packages/pycdio.py", line 411, in <module>
     CDTEXT_ARRANGER = _pycdio.CDTEXT_ARRANGER
   AttributeError: 'module' object has no attribute 'CDTEXT_ARRANGER'

- pycdio.py in 0.18 always does
CDTEXT_ARRANGER = _pycdio.CDTEXT_ARRANGER
no matter what the version of libcdio

- _pycdio.so contains CDTEXT_ARRANGER if libcdio is pre-0.90 and
CDTEXT_FIELD_ARRANGER if libcdio is 0.90

- hence, pycdio.py 0.18 simply cannot be imported if it was built
against libcdio 0.90

I originally thought it might have been my fault or Fedora's (because I
prefer to blame from inwards out, starting with me, and because I was
under the impression that it worked on Ubuntu based on reports).

But in fact:
 - this doesn't work in fedora rawhide
 - according to my user's reports, the same problem exists in ArchLinux
 - Debian and Ubuntu don't even package pycdio at all; the users that
had reported the issue of MIN_DRIVER and had built pycdio from source
against a 0.83 libcdio package (so they had an importable pycdio.py)

Feel free to point out if I misread anything in the code; from my
current reading it looks like pycdio 0.18 simply cannot be used with
libcdio 0.90

Thomas Vander Stichele <thomasvs>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rocky (Posted a comment)
  • -email is unavailable- added by plasmasheep (Voted in favor of this item)
  • -email is unavailable- added by thomasvs (Submitted the item)
  •  

    There are 10 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-02-16 rocky StatusNone Works For Me
        Assigned toNone rocky
        Open/ClosedOpen Closed
    2013-01-30 plasmasheep Carbon-Copy- Added plasmasheep

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code