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
|