Same result, stalls but with no output. Here's the same task with and 
without verbose mode, the task usually stall after announcing 
"before_choose_candidate". Sometimes it'll get to the options prompt, but 
entering an option does nothing.

root@tobor-server:~# docker exec beets beet import /downloads

^C
root@tobor-server:~# docker exec beets beet -vv import /downloads
user configuration: /config/config.yaml
data directory: /config
plugin paths: 
Sending event: pluginload
library database: /config/musiclibrary.blb
library directory: /music
Sending event: library_opened
Sending event: import_begin
state file could not be read: [Errno 2] No such file or directory: 
u'/config/state.pickle'
Sending event: import_task_created
Sending event: import_task_start
Looking up: /downloads/The Jesus Lizard - Goat
Tagging The Jesus Lizard - Goat
No album ID found.
Search terms: The Jesus Lizard - Goat
Album might be VA: False
Searching for MusicBrainz releases with: {'release': u'goat', 'tracks': 
u'9', 'artist': u'the jesus lizard'}
Requesting MusicBrainz release 5c41dfd0-bf87-49b8-b125-482abc8d5af6
primary MB release type: ep
Sending event: albuminfo_received
Candidate: The Jesus Lizard - The Jesus Lizard EP 
(5c41dfd0-bf87-49b8-b125-482abc8d5af6)
Computing track assignment...
...done.
Success. Distance: 0.62
Requesting MusicBrainz release da363688-9877-4cba-8ee0-89b42649e352
primary MB release type: album
Sending event: albuminfo_received
Candidate: The Jesus Lizard - Goat (da363688-9877-4cba-8ee0-89b42649e352)
Computing track assignment...
...done.
Success. Distance: 0.01
Requesting MusicBrainz release f2830a83-184b-45b4-829d-e7af946ff3b6
primary MB release type: album
Sending event: albuminfo_received
Candidate: The Jesus Lizard - Goat (f2830a83-184b-45b4-829d-e7af946ff3b6)
Computing track assignment...
...done.
Success. Distance: 0.18
Requesting MusicBrainz release 39768213-ed10-4cdb-a516-d8194f3ac3aa
primary MB release type: album
Sending event: albuminfo_received
Candidate: The Jesus Lizard - Goat (39768213-ed10-4cdb-a516-d8194f3ac3aa)
Computing track assignment...
...done.
Success. Distance: 0.16
Requesting MusicBrainz release 56245b49-a0d5-45f1-9cc2-24f1127c7122
primary MB release type: ep
Sending event: albuminfo_received
Candidate: The Jesus Lizard - Lash (56245b49-a0d5-45f1-9cc2-24f1127c7122)
Computing track assignment...
...done.
Success. Distance: 0.53
Evaluating 5 candidates.

Sending event: before_choose_candidate




On Sunday, 19 August 2018 15:46:38 UTC+10, Adrian Sampson wrote:
>
> Weird. Is it any different without verbose mode? Sometimes the extra 
> logging can obscure a prompt that’s waiting for input.
>
> Adrian
>
> On Aug 18, 2018, at 9:43 PM, Enrico <[email protected] <javascript:>> 
> wrote:
>
> I just realised that album isn't in the musicbrainz catalogue, redid it 
> with an album in the MB catalogue yields the same crash/stall, just with 
> slightly more output
>
> root@tobor-server:~# docker exec beets beet import /downloads
> user configuration: /config/config.yaml
> data directory: /config
> plugin paths: 
> Sending event: pluginload
> library database: /config/musiclibrary.blb
> library directory: /music
> Sending event: library_opened
> Sending event: import_begin
> state file could not be read: [Errno 2] No such file or directory: 
> u'/config/state.pickle'
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /downloads/Stimming - STIMMING - 2013
> Tagging Stimming - STIMMING
> No album ID found.
> Search terms: Stimming - STIMMING
> Album might be VA: False
> Searching for MusicBrainz releases with: {'release': u'stimming', 
> 'tracks': u'12', 'artist': u'stimming'}
> Requesting MusicBrainz release fb6ec311-6304-45c1-bbbb-c634d05ffd3b
> primary MB release type: album
> Sending event: albuminfo_received
> Candidate: Stimming - Stimming (fb6ec311-6304-45c1-bbbb-c634d05ffd3b)
> Computing track assignment...
> ...done.
> Success. Distance: 0.01
> Requesting MusicBrainz release f0ebcdb5-e215-4932-ade5-42b9644544d9
> primary MB release type: ep
> Sending event: albuminfo_received
> Candidate: Oy - Stimming (f0ebcdb5-e215-4932-ade5-42b9644544d9)
> Computing track assignment...
> ...done.
> Success. Distance: 0.72
> Requesting MusicBrainz release c650c77c-4d05-4e0c-a39d-da9566ad4502
> primary MB release type: ep
> Sending event: albuminfo_received
> Candidate: Stimming - Funkworm EP (c650c77c-4d05-4e0c-a39d-da9566ad4502)
> Computing track assignment...
> ...done.
> Success. Distance: 0.70
> Requesting MusicBrainz release e964395b-1b81-48ff-a20e-a502b2d827ce
> primary MB release type: ep
> Sending event: albuminfo_received
> Candidate: Stimming - Short Story (e964395b-1b81-48ff-a20e-a502b2d827ce)
> Computing track assignment...
> ...done.
> Success. Distance: 0.65
> Requesting MusicBrainz release 088418bf-e7e7-4825-a01e-3c05c6da7e01
> primary MB release type: single
> secondary MB release type(s): remix
> Sending event: albuminfo_received
> Candidate: Stimming - Remix Session 03 
> (088418bf-e7e7-4825-a01e-3c05c6da7e01)
> Computing track assignment...
> ...done.
> Success. Distance: 0.63
> Evaluating 5 candidates.
>
> Sending event: before_choose_candidate
> /downloads/Stimming - STIMMING - 2013 (12 items)
> Correcting tags from:
>     Stimming - STIMMING
> To:
>     Stimming - Stimming
> URL:
>     https://musicbrainz.org/release/fb6ec311-6304-45c1-bbbb-c634d05ffd3b
> (Similarity: 99.0%) (label, tracks) (CD, 2013, DE, Diynamic Music)
>  * Third Of June                   -> Third of June
>  * Ferdinand Feat. Urzula Amen     -> Ferdinand (title)
>  * Die Taube Auf Dem Dach          -> Die Taube auf dem Dach
>  * From One Cell Feat. Urzula Amen -> From One Cell (title)
>  * Die Machtigen                   -> Die Mächtigen
>  * Dylan's Theme                   -> Dylan’s Theme
>  * When I'm Drunk                  -> When I’m Drunk
>
>
>
>
> On Sunday, 19 August 2018 13:57:56 UTC+10, Enrico wrote:
>>
>> Hey, I have an unraid server and I'm trying to deal with my music using a 
>> beets docker container (linuxserver/beets).
>>
>> I've been encountering constant stalls on import, I've tried many changes 
>> to my config file, but nothing provides a reliable import.
>>
>> If I set my import to -quiet, I can get through quite a few files before 
>> a stall, usually stopping on a classical album. However turning off -quiet 
>> results in a quick stall, usually directly after Sending event: 
>> before_choose_candidate. Here's an example with a single album in the 
>> import folder :
>>
>>     docker exec beets beet import -t /downloads
>> user configuration: /config/config.yaml
>> data directory: /config
>> plugin paths: 
>> /usr/lib/python2.7/site-packages/pylast/__init__.py:51: UserWarning: You are 
>> using pylast with Python 2. Pylast will soon be Python 3 only. More info: 
>> https://github.com/pylast/pylast/issues/265
>>   UserWarning,
>> Sending event: pluginload
>> ImageMagick check `convert --version` failed: [Errno 2] No such file or 
>> directory
>> artresizer: method is (1, (0,))
>> library database: /config/musiclibrary.blb
>> library directory: /music
>> Sending event: library_opened
>> Sending event: import_begin
>> state file could not be read: [Errno 2] No such file or directory: 
>> u'/config/state.pickle'
>> Sending event: import_task_created
>> Sending event: import_task_start
>> Looking up: /downloads/George Frideric Handel; The English Concert, Trevor 
>> Pinnock - Water Music
>> Tagging 9. Country Dance (1 & 2) - Handel: Water Music
>> No album ID found.
>> Search terms: 9. Country Dance (1 & 2) - Handel: Water Music
>> Album might be VA: True
>> Searching for MusicBrainz releases with: {'release': u'handel: water music', 
>> 'tracks': u'19', 'artist': u'9. country dance (1 & 2)'}
>> Requesting MusicBrainz release 4158f104-8aae-4db8-81fa-dd0540c49ec4
>> primary MB release type: album
>>
>> =====CUT OUT BORING BITS ============
>>
>> Computing track assignment...
>> ...done.
>> Success. Distance: 0.31
>> Evaluating 12 candidates.
>>
>> Sending event: before_choose_candidate
>> /downloads/George Frideric Handel; The English Concert, Trevor Pinnock - 
>> Water Music (19 items)
>> Finding tags for album "9. Country Dance (1 & 2) - Handel: Water Music".
>> Candidates:
>> 1. George Frideric Handel; The English Concert, Trevor Pinnock - Water Music 
>> (73.7%) (tracks, artist, album) (CD, 1983, DE, Archiv Produktion)
>> 2. George Frideric Handel; The English Concert, Trevor Pinnock - Water Music 
>> / Overture "Il Pastor Fido" (68.7%) (missing tracks, tracks, artist, ...) 
>> (CD, 2002, DE, Archiv Produktion)
>> 3. George Frideric Handel; The English Concert, Trevor Pinnock - Water Music 
>> / Music for the Royal Fireworks (67.8%) (missing tracks, tracks, artist, 
>> ...) (CD, 2009, DE, Deutsche Grammophon)
>> 4. George Frideric Handel - Greatest Hits (47.9%) (tracks, missing tracks, 
>> album, ...) (CD, 2004, US, Decca Classics)
>> 5. George Frideric Handel; Scottish Chamber Orchestra, Sir Alexander Gibson 
>> - Water Music (34.5%) (tracks, artist, album, ...) (CD, 1985, GB, Chandos)
>> 6. George Frideric Handel; Scottish Chamber Orchestra, Sir Alexander Gibson 
>> - Water Music (33.5%) (tracks, artist, album, ...) (CD, 2001, GB, Chandos 
>> Collect)
>> 7. Sir Alexander Gibson - George Frideric Handel - Water-Music (28.3%) 
>> (tracks, artist, album) (CD)
>> 8. George Frideric Handel - Baroque - Handel: Messiah Highlights, Royal 
>> Fireworks Music, Water Music Suite (26.4%) (tracks, album, artist, ...) (CD, 
>> 1996, US, Intersound)
>> 9. George Frideric Handel; The English Concert, Trevor Pinnock - Orchestral 
>> Works (23.8%) (missing tracks, mediums, tracks, ...) (6xCD, 1999, DE, Archiv 
>> Produktion)
>> 10. Various Artists - Cat Music (21.4%) (tracks, album, year) (CD, 1998, US, 
>> Rollin' Rock)
>>
>> 1 is the correct choice but I'm not given the choice to select it. By 
>> disabling plugins I can sometimes get the selection prompt to show, but I 
>> can't progress beyond that point. It seems like setting quiet mode to "on" 
>> results in the most stable processing, setting to "off" mostly the import 
>> won't even start.
>>
>> I've deleted and recreated the container and the docker.img and checked 
>> permissions, but I'm now at a loss. I really want this app to work!
>>
>> My current config file is pasted below, please keep in mind I'm 
>> troubleshooting the config file so there's a few commented out lines.
>>
>> # Beets configuration 
>> --------------------------------------------------------
>>
>> directory: /music
>> library: /config/musiclibrary.blb
>>
>> import:
>>     # write metadata to music files
>>     write: yes
>>
>>     # move imported files from source to the music directory
>>     move: yes
>>     copy: no
>>     delete: no
>>
>>     # use auto-tagging where possible
>>     # do not require confirmation on strong matches
>>     autotag: yes
>>     timid: no
>>
>>     resume: ask
>>     incremental: no
>>     none_rec_action: ask
>>     #log:
>>
>>     quiet: no  # enable with command line option
>>     quiet_fallback: skip
>>     default_action: apply
>>
>>     singletons: no
>>     languages: [en]
>>     detail: no
>>     flat: no
>>
>> # use the release-date of the original (first) release of an album?
>> original_date: no
>>
>> # on multi-disk releases, assign track numbers for the whole album.
>> # If "per disk", make sure tracknames do not collide ("paths" setting).
>> per_disc_numbering: yes
>>
>> # files matching these patterns are deleted from source after import
>> clutter: ["Thumbs.DB", ".DS_Store", "*.m3u", ".pls", "*.jpg", "*.m3u", 
>> "*.log", "*.cue"]
>>
>> # files/directories matching one of these patterns are ignored during import
>> ignore: [".*", "*~", "System Volume Information"]
>>
>>
>> # Paths 
>> ----------------------------------------------------------------------
>>
>> # Paths and filenames for music files
>> # relative to music directory
>> paths:
>>     default: $albumartist/$album%aunique{}/$track - $title
>>     singleton: Non-Album/$artist - $title
>>     comp: Compilations/$album%aunique{}/$track - $title
>>     albumtype_soundtrack: Soundtracks/$album%aunique{}/$track $title
>>
>> # replace special characters in generated filenames
>> replace:
>>     '[\\/]': _
>>     '^\.': _
>>     '[\x00-\x1f]': _
>>     '[<>:"\?\*\|]': _
>>     '\.$': _
>>     '\s+$': ''
>>
>> path_sep_replace: _
>>
>> # filename for the album art
>> art_filename: cover  # results in "cover.jpg"
>>
>> max_filename_length: 0  # unlimited
>>
>>
>> # General 
>> --------------------------------------------------------------------
>>
>> # use mutliple threads during import
>> threaded: yes
>> timeout: 5.0
>> verbose: yes
>>
>>
>> # User Interface 
>> -------------------------------------------------------------
>>
>> color: yes
>> list_format_item: %upper{$artist} - $album - $track. $title
>> list_format_album: %upper{$albumartist} - $album
>> time_format: '%Y-%m-%d %H:%M:%S'
>> terminal_encoding: utf8
>>
>> ui:
>>     terminal_width: 80
>>     length_diff_thresh: 10.0
>>
>>
>> # Auto Tagger 
>> ----------------------------------------------------------------
>>
>> match:
>>     strong_rec_thresh: 0.2      # match 90% or better for auto import
>>     medium_rec_thresh: 0.25
>>     rec_gap_thresh: 0.25
>>     max_rec:
>>         missing_tracks: medium
>>         unmatched_tracks: medium
>>     distance_weights:
>>         source: 2.0
>>         artist: 3.0
>>         album: 3.0
>>         media: 1.0
>>         mediums: 1.0
>>         year: 1.0
>>         country: 0.5
>>         label: 0.5
>>         catalognum: 0.5
>>         albumdisambig: 0.5
>>         album_id: 5.0
>>         tracks: 2.0
>>         missing_tracks: 0.9
>>         unmatched_tracks: 0.6
>>         track_title: 3.0
>>         track_artist: 2.0
>>         track_index: 1.0
>>         track_length: 2.0
>>         track_id: 5.0
>>     preferred:
>>         countries: []
>>         media: []
>>         original_year: no
>>     ignored: []
>>     track_length_grace: 10
>>     track_length_max: 30
>>
>>
>> # Plugins 
>> --------------------------------------------------------------------
>>
>> plugins: [
>>     #discogs,
>>     #lyrics,
>>     #echonest_tempo,
>>     fetchart,
>>     #acousticbrainz,
>>     embedart,
>>     lastgenre,
>>     chroma,
>>     scrub,
>>     mbsync,
>>     #mpdupdate,
>>     #mpdstats,
>>     missing,
>>     duplicates,
>>     #web,
>>     fromfilename
>> ]
>> pluginpath: []
>>
>>
>> # Plugins Config 
>> -------------------------------------------------------------
>>
>> #lyrics:
>>     #auto: yes
>>     #fallback: ''
>>
>> #echonest_tempo:
>>  #   auto: yes
>>
>> #discogs:
>>     #source_weight: 0.0
>>
>> lastgenre:
>>    # whitelist: ~/.config/beets/genres.txt
>>     #canoncical: ~/.config/beets/genres-tree.yaml
>>     #fallback: ''
>>     auto: yes
>>     source: album
>>
>> fetchart:
>>     auto: yes
>>     #maxwidth: 600
>>     #cautious: no
>>     #cover_names: cover folder back 
>>     #google_key: REDACTED
>>     #google_engine: 001442825323518660753:hrh5ch1gjzm
>>
>> embedart:
>>     auto: yes
>>     maxwidth: 600
>>
>> replaygain:
>>     auto: yes
>>     overwrite: yes
>>     albumgain: yes
>>
>> scrub:
>>     auto: yes
>>
>> # required for mpdstats
>> #mpd:
>>     #host: localhost
>>     #port: 6600
>>     #password:  # none
>>
>> musicbrainz:
>>     host: 192.168.1.200:5000
>>     ratelimit: 100
>>
>> mpdstats:
>>     rating: False
>>     # two ratings are calculated:
>>     # "rolling" based on recent development
>>     # "stable" based on all-time development
>>     # rating mix 0.0 is all "rolling", 1.0 is all "stable"
>>     rating_mix: 0.75
>>
>> missing:
>>     format: $albumartist - $album - $track - $title
>>     count: no
>>     total: no
>>
>> duplicates:
>>     checksum: no  # expensive
>>
>> -- 
> You received this message because you are subscribed to the Google Groups 
> "beets" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"beets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to