whipper icon indicating copy to clipboard operation
whipper copied to clipboard

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

Open djotaku opened this issue 4 years ago • 0 comments

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'

djotaku avatar Dec 06 '21 01:12 djotaku