Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'musicbrainzngs' has no attribute 'get_image_front' #554

Open
djotaku opened this issue Dec 6, 2021 · 0 comments

Comments

@djotaku
Copy link

djotaku commented Dec 6, 2021

Command I ran:

whipper cd -d /dev/sr1 rip -R 0579c05b-3cc2-40ef-8a32-fee6e3be90f6 -C complete

Program output:

WARNING:whipper.command.main:Parameter 'use_https' is missing in versions of musicbrainzngs < 0.7. This means whipper will only be able to communicate with the configured MusicBrainz server ('musicbrainz.org') over plain HTTP. If a custom server which speaks HTTPS only has been declared, a suitable version of the musicbrainzngs module will be needed to make it work in whipper.
INFO:whipper.command.cd:using configured read offset 6
INFO:whipper.command.cd:checking device /dev/sr1
CDDB disc id: f4101b12
MusicBrainz disc id GpRl1uqkjPKX1hP9HF9CSXMui_M-
MusicBrainz lookup URL https://musicbrainz.org/cdtoc/attach?toc=1+18+309515+225+11590+26028+40973+60234+70405+85677+105371+112676+129721+144873+170524+178110+196994+211923+228133+242866+269938&tracks=18&id=GpRl1uqkjPKX1hP9HF9CSXMui_M-
Disc duration: 01:08:43.866, 18 audio tracks

Matching releases:

Artist  : Janelle Monáe
Title   : The ArchAndroid
Duration: 01:08:37.746
URL     : https://musicbrainz.org/release/0579c05b-3cc2-40ef-8a32-fee6e3be90f6
Release : 0579c05b-3cc2-40ef-8a32-fee6e3be90f6
Type    : Album
Barcode : 075678989834
Country : United States
Cat no  : 512256-2

Artist  : Janelle Monáe
Title   : The ArchAndroid
Duration: 01:08:37.746
URL     : https://musicbrainz.org/release/14ae1a9c-9e8e-3ae5-87f2-3bf68b9feefd
Release : 14ae1a9c-9e8e-3ae5-87f2-3bf68b9feefd
Type    : Album
Barcode : 075678989834
Country : Europe
Cat no  : 7567898983

Artist  : Janelle Monáe
Title   : The ArchAndroid: Tour Edition (Disc 1 of 2): The ArchAndroid
Duration: 01:08:37.746
URL     : https://musicbrainz.org/release/9d6677a3-6746-48e3-a355-1a5928a9299a
Release : 9d6677a3-6746-48e3-a355-1a5928a9299a
Type    : Album
Barcode : 9340650012956
Country : Australia
Cat no  : 7567876307
INFO:whipper.common.program:picked requested release id 0579c05b-3cc2-40ef-8a32-fee6e3be90f6
Artist: Janelle Monáe
Title : The ArchAndroid

Track 1 finished, found 20 Q sub-channels with CRC errors
Track 2 finished, found 13 Q sub-channels with CRC errors
Track 3 finished, found 18 Q sub-channels with CRC errors
Track 4 finished, found 21 Q sub-channels with CRC errors
Track 5 finished, found 11 Q sub-channels with CRC errors
Track 6 finished, found 39 Q sub-channels with CRC errors
Track 7 finished, found 41 Q sub-channels with CRC errors
Track 8 finished, found 9 Q sub-channels with CRC errors
Track 9 finished, found 29 Q sub-channels with CRC errors
Track 10 finished, found 25 Q sub-channels with CRC errors
Track 11 finished, found 46 Q sub-channels with CRC errors
Track 12 finished, found 14 Q sub-channels with CRC errors
Track 13 finished, found 76 Q sub-channels with CRC errors
Track 14 finished, found 46 Q sub-channels with CRC errors
Track 15 finished, found 52 Q sub-channels with CRC errors
Track 16 finished, found 48 Q sub-channels with CRC errors
Track 17 finished, found 115 Q sub-channels with CRC errors
Track 18 finished, found 226 Q sub-channels with CRC errors
INFO:whipper.program.cdrdao:creating output directory /home/ermesa/Music/new/Janelle Monáe/2010 - The ArchAndroid
Traceback (most recent call last):
  File "/usr/bin/whipper", line 33, in <module>
    sys.exit(load_entry_point('whipper==0.10.0', 'console_scripts', 'whipper')())
  File "/usr/lib64/python3.9/site-packages/whipper/command/main.py", line 56, in main
    ret = cmd.do()
  File "/usr/lib64/python3.9/site-packages/whipper/command/basecommand.py", line 141, in do
    return self.cmd.do()
  File "/usr/lib64/python3.9/site-packages/whipper/command/basecommand.py", line 141, in do
    return self.cmd.do()
  File "/usr/lib64/python3.9/site-packages/whipper/command/cd.py", line 203, in do
    ret = self.doCommand()
  File "/usr/lib64/python3.9/site-packages/whipper/command/cd.py", line 398, in doCommand
    self.coverArtPath = self.program.getCoverArt(
  File "/usr/lib64/python3.9/site-packages/whipper/common/program.py", line 525, in getCoverArt
    data = musicbrainzngs.get_image_front(release_id, 500)
AttributeError: module 'musicbrainzngs' has no attribute 'get_image_front'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant