morituri
morituri copied to clipboard
AttributeError: 'module' object has no attribute 'CDTEXT_FIELD_TITLE'
First use of morituri on Ubuntu 12.04 LTS. Pycdio installed, I get this error:
http://pastebin.com/2f0i0Fri
Is this a bug, how do I solve it?
I'm having a similar problem:
File "/usr/local/lib/python2.7/dist-packages/pycdio-0.20-py2.7-linux-x86_64.egg/pycdio.py", line 418, in <module> CDTEXT_FIELD_TITLE = _pycdio.CDTEXT_FIELD_TITLE AttributeError: 'module' object has no attribute 'CDTEXT_FIELD_TITLE'
Any ideas?
Same problem here. The CD is not in the musicbrainz database, but the "-U" parameter didn't help.
Many users with libcdio 0.83 have experienced problems with pycdio >=0.18. Either upgrade libcdio to 0.90 or downgrade pycdio to 0.17.
@atcapollo @johnnydvc @antondd Is this your case?
Just tried again a CD which I ripped successfully a few months ago, this gives now the same problem. So yes, should be not depending on the CD, but some problems after an update.
I am running Kubuntu 15.10, according to https://launchpad.net/ubuntu/+source/libcdio this would be indeed running 0.83 (even though I don't find the info on my computer). How would I update the package?
Thanks?
My distro (Ubuntu 15.10) doesn't seem to provide libcdio in any other version. Also I cannot find pycdio. Is there another package providing it?
@antondd @johnnydvc You can compile libcdio from source or install the Debian package from the experimental branch: LINK (I don't know if it works).
If you want to downgrade pycdio you can install the 0.17 version using pip:
sudo apt-get install python-pip
sudo apt-get install python-dev libcdio-dev libiso9660-dev swig pkg-config
sudo pip install pycdio==0.17
Tried first to install the experimental branch package libcdio in you link, same error message. Downgrading pycdio as described by you worked. Thanks!
Too early. Not sure if it is related or another issue. The CD was not in MusicBrainz, so I used the following command:
rip cd rip -U --offset=102 --output-directory=output_path --track-template="%A (%y) %d/%t. %n" --disc-template="%A (%y) %d/%y - %d" --working-directory="/tmp/"
Seemed to be first fine, but in the end another error. Here's the full output:
`Checking device /dev/sr0
CDDB disc id: 5312b219
MusicBrainz disc id 53EcWnYcsgLQ5y0odcFGCoh4x.U-
MusicBrainz lookup URL http://mm.musicbrainz.org/bare/cdlookup.html?toc=1+25+359108+150+11049+26055+39804+52936+63512+76588+89385+103310+114659+129441+140904+154564+165009+176393+192608+210326+227925+247688+260963+278648+301476+308957+323456+344722&tracks=25&id=53EcWnYcsgLQ5y0odcFGCoh4x.U-
Disc duration: 01:19:46.106, 25 audio tracks
Error: NotFoundException(ResponseError(),)
Continuing without metadata
Submit this disc to MusicBrainz at the above URL.
Traceback (most recent call last):
File "/usr/bin/rip", line 41, in
@antondd That's a different error (see #89): it was fixed upstream with thomasvs/morituri@01f07c5ad90563dc258eba4134a2544d192d0a49. It's likely that the morituri version packaged by Ubuntu still doesn't include the fix. If this is true, you can solve the issue building it from the source: LINK.
Thanks, just figured it out by myself, I entered the CD in MusicBrainz by myself, and it works. Will try to get the newer version.