[Python-apps-team] Bug#964624: beets: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p 3.8 returned exit code 13
Lucas Nussbaum
lucas at debian.org
Thu Jul 9 11:57:47 BST 2020
Source: beets
Version: 1.4.9-4
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200709 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
> sphinx-build -b html -d _build/doctrees . _build/html
> Running Sphinx v2.4.3
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 76 source files that are out of date
> updating environment: [new config] 76 added, 0 changed, 0 removed
> reading sources... [ 1%] changelog
> reading sources... [ 2%] dev/api
> reading sources... [ 3%] dev/index
> reading sources... [ 5%] dev/media_file
> reading sources... [ 6%] dev/plugins
> reading sources... [ 7%] faq
> reading sources... [ 9%] guides/advanced
> reading sources... [ 10%] guides/index
> reading sources... [ 11%] guides/main
> reading sources... [ 13%] guides/tagger
> reading sources... [ 14%] index
> reading sources... [ 15%] plugins/absubmit
> reading sources... [ 17%] plugins/acousticbrainz
> reading sources... [ 18%] plugins/badfiles
> reading sources... [ 19%] plugins/beatport
> reading sources... [ 21%] plugins/bpd
> reading sources... [ 22%] plugins/bpm
> reading sources... [ 23%] plugins/bucket
> reading sources... [ 25%] plugins/chroma
> reading sources... [ 26%] plugins/convert
> reading sources... [ 27%] plugins/discogs
> reading sources... [ 28%] plugins/duplicates
> reading sources... [ 30%] plugins/edit
> reading sources... [ 31%] plugins/embedart
> reading sources... [ 32%] plugins/embyupdate
> reading sources... [ 34%] plugins/export
> reading sources... [ 35%] plugins/fetchart
> reading sources... [ 36%] plugins/filefilter
> reading sources... [ 38%] plugins/freedesktop
> reading sources... [ 39%] plugins/fromfilename
> reading sources... [ 40%] plugins/ftintitle
> reading sources... [ 42%] plugins/fuzzy
> reading sources... [ 43%] plugins/gmusic
> reading sources... [ 44%] plugins/hook
> reading sources... [ 46%] plugins/ihate
> reading sources... [ 47%] plugins/importadded
> reading sources... [ 48%] plugins/importfeeds
> reading sources... [ 50%] plugins/index
> reading sources... [ 51%] plugins/info
> reading sources... [ 52%] plugins/inline
> reading sources... [ 53%] plugins/ipfs
> reading sources... [ 55%] plugins/keyfinder
> reading sources... [ 56%] plugins/kodiupdate
> reading sources... [ 57%] plugins/lastgenre
> reading sources... [ 59%] plugins/lastimport
> reading sources... [ 60%] plugins/loadext
> reading sources... [ 61%] plugins/lyrics
> reading sources... [ 63%] plugins/mbcollection
> reading sources... [ 64%] plugins/mbsubmit
> reading sources... [ 65%] plugins/mbsync
> reading sources... [ 67%] plugins/metasync
> reading sources... [ 68%] plugins/missing
> reading sources... [ 69%] plugins/mpdstats
> reading sources... [ 71%] plugins/mpdupdate
> reading sources... [ 72%] plugins/permissions
> reading sources... [ 73%] plugins/play
> reading sources... [ 75%] plugins/playlist
> reading sources... [ 76%] plugins/plexupdate
> reading sources... [ 77%] plugins/random
> reading sources... [ 78%] plugins/replaygain
> reading sources... [ 80%] plugins/rewrite
> reading sources... [ 81%] plugins/scrub
> reading sources... [ 82%] plugins/smartplaylist
> reading sources... [ 84%] plugins/sonosupdate
> reading sources... [ 85%] plugins/spotify
> reading sources... [ 86%] plugins/subsonicupdate
> reading sources... [ 88%] plugins/the
> reading sources... [ 89%] plugins/thumbnails
> reading sources... [ 90%] plugins/types
> reading sources... [ 92%] plugins/web
> reading sources... [ 93%] plugins/zero
> reading sources... [ 94%] reference/cli
> reading sources... [ 96%] reference/config
> reading sources... [ 97%] reference/index
> reading sources... [ 98%] reference/pathformat
> reading sources... [100%] reference/query
>
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [ 1%] changelog
> writing output... [ 2%] dev/api
> writing output... [ 3%] dev/index
> writing output... [ 5%] dev/media_file
> writing output... [ 6%] dev/plugins
> writing output... [ 7%] faq
> writing output... [ 9%] guides/advanced
> writing output... [ 10%] guides/index
> writing output... [ 11%] guides/main
> writing output... [ 13%] guides/tagger
> writing output... [ 14%] index
> writing output... [ 15%] plugins/absubmit
> writing output... [ 17%] plugins/acousticbrainz
> writing output... [ 18%] plugins/badfiles
> writing output... [ 19%] plugins/beatport
> writing output... [ 21%] plugins/bpd
> writing output... [ 22%] plugins/bpm
> writing output... [ 23%] plugins/bucket
> writing output... [ 25%] plugins/chroma
> writing output... [ 26%] plugins/convert
> writing output... [ 27%] plugins/discogs
> writing output... [ 28%] plugins/duplicates
> writing output... [ 30%] plugins/edit
> writing output... [ 31%] plugins/embedart
> writing output... [ 32%] plugins/embyupdate
> writing output... [ 34%] plugins/export
> writing output... [ 35%] plugins/fetchart
> writing output... [ 36%] plugins/filefilter
> writing output... [ 38%] plugins/freedesktop
> writing output... [ 39%] plugins/fromfilename
> writing output... [ 40%] plugins/ftintitle
> writing output... [ 42%] plugins/fuzzy
> writing output... [ 43%] plugins/gmusic
> writing output... [ 44%] plugins/hook
> writing output... [ 46%] plugins/ihate
> writing output... [ 47%] plugins/importadded
> writing output... [ 48%] plugins/importfeeds
> writing output... [ 50%] plugins/index
> writing output... [ 51%] plugins/info
> writing output... [ 52%] plugins/inline
> writing output... [ 53%] plugins/ipfs
> writing output... [ 55%] plugins/keyfinder
> writing output... [ 56%] plugins/kodiupdate
> writing output... [ 57%] plugins/lastgenre
> writing output... [ 59%] plugins/lastimport
> writing output... [ 60%] plugins/loadext
> writing output... [ 61%] plugins/lyrics
> writing output... [ 63%] plugins/mbcollection
> writing output... [ 64%] plugins/mbsubmit
> writing output... [ 65%] plugins/mbsync
> writing output... [ 67%] plugins/metasync
> writing output... [ 68%] plugins/missing
> writing output... [ 69%] plugins/mpdstats
> writing output... [ 71%] plugins/mpdupdate
> writing output... [ 72%] plugins/permissions
> writing output... [ 73%] plugins/play
> writing output... [ 75%] plugins/playlist
> writing output... [ 76%] plugins/plexupdate
> writing output... [ 77%] plugins/random
> writing output... [ 78%] plugins/replaygain
> writing output... [ 80%] plugins/rewrite
> writing output... [ 81%] plugins/scrub
> writing output... [ 82%] plugins/smartplaylist
> writing output... [ 84%] plugins/sonosupdate
> writing output... [ 85%] plugins/spotify
> writing output... [ 86%] plugins/subsonicupdate
> writing output... [ 88%] plugins/the
> writing output... [ 89%] plugins/thumbnails
> writing output... [ 90%] plugins/types
> writing output... [ 92%] plugins/web
> writing output... [ 93%] plugins/zero
> writing output... [ 94%] reference/cli
> writing output... [ 96%] reference/config
> writing output... [ 97%] reference/index
> writing output... [ 98%] reference/pathformat
> writing output... [100%] reference/query
>
> generating indices... genindexdone
> writing additional pages... searchdone
> copying images... [100%] plugins/beetsweb.png
>
> copying static files... ... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded.
>
> The HTML pages are in _build/html.
>
> Build finished. The HTML pages are in _build/html.
> sphinx-build -b man -d _build/doctrees . _build/man
> Running Sphinx v2.4.3
> making output directory... done
> loading pickled environment... done
> building [mo]: targets for 0 po files that are out of date
> building [man]: all manpages
> updating environment: 0 added, 0 changed, 0 removed
> looking for now-outdated files... none found
> writing... beet.1 { } beetsconfig.5 { } done
> build succeeded.
>
> The manual pages are in _build/man.
>
> Build finished. The manual pages are in _build/man.
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: python3.8 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
> running egg_info
> writing beets.egg-info/PKG-INFO
> writing dependency_links to beets.egg-info/dependency_links.txt
> writing entry points to beets.egg-info/entry_points.txt
> writing requirements to beets.egg-info/requires.txt
> writing top-level names to beets.egg-info/top_level.txt
> reading manifest file 'beets.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*.pyc' found under directory 'test/rsrc'
> warning: no previously-included files matching '*.pyo' found under directory 'test/rsrc'
> warning: no previously-included files matching '.DS_Store' found anywhere in distribution
> writing manifest file 'beets.egg-info/SOURCES.txt'
> running build_ext
> test_choose_first_candidate (test_ui_importer.ChooseCandidateTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmph7gfe66e/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist M - Applied Album M (albumid M)
> ../beets/autotag/hooks.py:241: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
> return levenshtein_distance(str1, str2) / float(max(len(str1), len(str2)))
> Computing track assignment...
> ...done.
> Success. Distance: 0.53
> Sending event: albuminfo_received
> Candidate: Applied Artist MM - Applied Album MM (albumid MM)
> Computing track assignment...
> ...done.
> Success. Distance: 0.55
> Evaluating 2 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_choose_second_candidate (test_ui_importer.ChooseCandidateTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp7nuwqdp6/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist M - Applied Album M (albumid M)
> Computing track assignment...
> ...done.
> Success. Distance: 0.53
> Sending event: albuminfo_received
> Candidate: Applied Artist MM - Applied Album MM (albumid MM)
> Computing track assignment...
> ...done.
> Success. Distance: 0.55
> Evaluating 2 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_different_artist_and_different_album (test_ui_importer.GlobalGroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpkp500m4p/testsrcdir/the_album/track_1.mp3
> Tagging Artist B - Album B
> No album ID found.
> Search terms: Artist B - Album B
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmpkp500m4p/testsrcdir/the_album/track_2.mp3; /tmp/tmpkp500m4p/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_different_artist_and_same_albumartist (test_ui_importer.GlobalGroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpqahlnc2b/testsrcdir/the_album/track_1.mp3; /tmp/tmpqahlnc2b/testsrcdir/the_album/track_2.mp3
> Tagging Album Artist - Tag Album
> No album ID found.
> Search terms: Album Artist - Tag Album
> Album might be VA: True
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmpqahlnc2b/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_same_album_and_different_artist (test_ui_importer.GlobalGroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpmzfrfn5_/testsrcdir/the_album/track_1.mp3
> Tagging Artist B - Tag Album
> No album ID found.
> Search terms: Artist B - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmpmzfrfn5_/testsrcdir/the_album/track_2.mp3; /tmp/tmpmzfrfn5_/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_same_artist_and_different_album (test_ui_importer.GlobalGroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpmv0hdm1n/testsrcdir/the_album/track_1.mp3
> Tagging Tag Artist - Album B
> No album ID found.
> Search terms: Tag Artist - Album B
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmpmv0hdm1n/testsrcdir/the_album/track_2.mp3; /tmp/tmpmv0hdm1n/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_incremental (test_ui_importer.GlobalGroupAlbumsImportTest) ... Sending event: import_begin
> state file could not be read: [Errno 2] No such file or directory: '/tmp/tmpjn75otll/state.pickle'
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpjn75otll/testsrcdir/the_album/track_1.mp3
> Tagging Tag Artist - Album B
> No album ID found.
> Search terms: Tag Artist - Album B
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmpjn75otll/testsrcdir/the_album/track_2.mp3; /tmp/tmpjn75otll/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_different_artist_and_different_album (test_ui_importer.GroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp5lyl4j_2/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: True
> Evaluating 0 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp5lyl4j_2/testsrcdir/the_album/track_1.mp3
> Tagging Artist B - Album B
> No album ID found.
> Search terms: Artist B - Album B
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmp5lyl4j_2/testsrcdir/the_album/track_2.mp3; /tmp/tmp5lyl4j_2/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_different_artist_and_same_albumartist (test_ui_importer.GroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmptcya3fnn/testsrcdir/the_album
> Tagging Artist B - Tag Album
> No album ID found.
> Search terms: Artist B - Tag Album
> Album might be VA: True
> Evaluating 0 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmptcya3fnn/testsrcdir/the_album/track_1.mp3; /tmp/tmptcya3fnn/testsrcdir/the_album/track_2.mp3
> Tagging Album Artist - Tag Album
> No album ID found.
> Search terms: Album Artist - Tag Album
> Album might be VA: True
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmptcya3fnn/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_same_album_and_different_artist (test_ui_importer.GroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp6mavpol8/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: True
> Evaluating 0 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp6mavpol8/testsrcdir/the_album/track_1.mp3
> Tagging Artist B - Tag Album
> No album ID found.
> Search terms: Artist B - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmp6mavpol8/testsrcdir/the_album/track_2.mp3; /tmp/tmp6mavpol8/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_same_artist_and_different_album (test_ui_importer.GroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpt00rjeeh/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpt00rjeeh/testsrcdir/the_album/track_1.mp3
> Tagging Tag Artist - Album B
> No album ID found.
> Search terms: Tag Artist - Album B
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmpt00rjeeh/testsrcdir/the_album/track_2.mp3; /tmp/tmpt00rjeeh/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_incremental (test_ui_importer.GroupAlbumsImportTest) ... Sending event: import_begin
> state file could not be read: [Errno 2] No such file or directory: '/tmp/tmp5j3kg0zo/state.pickle'
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp5j3kg0zo/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp5j3kg0zo/testsrcdir/the_album/track_1.mp3
> Tagging Tag Artist - Album B
> No album ID found.
> Search terms: Tag Artist - Album B
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmp5j3kg0zo/testsrcdir/the_album/track_2.mp3; /tmp/tmp5j3kg0zo/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_albumartist_tag_sets_albumartist (test_ui_importer.ImportCompilationTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpgylh7fl3/testsrcdir/the_album
> Tagging Album Artist - Tag Album
> No album ID found.
> Search terms: Album Artist - Tag Album
> Album might be VA: True
> Sending event: albuminfo_received
> Candidate: Album Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.31
> Sending event: albuminfo_received
> Candidate: Various Artists - Applied Album (albumid)
> Duplicate.
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 3 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_heterogenous_sets_sompilation (test_ui_importer.ImportCompilationTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpgvb5p61z/testsrcdir/the_album
> Tagging Other Artist - Tag Album
> No album ID found.
> Search terms: Other Artist - Tag Album
> Album might be VA: True
> Sending event: albuminfo_received
> Candidate: Other Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.31
> Sending event: albuminfo_received
> Candidate: Various Artists - Applied Album (albumid)
> Duplicate.
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 3 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_heterogenous_sets_various_albumartist (test_ui_importer.ImportCompilationTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp4bfawm_l/testsrcdir/the_album
> Tagging Other Artist - Tag Album
> No album ID found.
> Search terms: Other Artist - Tag Album
> Album might be VA: True
> Sending event: albuminfo_received
> Candidate: Other Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.31
> Sending event: albuminfo_received
> Candidate: Various Artists - Applied Album (albumid)
> Duplicate.
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 3 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_homogenous_sets_albumartist (test_ui_importer.ImportCompilationTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpl68sb6sk/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.44
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 3 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_sets_majority_albumartist (test_ui_importer.ImportCompilationTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmppow3_1kd/testsrcdir/the_album
> Tagging Other Artist - Tag Album
> No album ID found.
> Search terms: Other Artist - Tag Album
> Album might be VA: True
> Sending event: albuminfo_received
> Candidate: Other Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.31
> Sending event: albuminfo_received
> Candidate: Various Artists - Applied Album (albumid)
> Duplicate.
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 3 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_updated_moves_file (test_ui_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmppu1v1fnr/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_updated_without_copy_does_not_move_file (test_ui_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp6mp_irov/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_updates_metadata (test_ui_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpf78sw3kh/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_does_not_duplicate_album (test_ui_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpn5ad388l/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_does_not_duplicate_item (test_ui_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpjwm8ltre/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_does_not_duplicate_singleton_track (test_ui_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp81tnzv_7/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp81tnzv_7/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_outside_file_is_copied (test_ui_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp0ajnwibd/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: write
> Sending event: after_write
> Sending event: database_change
> Sending event: import_task_files
> Sending event: album_imported
> Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp0ajnwibd/testsrcdir/the_album
> Tagging Applied Artist - Applied Album
> Searching for discovered album ID: albumid
> Search terms: Applied Artist - Applied Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.00
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> Replacing item 1: /tmp/tmp0ajnwibd/testsrcdir/the_album/track_1.mp3
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> 1 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Reimported album: added 1594255749.9670434, flexible attributes [] from album 1 for /tmp/tmp0ajnwibd/testsrcdir/the_album
> Reimported item added 1594255749.967911 from item 1 for /tmp/tmp0ajnwibd/testsrcdir/the_album/track_1.mp3
> Reimported item flexible attributes [] from item 1 for /tmp/tmp0ajnwibd/testsrcdir/the_album/track_1.mp3
> Sending event: database_change
> ERROR
> test_outside_file_is_moved (test_ui_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp1u_f7dp_/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: write
> Sending event: after_write
> Sending event: database_change
> Sending event: import_task_files
> Sending event: album_imported
> Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp1u_f7dp_/testsrcdir/the_album
> Tagging Applied Artist - Applied Album
> Searching for discovered album ID: albumid
> Search terms: Applied Artist - Applied Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.00
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> Replacing item 1: /tmp/tmp1u_f7dp_/testsrcdir/the_album/track_1.mp3
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> 1 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Reimported album: added 1594255750.017727, flexible attributes [] from album 1 for /tmp/tmp1u_f7dp_/testsrcdir/the_album
> Reimported item added 1594255750.0185719 from item 1 for /tmp/tmp1u_f7dp_/testsrcdir/the_album/track_1.mp3
> Reimported item flexible attributes [] from item 1 for /tmp/tmp1u_f7dp_/testsrcdir/the_album/track_1.mp3
> Sending event: database_change
> ERROR
> test_apply_asis_adds_singleton_path (test_ui_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp544u4hur/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_asis_adds_track (test_ui_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp85sbq45l/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_asis_does_not_add_album (test_ui_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpesupnax8/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_candidate_adds_singleton_path (test_ui_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpnb1zf83m/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_candidate_adds_track (test_ui_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpf28578sk/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_candidate_does_not_add_album (test_ui_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmphwbywwud/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_single_files (test_ui_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpadyjhix8/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_set_fields (test_ui_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpvh2zeejw/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Set field collection=To Listen for /tmp/tmpvh2zeejw/testsrcdir/the_album/track_1.mp3
> Set field genre=🎷 Jazz for /tmp/tmpvh2zeejw/testsrcdir/the_album/track_1.mp3
> Sending event: database_change
> ERROR
> test_skip_adds_other_tracks (test_ui_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmps3_75jf2/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmps3_75jf2/testsrcdir/the_album/track_2.mp3
> Item search terms: Tag Artist - Tag Title 2
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_skip_does_not_add_first_track (test_ui_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp5j0mm4r7/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> ok
> test_apply_asis_adds_album (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpfufz0zli/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_asis_adds_album_path (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp5hx_vqx1/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_asis_adds_tracks (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp9bfdq_so/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_candidate_adds_album (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpbvwljigq/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_candidate_adds_album_path (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp2rgnu75t/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_candidate_adds_tracks (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpz7a7mba7/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_from_scratch_keeps_bitrate (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpeprkdtsz/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_from_scratch_keeps_format (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpcgof64wb/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_from_scratch_removes_other_metadata (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp8tympmva/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_with_delete_deletes_import (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpjocct_aa/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_with_move_deletes_import (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpbjelvba7/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_no_data_source (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpikmgad9m/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_empty_directory_singleton_warning (test_ui_importer.ImportTest) ... Sending event: import_begin
> No files imported from /tmp/tmpfdv7f2eo/empty
> ok
> test_empty_directory_warning (test_ui_importer.ImportTest) ... Sending event: import_begin
> No files imported from /tmp/tmpfwioru9o/empty
> ok
> test_set_fields (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpv02zekt9/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Set field collection=To Listen for /tmp/tmpv02zekt9/testsrcdir/the_album
> Set field genre=🎷 Jazz for /tmp/tmpv02zekt9/testsrcdir/the_album
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_skip_does_not_add_track (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp6gcna95h/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> ok
> test_skip_non_album_dirs (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp1wkanfkb/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_unmatched_tracks_not_added (test_ui_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpw3auk3ia/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.54
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_tracks_adds_singleton_path (test_ui_importer.ImportTracksTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpvbngarql/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpvbngarql/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_tracks_adds_singleton_track (test_ui_importer.ImportTracksTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpedgs7541/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpedgs7541/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_album_created_with_track_artist (test_ui_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp_zxw5k6y/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_copy_arrives (test_ui_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmpsrvz7eoo/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_hardlink_arrives (test_ui_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp0241giiq/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_link_arrives (test_ui_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp7wcw8t2d/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_with_delete_prunes_directory_empty (test_ui_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmpzxedwgxl/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_with_delete_removes_files (test_ui_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp4bcv2_q4/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_with_move_deletes_import_files (test_ui_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp5gbqjg8j/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_with_move_prunes_directory_empty (test_ui_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmpaf8vw9xw/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_with_move_prunes_with_extra_clutter (test_ui_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp08g28e5l/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_without_delete_retains_files (test_ui_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp4ui4fjge/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_threaded_import_copy_arrives (test_ui_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp10y97hui/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_threaded_import_move_arrives (test_ui_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmpvhcsbihg/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_threaded_import_move_deletes_import (test_ui_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmpk0vuqnv5/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_task_created (test_plugins.EventsTest) ... skipped 'unreliable'
> test_import_task_created_with_plugin (test_plugins.EventsTest) ... skipped 'unreliable'
> test_sanitize_choices (test_plugins.HelpersTest) ... ok
> test_match (test_plugins.ItemTypeConflictTest) ... ok
> test_mismatch (test_plugins.ItemTypeConflictTest) ... ok
> test_flex_field_type (test_plugins.ItemTypesTest) ... Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmptzuzvk32/config.yaml
> data directory: /tmp/tmptzuzvk32
> plugin paths:
> Sending event: pluginload
> Sending event: cli_exit
> no user configuration found at /tmp/tmptzuzvk32/config.yaml
> data directory: /tmp/tmptzuzvk32
> plugin paths:
> Sending event: pluginload
> ERROR
> test_change_tags (test_plugins.ItemWriteTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_events_called (test_plugins.ListenersTest) ... Sending event: event
> Sending event: event_foo
> ok
> test_listener_params (test_plugins.ListenersTest) ... Sending event: event1
> Sending event: event2
> Sending event: event3
> Sending event: event4
> Sending event: event5
> Sending event: event6
> Sending event: event7
> Sending event: event8
> Sending event: event9
> ok
> test_register (test_plugins.ListenersTest) ... ok
> test_choices_conflicts (test_plugins.PromptChoicesTest)
> Test the short letter conflict solving. ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp8635okbj/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.44
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Prompt choice 'A foo' removed due to conflict with 'Apply' (short letter: 'a')
> Prompt choice 'Zupe' removed due to conflict with 'baZ' (short letter: 'z')
> Prompt choice 'Zoo' removed due to conflict with 'baZ' (short letter: 'z')
> Sending event: import_task_choice
> ok
> test_plugin_callback (test_plugins.PromptChoicesTest)
> Test that plugin callbacks are being called upon user choice. ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp9snvsufs/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.44
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> ok
> test_plugin_callback_return (test_plugins.PromptChoicesTest)
> Test that plugin callbacks that return a value exit the loop. ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp2kul49jw/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.44
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> ok
> test_plugin_choices_in_ui_input_options_album (test_plugins.PromptChoicesTest)
> Test the presence of plugin choices on the prompt (album). ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpz8mtrxbj/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.44
> Evaluating 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> ok
> test_plugin_choices_in_ui_input_options_singleton (test_plugins.PromptChoicesTest)
> Test the presence of plugin choices on the prompt (singleton). ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpr00gb6cd/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpr00gb6cd/testsrcdir/the_album/track_2.mp3
> Item search terms: Tag Artist - Tag Title 2
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_finds_all_albums (test_importer.AlbumsInDirTest) ... ok
> test_finds_multiple_songs (test_importer.AlbumsInDirTest) ... ok
> test_separates_contents (test_importer.AlbumsInDirTest) ... ok
> test_choose_first_candidate (test_importer.ChooseCandidateTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp8su6iq0_/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist M - Applied Album M (albumid M)
> Computing track assignment...
> ...done.
> Success. Distance: 0.53
> Sending event: albuminfo_received
> Candidate: Applied Artist MM - Applied Album MM (albumid MM)
> Computing track assignment...
> ...done.
> Success. Distance: 0.55
> Evaluating 2 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_choose_second_candidate (test_importer.ChooseCandidateTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpjlv27i7m/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist M - Applied Album M (albumid M)
> Computing track assignment...
> ...done.
> Success. Distance: 0.53
> Sending event: albuminfo_received
> Candidate: Applied Artist MM - Applied Album MM (albumid MM)
> Computing track assignment...
> ...done.
> Success. Distance: 0.55
> Evaluating 2 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_different_artist_and_different_album (test_importer.GlobalGroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpv3xn8jbp/testsrcdir/the_album/track_1.mp3
> Tagging Artist B - Album B
> No album ID found.
> Search terms: Artist B - Album B
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmpv3xn8jbp/testsrcdir/the_album/track_2.mp3; /tmp/tmpv3xn8jbp/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_different_artist_and_same_albumartist (test_importer.GlobalGroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpdl1gnjt9/testsrcdir/the_album/track_1.mp3; /tmp/tmpdl1gnjt9/testsrcdir/the_album/track_2.mp3
> Tagging Album Artist - Tag Album
> No album ID found.
> Search terms: Album Artist - Tag Album
> Album might be VA: True
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmpdl1gnjt9/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_same_album_and_different_artist (test_importer.GlobalGroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpuznp5svp/testsrcdir/the_album/track_1.mp3
> Tagging Artist B - Tag Album
> No album ID found.
> Search terms: Artist B - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmpuznp5svp/testsrcdir/the_album/track_2.mp3; /tmp/tmpuznp5svp/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_same_artist_and_different_album (test_importer.GlobalGroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmppe_zr01l/testsrcdir/the_album/track_1.mp3
> Tagging Tag Artist - Album B
> No album ID found.
> Search terms: Tag Artist - Album B
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmppe_zr01l/testsrcdir/the_album/track_2.mp3; /tmp/tmppe_zr01l/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_incremental (test_importer.GlobalGroupAlbumsImportTest) ... Sending event: import_begin
> state file could not be read: [Errno 2] No such file or directory: '/tmp/tmpjh6_e5yf/state.pickle'
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpjh6_e5yf/testsrcdir/the_album/track_1.mp3
> Tagging Tag Artist - Album B
> No album ID found.
> Search terms: Tag Artist - Album B
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmpjh6_e5yf/testsrcdir/the_album/track_2.mp3; /tmp/tmpjh6_e5yf/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_different_artist_and_different_album (test_importer.GroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp3b6ng20f/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: True
> Evaluating 0 candidates.
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp3b6ng20f/testsrcdir/the_album/track_1.mp3
> Tagging Artist B - Album B
> No album ID found.
> Search terms: Artist B - Album B
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmp3b6ng20f/testsrcdir/the_album/track_2.mp3; /tmp/tmp3b6ng20f/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_different_artist_and_same_albumartist (test_importer.GroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp6i75q5my/testsrcdir/the_album
> Tagging Artist B - Tag Album
> No album ID found.
> Search terms: Artist B - Tag Album
> Album might be VA: True
> Evaluating 0 candidates.
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp6i75q5my/testsrcdir/the_album/track_1.mp3; /tmp/tmp6i75q5my/testsrcdir/the_album/track_2.mp3
> Tagging Album Artist - Tag Album
> No album ID found.
> Search terms: Album Artist - Tag Album
> Album might be VA: True
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmp6i75q5my/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_same_album_and_different_artist (test_importer.GroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpjudnw5ui/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: True
> Evaluating 0 candidates.
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpjudnw5ui/testsrcdir/the_album/track_1.mp3
> Tagging Artist B - Tag Album
> No album ID found.
> Search terms: Artist B - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmpjudnw5ui/testsrcdir/the_album/track_2.mp3; /tmp/tmpjudnw5ui/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_add_album_for_same_artist_and_different_album (test_importer.GroupAlbumsImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp0d3vmaf_/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp0d3vmaf_/testsrcdir/the_album/track_1.mp3
> Tagging Tag Artist - Album B
> No album ID found.
> Search terms: Tag Artist - Album B
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmp0d3vmaf_/testsrcdir/the_album/track_2.mp3; /tmp/tmp0d3vmaf_/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_incremental (test_importer.GroupAlbumsImportTest) ... Sending event: import_begin
> state file could not be read: [Errno 2] No such file or directory: '/tmp/tmpduh0lewt/state.pickle'
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpduh0lewt/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpduh0lewt/testsrcdir/the_album/track_1.mp3
> Tagging Tag Artist - Album B
> No album ID found.
> Search terms: Tag Artist - Album B
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_start
> Looking up: /tmp/tmpduh0lewt/testsrcdir/the_album/track_2.mp3; /tmp/tmpduh0lewt/testsrcdir/the_album/track_3.mp3
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Evaluating 0 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: import_task_choice
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_albumartist_tag_sets_albumartist (test_importer.ImportCompilationTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp002comrp/testsrcdir/the_album
> Tagging Album Artist - Tag Album
> No album ID found.
> Search terms: Album Artist - Tag Album
> Album might be VA: True
> Sending event: albuminfo_received
> Candidate: Album Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.31
> Sending event: albuminfo_received
> Candidate: Various Artists - Applied Album (albumid)
> Duplicate.
> Evaluating 1 candidates.
> Sending event: import_task_choice
> 0 of 3 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_heterogenous_sets_sompilation (test_importer.ImportCompilationTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpm3kw9hb3/testsrcdir/the_album
> Tagging Other Artist - Tag Album
> No album ID found.
> Search terms: Other Artist - Tag Album
> Album might be VA: True
> Sending event: albuminfo_received
> Candidate: Other Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.31
> Sending event: albuminfo_received
> Candidate: Various Artists - Applied Album (albumid)
> Duplicate.
> Evaluating 1 candidates.
> Sending event: import_task_choice
> 0 of 3 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_heterogenous_sets_various_albumartist (test_importer.ImportCompilationTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpdxut3a5v/testsrcdir/the_album
> Tagging Other Artist - Tag Album
> No album ID found.
> Search terms: Other Artist - Tag Album
> Album might be VA: True
> Sending event: albuminfo_received
> Candidate: Other Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.31
> Sending event: albuminfo_received
> Candidate: Various Artists - Applied Album (albumid)
> Duplicate.
> Evaluating 1 candidates.
> Sending event: import_task_choice
> 0 of 3 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_homogenous_sets_albumartist (test_importer.ImportCompilationTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpz8x7w5xv/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.44
> Evaluating 1 candidates.
> Sending event: import_task_choice
> 0 of 3 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_sets_majority_albumartist (test_importer.ImportCompilationTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpf09s8sn2/testsrcdir/the_album
> Tagging Other Artist - Tag Album
> No album ID found.
> Search terms: Other Artist - Tag Album
> Album might be VA: True
> Sending event: albuminfo_received
> Candidate: Other Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.31
> Sending event: albuminfo_received
> Candidate: Various Artists - Applied Album (albumid)
> Duplicate.
> Evaluating 1 candidates.
> Sending event: import_task_choice
> 0 of 3 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_keep_duplicate_album (test_importer.ImportDuplicateAlbumTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_merge_duplicate_album (test_importer.ImportDuplicateAlbumTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_no_autotag_keeps_duplicate_album (test_importer.ImportDuplicateAlbumTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_remove_duplicate_album (test_importer.ImportDuplicateAlbumTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_skip_duplicate_album (test_importer.ImportDuplicateAlbumTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_twice_in_import_dir (test_importer.ImportDuplicateAlbumTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_keep_duplicate (test_importer.ImportDuplicateSingletonTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_remove_duplicate (test_importer.ImportDuplicateSingletonTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_skip_duplicate (test_importer.ImportDuplicateSingletonTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_twice_in_import_dir (test_importer.ImportDuplicateSingletonTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_updated_moves_file (test_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpom42wnop/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_updated_without_copy_does_not_move_file (test_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpab84xcad/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_updates_metadata (test_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpx2oih0zr/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_does_not_duplicate_album (test_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpbj568950/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_does_not_duplicate_item (test_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpxsm8k73y/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_does_not_duplicate_singleton_track (test_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpatizlfkr/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpatizlfkr/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_outside_file_is_copied (test_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpo1l9h860/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: write
> Sending event: after_write
> Sending event: database_change
> Sending event: import_task_files
> Sending event: album_imported
> Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpo1l9h860/testsrcdir/the_album
> Tagging Applied Artist - Applied Album
> Searching for discovered album ID: albumid
> Search terms: Applied Artist - Applied Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.00
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> Replacing item 1: /tmp/tmpo1l9h860/testsrcdir/the_album/track_1.mp3
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> 1 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Reimported album: added 1594255753.4673088, flexible attributes [] from album 1 for /tmp/tmpo1l9h860/testsrcdir/the_album
> Reimported item added 1594255753.4681633 from item 1 for /tmp/tmpo1l9h860/testsrcdir/the_album/track_1.mp3
> Reimported item flexible attributes [] from item 1 for /tmp/tmpo1l9h860/testsrcdir/the_album/track_1.mp3
> Sending event: database_change
> ERROR
> test_outside_file_is_moved (test_importer.ImportExistingTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpd5e9hxzo/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: write
> Sending event: after_write
> Sending event: database_change
> Sending event: import_task_files
> Sending event: album_imported
> Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpd5e9hxzo/testsrcdir/the_album
> Tagging Applied Artist - Applied Album
> Searching for discovered album ID: albumid
> Search terms: Applied Artist - Applied Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.00
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> Replacing item 1: /tmp/tmpd5e9hxzo/testsrcdir/the_album/track_1.mp3
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> 1 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Reimported album: added 1594255753.5431101, flexible attributes [] from album 1 for /tmp/tmpd5e9hxzo/testsrcdir/the_album
> Reimported item added 1594255753.5439808 from item 1 for /tmp/tmpd5e9hxzo/testsrcdir/the_album/track_1.mp3
> Reimported item flexible attributes [] from item 1 for /tmp/tmpd5e9hxzo/testsrcdir/the_album/track_1.mp3
> Sending event: database_change
> ERROR
> test_candidates_album (test_importer.ImportMusicBrainzIdTest)
> Test directly ImportTask.lookup_candidates(). ... Tagging the album artist - the album
> Searching for album ID: https://musicbrainz.org/release/00000000-0000-0000-0000-000000000000
> Requesting MusicBrainz release https://musicbrainz.org/release/00000000-0000-0000-0000-000000000000
> Sending event: albuminfo_received
> Candidate: TAG ARTIST - VALID_RELEASE_0 (00000000-0000-0000-0000-000000000000)
> Computing track assignment...
> ...done.
> Success. Distance: 0.89
> Searching for album ID: https://musicbrainz.org/release/11111111-1111-1111-1111-111111111111
> Requesting MusicBrainz release https://musicbrainz.org/release/11111111-1111-1111-1111-111111111111
> Sending event: albuminfo_received
> Candidate: DISTANT_MATCH - VALID_RELEASE_1 (11111111-1111-1111-1111-111111111111)
> Computing track assignment...
> ...done.
> Success. Distance: 0.94
> Searching for album ID: an invalid and discarded id
> Requesting MusicBrainz release an invalid and discarded id
> Invalid MBID (an invalid and discarded id).
> Evaluating 2 candidates.
> ok
> test_candidates_singleton (test_importer.ImportMusicBrainzIdTest)
> Test directly SingletonImportTask.lookup_candidates(). ... Searching for track ID: https://musicbrainz.org/recording/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
> Sending event: trackinfo_received
> Searching for track ID: https://musicbrainz.org/recording/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb
> Sending event: trackinfo_received
> Searching for track ID: an invalid and discarded id
> Invalid MBID (an invalid and discarded id).
> ok
> test_one_mbid_one_album (test_importer.ImportMusicBrainzIdTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp8dz9sfw9/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> Searching for album ID: https://musicbrainz.org/release/00000000-0000-0000-0000-000000000000
> Requesting MusicBrainz release https://musicbrainz.org/release/00000000-0000-0000-0000-000000000000
> Sending event: albuminfo_received
> Candidate: TAG ARTIST - VALID_RELEASE_0 (00000000-0000-0000-0000-000000000000)
> Computing track assignment...
> ...done.
> Success. Distance: 0.63
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_one_mbid_one_singleton (test_importer.ImportMusicBrainzIdTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpq15713bb/testsrcdir/the_album/track_1.mp3
> Searching for track ID: https://musicbrainz.org/recording/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
> Sending event: trackinfo_received
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_several_mbid_one_album (test_importer.ImportMusicBrainzIdTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpm4h3do1q/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> Searching for album ID: https://musicbrainz.org/release/00000000-0000-0000-0000-000000000000
> Requesting MusicBrainz release https://musicbrainz.org/release/00000000-0000-0000-0000-000000000000
> Sending event: albuminfo_received
> Candidate: TAG ARTIST - VALID_RELEASE_0 (00000000-0000-0000-0000-000000000000)
> Computing track assignment...
> ...done.
> Success. Distance: 0.63
> Searching for album ID: https://musicbrainz.org/release/11111111-1111-1111-1111-111111111111
> Requesting MusicBrainz release https://musicbrainz.org/release/11111111-1111-1111-1111-111111111111
> Sending event: albuminfo_received
> Candidate: DISTANT_MATCH - VALID_RELEASE_1 (11111111-1111-1111-1111-111111111111)
> Computing track assignment...
> ...done.
> Success. Distance: 0.82
> Evaluating 2 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_several_mbid_one_singleton (test_importer.ImportMusicBrainzIdTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpbib14m_2/testsrcdir/the_album/track_1.mp3
> Searching for track ID: https://musicbrainz.org/recording/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
> Sending event: trackinfo_received
> Searching for track ID: https://musicbrainz.org/recording/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb
> Sending event: trackinfo_received
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_zip (test_importer.ImportPasswordRarTest) ... skipped 'Implement me!'
> test_import_album_pretend (test_importer.ImportPretendTest) ... Sending event: import_begin
> Sending event: import_task_created
> Album: /tmp/tmpjsjw4_kc/testsrcdir/the_album
> /tmp/tmpjsjw4_kc/testsrcdir/the_album/track_1.mp3
> Sending event: import_task_created
> Album: /tmp/tmpjsjw4_kc/testsrcdir/track_2.mp3
> /tmp/tmpjsjw4_kc/testsrcdir/track_2.mp3
> ok
> test_import_pretend_empty (test_importer.ImportPretendTest) ... Sending event: import_begin
> No files imported from /tmp/tmp933l9hni/empty
> ok
> test_import_singletons_pretend (test_importer.ImportPretendTest) ... Sending event: import_begin
> Sending event: import_task_created
> Singleton: /tmp/tmpkw5t6hc2/testsrcdir/the_album/track_1.mp3
> Sending event: import_task_created
> Singleton: /tmp/tmpkw5t6hc2/testsrcdir/track_2.mp3
> ok
> test_import_zip (test_importer.ImportRarTest) ... skipped 'unrar program not found'
> test_apply_asis_adds_singleton_path (test_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpq3q0nd10/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> ../beets/autotag/hooks.py:241: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
> return levenshtein_distance(str1, str2) / float(max(len(str1), len(str2)))
> Found 1 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_asis_adds_track (test_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpoqff3kzh/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_asis_does_not_add_album (test_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp8g65y98h/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_candidate_adds_singleton_path (test_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpvm4qlgpx/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_candidate_adds_track (test_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpazzr859o/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_candidate_does_not_add_album (test_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpi0i94gq_/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_single_files (test_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmppuuvxsrf/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_set_fields (test_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp1cr3fnde/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Set field collection=To Listen for /tmp/tmp1cr3fnde/testsrcdir/the_album/track_1.mp3
> Set field genre=🎷 Jazz for /tmp/tmp1cr3fnde/testsrcdir/the_album/track_1.mp3
> Sending event: database_change
> ERROR
> test_skip_adds_other_tracks (test_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmppnnro9pw/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmppnnro9pw/testsrcdir/the_album/track_2.mp3
> Item search terms: Tag Artist - Tag Title 2
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_skip_does_not_add_first_track (test_importer.ImportSingletonTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp1bimir45/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: import_task_choice
> ok
> test_import_zip (test_importer.ImportTarTest) ... Sending event: import_begin
> Extracting archive: /tmp/tmpyv3mou5y/tmp06ce3rtv
> Archive extracted to: /tmp/tmp1p2fv93b
> Sending event: import_task_created
> /tmp/tmp1p2fv93b
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_asis_adds_album (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpr02z0fr1/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_asis_adds_album_path (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpgszwgi11/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_asis_adds_tracks (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp1n_t1ens/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_candidate_adds_album (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpopnsdxv8/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_candidate_adds_album_path (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp111fc3v7/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_candidate_adds_tracks (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpow0z7w2i/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_from_scratch_keeps_bitrate (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpeyp_ac2h/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_from_scratch_keeps_format (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpnxkwkzpx/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_from_scratch_removes_other_metadata (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpg3edauxt/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_with_delete_deletes_import (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpuxegq_fw/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_with_move_deletes_import (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpiec9enri/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_asis_no_data_source (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpbh027d1c/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_empty_directory_singleton_warning (test_importer.ImportTest) ... Sending event: import_begin
> No files imported from /tmp/tmpzf10zkxv/empty
> ok
> test_empty_directory_warning (test_importer.ImportTest) ... Sending event: import_begin
> No files imported from /tmp/tmptagmvw8f/empty
> ok
> test_set_fields (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp12nodj1g/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Set field collection=To Listen for /tmp/tmp12nodj1g/testsrcdir/the_album
> Set field genre=🎷 Jazz for /tmp/tmp12nodj1g/testsrcdir/the_album
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_skip_does_not_add_track (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmppi2veee2/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> ok
> test_skip_non_album_dirs (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpzvjpjfpw/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_unmatched_tracks_not_added (test_importer.ImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp6bofqp_2/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.54
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_tracks_adds_singleton_path (test_importer.ImportTracksTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpvorj1zra/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpvorj1zra/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_tracks_adds_singleton_track (test_importer.ImportTracksTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpehrfhghl/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpehrfhghl/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_zip (test_importer.ImportZipTest) ... Sending event: import_begin
> Extracting archive: /tmp/tmp4xjipksp/tmp6_zoi04z
> Archive extracted to: /tmp/tmpwese53he
> Sending event: import_task_created
> /tmp/tmpwese53he
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_incremental_album (test_importer.IncrementalImportTest) ... Sending event: import_begin
> state file could not be read: [Errno 2] No such file or directory: '/tmp/tmpp8mitozg/state.pickle'
> Sending event: import_task_created
> /tmp/tmpp8mitozg/import/album 0
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_incremental_item (test_importer.IncrementalImportTest) ... Sending event: import_begin
> state file could not be read: [Errno 2] No such file or directory: '/tmp/tmp0wvwc6p0/state.pickle'
> Sending event: import_task_created
> /tmp/tmp0wvwc6p0/import/album 0/track 0.mp3
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_invalid_state_file (test_importer.IncrementalImportTest) ... Sending event: import_begin
> state file could not be read: unpickling stack underflow
> Sending event: import_task_created
> /tmp/tmptvkbk981/import/album 0
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_apply_gets_artist_and_id (test_importer.InferAlbumDataTest) ... ok
> test_apply_lets_album_values_override (test_importer.InferAlbumDataTest) ... ok
> test_asis_comp_applied_to_all_items (test_importer.InferAlbumDataTest) ... ok
> test_asis_heterogenous_va (test_importer.InferAlbumDataTest) ... ok
> test_asis_homogenous_single_artist (test_importer.InferAlbumDataTest) ... ok
> test_asis_majority_artist_single_artist (test_importer.InferAlbumDataTest) ... ok
> test_asis_track_albumartist_override (test_importer.InferAlbumDataTest) ... ok
> test_small_single_artist_album (test_importer.InferAlbumDataTest) ... ok
> test_coalesce_flattened_album_case_typo (test_importer.MultiDiscAlbumsInDirTest) ... ok
> test_coalesce_multiple_unicode (test_importer.MultiDiscAlbumsInDirTest) ... ok
> test_coalesce_nested_album_multiple_subdirs (test_importer.MultiDiscAlbumsInDirTest) ... ok
> test_coalesce_nested_album_single_subdir (test_importer.MultiDiscAlbumsInDirTest) ... ok
> test_do_not_yield_empty_album (test_importer.MultiDiscAlbumsInDirTest) ... ok
> test_single_disc_album (test_importer.MultiDiscAlbumsInDirTest) ... ok
> test_single_disc_unicode (test_importer.MultiDiscAlbumsInDirTest) ... ok
> test_album_created_with_track_artist (test_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp4nwkt9lf/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_copy_arrives (test_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp4v3o16l7/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_hardlink_arrives (test_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmpqg2zh7jg/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_link_arrives (test_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmpz76qwohp/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_with_delete_prunes_directory_empty (test_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmpxu6g1r0s/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_with_delete_removes_files (test_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp_3nrqafg/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_with_move_deletes_import_files (test_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmptntzx7_4/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_with_move_prunes_directory_empty (test_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmpd0b5jgce/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_with_move_prunes_with_extra_clutter (test_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmpg8gfdzbx/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_without_delete_retains_files (test_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmpffiaj3ad/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_threaded_import_copy_arrives (test_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmpruun847q/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_threaded_import_move_arrives (test_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmpmyqeyux_/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_threaded_import_move_deletes_import (test_importer.NonAutotaggedImportTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp51_v6fmu/testsrcdir/the_album
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_reimported_album_gets_new_metadata (test_importer.ReimportTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_reimported_album_preserves_added (test_importer.ReimportTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_reimported_album_preserves_flexattr (test_importer.ReimportTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_reimported_album_preserves_item_added (test_importer.ReimportTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_reimported_album_preserves_item_flexattr (test_importer.ReimportTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_reimported_item_gets_new_metadata (test_importer.ReimportTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_reimported_item_preserves_added (test_importer.ReimportTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_reimported_item_preserves_art (test_importer.ReimportTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_reimported_item_preserves_flexattr (test_importer.ReimportTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_resume_album (test_importer.ResumeImportTest) ... state file could not be read: [Errno 2] No such file or directory: '/tmp/tmpmaqfxihv/state.pickle'
> /tmp/tmpmaqfxihv/import/album 0
> 0 of 1 items replaced
> ERROR
> test_resume_singleton (test_importer.ResumeImportTest) ... state file could not be read: [Errno 2] No such file or directory: '/tmp/tmp870gxvs3/state.pickle'
> /tmp/tmp870gxvs3/import/album 0/track 0.mp3
> 0 of 1 items replaced
> ERROR
> test_rm (test_importer.RmTempTest) ... Removing extracted directory: /tmp/tmpmxhxeczg
> ok
> test_tag_log_line (test_importer.TagLogTest) ... ok
> test_tag_log_unicode (test_importer.TagLogTest) ... ok
> test_case_sensitive_only_affects_text (test_sort.CaseSensitivityTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> Sending event: database_change
> ok
> test_fixed_field_case_insensitive (test_sort.CaseSensitivityTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> Sending event: database_change
> ok
> test_fixed_field_case_sensitive (test_sort.CaseSensitivityTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> Sending event: database_change
> ok
> test_flex_field_case_insensitive (test_sort.CaseSensitivityTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> Sending event: database_change
> ok
> test_flex_field_case_sensitive (test_sort.CaseSensitivityTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> Sending event: database_change
> ok
> test_smart_artist_case_insensitive (test_sort.CaseSensitivityTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> Sending event: database_change
> ok
> test_smart_artist_case_sensitive (test_sort.CaseSensitivityTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> Sending event: database_change
> ok
> test_config_opposite_sort_album (test_sort.ConfigSortTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_config_opposite_sort_item (test_sort.ConfigSortTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_default_sort_album (test_sort.ConfigSortTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_default_sort_item (test_sort.ConfigSortTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_combined_non_existing_field_asc (test_sort.NonExistingFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_combined_non_existing_field_desc (test_sort.NonExistingFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_field_present_in_some_items (test_sort.NonExistingFieldTest)
> Test ordering by a field not present on all items. ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_negation_interaction (test_sort.NonExistingFieldTest)
> Test the handling of negation and sorting together. ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_non_existing_fields_not_fail (test_sort.NonExistingFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_sort_asc (test_sort.SortAlbumComputedFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_sort_desc (test_sort.SortAlbumComputedFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_sort_asc (test_sort.SortAlbumFixedFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_sort_desc (test_sort.SortAlbumFixedFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_sort_two_field_asc (test_sort.SortAlbumFixedFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_sort_asc (test_sort.SortAlbumFlexFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_sort_desc (test_sort.SortAlbumFlexFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_sort_two_field_asc (test_sort.SortAlbumFlexFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_computed_first (test_sort.SortCombinedFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_computed_second (test_sort.SortCombinedFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_sort_asc (test_sort.SortFixedFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_sort_desc (test_sort.SortFixedFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_sort_path_field (test_sort.SortFixedFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_sort_two_field_asc (test_sort.SortFixedFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_sort_asc (test_sort.SortFlexFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_sort_desc (test_sort.SortFlexFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_sort_two_field (test_sort.SortFlexFieldTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_human_bytes (test_ui_init.InitTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_human_seconds (test_ui_init.InitTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_input_select_objects (test_ui_init.InputMethodsTest) ... ok
> test_stored_hashes (test_ipfs.IPFSPluginTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> --- Logging error ---
> Traceback (most recent call last):
> File "/usr/lib/python3.8/logging/__init__.py", line 1081, in emit
> msg = self.format(record)
> File "/usr/lib/python3.8/logging/__init__.py", line 925, in format
> return fmt.format(record)
> File "/usr/lib/python3.8/logging/__init__.py", line 664, in format
> record.message = record.getMessage()
> File "/usr/lib/python3.8/logging/__init__.py", line 367, in getMessage
> msg = str(self.msg)
> File "../beets/logging.py", line 86, in __str__
> return self.msg.format(*args, **kwargs)
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
> Call stack:
> File "setup.py", line 57, in <module>
> setup(
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in setup
> return distutils.core.setup(**attrs)
> File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
> dist.run_commands()
> File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
> self.run_command(cmd)
> File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
> cmd_obj.run()
> File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 238, in run
> self.run_tests()
> File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 256, in run_tests
> test = unittest.main(
> File "/usr/lib/python3.8/unittest/main.py", line 101, in __init__
> self.runTests()
> File "/usr/lib/python3.8/unittest/main.py", line 271, in runTests
> self.result = testRunner.run(self.test)
> File "/usr/lib/python3.8/unittest/runner.py", line 176, in run
> test(result)
> File "/usr/lib/python3.8/unittest/suite.py", line 84, in __call__
> return self.run(*args, **kwds)
> File "/usr/lib/python3.8/unittest/suite.py", line 122, in run
> test(result)
> File "/usr/lib/python3.8/unittest/suite.py", line 84, in __call__
> return self.run(*args, **kwds)
> File "/usr/lib/python3.8/unittest/suite.py", line 122, in run
> test(result)
> File "/usr/lib/python3.8/unittest/suite.py", line 84, in __call__
> return self.run(*args, **kwds)
> File "/usr/lib/python3.8/unittest/suite.py", line 122, in run
> test(result)
> File "/usr/lib/python3.8/unittest/suite.py", line 84, in __call__
> return self.run(*args, **kwds)
> File "/usr/lib/python3.8/unittest/suite.py", line 122, in run
> test(result)
> File "/usr/lib/python3.8/unittest/case.py", line 736, in __call__
> return self.run(*args, **kwds)
> File "/usr/lib/python3.8/unittest/case.py", line 676, in run
> self._callTestMethod(testMethod)
> File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
> method()
> File "/usr/lib/python3/dist-packages/mock/mock.py", line 1369, in patched
> return func(*newargs, **newkeywargs)
> File "/<<PKGBUILDDIR>>/test/test_ipfs.py", line 45, in test_stored_hashes
> added_albums = ipfs.ipfs_added_albums(self.lib, self.lib.path)
> File "/<<PKGBUILDDIR>>/beetsplug/ipfs.py", line 269, in ipfs_added_albums
> self.create_new_album(album, tmplib)
> File "/<<PKGBUILDDIR>>/beetsplug/ipfs.py", line 292, in create_new_album
> self._log.info("Adding '{0}' to temporary library", album)
> File "/usr/lib/python3.8/logging/__init__.py", line 1434, in info
> self._log(INFO, msg, args, **kwargs)
> File "../beets/logging.py", line 91, in _log
> return super(StrFormatLogger, self)._log(level, m, (), exc_info, extra)
> Message: <beets.logging.StrFormatLogger._LogMessage object at 0x7f5bd9163c40>
> Arguments: ()
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_import_album_inplace_with_added_dates (test_importadded.ImportAddedTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpc3cq5kcg/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.47
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: write
> Sending event: after_write
> Sending event: write
> Sending event: after_write
> Sending event: database_change
> Sending event: database_change
> Sending event: import_task_files
> Sending event: album_imported
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_import_album_with_added_dates (test_importadded.ImportAddedTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpisgr_ze6/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.47
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_album_with_preserved_mtimes (test_importadded.ImportAddedTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpswf1xa3a/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.47
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_singletons_with_added_dates (test_importadded.ImportAddedTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp5ob9ftfq/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_singletons_with_preserved_mtimes (test_importadded.ImportAddedTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpwqgg07iv/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_reimported_album_skipped (test_importadded.ImportAddedTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp80nmz0hk/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.47
> Evaluating 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 2 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_reimported_singletons_skipped (test_importadded.ImportAddedTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpkvnkxh31/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_concurrent_events (test_logging.ConcurrentEventsTest) ... ok
> test_root_logger_levels (test_logging.ConcurrentEventsTest)
> Root logger level should be shared between threads. ... ERROR
> test_command_level0 (test_logging.LoggingLevelTest) ... dummy: info cmd
> dummy: warning cmd
> ok
> test_command_level1 (test_logging.LoggingLevelTest) ... no user configuration found at /tmp/tmp01wptw7b/config.yaml
> data directory: /tmp/tmp01wptw7b
> plugin paths:
> Sending event: pluginload
> dummy: debug cmd
> dummy: info cmd
> dummy: warning cmd
> Sending event: cli_exit
> ok
> test_command_level2 (test_logging.LoggingLevelTest) ... no user configuration found at /tmp/tmph65_jmrj/config.yaml
> data directory: /tmp/tmph65_jmrj
> plugin paths:
> Sending event: pluginload
> dummy: debug cmd
> dummy: info cmd
> dummy: warning cmd
> Sending event: cli_exit
> ok
> test_import_stage_level0 (test_logging.LoggingLevelTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp4u7nc6q3/import/album 0
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> dummy: warning import_stage
> ERROR
> test_import_stage_level1 (test_logging.LoggingLevelTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmpddqe8k1v/import/album 0
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> dummy: info import_stage
> dummy: warning import_stage
> ERROR
> test_import_stage_level2 (test_logging.LoggingLevelTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmptjaqha6c/import/album 0
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> dummy: debug import_stage
> dummy: info import_stage
> dummy: warning import_stage
> ERROR
> test_listener_level0 (test_logging.LoggingLevelTest) ... Sending event: dummy_event
> dummy: warning listener
> ok
> test_listener_level1 (test_logging.LoggingLevelTest) ... Sending event: dummy_event
> dummy: info listener
> dummy: warning listener
> ok
> test_listener_level2 (test_logging.LoggingLevelTest) ... Sending event: dummy_event
> dummy: debug listener
> dummy: info listener
> dummy: warning listener
> ok
> test_logging_management (test_logging.LoggingTest) ... ok
> test_str_format_logging (test_logging.LoggingTest) ... ok
> test_bytesting_path_windows_removes_magic_prefix (test_util.PathConversionTest) ... ok
> test_bytestring_path_windows_encodes_utf8 (test_util.PathConversionTest) ... ok
> test_syspath_posix_unchanged (test_util.PathConversionTest) ... ok
> test_syspath_windows_format (test_util.PathConversionTest) ... ok
> test_syspath_windows_format_unc_path (test_util.PathConversionTest) ... ok
> test_truncate_bytestring (test_util.PathTruncationTest) ... ok
> test_truncate_preserves_extension (test_util.PathTruncationTest) ... ok
> test_truncate_unicode (test_util.PathTruncationTest) ... ok
> test_command_output (test_util.UtilTest) ... ok
> test_convert_command_args_keeps_undecodeable_bytes (test_util.UtilTest) ... ok
> test_interactive_open (test_util.UtilTest) ... ok
> test_open_anything (test_util.UtilTest) ... ok
> test_sanitize_empty_component (test_util.UtilTest) ... skipped 'unimplemented: #359'
> test_sanitize_path_works_on_empty_string (test_util.UtilTest) ... ok
> test_sanitize_unix_replaces_leading_dot (test_util.UtilTest) ... ok
> test_sanitize_windows_replaces_illegal_chars (test_util.UtilTest) ... ok
> test_sanitize_windows_replaces_trailing_dot (test_util.UtilTest) ... ok
> test_sanitize_windows_replaces_trailing_space (test_util.UtilTest) ... ok
> test_sanitize_with_custom_replace_adds_replacements (test_util.UtilTest) ... ok
> test_sanitize_with_custom_replace_overrides_built_in_sub (test_util.UtilTest) ... ok
> test_alpha_all_chars (test_bucket.BucketPluginTest)
> Alphabet buckets can be named by listing all their chars ... ok
> test_alpha_first_last_chars (test_bucket.BucketPluginTest)
> Alphabet buckets can be named by listing the 'from-to' syntax ... ok
> test_alpha_out_of_range (test_bucket.BucketPluginTest)
> If no range match, return the initial ... ok
> test_alpha_regex (test_bucket.BucketPluginTest)
> Check regex is used ... ok
> test_alpha_regex_mix (test_bucket.BucketPluginTest)
> Check mixing regex and non-regex is possible ... ok
> test_bad_alpha_range_def (test_bucket.BucketPluginTest)
> If bad alpha range definition, a UserError is raised. ... ok
> test_bad_year_range_def_no4digits (test_bucket.BucketPluginTest)
> If bad year range definition, a UserError is raised. ... ok
> test_bad_year_range_def_nodigits (test_bucket.BucketPluginTest)
> If bad year range definition, a UserError is raised. ... ok
> test_span_from_str (test_bucket.BucketPluginTest) ... ok
> test_year_multiple_years (test_bucket.BucketPluginTest)
> Buckets can be named by listing all the years ... ok
> test_year_out_of_range (test_bucket.BucketPluginTest)
> If no range match, return the year ... ok
> test_year_out_of_range_extrapolate (test_bucket.BucketPluginTest)
> If no defined range match, extrapolate all ranges using the most ... ok
> test_year_single_year (test_bucket.BucketPluginTest)
> If a single year is given, range starts from this year and stops at ... ok
> test_year_single_year_last_folder (test_bucket.BucketPluginTest)
> If a single year is given for the last bucket, extend it to current ... ok
> test_year_two_years (test_bucket.BucketPluginTest)
> Buckets can be named with the 'from-to' syntax. ... ok
> test_load_item_types (test_metasync.MetaSyncTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_pretend_sync_from_itunes (test_metasync.MetaSyncTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmpz2myxvoy/config.yaml
> data directory: /tmp/tmpz2myxvoy
> plugin paths:
> Sending event: pluginload
> metasync: loading iTunes library from /<<PKGBUILDDIR>>/test/rsrc/itunes_library_unix.xml
> ERROR
> test_sync_from_itunes (test_metasync.MetaSyncTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmpizp0t333/config.yaml
> data directory: /tmp/tmpizp0t333
> plugin paths:
> Sending event: pluginload
> metasync: loading iTunes library from /<<PKGBUILDDIR>>/test/rsrc/itunes_library_unix.xml
> ERROR
> test_append_genre_list (test_mediafile.AIFFTest) ... ok
> test_delete_art (test_mediafile.AIFFTest) ... ok
> test_delete_nonexisting (test_mediafile.AIFFTest) ... delete failed: [Errno 2] No such file or directory: b'/tmp/tmpuxbix31a/full.aiff'
> ok
> test_delete_packed_total (test_mediafile.AIFFTest) ... ok
> test_delete_partial_date (test_mediafile.AIFFTest) ... ok
> test_delete_tag (test_mediafile.AIFFTest) ... ok
> test_delete_year (test_mediafile.AIFFTest) ... ok
> test_overwrite_full (test_mediafile.AIFFTest) ... ok
> test_read_audio_properties (test_mediafile.AIFFTest) ... ok
> test_read_empty (test_mediafile.AIFFTest) ... ok
> test_read_full (test_mediafile.AIFFTest) ... ok
> test_read_genre_list (test_mediafile.AIFFTest) ... ok
> test_read_nonexisting (test_mediafile.AIFFTest) ... open failed: [Errno 2] No such file or directory: b'/tmp/tmpu_3j28l_/full.aiff'
> ok
> test_save_nonexisting (test_mediafile.AIFFTest) ... save failed: [Errno 2] No such file or directory: b'/tmp/tmp_iukrxdv/full.aiff'
> ok
> test_set_jpg_art (test_mediafile.AIFFTest) ... ok
> test_set_png_art (test_mediafile.AIFFTest) ... ok
> test_unparseable_date (test_mediafile.AIFFTest)
> The `unparseable.*` fixture should not crash but should return None ... ok
> test_update_empty (test_mediafile.AIFFTest) ... ok
> test_update_full (test_mediafile.AIFFTest) ... ok
> test_write_counters_without_total (test_mediafile.AIFFTest) ... ok
> test_write_date_components (test_mediafile.AIFFTest) ... ok
> test_write_dates (test_mediafile.AIFFTest) ... ok
> test_write_empty (test_mediafile.AIFFTest) ... ok
> test_write_genre_list (test_mediafile.AIFFTest) ... ok
> test_write_genre_list_get_first (test_mediafile.AIFFTest) ... ok
> test_write_incomplete_date_components (test_mediafile.AIFFTest) ... ok
> test_write_packed (test_mediafile.AIFFTest) ... ok
> test_append_genre_list (test_mediafile.AlacTest) ... ok
> test_delete_art (test_mediafile.AlacTest) ... ok
> test_delete_nonexisting (test_mediafile.AlacTest) ... delete failed: [Errno 2] No such file or directory: b'/tmp/tmpp3le4fhi/full.alac.m4a'
> ok
> test_delete_packed_total (test_mediafile.AlacTest) ... ok
> test_delete_partial_date (test_mediafile.AlacTest) ... ok
> test_delete_tag (test_mediafile.AlacTest) ... ok
> test_delete_year (test_mediafile.AlacTest) ... ok
> test_overwrite_full (test_mediafile.AlacTest) ... ok
> test_read_audio_properties (test_mediafile.AlacTest) ... ok
> test_read_empty (test_mediafile.AlacTest) ... ok
> test_read_full (test_mediafile.AlacTest) ... ok
> test_read_genre_list (test_mediafile.AlacTest) ... ok
> test_read_nonexisting (test_mediafile.AlacTest) ... open failed: [Errno 2] No such file or directory: b'/tmp/tmpo1djdj_y/full.alac.m4a'
> ok
> test_save_nonexisting (test_mediafile.AlacTest) ... save failed: [Errno 2] No such file or directory: b'/tmp/tmpc50frpcw/full.alac.m4a'
> ok
> test_set_jpg_art (test_mediafile.AlacTest) ... ok
> test_set_png_art (test_mediafile.AlacTest) ... ok
> test_unparseable_date (test_mediafile.AlacTest)
> The `unparseable.*` fixture should not crash but should return None ... ok
> test_update_empty (test_mediafile.AlacTest) ... ok
> test_update_full (test_mediafile.AlacTest) ... ok
> test_write_counters_without_total (test_mediafile.AlacTest) ... ok
> test_write_date_components (test_mediafile.AlacTest) ... ok
> test_write_dates (test_mediafile.AlacTest) ... ok
> test_write_empty (test_mediafile.AlacTest) ... ok
> test_write_genre_list (test_mediafile.AlacTest) ... ok
> test_write_genre_list_get_first (test_mediafile.AlacTest) ... ok
> test_write_incomplete_date_components (test_mediafile.AlacTest) ... ok
> test_write_packed (test_mediafile.AlacTest) ... ok
> test_add_image_structure (test_mediafile.ApeTest) ... ok
> test_add_tiff_image (test_mediafile.ApeTest) ... ok
> test_append_genre_list (test_mediafile.ApeTest) ... ok
> test_delete_art (test_mediafile.ApeTest) ... ok
> test_delete_image_structures (test_mediafile.ApeTest) ... ok
> test_delete_nonexisting (test_mediafile.ApeTest) ... delete failed: [Errno 2] No such file or directory: b'/tmp/tmp2b2o0t9u/full.ape'
> ok
> test_delete_packed_total (test_mediafile.ApeTest) ... ok
> test_delete_partial_date (test_mediafile.ApeTest) ... ok
> test_delete_tag (test_mediafile.ApeTest) ... ok
> test_delete_year (test_mediafile.ApeTest) ... ok
> test_guess_cover (test_mediafile.ApeTest) ... ok
> test_overwrite_full (test_mediafile.ApeTest) ... ok
> test_read_audio_properties (test_mediafile.ApeTest) ... ok
> test_read_empty (test_mediafile.ApeTest) ... ok
> test_read_full (test_mediafile.ApeTest) ... ok
> test_read_genre_list (test_mediafile.ApeTest) ... ok
> test_read_image_structures (test_mediafile.ApeTest) ... ok
> test_read_nonexisting (test_mediafile.ApeTest) ... open failed: [Errno 2] No such file or directory: b'/tmp/tmpjqjtfwax/full.ape'
> ok
> test_save_nonexisting (test_mediafile.ApeTest) ... save failed: [Errno 2] No such file or directory: b'/tmp/tmpzz7cfjzi/full.ape'
> ok
> test_set_image_structure (test_mediafile.ApeTest) ... ok
> test_set_jpg_art (test_mediafile.ApeTest) ... ok
> test_set_png_art (test_mediafile.ApeTest) ... ok
> test_unparseable_date (test_mediafile.ApeTest)
> The `unparseable.*` fixture should not crash but should return None ... ok
> test_update_empty (test_mediafile.ApeTest) ... ok
> test_update_full (test_mediafile.ApeTest) ... ok
> test_write_counters_without_total (test_mediafile.ApeTest) ... ok
> test_write_date_components (test_mediafile.ApeTest) ... ok
> test_write_dates (test_mediafile.ApeTest) ... ok
> test_write_empty (test_mediafile.ApeTest) ... ok
> test_write_genre_list (test_mediafile.ApeTest) ... ok
> test_write_genre_list_get_first (test_mediafile.ApeTest) ... ok
> test_write_incomplete_date_components (test_mediafile.ApeTest) ... ok
> test_write_packed (test_mediafile.ApeTest) ... ok
> test_append_genre_list (test_mediafile.DSFTest) ... ok
> test_delete_art (test_mediafile.DSFTest) ... ok
> test_delete_nonexisting (test_mediafile.DSFTest) ... delete failed: [Errno 2] No such file or directory: b'/tmp/tmpwz_fd6mf/full.dsf'
> ok
> test_delete_packed_total (test_mediafile.DSFTest) ... ok
> test_delete_partial_date (test_mediafile.DSFTest) ... ok
> test_delete_tag (test_mediafile.DSFTest) ... ok
> test_delete_year (test_mediafile.DSFTest) ... ok
> test_overwrite_full (test_mediafile.DSFTest) ... ok
> test_read_audio_properties (test_mediafile.DSFTest) ... ok
> test_read_empty (test_mediafile.DSFTest) ... ok
> test_read_full (test_mediafile.DSFTest) ... ok
> test_read_genre_list (test_mediafile.DSFTest) ... ok
> test_read_nonexisting (test_mediafile.DSFTest) ... open failed: [Errno 2] No such file or directory: b'/tmp/tmp5fv1ixsw/full.dsf'
> ok
> test_save_nonexisting (test_mediafile.DSFTest) ... save failed: [Errno 2] No such file or directory: b'/tmp/tmpv1eewf9c/full.dsf'
> ok
> test_set_jpg_art (test_mediafile.DSFTest) ... ok
> test_set_png_art (test_mediafile.DSFTest) ... ok
> test_unparseable_date (test_mediafile.DSFTest)
> The `unparseable.*` fixture should not crash but should return None ... ok
> test_update_empty (test_mediafile.DSFTest) ... ok
> test_update_full (test_mediafile.DSFTest) ... ok
> test_write_counters_without_total (test_mediafile.DSFTest) ... ok
> test_write_date_components (test_mediafile.DSFTest) ... ok
> test_write_dates (test_mediafile.DSFTest) ... ok
> test_write_empty (test_mediafile.DSFTest) ... ok
> test_write_genre_list (test_mediafile.DSFTest) ... ok
> test_write_genre_list_get_first (test_mediafile.DSFTest) ... ok
> test_write_incomplete_date_components (test_mediafile.DSFTest) ... ok
> test_write_packed (test_mediafile.DSFTest) ... ok
> test_add_image_structure (test_mediafile.FlacTest) ... ok
> test_add_tiff_image (test_mediafile.FlacTest) ... ok
> test_append_genre_list (test_mediafile.FlacTest) ... ok
> test_delete_art (test_mediafile.FlacTest) ... ok
> test_delete_image_structures (test_mediafile.FlacTest) ... ok
> test_delete_nonexisting (test_mediafile.FlacTest) ... delete failed: [Errno 2] No such file or directory: b'/tmp/tmpy8eh0ka_/full.flac'
> ok
> test_delete_packed_total (test_mediafile.FlacTest) ... ok
> test_delete_partial_date (test_mediafile.FlacTest) ... ok
> test_delete_tag (test_mediafile.FlacTest) ... ok
> test_delete_year (test_mediafile.FlacTest) ... ok
> test_guess_cover (test_mediafile.FlacTest) ... ok
> test_overwrite_full (test_mediafile.FlacTest) ... ok
> test_read_audio_properties (test_mediafile.FlacTest) ... ok
> test_read_empty (test_mediafile.FlacTest) ... ok
> test_read_full (test_mediafile.FlacTest) ... ok
> test_read_genre_list (test_mediafile.FlacTest) ... ok
> test_read_image_structures (test_mediafile.FlacTest) ... ok
> test_read_nonexisting (test_mediafile.FlacTest) ... open failed: [Errno 2] No such file or directory: b'/tmp/tmpiz9b0c3b/full.flac'
> ok
> test_read_track_without_total (test_mediafile.FlacTest) ... ok
> test_save_nonexisting (test_mediafile.FlacTest) ... save failed: [Errno 2] No such file or directory: b'/tmp/tmpq42_za63/full.flac'
> ok
> test_set_image_structure (test_mediafile.FlacTest) ... ok
> test_set_jpg_art (test_mediafile.FlacTest) ... ok
> test_set_png_art (test_mediafile.FlacTest) ... ok
> test_unparseable_date (test_mediafile.FlacTest)
> The `unparseable.*` fixture should not crash but should return None ... ok
> test_update_empty (test_mediafile.FlacTest) ... ok
> test_update_full (test_mediafile.FlacTest) ... ok
> test_write_counters_without_total (test_mediafile.FlacTest) ... ok
> test_write_date_components (test_mediafile.FlacTest) ... ok
> test_write_dates (test_mediafile.FlacTest) ... ok
> test_write_empty (test_mediafile.FlacTest) ... ok
> test_write_genre_list (test_mediafile.FlacTest) ... ok
> test_write_genre_list_get_first (test_mediafile.FlacTest) ... ok
> test_write_incomplete_date_components (test_mediafile.FlacTest) ... ok
> test_write_packed (test_mediafile.FlacTest) ... ok
> test_add_image_structure (test_mediafile.MP3Test) ... ok
> test_add_tiff_image (test_mediafile.MP3Test) ... ok
> test_append_genre_list (test_mediafile.MP3Test) ... ok
> test_delete_art (test_mediafile.MP3Test) ... ok
> test_delete_image_structures (test_mediafile.MP3Test) ... ok
> test_delete_nonexisting (test_mediafile.MP3Test) ... delete failed: [Errno 2] No such file or directory: b'/tmp/tmpgl3eh00w/full.mp3'
> ok
> test_delete_packed_total (test_mediafile.MP3Test) ... ok
> test_delete_partial_date (test_mediafile.MP3Test) ... ok
> test_delete_tag (test_mediafile.MP3Test) ... ok
> test_delete_year (test_mediafile.MP3Test) ... ok
> test_guess_cover (test_mediafile.MP3Test) ... ok
> test_overwrite_full (test_mediafile.MP3Test) ... ok
> test_read_audio_properties (test_mediafile.MP3Test) ... ok
> test_read_empty (test_mediafile.MP3Test) ... ok
> test_read_full (test_mediafile.MP3Test) ... ok
> test_read_genre_list (test_mediafile.MP3Test) ... ok
> test_read_image_structures (test_mediafile.MP3Test) ... ok
> test_read_nonexisting (test_mediafile.MP3Test) ... open failed: [Errno 2] No such file or directory: b'/tmp/tmp72_d8wn_/full.mp3'
> ok
> test_read_track_without_total (test_mediafile.MP3Test) ... ok
> test_save_nonexisting (test_mediafile.MP3Test) ... save failed: [Errno 2] No such file or directory: b'/tmp/tmp0lxg8w1_/full.mp3'
> ok
> test_set_image_structure (test_mediafile.MP3Test) ... ok
> test_set_jpg_art (test_mediafile.MP3Test) ... ok
> test_set_png_art (test_mediafile.MP3Test) ... ok
> test_unknown_apic_type (test_mediafile.MP3Test) ... ignoring unknown image type index 255
> ok
> test_unparseable_date (test_mediafile.MP3Test)
> The `unparseable.*` fixture should not crash but should return None ... ok
> test_update_empty (test_mediafile.MP3Test) ... ok
> test_update_full (test_mediafile.MP3Test) ... ok
> test_write_counters_without_total (test_mediafile.MP3Test) ... ok
> test_write_date_components (test_mediafile.MP3Test) ... ok
> test_write_dates (test_mediafile.MP3Test) ... ok
> test_write_empty (test_mediafile.MP3Test) ... ok
> test_write_genre_list (test_mediafile.MP3Test) ... ok
> test_write_genre_list_get_first (test_mediafile.MP3Test) ... ok
> test_write_incomplete_date_components (test_mediafile.MP3Test) ... ok
> test_write_packed (test_mediafile.MP3Test) ... ok
> test_add_image_structure (test_mediafile.MP4Test) ... ok
> test_add_tiff_image_fails (test_mediafile.MP4Test) ... ok
> test_append_genre_list (test_mediafile.MP4Test) ... ok
> test_delete_art (test_mediafile.MP4Test) ... ok
> test_delete_image_structures (test_mediafile.MP4Test) ... ok
> test_delete_nonexisting (test_mediafile.MP4Test) ... delete failed: [Errno 2] No such file or directory: b'/tmp/tmpwfsxz3li/full.m4a'
> ok
> test_delete_packed_total (test_mediafile.MP4Test) ... ok
> test_delete_partial_date (test_mediafile.MP4Test) ... ok
> test_delete_tag (test_mediafile.MP4Test) ... ok
> test_delete_year (test_mediafile.MP4Test) ... ok
> test_guess_cover (test_mediafile.MP4Test) ... ok
> test_overwrite_full (test_mediafile.MP4Test) ... ok
> test_read_audio_properties (test_mediafile.MP4Test) ... ok
> test_read_empty (test_mediafile.MP4Test) ... ok
> test_read_full (test_mediafile.MP4Test) ... ok
> test_read_genre_list (test_mediafile.MP4Test) ... ok
> test_read_image_structures (test_mediafile.MP4Test) ... ok
> test_read_nonexisting (test_mediafile.MP4Test) ... open failed: [Errno 2] No such file or directory: b'/tmp/tmp7uhufn19/full.m4a'
> ok
> test_read_track_without_total (test_mediafile.MP4Test) ... ok
> test_save_nonexisting (test_mediafile.MP4Test) ... save failed: [Errno 2] No such file or directory: b'/tmp/tmpxycogjxy/full.m4a'
> ok
> test_set_image_structure (test_mediafile.MP4Test) ... ok
> test_set_jpg_art (test_mediafile.MP4Test) ... ok
> test_set_png_art (test_mediafile.MP4Test) ... ok
> test_unparseable_date (test_mediafile.MP4Test)
> The `unparseable.*` fixture should not crash but should return None ... ok
> test_update_empty (test_mediafile.MP4Test) ... ok
> test_update_full (test_mediafile.MP4Test) ... ok
> test_write_counters_without_total (test_mediafile.MP4Test) ... ok
> test_write_date_components (test_mediafile.MP4Test) ... ok
> test_write_dates (test_mediafile.MP4Test) ... ok
> test_write_empty (test_mediafile.MP4Test) ... ok
> test_write_genre_list (test_mediafile.MP4Test) ... ok
> test_write_genre_list_get_first (test_mediafile.MP4Test) ... ok
> test_write_incomplete_date_components (test_mediafile.MP4Test) ... ok
> test_write_packed (test_mediafile.MP4Test) ... ok
> test_fields_in_readable_fields (test_mediafile.MediaFieldTest) ... ok
> test_known_fields (test_mediafile.MediaFieldTest) ... ok
> test_properties_from_fields (test_mediafile.MediaFieldTest) ... ok
> test_properties_from_readable_fields (test_mediafile.MediaFieldTest) ... ok
> test_append_genre_list (test_mediafile.MusepackTest) ... ok
> test_delete_art (test_mediafile.MusepackTest) ... ok
> test_delete_nonexisting (test_mediafile.MusepackTest) ... delete failed: [Errno 2] No such file or directory: b'/tmp/tmp76xsdycu/full.mpc'
> ok
> test_delete_packed_total (test_mediafile.MusepackTest) ... ok
> test_delete_partial_date (test_mediafile.MusepackTest) ... ok
> test_delete_tag (test_mediafile.MusepackTest) ... ok
> test_delete_year (test_mediafile.MusepackTest) ... ok
> test_overwrite_full (test_mediafile.MusepackTest) ... ok
> test_read_audio_properties (test_mediafile.MusepackTest) ... ok
> test_read_empty (test_mediafile.MusepackTest) ... ok
> test_read_full (test_mediafile.MusepackTest) ... ok
> test_read_genre_list (test_mediafile.MusepackTest) ... ok
> test_read_nonexisting (test_mediafile.MusepackTest) ... open failed: [Errno 2] No such file or directory: b'/tmp/tmplsbaq9dt/full.mpc'
> ok
> test_save_nonexisting (test_mediafile.MusepackTest) ... save failed: [Errno 2] No such file or directory: b'/tmp/tmpnc4ehmxe/full.mpc'
> ok
> test_set_jpg_art (test_mediafile.MusepackTest) ... ok
> test_set_png_art (test_mediafile.MusepackTest) ... ok
> test_unparseable_date (test_mediafile.MusepackTest)
> The `unparseable.*` fixture should not crash but should return None ... ok
> test_update_empty (test_mediafile.MusepackTest) ... ok
> test_update_full (test_mediafile.MusepackTest) ... ok
> test_write_counters_without_total (test_mediafile.MusepackTest) ... ok
> test_write_date_components (test_mediafile.MusepackTest) ... ok
> test_write_dates (test_mediafile.MusepackTest) ... ok
> test_write_empty (test_mediafile.MusepackTest) ... ok
> test_write_genre_list (test_mediafile.MusepackTest) ... ok
> test_write_genre_list_get_first (test_mediafile.MusepackTest) ... ok
> test_write_incomplete_date_components (test_mediafile.MusepackTest) ... ok
> test_write_packed (test_mediafile.MusepackTest) ... ok
> test_add_image_structure (test_mediafile.OggTest) ... ok
> test_add_tiff_image (test_mediafile.OggTest) ... ok
> test_append_genre_list (test_mediafile.OggTest) ... ok
> test_date_tag_with_slashes (test_mediafile.OggTest) ... ok
> test_delete_art (test_mediafile.OggTest) ... ok
> test_delete_image_structures (test_mediafile.OggTest) ... ok
> test_delete_nonexisting (test_mediafile.OggTest) ... delete failed: [Errno 2] No such file or directory: b'/tmp/tmp6y3pk1i9/full.ogg'
> ok
> test_delete_packed_total (test_mediafile.OggTest) ... ok
> test_delete_partial_date (test_mediafile.OggTest) ... ok
> test_delete_tag (test_mediafile.OggTest) ... ok
> test_delete_year (test_mediafile.OggTest) ... ok
> test_guess_cover (test_mediafile.OggTest) ... ok
> test_legacy_coverart_tag (test_mediafile.OggTest) ... ok
> test_overwrite_full (test_mediafile.OggTest) ... ok
> test_read_audio_properties (test_mediafile.OggTest) ... ok
> test_read_date_from_year_tag (test_mediafile.OggTest) ... ok
> test_read_empty (test_mediafile.OggTest) ... ok
> test_read_full (test_mediafile.OggTest) ... ok
> test_read_genre_list (test_mediafile.OggTest) ... ok
> test_read_image_structures (test_mediafile.OggTest) ... ok
> test_read_nonexisting (test_mediafile.OggTest) ... open failed: [Errno 2] No such file or directory: b'/tmp/tmps9qrc8uw/full.ogg'
> ok
> test_save_nonexisting (test_mediafile.OggTest) ... save failed: [Errno 2] No such file or directory: b'/tmp/tmpo7hcyd52/full.ogg'
> ok
> test_set_image_structure (test_mediafile.OggTest) ... ok
> test_set_jpg_art (test_mediafile.OggTest) ... ok
> test_set_png_art (test_mediafile.OggTest) ... ok
> test_unparseable_date (test_mediafile.OggTest)
> The `unparseable.*` fixture should not crash but should return None ... ok
> test_update_empty (test_mediafile.OggTest) ... ok
> test_update_full (test_mediafile.OggTest) ... ok
> test_write_counters_without_total (test_mediafile.OggTest) ... ok
> test_write_date_components (test_mediafile.OggTest) ... ok
> test_write_date_to_year_tag (test_mediafile.OggTest) ... ok
> test_write_dates (test_mediafile.OggTest) ... ok
> test_write_empty (test_mediafile.OggTest) ... ok
> test_write_genre_list (test_mediafile.OggTest) ... ok
> test_write_genre_list_get_first (test_mediafile.OggTest) ... ok
> test_write_incomplete_date_components (test_mediafile.OggTest) ... ok
> test_write_packed (test_mediafile.OggTest) ... ok
> test_append_genre_list (test_mediafile.OpusTest) ... ok
> test_delete_art (test_mediafile.OpusTest) ... ok
> test_delete_nonexisting (test_mediafile.OpusTest) ... delete failed: [Errno 2] No such file or directory: b'/tmp/tmp_0_3k1m6/full.opus'
> ok
> test_delete_packed_total (test_mediafile.OpusTest) ... ok
> test_delete_partial_date (test_mediafile.OpusTest) ... ok
> test_delete_tag (test_mediafile.OpusTest) ... ok
> test_delete_year (test_mediafile.OpusTest) ... ok
> test_overwrite_full (test_mediafile.OpusTest) ... ok
> test_read_audio_properties (test_mediafile.OpusTest) ... ok
> test_read_empty (test_mediafile.OpusTest) ... ok
> test_read_full (test_mediafile.OpusTest) ... ok
> test_read_genre_list (test_mediafile.OpusTest) ... ok
> test_read_nonexisting (test_mediafile.OpusTest) ... open failed: [Errno 2] No such file or directory: b'/tmp/tmp57rrjn2b/full.opus'
> ok
> test_save_nonexisting (test_mediafile.OpusTest) ... save failed: [Errno 2] No such file or directory: b'/tmp/tmpxmz9ecen/full.opus'
> ok
> test_set_jpg_art (test_mediafile.OpusTest) ... ok
> test_set_png_art (test_mediafile.OpusTest) ... ok
> test_unparseable_date (test_mediafile.OpusTest)
> The `unparseable.*` fixture should not crash but should return None ... ok
> test_update_empty (test_mediafile.OpusTest) ... ok
> test_update_full (test_mediafile.OpusTest) ... ok
> test_write_counters_without_total (test_mediafile.OpusTest) ... ok
> test_write_date_components (test_mediafile.OpusTest) ... ok
> test_write_dates (test_mediafile.OpusTest) ... ok
> test_write_empty (test_mediafile.OpusTest) ... ok
> test_write_genre_list (test_mediafile.OpusTest) ... ok
> test_write_genre_list_get_first (test_mediafile.OpusTest) ... ok
> test_write_incomplete_date_components (test_mediafile.OpusTest) ... ok
> test_write_packed (test_mediafile.OpusTest) ... ok
> test_add_image_structure (test_mediafile.WMATest) ... ok
> test_add_tiff_image (test_mediafile.WMATest) ... ok
> test_append_genre_list (test_mediafile.WMATest) ... ok
> test_delete_art (test_mediafile.WMATest) ... ok
> test_delete_image_structures (test_mediafile.WMATest) ... ok
> test_delete_nonexisting (test_mediafile.WMATest) ... delete failed: [Errno 2] No such file or directory: b'/tmp/tmptaq7kg_l/full.wma'
> ok
> test_delete_packed_total (test_mediafile.WMATest) ... ok
> test_delete_partial_date (test_mediafile.WMATest) ... ok
> test_delete_tag (test_mediafile.WMATest) ... ok
> test_delete_year (test_mediafile.WMATest) ... ok
> test_guess_cover (test_mediafile.WMATest) ... ok
> test_overwrite_full (test_mediafile.WMATest) ... ok
> test_read_audio_properties (test_mediafile.WMATest) ... ok
> test_read_empty (test_mediafile.WMATest) ... ok
> test_read_full (test_mediafile.WMATest) ... ok
> test_read_genre_list (test_mediafile.WMATest) ... ok
> test_read_image_structures (test_mediafile.WMATest) ... ok
> test_read_nonexisting (test_mediafile.WMATest) ... open failed: [Errno 2] No such file or directory: b'/tmp/tmpw5w38npw/full.wma'
> ok
> test_read_pure_tags (test_mediafile.WMATest) ... ok
> test_save_nonexisting (test_mediafile.WMATest) ... save failed: [Errno 2] No such file or directory: b'/tmp/tmp2yapq_3z/full.wma'
> ok
> test_set_image_structure (test_mediafile.WMATest) ... ok
> test_set_jpg_art (test_mediafile.WMATest) ... ok
> test_set_png_art (test_mediafile.WMATest) ... ok
> test_unparseable_date (test_mediafile.WMATest)
> The `unparseable.*` fixture should not crash but should return None ... ok
> test_update_empty (test_mediafile.WMATest) ... ok
> test_update_full (test_mediafile.WMATest) ... ok
> test_write_counters_without_total (test_mediafile.WMATest) ... ok
> test_write_date_components (test_mediafile.WMATest) ... ok
> test_write_dates (test_mediafile.WMATest) ... ok
> test_write_empty (test_mediafile.WMATest) ... ok
> test_write_genre_list (test_mediafile.WMATest) ... ok
> test_write_genre_list_get_first (test_mediafile.WMATest) ... ok
> test_write_incomplete_date_components (test_mediafile.WMATest) ... ok
> test_write_packed (test_mediafile.WMATest) ... ok
> test_append_genre_list (test_mediafile.WavpackTest) ... ok
> test_delete_art (test_mediafile.WavpackTest) ... ok
> test_delete_nonexisting (test_mediafile.WavpackTest) ... delete failed: [Errno 2] No such file or directory: b'/tmp/tmpr4tmvqf4/full.wv'
> ok
> test_delete_packed_total (test_mediafile.WavpackTest) ... ok
> test_delete_partial_date (test_mediafile.WavpackTest) ... ok
> test_delete_tag (test_mediafile.WavpackTest) ... ok
> test_delete_year (test_mediafile.WavpackTest) ... ok
> test_overwrite_full (test_mediafile.WavpackTest) ... ok
> test_read_audio_properties (test_mediafile.WavpackTest) ... ok
> test_read_empty (test_mediafile.WavpackTest) ... ok
> test_read_full (test_mediafile.WavpackTest) ... ok
> test_read_genre_list (test_mediafile.WavpackTest) ... ok
> test_read_nonexisting (test_mediafile.WavpackTest) ... open failed: [Errno 2] No such file or directory: b'/tmp/tmphomtq3nz/full.wv'
> ok
> test_save_nonexisting (test_mediafile.WavpackTest) ... save failed: [Errno 2] No such file or directory: b'/tmp/tmpfb8xbom6/full.wv'
> ok
> test_set_jpg_art (test_mediafile.WavpackTest) ... ok
> test_set_png_art (test_mediafile.WavpackTest) ... ok
> test_unparseable_date (test_mediafile.WavpackTest)
> The `unparseable.*` fixture should not crash but should return None ... ok
> test_update_empty (test_mediafile.WavpackTest) ... ok
> test_update_full (test_mediafile.WavpackTest) ... ok
> test_write_counters_without_total (test_mediafile.WavpackTest) ... ok
> test_write_date_components (test_mediafile.WavpackTest) ... ok
> test_write_dates (test_mediafile.WavpackTest) ... ok
> test_write_empty (test_mediafile.WavpackTest) ... ok
> test_write_genre_list (test_mediafile.WavpackTest) ... ok
> test_write_genre_list_get_first (test_mediafile.WavpackTest) ... ok
> test_write_incomplete_date_components (test_mediafile.WavpackTest) ... ok
> test_write_packed (test_mediafile.WavpackTest) ... ok
> test_convert_perm_from_int (test_permissions.PermissionsPluginTest) ... ok
> test_convert_perm_from_string (test_permissions.PermissionsPluginTest) ... ok
> test_failing_to_set_permissions (test_permissions.PermissionsPluginTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmplh2n50fq/import/album 0
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_permissions_on_album_imported (test_permissions.PermissionsPluginTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp0i497o1l/import/album 0
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_permissions_on_item_imported (test_permissions.PermissionsPluginTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp93ish7ec/import/album 0/track 0.mp3
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_multi_format_album_playlist (test_importfeeds.ImportfeedsTestTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_playlist_in_subdir (test_importfeeds.ImportfeedsTestTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_args (test_spotify.SpotifyPluginTest) ... spotify: Spotify access token: 3XyiC3raJySbIAV5LVYj1DaWbcocNi3LAJTNXRnYYGVUl6mbbqXNhW3YcZnQgYXNWHFkVGSMlc0tMuvq8CF
> spotify: fail is not a valid mode
> ok
> test_empty_query (test_spotify.SpotifyPluginTest) ... spotify: Spotify access token: 3XyiC3raJySbIAV5LVYj1DaWbcocNi3LAJTNXRnYYGVUl6mbbqXNhW3YcZnQgYXNWHFkVGSMlc0tMuvq8CF
> spotify: Your beets query returned no items, skipping Spotify.
> ok
> test_missing_request (test_spotify.SpotifyPluginTest) ... spotify: Spotify access token: 3XyiC3raJySbIAV5LVYj1DaWbcocNi3LAJTNXRnYYGVUl6mbbqXNhW3YcZnQgYXNWHFkVGSMlc0tMuvq8CF
> Sending event: database_change
> Sending event: database_change
> spotify: Processing 1 tracks...
> spotify: Searching Spotify for 'duifhjslkef artist:ujydfsuihse album:lkajsdflakjsd'
> spotify: Found 0 results from Spotify for 'duifhjslkef artist:ujydfsuihse album:lkajsdflakjsd'
> spotify: 1 track(s) did not match a Spotify ID;
> use --show-failures to display
> ok
> test_track_request (test_spotify.SpotifyPluginTest) ... spotify: Spotify access token: 3XyiC3raJySbIAV5LVYj1DaWbcocNi3LAJTNXRnYYGVUl6mbbqXNhW3YcZnQgYXNWHFkVGSMlc0tMuvq8CF
> Sending event: database_change
> Sending event: database_change
> spotify: Processing 1 tracks...
> spotify: Searching Spotify for 'Happy artist:Pharrell Williams album:Despicable Me 2'
> spotify: Found 1 results from Spotify for 'Happy artist:Pharrell Williams album:Despicable Me 2'
> spotify: Spotify track(s) found, count: 1
> ok
> test_item_moved (test_playlist.PlaylistTestItemMoved) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: item_moved
> Sending event: item_moved
> Sending event: cli_exit
> playlist: Updating playlist: /tmp/tmpxke8uwdu/relative.m3u
> playlist: Updated playlist /tmp/tmpxke8uwdu/relative.m3u (1 changes, 0 deletions)
> playlist: Updating playlist: /tmp/tmpxke8uwdu/absolute.m3u
> playlist: Updated playlist /tmp/tmpxke8uwdu/absolute.m3u (1 changes, 0 deletions)
> ok
> test_item_removed (test_playlist.PlaylistTestItemRemoved) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> Sending event: item_removed
> Sending event: cli_exit
> playlist: Unable to open playlist directory /tmp/tmpxke8uwdu
> playlist: Updating playlist: /tmp/tmpe2pequh6/relative.m3u
> playlist: Updated playlist /tmp/tmpe2pequh6/relative.m3u (0 changes, 1 deletions)
> playlist: Updating playlist: /tmp/tmpe2pequh6/absolute.m3u
> playlist: Updated playlist /tmp/tmpe2pequh6/absolute.m3u (0 changes, 1 deletions)
> ok
> test_name_query_with_absolute_paths_in_playlist (test_playlist.PlaylistTestRelativeToDir) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_name_query_with_nonexisting_playlist (test_playlist.PlaylistTestRelativeToDir) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_name_query_with_relative_paths_in_playlist (test_playlist.PlaylistTestRelativeToDir) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_path_query_with_absolute_paths_in_playlist (test_playlist.PlaylistTestRelativeToDir) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_path_query_with_nonexisting_playlist (test_playlist.PlaylistTestRelativeToDir) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_path_query_with_relative_paths_in_playlist (test_playlist.PlaylistTestRelativeToDir) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_name_query_with_absolute_paths_in_playlist (test_playlist.PlaylistTestRelativeToLib) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_name_query_with_nonexisting_playlist (test_playlist.PlaylistTestRelativeToLib) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_name_query_with_relative_paths_in_playlist (test_playlist.PlaylistTestRelativeToLib) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_path_query_with_absolute_paths_in_playlist (test_playlist.PlaylistTestRelativeToLib) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_path_query_with_nonexisting_playlist (test_playlist.PlaylistTestRelativeToLib) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_path_query_with_relative_paths_in_playlist (test_playlist.PlaylistTestRelativeToLib) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_name_query_with_absolute_paths_in_playlist (test_playlist.PlaylistTestRelativeToPls) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_name_query_with_nonexisting_playlist (test_playlist.PlaylistTestRelativeToPls) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_name_query_with_relative_paths_in_playlist (test_playlist.PlaylistTestRelativeToPls) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_path_query_with_absolute_paths_in_playlist (test_playlist.PlaylistTestRelativeToPls) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_path_query_with_nonexisting_playlist (test_playlist.PlaylistTestRelativeToPls) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_path_query_with_relative_paths_in_playlist (test_playlist.PlaylistTestRelativeToPls) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_custom_format (test_the.ThePluginTest) ... the: "The A" -> "The (A)"
> ok
> test_custom_pattern (test_the.ThePluginTest) ... the: "test passed" -> "passed, test"
> ok
> test_template_function_with_defaults (test_the.ThePluginTest) ... the: "The The" -> "The, The"
> the: "An A" -> "A, An"
> ok
> test_unthe_with_default_patterns (test_the.ThePluginTest) ... ok
> test_unthe_with_strip (test_the.ThePluginTest) ... ok
> test_hate (test_ihate.IHatePluginTest) ... ok
> test_hook_argument_substitution (test_hook.HookTest) ... Sending event: test_argument_event_0
> Sending event: test_argument_event_1
> Sending event: test_argument_event_2
> Sending event: test_argument_event_3
> Sending event: test_argument_event_4
> ok
> test_hook_bytes_interpolation (test_hook.HookTest) ... Sending event: test_bytes_event_0
> Sending event: test_bytes_event_1
> Sending event: test_bytes_event_2
> Sending event: test_bytes_event_3
> Sending event: test_bytes_event_4
> ok
> test_hook_event_substitution (test_hook.HookTest) ... Sending event: test_event_event_0
> Sending event: test_event_event_1
> Sending event: test_event_event_2
> Sending event: test_event_event_3
> Sending event: test_event_event_4
> ok
> test_hook_no_arguments (test_hook.HookTest) ... Sending event: test_no_argument_event_0
> Sending event: test_no_argument_event_1
> Sending event: test_no_argument_event_2
> Sending event: test_no_argument_event_3
> Sending event: test_no_argument_event_4
> ok
> test_get_item (test_mpdstats.MPDStatsTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_run_mpdstats (test_mpdstats.MPDStatsTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_update_rating (test_mpdstats.MPDStatsTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_fields_func (test_ui_commands.FieldsTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_query_album (test_ui_commands.QueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_query_empty (test_ui_commands.QueryTest) ... ok
> test_query_empty_album (test_ui_commands.QueryTest) ... ok
> test_query_item (test_ui_commands.QueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_album_item (test_vfs.VFSTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_singleton_item (test_vfs.VFSTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_convert (test_convert.ConvertCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_convert_keep_new (test_convert.ConvertCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_convert_with_auto_confirmation (test_convert.ConvertCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_embed_album_art (test_convert.ConvertCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_empty_query (test_convert.ConvertCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_format_option (test_convert.ConvertCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_pretend (test_convert.ConvertCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_reject_confirmation (test_convert.ConvertCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_skip_existing (test_convert.ConvertCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_import_converted (test_convert.ImportConvertTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmp0pryp9hg/import/album 0
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> convert: Encoding /tmp/tmp0pryp9hg/import/album 0/track 0.mp3
> convert: Finished encoding /tmp/tmp0pryp9hg/import/album 0/track 0.mp3
> Sending event: write
> Sending event: after_write
> Sending event: database_change
> ERROR
> test_import_original_on_convert_error (test_convert.ImportConvertTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmphgbyt1zy/import/album 0
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> convert: Encoding /tmp/tmphgbyt1zy/import/album 0/track 0.mp3
> convert: Encoding /tmp/tmphgbyt1zy/import/album 0/track 0.mp3 failed. Cleaning up...
> ERROR
> test_transcode_from_lossles (test_convert.NeverConvertLossyFilesTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_transcode_from_lossy (test_convert.NeverConvertLossyFilesTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_transcode_from_lossy_prevented (test_convert.NeverConvertLossyFilesTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_extended_field_write (test_plugin_mediafield.ExtendedFieldTestMixin) ... ok
> test_invalid_descriptor (test_plugin_mediafield.ExtendedFieldTestMixin) ... ok
> test_overwrite_property (test_plugin_mediafield.ExtendedFieldTestMixin) ... ok
> test_read_flexible_attribute_from_file (test_plugin_mediafield.ExtendedFieldTestMixin) ... ok
> test_write_extended_tag_from_item (test_plugin_mediafield.ExtendedFieldTestMixin) ... Sending event: write
> Sending event: after_write
> ok
> test_function_call (test_template.EvalTest) ... ERROR
> test_function_call_exception (test_template.EvalTest) ... ERROR
> test_function_call_with_empty_arg (test_template.EvalTest) ... ERROR
> test_function_call_with_text (test_template.EvalTest) ... ERROR
> test_function_returning_integer (test_template.EvalTest) ... ERROR
> test_nested_function_call (test_template.EvalTest) ... ERROR
> test_not_subtitute_func_with_no_args (test_template.EvalTest) ... ok
> test_not_subtitute_undefined_func (test_template.EvalTest) ... ERROR
> test_not_subtitute_undefined_value (test_template.EvalTest) ... ERROR
> test_plain_text (test_template.EvalTest) ... ok
> test_subtitute_value (test_template.EvalTest) ... ERROR
> test_subtitute_value_in_text (test_template.EvalTest) ... ERROR
> test_symbol_in_argument (test_template.EvalTest) ... ERROR
> test_bare_closer_kept_intact (test_template.ParseTest) ... ok
> test_bare_function_delim_kept_intact (test_template.ParseTest) ... ok
> test_bare_opener_kept_intact (test_template.ParseTest) ... ok
> test_bare_sep_kept_intact (test_template.ParseTest) ... ok
> test_bare_value_delim_kept_intact (test_template.ParseTest) ... ok
> test_call_empty_arg (test_template.ParseTest) ... ok
> test_call_single_arg (test_template.ParseTest) ... ok
> test_call_two_args (test_template.ParseTest) ... ok
> test_call_with_escaped_close (test_template.ParseTest) ... ok
> test_call_with_escaped_sep (test_template.ParseTest) ... ok
> test_call_with_nested_call_argument (test_template.ParseTest) ... ok
> test_call_with_symbol_argument (test_template.ParseTest) ... ok
> test_call_with_unclosed_args (test_template.ParseTest) ... ok
> test_call_with_unclosed_multiple_args (test_template.ParseTest) ... ok
> test_call_without_args (test_template.ParseTest) ... ok
> test_call_without_args_at_end (test_template.ParseTest) ... ok
> test_empty_braces_symbol (test_template.ParseTest) ... ok
> test_empty_string (test_template.ParseTest) ... ok
> test_escaped_character_at_end (test_template.ParseTest) ... ok
> test_escaped_character_at_start (test_template.ParseTest) ... ok
> test_escaped_character_in_text (test_template.ParseTest) ... ok
> test_escaped_character_only (test_template.ParseTest) ... ok
> test_escaped_close_brace (test_template.ParseTest) ... ok
> test_escaped_function_delim (test_template.ParseTest) ... ok
> test_escaped_sep (test_template.ParseTest) ... ok
> test_nested_call_with_argument (test_template.ParseTest) ... ok
> test_newline_at_end (test_template.ParseTest) ... ok
> test_plain_text (test_template.ParseTest) ... ok
> test_sep_before_call_two_args (test_template.ParseTest) ... ok
> test_sep_with_symbols (test_template.ParseTest) ... ok
> test_symbol_alone (test_template.ParseTest) ... ok
> test_symbol_in_text (test_template.ParseTest) ... ok
> test_symbol_with_braces (test_template.ParseTest) ... ok
> test_unclosed_braces_symbol (test_template.ParseTest) ... ok
> test_eq (test_query.AnyFieldQueryTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_no_restriction (test_query.AnyFieldQueryTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_restriction_completeness (test_query.AnyFieldQueryTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_restriction_soundness (test_query.AnyFieldQueryTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_flex_parse_0 (test_query.BoolQueryTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_flex_parse_1 (test_query.BoolQueryTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_flex_parse_any_string (test_query.BoolQueryTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_flex_parse_false (test_query.BoolQueryTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_flex_parse_true (test_query.BoolQueryTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_parse_true (test_query.BoolQueryTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_albums_matches_album (test_query.DefaultSearchFieldsTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_albums_matches_albumartist (test_query.DefaultSearchFieldsTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_items_does_not_match_year (test_query.DefaultSearchFieldsTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_items_matches_title (test_query.DefaultSearchFieldsTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_compilation_false (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_compilation_true (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_get_empty (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_get_no_matches (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_get_none (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_get_one_keyed_regexp (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_get_one_keyed_term (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_get_one_unkeyed_regexp (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_get_one_unkeyed_term (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_invalid_key (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_invalid_query (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_item_field_name_matches_nothing_in_album_query (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_key_case_insensitive (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_keyed_regexp_matches_only_one_column (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_keyed_term_matches_only_one_column (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_mixed_terms_regexps_narrow_search (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_multiple_regexps_narrow_search (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_multiple_terms_narrow_search (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_numeric_search_negative (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_numeric_search_positive (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_regexp_case_sensitive (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_single_year (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_singleton_false (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_singleton_true (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_term_case_insensitive (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_term_case_insensitive_with_key (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_unicode_query (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_unkeyed_regexp_matches_multiple_columns (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_unkeyed_term_matches_multiple_columns (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_unknown_field_name_no_results (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_unknown_field_name_no_results_in_album_query (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_year_range (test_query.GetTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_exact_value_match (test_query.IntQueryTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_flex_dont_match_missing (test_query.IntQueryTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_flex_range_match (test_query.IntQueryTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_no_substring_match (test_query.IntQueryTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_range_match (test_query.IntQueryTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_bitrate_range_negative (test_query.MatchTest) ... ok
> test_bitrate_range_positive (test_query.MatchTest) ... ok
> test_eq (test_query.MatchTest) ... ok
> test_open_range (test_query.MatchTest) ... ok
> test_regex_match_negative (test_query.MatchTest) ... ok
> test_regex_match_non_string_value (test_query.MatchTest) ... ok
> test_regex_match_positive (test_query.MatchTest) ... ok
> test_substring_match_negative (test_query.MatchTest) ... ok
> test_substring_match_non_string_value (test_query.MatchTest) ... ok
> test_substring_match_positive (test_query.MatchTest) ... ok
> test_year_match_negative (test_query.MatchTest) ... ok
> test_year_match_positive (test_query.MatchTest) ... ok
> test_match_after_set_none (test_query.NoneQueryTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_match_singletons (test_query.NoneQueryTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_bitrate_range_negative (test_query.NotQueryMatchTest) ... ok
> test_bitrate_range_positive (test_query.NotQueryMatchTest) ... ok
> test_open_range (test_query.NotQueryMatchTest) ... ok
> test_regex_match_negative (test_query.NotQueryMatchTest) ... ok
> test_regex_match_non_string_value (test_query.NotQueryMatchTest) ... ok
> test_regex_match_positive (test_query.NotQueryMatchTest) ... ok
> test_substring_match_negative (test_query.NotQueryMatchTest) ... ok
> test_substring_match_non_string_value (test_query.NotQueryMatchTest) ... ok
> test_substring_match_positive (test_query.NotQueryMatchTest) ... ok
> test_year_match_negative (test_query.NotQueryMatchTest) ... ok
> test_year_match_positive (test_query.NotQueryMatchTest) ... ok
> test_fast_vs_slow (test_query.NotQueryTest)
> Test that the results are the same regardless of the `fast` flag ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_get_mixed_terms (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_get_multiple_terms (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_get_one_keyed_regexp (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_get_one_unkeyed_regexp (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_get_prefixes_keyed (test_query.NotQueryTest)
> Test both negation prefixes on a keyed query. ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_get_prefixes_unkeyed (test_query.NotQueryTest)
> Test both negation prefixes on an unkeyed query. ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_type_and (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_type_anyfield (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_type_boolean (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_type_date (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_type_false (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_type_match (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_type_none (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_type_numeric (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_type_or (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_type_regexp (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_type_substring (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_type_true (test_query.NotQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_case_sensitivity (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_detect_absolute_path (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_detect_relative_path (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_escape_backslash (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_escape_percent (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_escape_underscore (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_fragment_no_match (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_no_match (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_non_slashed_does_not_match_path (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_nonnorm_path (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_parent_directory_no_slash (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_parent_directory_with_slash (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_path_album_regex (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_path_exact_match (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_path_item_regex (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_path_query_in_or_query (test_query.PathQueryTest) ... skipped 'unfixed (#1865)'
> test_path_sep_detection (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_slashed_query_matches_path (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_slashes_in_explicit_field_does_not_match_path (test_query.PathQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_comp_no_track_artists (test_autotag.AlbumDistanceTest) ... ../beets/autotag/hooks.py:241: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
> return levenshtein_distance(str1, str2) / float(max(len(str1), len(str2)))
> ok
> test_comp_track_artists_do_not_match (test_autotag.AlbumDistanceTest) ... ok
> test_comp_track_artists_match (test_autotag.AlbumDistanceTest) ... ok
> test_global_artists_differ (test_autotag.AlbumDistanceTest) ... ok
> test_identical_albums (test_autotag.AlbumDistanceTest) ... ok
> test_incomplete_album (test_autotag.AlbumDistanceTest) ... ok
> test_per_medium_track_numbers (test_autotag.AlbumDistanceTest) ... ok
> test_tracks_out_of_order (test_autotag.AlbumDistanceTest) ... ok
> test_two_medium_release (test_autotag.AlbumDistanceTest) ... ok
> test_album_and_track_artists_separate (test_autotag.ApplyCompilationTest) ... ok
> test_mb_albumartistid_applied (test_autotag.ApplyCompilationTest) ... ok
> test_va_flag_cleared_does_not_set_comp (test_autotag.ApplyCompilationTest) ... ok
> test_va_flag_sets_comp (test_autotag.ApplyCompilationTest) ... ok
> test_album_and_artist_applied_to_all (test_autotag.ApplyTest) ... ok
> test_album_artist_overridden_by_nonempty_track_artist (test_autotag.ApplyTest) ... ok
> test_album_artist_overrides_empty_track_artist (test_autotag.ApplyTest) ... ok
> test_albumtype_applied (test_autotag.ApplyTest) ... ok
> test_artist_credit (test_autotag.ApplyTest) ... ok
> test_artist_credit_applied (test_autotag.ApplyTest) ... ok
> test_artist_credit_falls_back_to_albumartist (test_autotag.ApplyTest) ... ok
> test_artist_credit_prefers_artist_over_albumartist_credit (test_autotag.ApplyTest) ... ok
> test_artist_sort_applied (test_autotag.ApplyTest) ... ok
> test_data_source_applied (test_autotag.ApplyTest) ... ok
> test_date_only_zeros_month_and_day (test_autotag.ApplyTest) ... ok
> test_disc_index_applied (test_autotag.ApplyTest) ... ok
> test_disc_total_applied (test_autotag.ApplyTest) ... ok
> test_full_date_applied (test_autotag.ApplyTest) ... ok
> test_mb_albumid_and_artistid_applied (test_autotag.ApplyTest) ... ok
> test_mb_trackid_applied (test_autotag.ApplyTest) ... ok
> test_missing_date_applies_nothing (test_autotag.ApplyTest) ... ok
> test_per_disc_numbering (test_autotag.ApplyTest) ... ok
> test_per_disc_numbering_track_total (test_autotag.ApplyTest) ... ok
> test_titles_applied (test_autotag.ApplyTest) ... ok
> test_track_index_applied (test_autotag.ApplyTest) ... ok
> test_track_total_applied (test_autotag.ApplyTest) ... ok
> test_order_works_when_track_names_are_entirely_wrong (test_autotag.AssignmentTest) ... Computing track assignment...
> ...done.
> ok
> test_order_works_with_extra_tracks (test_autotag.AssignmentTest) ... Computing track assignment...
> ...done.
> ok
> test_order_works_with_invalid_track_numbers (test_autotag.AssignmentTest) ... Computing track assignment...
> ...done.
> ok
> test_order_works_with_missing_tracks (test_autotag.AssignmentTest) ... Computing track assignment...
> ...done.
> ok
> test_reorder_when_track_numbers_incorrect (test_autotag.AssignmentTest) ... Computing track assignment...
> ...done.
> ok
> test_add (test_autotag.DistanceTest) ... ok
> test_add_equality (test_autotag.DistanceTest) ... ok
> test_add_expr (test_autotag.DistanceTest) ... ok
> test_add_number (test_autotag.DistanceTest) ... ok
> test_add_priority (test_autotag.DistanceTest) ... ok
> test_add_ratio (test_autotag.DistanceTest) ... ok
> test_add_string (test_autotag.DistanceTest) ... ok
> test_add_string_both_none (test_autotag.DistanceTest) ... ok
> test_add_string_none (test_autotag.DistanceTest) ... ok
> test_distance (test_autotag.DistanceTest) ... ok
> test_items (test_autotag.DistanceTest) ... ok
> test_max_distance (test_autotag.DistanceTest) ... ok
> test_operators (test_autotag.DistanceTest) ... ok
> test_raw_distance (test_autotag.DistanceTest) ... ok
> test_update (test_autotag.DistanceTest) ... ok
> test_ordered_enum (test_autotag.EnumTest) ... ok
> test_albumartist_consensus (test_autotag.PluralityTest) ... ok
> test_current_metadata_artist_consensus (test_autotag.PluralityTest) ... ok
> test_current_metadata_finds_pluralities (test_autotag.PluralityTest) ... ok
> test_current_metadata_likelies (test_autotag.PluralityTest) ... ok
> test_plurality_conflict (test_autotag.PluralityTest) ... ok
> test_plurality_consensus (test_autotag.PluralityTest) ... ok
> test_plurality_empty_sequence_raises_error (test_autotag.PluralityTest) ... ok
> test_plurality_near_consensus (test_autotag.PluralityTest) ... ok
> test_accented_characters (test_autotag.StringDistanceTest) ... ok
> test_ampersand_expansion (test_autotag.StringDistanceTest) ... ok
> test_brackets_have_lower_weight (test_autotag.StringDistanceTest) ... ok
> test_case_ignored (test_autotag.StringDistanceTest) ... ok
> test_different_strings (test_autotag.StringDistanceTest) ... ok
> test_empty_strings (test_autotag.StringDistanceTest) ... ok
> test_ep_label_has_zero_weight (test_autotag.StringDistanceTest) ... ok
> test_equal_strings (test_autotag.StringDistanceTest) ... ok
> test_featured_has_lower_weight (test_autotag.StringDistanceTest) ... ok
> test_heuristic_does_not_harm_distance (test_autotag.StringDistanceTest) ... ok
> test_leading_the_has_lower_weight (test_autotag.StringDistanceTest) ... ok
> test_parens_have_lower_weight (test_autotag.StringDistanceTest) ... ok
> test_postfix_a (test_autotag.StringDistanceTest) ... ok
> test_postfix_an (test_autotag.StringDistanceTest) ... ok
> test_postfix_the (test_autotag.StringDistanceTest) ... ok
> test_punctuation_ignored (test_autotag.StringDistanceTest) ... ok
> test_solo_pattern (test_autotag.StringDistanceTest) ... ok
> test_different_artist (test_autotag.TrackDistanceTest) ... ok
> test_different_title (test_autotag.TrackDistanceTest) ... ok
> test_identical_tracks (test_autotag.TrackDistanceTest) ... ok
> test_various_artists_tolerated (test_autotag.TrackDistanceTest) ... ok
> test_splupdate (test_smartplaylist.SmartPlaylistCLITest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_build_queries (test_smartplaylist.SmartPlaylistTest) ... ok
> test_build_queries_with_sorts (test_smartplaylist.SmartPlaylistTest) ... ok
> test_db_changes (test_smartplaylist.SmartPlaylistTest) ... smartplaylist: 3 will be updated because of matches 3
> smartplaylist: 1 will be updated because of matches 3
> ok
> test_matches (test_smartplaylist.SmartPlaylistTest) ... ok
> test_playlist_update (test_smartplaylist.SmartPlaylistTest) ... smartplaylist: Updating 1 smart playlists...
> smartplaylist: Creating playlist $title-my<playlist>.m3u
> smartplaylist: 1 playlists updated
> ok
> test_collect_item_and_path (test_info.InfoTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_custom_format (test_info.InfoTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_include_pattern (test_info.InfoTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_item_library_query (test_info.InfoTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_item_query (test_info.InfoTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_path (test_info.InfoTest) ... no user configuration found at /tmp/tmpdq4of8iz/config.yaml
> data directory: /tmp/tmpdq4of8iz
> plugin paths:
> Sending event: pluginload
> Sending event: cli_exit
> ok
> test_filesystem_does_not_pick_up_folder (test_fetchart.FetchartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_filesystem_does_not_pick_up_hidden_file (test_fetchart.FetchartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_filesystem_does_not_pick_up_ignored_file (test_fetchart.FetchartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_filesystem_picks_up_hidden_file (test_fetchart.FetchartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_filesystem_picks_up_non_hidden_file (test_fetchart.FetchartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_filesystem_picks_up_non_ignored_file (test_fetchart.FetchartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_set_art_from_folder (test_fetchart.FetchartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_equal_permutation (test_random.RandomTest)
> We have a list of items where only one item is from artist1 and the ... ok
> test_c14n_only (test_lastgenre.LastGenrePluginTest)
> Default c14n tree funnels up to most common genre except for *wrong* ... lastgenre: Loading canonicalization tree /<<PKGBUILDDIR>>/beetsplug/lastgenre/genres-tree.yaml
> ok
> test_c14n_whitelist (test_lastgenre.LastGenrePluginTest)
> Genres first pass through c14n and are then filtered ... lastgenre: Loading canonicalization tree /<<PKGBUILDDIR>>/beetsplug/lastgenre/genres-tree.yaml
> ok
> test_count (test_lastgenre.LastGenrePluginTest)
> Keep the n first genres, as we expect them to be sorted from more to ... ok
> test_count_c14n (test_lastgenre.LastGenrePluginTest)
> Keep the n first genres, after having applied c14n when necessary ... lastgenre: Loading canonicalization tree /<<PKGBUILDDIR>>/beetsplug/lastgenre/genres-tree.yaml
> ok
> test_default (test_lastgenre.LastGenrePluginTest)
> Fetch genres with whitelist and c14n deactivated ... ok
> test_empty_string_enables_canonical (test_lastgenre.LastGenrePluginTest)
> For backwards compatibility, setting the `canonical` option ... lastgenre: Loading canonicalization tree /<<PKGBUILDDIR>>/beetsplug/lastgenre/genres-tree.yaml
> ok
> test_empty_string_enables_whitelist (test_lastgenre.LastGenrePluginTest)
> Again for backwards compatibility, setting the `whitelist` ... ok
> test_get_genre (test_lastgenre.LastGenrePluginTest) ... ok
> test_no_duplicate (test_lastgenre.LastGenrePluginTest)
> Remove duplicated genres. ... ok
> test_prefer_specific_loads_tree (test_lastgenre.LastGenrePluginTest)
> When prefer_specific is enabled but canonical is not the ... lastgenre: Loading canonicalization tree /<<PKGBUILDDIR>>/beetsplug/lastgenre/genres-tree.yaml
> ok
> test_prefer_specific_without_canonical (test_lastgenre.LastGenrePluginTest)
> Prefer_specific works without canonical. ... lastgenre: Loading canonicalization tree /<<PKGBUILDDIR>>/beetsplug/lastgenre/genres-tree.yaml
> ok
> test_sort_by_depth (test_lastgenre.LastGenrePluginTest) ... lastgenre: Loading canonicalization tree /<<PKGBUILDDIR>>/beetsplug/lastgenre/genres-tree.yaml
> ok
> test_tags_for (test_lastgenre.LastGenrePluginTest) ... ok
> test_whitelist_c14n (test_lastgenre.LastGenrePluginTest)
> Default whitelist and c14n both activated result in all parents ... lastgenre: Loading canonicalization tree /<<PKGBUILDDIR>>/beetsplug/lastgenre/genres-tree.yaml
> ok
> test_whitelist_custom (test_lastgenre.LastGenrePluginTest)
> Keep only genres that are in the whitelist. ... lastgenre: Loading canonicalization tree /<<PKGBUILDDIR>>/beetsplug/lastgenre/genres-tree.yaml
> ok
> test_whitelist_only (test_lastgenre.LastGenrePluginTest)
> Default whitelist rejects *wrong* (non existing) genres. ... ok
> test_alias (test_mb.ArtistFlatteningTest) ... ok
> test_single_artist (test_mb.ArtistFlatteningTest) ... ok
> test_two_artists (test_mb.ArtistFlatteningTest) ... ok
> test_data_source (test_mb.MBAlbumInfoTest) ... ok
> test_detect_various_artists (test_mb.MBAlbumInfoTest) ... ok
> test_ignored_media (test_mb.MBAlbumInfoTest) ... ok
> test_missing_language (test_mb.MBAlbumInfoTest) ... ok
> test_no_durations (test_mb.MBAlbumInfoTest) ... ok
> test_no_ignored_media (test_mb.MBAlbumInfoTest) ... ok
> test_no_release_date (test_mb.MBAlbumInfoTest) ... ok
> test_no_skip_audio_data_tracks_if_configured (test_mb.MBAlbumInfoTest) ... ok
> test_no_skip_video_data_tracks_if_configured (test_mb.MBAlbumInfoTest) ... ok
> test_no_skip_video_tracks_if_configured (test_mb.MBAlbumInfoTest) ... ok
> test_parse_artist_sort_name (test_mb.MBAlbumInfoTest) ... ok
> test_parse_asin (test_mb.MBAlbumInfoTest) ... ok
> test_parse_catalognum (test_mb.MBAlbumInfoTest) ... ok
> test_parse_country (test_mb.MBAlbumInfoTest) ... ok
> test_parse_disambig (test_mb.MBAlbumInfoTest) ... ok
> test_parse_disctitle (test_mb.MBAlbumInfoTest) ... ok
> test_parse_media (test_mb.MBAlbumInfoTest) ... ok
> test_parse_medium_numbers_single_medium (test_mb.MBAlbumInfoTest) ... ok
> test_parse_medium_numbers_two_mediums (test_mb.MBAlbumInfoTest) ... ok
> test_parse_recording_artist (test_mb.MBAlbumInfoTest) ... ok
> test_parse_release_full_date (test_mb.MBAlbumInfoTest) ... ok
> test_parse_release_type (test_mb.MBAlbumInfoTest) ... ok
> test_parse_release_with_year (test_mb.MBAlbumInfoTest) ... ok
> test_parse_release_year_month_only (test_mb.MBAlbumInfoTest) ... ok
> test_parse_releasegroupid (test_mb.MBAlbumInfoTest) ... ok
> test_parse_status (test_mb.MBAlbumInfoTest) ... ok
> test_parse_textrepr (test_mb.MBAlbumInfoTest) ... ok
> test_parse_track_indices (test_mb.MBAlbumInfoTest) ... ok
> test_parse_tracks (test_mb.MBAlbumInfoTest) ... ok
> test_skip_audio_data_tracks_by_default (test_mb.MBAlbumInfoTest) ... ok
> test_skip_data_track (test_mb.MBAlbumInfoTest) ... ok
> test_skip_video_data_tracks_by_default (test_mb.MBAlbumInfoTest) ... ok
> test_skip_video_tracks_by_default (test_mb.MBAlbumInfoTest) ... ok
> test_track_artist_overrides_recording_artist (test_mb.MBAlbumInfoTest) ... ok
> test_track_length_overrides_recording_length (test_mb.MBAlbumInfoTest) ... ok
> test_various_artists_defaults_false (test_mb.MBAlbumInfoTest) ... ok
> test_match_album (test_mb.MBLibraryTest) ... Searching for MusicBrainz releases with: {'release': 'there', 'artist': 'hello'}
> Requesting MusicBrainz release d2a6f856-b553-40a0-ac54-a321e8e2da99
> ok
> test_match_album_empty (test_mb.MBLibraryTest) ... ok
> test_match_track (test_mb.MBLibraryTest) ... ok
> test_match_track_empty (test_mb.MBLibraryTest) ... ok
> test_parse_id_correct (test_mb.ParseIDTest) ... ok
> test_parse_id_non_id_returns_none (test_mb.ParseIDTest) ... ok
> test_parse_id_url_finds_id (test_mb.ParseIDTest) ... ok
> test_base (test_ui.CommonOptionsParserCliTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmpwv95urlv/config.yaml
> data directory: /tmp/tmpwv95urlv
> plugin paths:
> Sending event: pluginload
> ERROR
> test_format_option (test_ui.CommonOptionsParserCliTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmpawr_pjve/config.yaml
> data directory: /tmp/tmpawr_pjve
> plugin paths:
> Sending event: pluginload
> ERROR
> test_format_option_unicode (test_ui.CommonOptionsParserCliTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmpd1saq04a/config.yaml
> data directory: /tmp/tmpd1saq04a
> plugin paths:
> Sending event: pluginload
> Sending event: cli_exit
> ok
> test_help (test_ui.CommonOptionsParserCliTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmpxzy7jch3/config.yaml
> data directory: /tmp/tmpxzy7jch3
> plugin paths:
> Sending event: pluginload
> Sending event: cli_exit
> no user configuration found at /tmp/tmpxzy7jch3/config.yaml
> data directory: /tmp/tmpxzy7jch3
> plugin paths:
> Sending event: pluginload
> Sending event: cli_exit
> no user configuration found at /tmp/tmpxzy7jch3/config.yaml
> data directory: /tmp/tmpxzy7jch3
> plugin paths:
> Sending event: pluginload
> ok
> test_path_option (test_ui.CommonOptionsParserCliTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmpdcpury6b/config.yaml
> data directory: /tmp/tmpdcpury6b
> plugin paths:
> Sending event: pluginload
> ERROR
> test_root_format_option (test_ui.CommonOptionsParserCliTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmpne7v0xq6/config.yaml
> data directory: /tmp/tmpne7v0xq6
> plugin paths:
> Sending event: pluginload
> ERROR
> test_stats (test_ui.CommonOptionsParserCliTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmpz_yyqiol/config.yaml
> data directory: /tmp/tmpz_yyqiol
> plugin paths:
> Sending event: pluginload
> Sending event: cli_exit
> ok
> test_version (test_ui.CommonOptionsParserCliTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmp_67djmms/config.yaml
> data directory: /tmp/tmp_67djmms
> plugin paths:
> Sending event: pluginload
> Sending event: cli_exit
> ok
> test_add_all_common_options (test_ui.CommonOptionsParserTest) ... ok
> test_album_option (test_ui.CommonOptionsParserTest) ... ok
> test_format_option (test_ui.CommonOptionsParserTest) ... ok
> test_format_option_with_album (test_ui.CommonOptionsParserTest) ... ok
> test_format_option_with_target (test_ui.CommonOptionsParserTest) ... ok
> test_path_option (test_ui.CommonOptionsParserTest) ... ok
> test_completion (test_ui.CompletionTest) ... /usr/lib/python3.8/subprocess.py:942: ResourceWarning: subprocess 16316 is still running
> _warn("subprocess %s is still running" % self.pid,
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> skipped 'bash-completion script not found'
> test_beetsdir_config (test_ui.ConfigTest) ... ok
> test_beetsdir_config_does_not_load_default_user_config (test_ui.ConfigTest) ... ok
> test_beetsdir_config_paths_resolve_relative_to_beetsdir (test_ui.ConfigTest) ... ok
> test_beetsdir_points_to_file_error (test_ui.ConfigTest) ... ok
> test_cli_config_file_loads_plugin_commands (test_ui.ConfigTest) ... ERROR
> test_cli_config_file_overwrites_beetsdir_defaults (test_ui.ConfigTest) ... ERROR
> test_cli_config_file_overwrites_user_defaults (test_ui.ConfigTest) ... ERROR
> test_cli_config_option (test_ui.ConfigTest) ... ERROR
> test_cli_config_paths_resolve_relative_to_beetsdir (test_ui.ConfigTest) ... ERROR
> test_cli_config_paths_resolve_relative_to_user_dir (test_ui.ConfigTest) ... ERROR
> test_command_line_option_relative_to_working_dir (test_ui.ConfigTest) ... skipped 'Broken'
> test_default_config_paths_resolve_relative_to_beetsdir (test_ui.ConfigTest) ... ok
> test_default_paths_preserved (test_ui.ConfigTest) ... ERROR
> test_multiple_replacements_parsed (test_ui.ConfigTest) ... ERROR
> test_nonexistant_db (test_ui.ConfigTest) ... ERROR
> test_paths_section_respected (test_ui.ConfigTest) ... ERROR
> test_replacements_parsed (test_ui.ConfigTest) ... ERROR
> test_user_config_file (test_ui.ConfigTest) ... ERROR
> test_quiet_timid_disallowed (test_ui.ImportTest) ... ok
> test_list_album_format (test_ui.ListTest) ... ERROR
> test_list_album_omits_title (test_ui.ListTest) ... ERROR
> test_list_album_outputs_something (test_ui.ListTest) ... ERROR
> test_list_album_path (test_ui.ListTest) ... ERROR
> test_list_album_uses_album_artist (test_ui.ListTest) ... ERROR
> test_list_item_format_artist (test_ui.ListTest) ... ERROR
> test_list_item_format_multiple (test_ui.ListTest) ... ERROR
> test_list_item_path (test_ui.ListTest) ... ERROR
> test_list_outputs_item (test_ui.ListTest) ... ERROR
> test_list_unicode_query (test_ui.ListTest) ... ERROR
> test_list_uses_track_artist (test_ui.ListTest) ... ERROR
> test_album_move (test_ui.ModifyTest) ... ERROR
> test_album_not_move (test_ui.ModifyTest) ... ERROR
> test_arg_parsing_colon_query (test_ui.ModifyTest) ... ERROR
> test_arg_parsing_delete (test_ui.ModifyTest) ... ERROR
> test_arg_parsing_equals_in_value (test_ui.ModifyTest) ... ERROR
> test_arg_parsing_query_with_exclaimation (test_ui.ModifyTest) ... ERROR
> test_delete_initial_key_tag (test_ui.ModifyTest) ... skipped 'not yet implemented'
> test_modify_album (test_ui.ModifyTest) ... ERROR
> test_modify_album_dont_write_tags (test_ui.ModifyTest) ... ERROR
> test_modify_album_write_tags (test_ui.ModifyTest) ... ERROR
> test_modify_dont_write_tags (test_ui.ModifyTest) ... ERROR
> test_modify_item (test_ui.ModifyTest) ... ERROR
> test_modify_item_abort (test_ui.ModifyTest) ... ERROR
> test_modify_item_no_change (test_ui.ModifyTest) ... ERROR
> test_modify_write_tags (test_ui.ModifyTest) ... ERROR
> test_move (test_ui.ModifyTest) ... ERROR
> test_no_write_no_move (test_ui.ModifyTest) ... ERROR
> test_not_move (test_ui.ModifyTest) ... ERROR
> test_remove_flexattr (test_ui.ModifyTest) ... ERROR
> test_reset_mtime_with_no_write (test_ui.ModifyTest) ... ERROR
> test_selective_modify (test_ui.ModifyTest) ... ERROR
> test_set_flexattr (test_ui.ModifyTest) ... ERROR
> test_update_mtime (test_ui.ModifyTest) ... ERROR
> test_write_initial_key_tag (test_ui.ModifyTest) ... ERROR
> test_copy_album (test_ui.MoveTest) ... ERROR
> test_copy_item (test_ui.MoveTest) ... ERROR
> test_export_album_custom_dir (test_ui.MoveTest) ... ERROR
> test_export_item_custom_dir (test_ui.MoveTest) ... ERROR
> test_move_album (test_ui.MoveTest) ... ERROR
> test_move_album_custom_dir (test_ui.MoveTest) ... ERROR
> test_move_item (test_ui.MoveTest) ... ERROR
> test_move_item_custom_dir (test_ui.MoveTest) ... ERROR
> test_pretend_export_item (test_ui.MoveTest) ... ERROR
> test_pretend_move_album (test_ui.MoveTest) ... ERROR
> test_pretend_move_item (test_ui.MoveTest) ... ERROR
> test_custom_paths_prepend (test_ui.PathFormatTest) ... ERROR
> test_plugin_command_from_pluginpath (test_ui.PluginTest) ... ERROR
> test_print_with_invalid_locale (test_ui.PrintTest) ... ok
> test_print_without_locale (test_ui.PrintTest) ... ok
> test_remove_items_no_delete (test_ui.RemoveTest) ... ERROR
> test_remove_items_with_delete (test_ui.RemoveTest) ... ERROR
> test_remove_items_with_force_delete (test_ui.RemoveTest) ... ERROR
> test_remove_items_with_force_no_delete (test_ui.RemoveTest) ... ERROR
> test_album_data_change (test_ui.ShowChangeTest) ... ok
> test_album_data_change_with_unicode (test_ui.ShowChangeTest) ... ok
> test_item_data_change (test_ui.ShowChangeTest) ... ok
> test_item_data_change_title_missing (test_ui.ShowChangeTest) ... ok
> test_item_data_change_title_missing_with_unicode_filename (test_ui.ShowChangeTest) ... ok
> test_item_data_change_with_unicode (test_ui.ShowChangeTest) ... ok
> test_null_change (test_ui.ShowChangeTest) ... ok
> test_both_values_shown (test_ui.ShowModelChangeTest) ... ERROR
> test_floats_close_to_identical (test_ui.ShowModelChangeTest) ... ok
> test_floats_different (test_ui.ShowModelChangeTest) ... ERROR
> test_identical (test_ui.ShowModelChangeTest) ... ok
> test_int_fixed_field_change (test_ui.ShowModelChangeTest) ... ERROR
> test_string_fixed_field_change (test_ui.ShowModelChangeTest) ... ERROR
> test_summarize_item (test_ui.SummarizeItemsTest) ... ok
> test_summarize_items (test_ui.SummarizeItemsTest) ... ok
> test_delete_removes_album (test_ui.UpdateTest) ... ERROR
> test_delete_removes_album_art (test_ui.UpdateTest) ... ERROR
> test_delete_removes_item (test_ui.UpdateTest) ... ERROR
> test_modified_album_metadata_art_moved (test_ui.UpdateTest) ... ERROR
> test_modified_album_metadata_moved (test_ui.UpdateTest) ... ERROR
> test_modified_metadata_detected (test_ui.UpdateTest) ... ERROR
> test_modified_metadata_moved (test_ui.UpdateTest) ... ERROR
> test_modified_metadata_not_moved (test_ui.UpdateTest) ... ERROR
> test_mtime_match_skips_update (test_ui.UpdateTest) ... ERROR
> test_selective_modified_album_metadata_moved (test_ui.UpdateTest) ... ERROR
> test_selective_modified_album_metadata_not_moved (test_ui.UpdateTest) ... ERROR
> test_selective_modified_metadata_moved (test_ui.UpdateTest) ... ERROR
> test_selective_modified_metadata_not_moved (test_ui.UpdateTest) ... ERROR
> test_non_metadata_field_unchanged (test_ui.WriteTest)
> Changing a non-"tag" field like `bitrate` and writing should ... ERROR
> test_update_mtime (test_ui.WriteTest) ... ERROR
> test_write_metadata_field (test_ui.WriteTest) ... ERROR
> test_message_when_invalid (test_mbsync.MbsyncCliTest) ... no user configuration found at /tmp/tmpe0g2yo3q/config.yaml
> data directory: /tmp/tmpe0g2yo3q
> plugin paths:
> Sending event: pluginload
> ERROR
> test_message_when_skipping (test_mbsync.MbsyncCliTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmp73riam6n/config.yaml
> data directory: /tmp/tmp73riam6n
> plugin paths:
> Sending event: pluginload
> ERROR
> test_update_library (test_mbsync.MbsyncCliTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmpnes21jzb/config.yaml
> data directory: /tmp/tmpnes21jzb
> plugin paths:
> Sending event: pluginload
> ERROR
> test_functional_custom_format (test_ftintitle.FtInTitlePluginFunctional) ... Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmp6b4c0ju7/config.yaml
> data directory: /tmp/tmp6b4c0ju7
> plugin paths:
> Sending event: pluginload
> ftintitle: /
> ftintitle: artist: Alice ft Bob -> Alice
> ftintitle: title: Song 1 -> Song 1 feat. Bob
> Sending event: database_change
> Sending event: write
> open failed: [Errno 21] Is a directory: b'/'
> error reading /: [Errno 21] Is a directory: b'/'
> Sending event: cli_exit
> Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmp6b4c0ju7/config.yaml
> data directory: /tmp/tmp6b4c0ju7
> plugin paths:
> Sending event: pluginload
> Sending event: database_change
> Sending event: write
> open failed: [Errno 21] Is a directory: b'/'
> error reading /: [Errno 21] Is a directory: b'/'
> ftintitle: /
> ftintitle: artist: Alice feat. Bob -> Alice
> ftintitle: title: Song 1 -> Song 1 featuring Bob
> Sending event: database_change
> Sending event: write
> open failed: [Errno 21] Is a directory: b'/'
> error reading /: [Errno 21] Is a directory: b'/'
> Sending event: cli_exit
> Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmp6b4c0ju7/config.yaml
> data directory: /tmp/tmp6b4c0ju7
> plugin paths:
> Sending event: pluginload
> Sending event: database_change
> Sending event: write
> open failed: [Errno 21] Is a directory: b'/'
> error reading /: [Errno 21] Is a directory: b'/'
> Sending event: database_change
> Sending event: write
> open failed: [Errno 21] Is a directory: b'/'
> error reading /: [Errno 21] Is a directory: b'/'
> ftintitle: /
> ftintitle: artist: Alice feat Bob -> Alice
> ftintitle: title: Song 1 -> Song 1 with Bob
> Sending event: database_change
> Sending event: write
> open failed: [Errno 21] Is a directory: b'/'
> error reading /: [Errno 21] Is a directory: b'/'
> Sending event: cli_exit
> ok
> test_functional_drop (test_ftintitle.FtInTitlePluginFunctional) ... Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmpp_fu4h0b/config.yaml
> data directory: /tmp/tmpp_fu4h0b
> plugin paths:
> Sending event: pluginload
> ftintitle: /
> ftintitle: artist: Alice ft Bob -> Alice
> Sending event: database_change
> Sending event: write
> open failed: [Errno 21] Is a directory: b'/'
> error reading /: [Errno 21] Is a directory: b'/'
> Sending event: cli_exit
> ok
> test_functional_not_found (test_ftintitle.FtInTitlePluginFunctional) ... Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmpc0ia_bm1/config.yaml
> data directory: /tmp/tmpc0ia_bm1
> plugin paths:
> Sending event: pluginload
> ftintitle: /
> ftintitle: no featuring artists found
> Sending event: database_change
> Sending event: write
> open failed: [Errno 21] Is a directory: b'/'
> error reading /: [Errno 21] Is a directory: b'/'
> Sending event: cli_exit
> ok
> test_contains_feat (test_ftintitle.FtInTitlePluginTest) ... ok
> test_find_feat_part (test_ftintitle.FtInTitlePluginTest) ... ok
> test_split_on_feat (test_ftintitle.FtInTitlePluginTest) ... ok
> test_discc_alternate_field (test_mediafile_edge.EdgeTest) ... ok
> test_emptylist (test_mediafile_edge.EdgeTest) ... ok
> test_old_ape_version_bitrate (test_mediafile_edge.EdgeTest) ... ok
> test_only_magic_bytes_jpeg (test_mediafile_edge.EdgeTest) ... ok
> test_release_time_with_space (test_mediafile_edge.EdgeTest) ... ok
> test_release_time_with_t (test_mediafile_edge.EdgeTest) ... ok
> test_soundcheck_non_ascii (test_mediafile_edge.EdgeTest) ... ok
> test_tempo_with_bpm (test_mediafile_edge.EdgeTest) ... ok
> test_image_encoding (test_mediafile_edge.ID3v23Test)
> For compatibility with OS X/iTunes. ... ok
> test_v23_on_non_mp3_is_noop (test_mediafile_edge.ID3v23Test) ... ok
> test_v23_year_tag (test_mediafile_edge.ID3v23Test) ... ok
> test_v24_year_tag (test_mediafile_edge.ID3v23Test) ... ok
> test_safe_cast_float_with_dot_only (test_mediafile_edge.InvalidValueToleranceTest) ... ok
> test_safe_cast_float_with_multiple_dots (test_mediafile_edge.InvalidValueToleranceTest) ... ok
> test_safe_cast_float_with_no_numbers (test_mediafile_edge.InvalidValueToleranceTest) ... ok
> test_safe_cast_int_string_to_int (test_mediafile_edge.InvalidValueToleranceTest) ... ok
> test_safe_cast_int_to_float (test_mediafile_edge.InvalidValueToleranceTest) ... ok
> test_safe_cast_intstring_to_bool (test_mediafile_edge.InvalidValueToleranceTest) ... ok
> test_safe_cast_negative_string_to_float (test_mediafile_edge.InvalidValueToleranceTest) ... ok
> test_safe_cast_special_chars_to_unicode (test_mediafile_edge.InvalidValueToleranceTest) ... ok
> test_safe_cast_string_to_bool (test_mediafile_edge.InvalidValueToleranceTest) ... ok
> test_safe_cast_string_to_float (test_mediafile_edge.InvalidValueToleranceTest) ... ok
> test_safe_cast_string_to_int (test_mediafile_edge.InvalidValueToleranceTest) ... ok
> test_safe_cast_string_to_int_with_no_numbers (test_mediafile_edge.InvalidValueToleranceTest) ... ok
> test_safe_cast_string_with_cruft_to_float (test_mediafile_edge.InvalidValueToleranceTest) ... ok
> test_comment_with_latin1_encoding (test_mediafile_edge.MP3EncodingTest) ... ok
> test_unicode_label_in_m4a (test_mediafile_edge.MP4EncodingTest) ... ok
> test_bitrate_with_zero_length (test_mediafile_edge.MissingAudioDataTest) ... ok
> test_broken_symlink (test_mediafile_edge.SafetyTest) ... open failed: [Errno 2] No such file or directory: b'/<<PKGBUILDDIR>>/test/rsrc/brokenlink'
> ok
> test_corrupt_flac_raises_unreadablefileerror (test_mediafile_edge.SafetyTest) ... open failed: file said 4 bytes, read 0 bytes
> ok
> test_corrupt_monkeys_raises_unreadablefileerror (test_mediafile_edge.SafetyTest) ... open failed: not a Monkey's Audio file
> ok
> test_corrupt_mp3_raises_unreadablefileerror (test_mediafile_edge.SafetyTest) ... open failed: can't sync to MPEG frame
> ok
> test_corrupt_mp4_raises_unreadablefileerror (test_mediafile_edge.SafetyTest) ... ok
> test_corrupt_ogg_raises_unreadablefileerror (test_mediafile_edge.SafetyTest) ... ok
> test_invalid_extension_raises_filetypeerror (test_mediafile_edge.SafetyTest) ... ok
> test_invalid_ogg_header_raises_unreadablefileerror (test_mediafile_edge.SafetyTest) ... open failed: unable to read full header; got b'OggS\x01vorbis'
> ok
> test_magic_xml_raises_unreadablefileerror (test_mediafile_edge.SafetyTest) ... open failed: not a MP4 file
> ok
> test_opening_tagless_file_leaves_untouched (test_mediafile_edge.SideEffectsTest) ... ok
> test_decode_handles_unicode (test_mediafile_edge.SoundCheckTest) ... ok
> test_decode_zero (test_mediafile_edge.SoundCheckTest) ... ok
> test_malformatted (test_mediafile_edge.SoundCheckTest) ... ok
> test_round_trip (test_mediafile_edge.SoundCheckTest) ... ok
> test_special_characters (test_mediafile_edge.SoundCheckTest) ... ok
> test_set_date_to_none (test_mediafile_edge.TypeTest) ... ok
> test_set_replaygain_gain_to_none (test_mediafile_edge.TypeTest) ... ok
> test_set_replaygain_peak_to_none (test_mediafile_edge.TypeTest) ... ok
> test_set_track_to_none (test_mediafile_edge.TypeTest) ... ok
> test_set_year_to_none (test_mediafile_edge.TypeTest) ... ok
> test_year_integer_in_string (test_mediafile_edge.TypeTest) ... ok
> test_add_key (test_keyfinder.KeyFinderTest) ... Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmpmox6dgoo/config.yaml
> data directory: /tmp/tmpmox6dgoo
> plugin paths:
> Sending event: pluginload
> keyfinder: added computed initial key dbm for /file
> Sending event: write
> open failed: [Errno 2] No such file or directory: b'/file'
> error reading /file: [Errno 2] No such file or directory: b'/file'
> Sending event: database_change
> Sending event: cli_exit
> ok
> test_add_key_on_import (test_keyfinder.KeyFinderTest) ... Sending event: import_begin
> Sending event: import_task_created
> /tmp/tmpkkvglw19/import/album 0
> 0 of 1 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> keyfinder: added computed initial key dbm for /tmp/tmpkkvglw19/import/album 0/track 0.mp3
> Sending event: database_change
> ERROR
> test_do_not_overwrite (test_keyfinder.KeyFinderTest) ... Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmpzez1tmdt/config.yaml
> data directory: /tmp/tmpzez1tmdt
> plugin paths:
> Sending event: pluginload
> Sending event: cli_exit
> ok
> test_force_overwrite (test_keyfinder.KeyFinderTest) ... Sending event: database_change
> Sending event: database_change
> no user configuration found at /tmp/tmpr6th10yy/config.yaml
> data directory: /tmp/tmpr6th10yy
> plugin paths:
> Sending event: pluginload
> keyfinder: added computed initial key C#m for /file
> Sending event: write
> open failed: [Errno 2] No such file or directory: b'/file'
> error reading /file: [Errno 2] No such file or directory: b'/file'
> Sending event: database_change
> Sending event: cli_exit
> ok
> test_format_fixed_field (test_dbcore.FormatTest) ... ok
> test_format_flex_field (test_dbcore.FormatTest) ... ok
> test_format_flex_field_bytes (test_dbcore.FormatTest) ... ok
> test_format_typed_flex_field (test_dbcore.FormatTest) ... ok
> test_format_unset_field (test_dbcore.FormatTest) ... ok
> test_get_method_with_default (test_dbcore.FormattedMappingTest) ... ok
> test_get_method_with_specified_default (test_dbcore.FormattedMappingTest) ... ok
> test_get_unset_field (test_dbcore.FormattedMappingTest) ... ok
> test_keys_equal_model_keys (test_dbcore.FormattedMappingTest) ... ok
> test_extra_model_adds_table (test_dbcore.MigrationTest) ... ok
> test_open_with_fewer_fields_leaves_untouched (test_dbcore.MigrationTest) ... ok
> test_open_with_multiple_new_fields (test_dbcore.MigrationTest) ... ok
> test_open_with_new_field_adds_column (test_dbcore.MigrationTest) ... ok
> test_open_with_same_fields_leaves_untouched (test_dbcore.MigrationTest) ... ok
> test_add_model (test_dbcore.ModelTest) ... ok
> test_check_db_fails (test_dbcore.ModelTest) ... ok
> test_computed_field (test_dbcore.ModelTest) ... ok
> test_delete_fixed_attribute (test_dbcore.ModelTest) ... ok
> test_delete_flexattr (test_dbcore.ModelTest) ... ok
> test_delete_flexattr_persists (test_dbcore.ModelTest) ... ok
> test_delete_flexattr_via_dot (test_dbcore.ModelTest) ... ok
> test_delete_internal_field (test_dbcore.ModelTest) ... ok
> test_delete_non_existent_attribute (test_dbcore.ModelTest) ... ok
> test_items (test_dbcore.ModelTest) ... ok
> test_load_deleted_flex_field (test_dbcore.ModelTest) ... ok
> test_missing_field (test_dbcore.ModelTest) ... ok
> test_normalization_for_typed_flex_fields (test_dbcore.ModelTest) ... ok
> test_null_value_normalization_by_type (test_dbcore.ModelTest) ... ok
> test_null_value_stays_none_for_untyped_field (test_dbcore.ModelTest) ... ok
> test_parse_nonstring (test_dbcore.ModelTest) ... ok
> test_retrieve_by_id (test_dbcore.ModelTest) ... ok
> test_store_and_retrieve_flexattr (test_dbcore.ModelTest) ... ok
> test_store_fixed_field (test_dbcore.ModelTest) ... ok
> test_and_query (test_dbcore.ParseSortedQueryTest) ... ok
> test_leading_comma_or_query (test_dbcore.ParseSortedQueryTest) ... ok
> test_no_space_before_comma_or_query (test_dbcore.ParseSortedQueryTest) ... ok
> test_no_spaces_or_query (test_dbcore.ParseSortedQueryTest) ... ok
> test_only_direction (test_dbcore.ParseSortedQueryTest) ... ok
> test_or_query (test_dbcore.ParseSortedQueryTest) ... ok
> test_trailing_comma_or_query (test_dbcore.ParseSortedQueryTest) ... ok
> test_parse_fixed_field (test_dbcore.ParseTest) ... ok
> test_parse_flex_field (test_dbcore.ParseTest) ... ok
> test_parse_untyped_field (test_dbcore.ParseTest) ... ok
> test_empty_query_part (test_dbcore.QueryFromStringsTest) ... ok
> test_parse_fixed_type_query (test_dbcore.QueryFromStringsTest) ... ok
> test_parse_flex_type_query (test_dbcore.QueryFromStringsTest) ... ok
> test_parse_named_query (test_dbcore.QueryFromStringsTest) ... ok
> test_two_parts (test_dbcore.QueryFromStringsTest) ... ok
> test_zero_parts (test_dbcore.QueryFromStringsTest) ... ok
> test_colon_at_end (test_dbcore.QueryParseTest) ... ok
> test_empty_query_part (test_dbcore.QueryParseTest) ... ok
> test_escaped_colon (test_dbcore.QueryParseTest) ... ok
> test_escaped_colon_in_regexp (test_dbcore.QueryParseTest) ... ok
> test_keyed_regexp (test_dbcore.QueryParseTest) ... ok
> test_multiple_years (test_dbcore.QueryParseTest) ... ok
> test_one_basic_regexp (test_dbcore.QueryParseTest) ... ok
> test_one_basic_term (test_dbcore.QueryParseTest) ... ok
> test_one_keyed_term (test_dbcore.QueryParseTest) ... ok
> test_single_year (test_dbcore.QueryParseTest) ... ok
> test_concurrent_iterators (test_dbcore.ResultsIteratorTest) ... ok
> test_iterate_once (test_dbcore.ResultsIteratorTest) ... ok
> test_iterate_slow_sort (test_dbcore.ResultsIteratorTest) ... ok
> test_iterate_twice (test_dbcore.ResultsIteratorTest) ... ok
> test_length (test_dbcore.ResultsIteratorTest) ... ok
> test_no_results (test_dbcore.ResultsIteratorTest) ... ok
> test_out_of_range (test_dbcore.ResultsIteratorTest) ... ok
> test_slow_query (test_dbcore.ResultsIteratorTest) ... ok
> test_slow_query_negative (test_dbcore.ResultsIteratorTest) ... ok
> test_slow_sort_subscript (test_dbcore.ResultsIteratorTest) ... ok
> test_unsorted_subscript (test_dbcore.ResultsIteratorTest) ... ok
> test_fixed_field_sort (test_dbcore.SortFromStringsTest) ... ok
> test_flex_field_sort (test_dbcore.SortFromStringsTest) ... ok
> test_one_parts (test_dbcore.SortFromStringsTest) ... ok
> test_special_sort (test_dbcore.SortFromStringsTest) ... ok
> test_two_parts (test_dbcore.SortFromStringsTest) ... ok
> test_zero_parts (test_dbcore.SortFromStringsTest) ... ok
> test_is_page_candidate_exact_match (test_lyrics.LyricsGooglePluginMachineryTest)
> Test matching html page title with song infos -- when song infos are ... lyrics: Disabling google source: no API key configured.
> ok
> test_is_page_candidate_fuzzy_match (test_lyrics.LyricsGooglePluginMachineryTest)
> Test matching html page title with song infos -- when song infos are ... lyrics: Disabling google source: no API key configured.
> ok
> test_is_page_candidate_special_chars (test_lyrics.LyricsGooglePluginMachineryTest)
> Ensure that `is_page_candidate` doesn't crash when the artist ... lyrics: Disabling google source: no API key configured.
> ok
> test_mocked_source_ok (test_lyrics.LyricsGooglePluginMachineryTest)
> Test that lyrics of the mocked page are correctly scraped ... lyrics: Disabling google source: no API key configured.
> ok
> test_backend_sources_ok (test_lyrics.LyricsPluginSourcesTest)
> Test default backends with songs known to exist in respective databases. ... skipped 'lyrics sources testing not enabled'
> test_google_sources_ok (test_lyrics.LyricsPluginSourcesTest)
> Test if lyrics present on websites registered in beets google custom ... skipped 'lyrics sources testing not enabled'
> test_is_lyrics (test_lyrics.LyricsPluginTest) ... lyrics: Disabling google source: no API key configured.
> Ignoring too short lyrics 'LyricsMania.com - Copyright (c) 2013 - All Rights Reserved'
> Bad triggers detected: ['too_short', 'property']
> ok
> test_missing_lyrics (test_lyrics.LyricsPluginTest) ... lyrics: Disabling google source: no API key configured.
> Bad triggers detected: ['too_short', 'lyrics', 'lyrics']
> ok
> test_remove_credits (test_lyrics.LyricsPluginTest) ... lyrics: Disabling google source: no API key configured.
> ok
> test_scrape_merge_paragraphs (test_lyrics.LyricsPluginTest) ... lyrics: Disabling google source: no API key configured.
> ok
> test_scrape_strip_cruft (test_lyrics.LyricsPluginTest) ... lyrics: Disabling google source: no API key configured.
> ok
> test_scrape_strip_scripts (test_lyrics.LyricsPluginTest) ... lyrics: Disabling google source: no API key configured.
> ok
> test_scrape_strip_tag_in_comment (test_lyrics.LyricsPluginTest) ... lyrics: Disabling google source: no API key configured.
> ok
> test_search_artist (test_lyrics.LyricsPluginTest) ... lyrics: Disabling google source: no API key configured.
> ok
> test_search_pairs_multi_titles (test_lyrics.LyricsPluginTest) ... lyrics: Disabling google source: no API key configured.
> ok
> test_search_pairs_titles (test_lyrics.LyricsPluginTest) ... lyrics: Disabling google source: no API key configured.
> ok
> test_slugify (test_lyrics.LyricsPluginTest) ... lyrics: Disabling google source: no API key configured.
> ok
> test_slug (test_lyrics.SlugTests) ... ok
> test_a_album_edit_apply (test_edit.EditCommandTest)
> Album query (-a), edit album field, apply changes. ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_a_albumartist_edit_apply (test_edit.EditCommandTest)
> Album query (-a), edit albumartist field, apply changes. ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_album_edit_apply (test_edit.EditCommandTest)
> Edit the album field for all items in the library, apply changes. ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_invalid_yaml (test_edit.EditCommandTest)
> Edit the yaml file incorrectly (resulting in a well-formed but ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_malformed_yaml (test_edit.EditCommandTest)
> Edit the yaml file incorrectly (resulting in a malformed yaml ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_noedit (test_edit.EditCommandTest)
> Do not edit anything. ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_single_edit_add_field (test_edit.EditCommandTest)
> Edit the yaml file appending an extra field to the first item, then ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_single_title_edit_apply (test_edit.EditCommandTest)
> Edit title for one item in the library, then apply changes. ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_title_edit_apply (test_edit.EditCommandTest)
> Edit title for all items in the library, then apply changes. ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_title_edit_discard (test_edit.EditCommandTest)
> Edit title for all items in the library, then discard changes. ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_edit_apply_asis (test_edit.EditDuringImporterTest)
> Edit the album field for all items in the library, apply changes, ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp5ozg31m5/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.44
> Sending event: albuminfo_received
> Candidate: Applied Artist M - Applied Album M (albumid M)
> Computing track assignment...
> ...done.
> Success. Distance: 0.46
> Evaluating 2 candidates.
> Sending event: before_choose_candidate
> ERROR
> test_edit_apply_asis_singleton (test_edit.EditDuringImporterTest)
> Edit the album field for all items in the library, apply changes, ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp5xjnheke/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> ERROR
> test_edit_apply_candidate (test_edit.EditDuringImporterTest)
> Edit the album field for all items in the library, apply changes, ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpphyo7i44/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.44
> Sending event: albuminfo_received
> Candidate: Applied Artist M - Applied Album M (albumid M)
> Computing track assignment...
> ...done.
> Success. Distance: 0.46
> Evaluating 2 candidates.
> Sending event: before_choose_candidate
> ERROR
> test_edit_apply_candidate_singleton (test_edit.EditDuringImporterTest)
> Edit the album field for all items in the library, apply changes, ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpqi9cjmw2/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.44
> Sending event: albuminfo_received
> Candidate: Applied Artist M - Applied Album M (albumid M)
> Computing track assignment...
> ...done.
> Success. Distance: 0.46
> Evaluating 2 candidates.
> Sending event: before_choose_candidate
> ERROR
> test_edit_discard_asis (test_edit.EditDuringImporterTest)
> Edit the album field for all items in the library, discard changes, ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpx78zgagv/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.44
> Sending event: albuminfo_received
> Candidate: Applied Artist M - Applied Album M (albumid M)
> Computing track assignment...
> ...done.
> Success. Distance: 0.46
> Evaluating 2 candidates.
> Sending event: before_choose_candidate
> ERROR
> test_edit_discard_candidate (test_edit.EditDuringImporterTest)
> Edit the album field for all items in the library, discard changes, ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp6uq4r4j7/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.44
> Sending event: albuminfo_received
> Candidate: Applied Artist M - Applied Album M (albumid M)
> Computing track assignment...
> ...done.
> Success. Distance: 0.46
> Evaluating 2 candidates.
> Sending event: before_choose_candidate
> ERROR
> test_edit_retag_apply (test_edit.EditDuringImporterTest)
> Import the album using a candidate, then retag and edit and apply ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmpkemu1l8r/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist - Applied Album (albumid)
> Computing track assignment...
> ...done.
> Success. Distance: 0.44
> Sending event: albuminfo_received
> Candidate: Applied Artist M - Applied Album M (albumid M)
> Computing track assignment...
> ...done.
> Success. Distance: 0.46
> Evaluating 2 candidates.
> Sending event: before_choose_candidate
> Sending event: import_task_choice
> Sending event: import_task_apply
> 0 of 3 items replaced
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_osx_hidden (test_hidden.HiddenFileTest) ... skipped 'sys.platform is not darwin'
> test_other_hidden (test_hidden.HiddenFileTest) ... ok
> test_windows_hidden (test_hidden.HiddenFileTest) ... skipped 'sys.platform is not windows'
> test_basic (test_acousticbrainz.MapDataToSchemeTest) ... ok
> test_composite (test_acousticbrainz.MapDataToSchemeTest) ... ok
> test_realistic (test_acousticbrainz.MapDataToSchemeTest) ... ok
> test_recurse (test_acousticbrainz.MapDataToSchemeTest) ... ok
> test_compare_failed (test_embedart.ArtSimilarityTest) ... comparing images with pipeline ['convert', b'path', b'extracted_path', '-colorspace', 'gray', 'MIFF:-'] | ['compare', '-metric', 'PHASH', '-', 'null:']
> ImageMagick compare failed: path, extracted_path
> ok
> test_compare_parsing_error (test_embedart.ArtSimilarityTest) ... comparing images with pipeline ['convert', b'path', b'extracted_path', '-colorspace', 'gray', 'MIFF:-'] | ['compare', '-metric', 'PHASH', '-', 'null:']
> IM output is not a number: 'foo'
> ok
> test_compare_parsing_error_and_failure (test_embedart.ArtSimilarityTest) ... comparing images with pipeline ['convert', b'path', b'extracted_path', '-colorspace', 'gray', 'MIFF:-'] | ['compare', '-metric', 'PHASH', '-', 'null:']
> IM output is not a number: 'bar'
> ok
> test_compare_status1_different (test_embedart.ArtSimilarityTest) ... comparing images with pipeline ['convert', b'path', b'extracted_path', '-colorspace', 'gray', 'MIFF:-'] | ['compare', '-metric', 'PHASH', '-', 'null:']
> ImageMagick compare score: 10.0
> ok
> test_compare_status1_similar (test_embedart.ArtSimilarityTest) ... comparing images with pipeline ['convert', b'path', b'extracted_path', '-colorspace', 'gray', 'MIFF:-'] | ['compare', '-metric', 'PHASH', '-', 'null:']
> ImageMagick compare score: 10.0
> ok
> test_compare_success_different (test_embedart.ArtSimilarityTest) ... comparing images with pipeline ['convert', b'path', b'extracted_path', '-colorspace', 'gray', 'MIFF:-'] | ['compare', '-metric', 'PHASH', '-', 'null:']
> ImageMagick compare score: 10.0
> ok
> test_compare_success_similar (test_embedart.ArtSimilarityTest) ... comparing images with pipeline ['convert', b'path', b'extracted_path', '-colorspace', 'gray', 'MIFF:-'] | ['compare', '-metric', 'PHASH', '-', 'null:']
> ImageMagick compare score: 10.0
> ok
> test_convert_failure (test_embedart.ArtSimilarityTest) ... comparing images with pipeline ['convert', b'path', b'extracted_path', '-colorspace', 'gray', 'MIFF:-'] | ['compare', '-metric', 'PHASH', '-', 'null:']
> ImageMagick convert failed with status 1: <MagicMock name='mock.stderr.read()' id='140032456449184'>
> ok
> test_accept_similar_art (test_embedart.EmbedartCliTest) ... ImageMagick version check failed: [Errno 2] No such file or directory: 'magick'
> ImageMagick version check failed: [Errno 2] No such file or directory: 'convert'
> artresizer: method is (3, 0)
> skipped 'compare not available'
> test_art_file_missing (test_embedart.EmbedartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_clear_art_with_no_input (test_embedart.EmbedartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_clear_art_with_yes_input (test_embedart.EmbedartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_embed_art_from_album (test_embedart.EmbedartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_embed_art_from_file (test_embedart.EmbedartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_embed_art_from_file_with_no_input (test_embedart.EmbedartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_embed_art_from_file_with_yes_input (test_embedart.EmbedartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_embed_art_remove_art_file (test_embedart.EmbedartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_embed_non_image_file (test_embedart.EmbedartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_extracted_extension (test_embedart.EmbedartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_non_ascii_album_path (test_embedart.EmbedartCliTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_reject_different_art (test_embedart.EmbedartCliTest) ... skipped 'compare not available'
> test_item_add_inserts_row (test_library.AddTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_library_add_path_inserts_row (test_library.AddTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_album_items_consistent (test_library.AlbumInfoTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_albuminfo_change_albumartist_changes_items (test_library.AlbumInfoTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_albuminfo_change_artist_does_not_change_items (test_library.AlbumInfoTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_albuminfo_changes_affect_items (test_library.AlbumInfoTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_albuminfo_for_two_items_doesnt_duplicate_row (test_library.AlbumInfoTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_albuminfo_reflects_metadata (test_library.AlbumInfoTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_albuminfo_remove_removes_items (test_library.AlbumInfoTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> ok
> test_albuminfo_stores_art (test_library.AlbumInfoTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_get_album_by_id (test_library.AlbumInfoTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_individual_tracks_have_no_albuminfo (test_library.AlbumInfoTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_noop_albuminfo_changes_affect_items (test_library.AlbumInfoTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_removing_last_item_removes_album (test_library.AlbumInfoTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> ok
> test_art_filename_respects_setting (test_library.ArtDestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_art_path_in_item_dir (test_library.ArtDestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_art_path_sanitized (test_library.ArtDestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_asciify_variable (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_first (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_first_different_sep (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_first_skip (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_if_def_false_complete (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_if_def_field_not_defined (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_if_def_field_not_defined_2 (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_if_def_field_return_self (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_if_def_true (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_if_def_true_complete (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_if_else_false (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_if_else_false_value (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_if_false (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_if_false_value (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_if_int_value (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_if_true (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_left_variable (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_nonexistent_function (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_right_variable (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_title_case_variable (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_title_case_variable_aphostrophe (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_upper_case_literal (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_upper_case_variable (test_library.DestinationFunctionTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_albumartist_falls_back_to_artist (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_albumartist_overrides_artist (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_albumtype_path_fallback_to_comp (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_albumtype_query_path (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_artist_falls_back_to_albumartist (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_artist_overrides_albumartist (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_asciify_and_replace (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_asciify_character_expanding_to_slash (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_comp_before_singleton_path (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_comp_path (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_default_path_for_non_compilations (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_destination_escapes_leading_dot (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_destination_escapes_slashes (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_destination_long_names_keep_extension (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_destination_long_names_truncated (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_destination_pads_date_values (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_destination_pads_some_indices (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_destination_preserves_extension (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_destination_preserves_legitimate_slashes (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_destination_substitutes_metadata_values (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_destination_with_empty_component (test_library.DestinationTest) ... skipped 'unimplemented: #359'
> test_destination_with_empty_final_component (test_library.DestinationTest) ... skipped 'unimplemented: #359'
> test_destination_with_replacements (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_directory_works_with_trailing_slash (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_directory_works_without_trailing_slash (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_distination_windows_removes_both_separators (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_get_formatted_datetime (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_get_formatted_does_not_replace_separators (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_get_formatted_none (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_get_formatted_pads_with_zero (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_get_formatted_uses_kbps_bitrate (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_get_formatted_uses_khz_samplerate (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_heterogeneous_album_gets_single_directory (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_legalize_path_one_for_many_replacement (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_legalize_path_one_for_one_replacement (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_lower_case_extension (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_non_mbcs_characters_on_windows (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_path_with_format (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_singleton_path (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_unicode_extension_in_fragment (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_unicode_normalized_nfc_on_linux (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_unicode_normalized_nfd_on_mac (test_library.DestinationTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_change_brackets (test_library.DisambiguationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_drop_empty_disambig_string (test_library.DisambiguationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_remove_brackets (test_library.DisambiguationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_unique_expands_to_disambiguating_year (test_library.DisambiguationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_unique_expands_to_nothing_for_distinct_albums (test_library.DisambiguationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_unique_falls_back_to_second_distinguishing_field (test_library.DisambiguationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_unique_sanitized (test_library.DisambiguationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_unique_with_default_arguments_uses_albumtype (test_library.DisambiguationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_use_fallback_numbers_when_identical (test_library.DisambiguationTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_filesize (test_library.FilesizeTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_nonexistent_file (test_library.FilesizeTest) ... could not get filesize: [Errno 2] No such file or directory: b''
> ok
> test_invalid_field_raises_attributeerror (test_library.GetSetTest) ... ok
> test_set_changes_value (test_library.GetSetTest) ... ok
> test_set_does_not_dirty_if_value_unchanged (test_library.GetSetTest) ... ok
> test_set_sets_dirty_flag (test_library.GetSetTest) ... ok
> test_atime_for_singleton (test_library.ImportTimeTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_album_field_overrides_item_field_for_path (test_library.ItemFormattedMappingTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_album_flex_field (test_library.ItemFormattedMappingTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_albumartist_falls_back_to_artist (test_library.ItemFormattedMappingTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_artist_falls_back_to_albumartist (test_library.ItemFormattedMappingTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_both_artist_and_albumartist_empty (test_library.ItemFormattedMappingTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_formatted_item_value (test_library.ItemFormattedMappingTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_get_method_with_default (test_library.ItemFormattedMappingTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_get_method_with_specified_default (test_library.ItemFormattedMappingTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_get_unset_field (test_library.ItemFormattedMappingTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_item_precedence (test_library.ItemFormattedMappingTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_nonexistent_raise_read_error (test_library.ItemReadTest) ... open failed: [Errno 2] No such file or directory: b'/thisfiledoesnotexist'
> ok
> test_unreadable_raise_read_error (test_library.ItemReadTest) ... ok
> test_datetype (test_library.LibraryFieldTypesTest) ... ok
> test_durationtype (test_library.LibraryFieldTypesTest) ... ok
> test_musicalkey (test_library.LibraryFieldTypesTest) ... ok
> test_pathtype (test_library.LibraryFieldTypesTest) ... ok
> test_load_clears_dirty_flags (test_library.LoadTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_load_restores_data_from_db (test_library.LoadTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_mtime_initially_up_to_date (test_library.MtimeTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_mtime_reset_on_db_modify (test_library.MtimeTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_mtime_up_to_date_after_read (test_library.MtimeTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_mtime_up_to_date_after_write (test_library.MtimeTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: write
> Sending event: after_write
> ok
> test_parse_bytes (test_library.ParseQueryTest) ... ok
> test_parse_invalid_query_string (test_library.ParseQueryTest) ... ok
> test_art_destination_returns_bytestring (test_library.PathStringTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_artpath_stores_special_chars (test_library.PathStringTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_destination_returns_bytestring (test_library.PathStringTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_fetched_item_path_is_bytestring (test_library.PathStringTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_item_path_is_bytestring (test_library.PathStringTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_sanitize_path_returns_unicode (test_library.PathStringTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_sanitize_path_with_special_chars (test_library.PathStringTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_special_char_path_added_to_database (test_library.PathStringTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> Sending event: database_change
> Sending event: database_change
> ok
> test_special_chars_preserved_in_database (test_library.PathStringTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_unicode_artpath_becomes_bytestring (test_library.PathStringTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_unicode_artpath_in_database_decoded (test_library.PathStringTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_unicode_in_database_becomes_bytestring (test_library.PathStringTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_unicode_path_becomes_bytestring (test_library.PathStringTest) ... Sending event: database_change
> Sending event: database_change
> ok
> test_plugin_value_not_substituted (test_library.PluginDestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_plugin_value_overrides_attribute (test_library.PluginDestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_plugin_value_sanitized (test_library.PluginDestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_undefined_value_not_substituted (test_library.PluginDestinationTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_remove_deletes_from_db (test_library.RemoveTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: item_removed
> ok
> test_store_changes_database_value (test_library.StoreTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_store_clears_dirty_flags (test_library.StoreTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_store_only_writes_dirty_fields (test_library.StoreTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_album_and_item_format (test_library.TemplateTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_album_flexattr_appears_in_item_template (test_library.TemplateTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_year_formatted_in_template (test_library.TemplateTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ERROR
> test_unicode_path (test_library.UnicodePathTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: write
> Sending event: after_write
> ok
> test_no_write_permission (test_library.WriteTest) ... skipped 'fails under some autopkgtests'
> test_write_custom_tags (test_library.WriteTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_write_date_field (test_library.WriteTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_write_nonexistant (test_library.WriteTest) ... Sending event: write
> open failed: [Errno 2] No such file or directory: b'/path/does/not/exist'
> ok
> test_write_with_custom_path (test_library.WriteTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_pull (test_pipeline.BubbleTest) ... ok
> test_run_parallel (test_pipeline.BubbleTest) ... ok
> test_run_sequential (test_pipeline.BubbleTest) ... ok
> test_constrained (test_pipeline.ConstrainedThreadedPipelineTest) ... ok
> test_constrained_exception (test_pipeline.ConstrainedThreadedPipelineTest) ... ok
> test_constrained_parallel (test_pipeline.ConstrainedThreadedPipelineTest) ... ok
> test_pull (test_pipeline.ExceptionTest) ... ok
> test_run_parallel (test_pipeline.ExceptionTest) ... ok
> test_run_sequential (test_pipeline.ExceptionTest) ... ok
> test_pull (test_pipeline.MultiMessageTest) ... ok
> test_run_parallel (test_pipeline.MultiMessageTest) ... ok
> test_run_sequential (test_pipeline.MultiMessageTest) ... ok
> test_run_parallel (test_pipeline.ParallelExceptionTest) ... ok
> test_pull (test_pipeline.ParallelStageTest) ... ok
> test_run_parallel (test_pipeline.ParallelStageTest) ... ok
> test_run_sequential (test_pipeline.ParallelStageTest) ... ok
> test_pull (test_pipeline.SimplePipelineTest) ... ok
> test_pull_chain (test_pipeline.SimplePipelineTest) ... ok
> test_run_parallel (test_pipeline.SimplePipelineTest) ... ok
> test_run_sequential (test_pipeline.SimplePipelineTest) ... ok
> test_mutator_stage_decorator (test_pipeline.StageDecoratorTest) ... ok
> test_stage_decorator (test_pipeline.StageDecoratorTest) ... ok
> test_add_tags (test_thumbnails.ThumbnailsTest) ... ok
> test_check_local_ok (test_thumbnails.ThumbnailsTest) ... thumbnails: No local image resizing capabilities, cannot generate thumbnails
> thumbnails: No local image resizing capabilities, cannot generate thumbnails
> thumbnails: using IM to write metadata
> thumbnails: using <MagicMock name='GioURI().name' id='140032455853536'> to compute URIs
> thumbnails: using IM to write metadata
> thumbnails: using <MagicMock name='GioURI().name' id='140032455853536'> to compute URIs
> thumbnails: using PIL to write metadata
> thumbnails: using <MagicMock name='GioURI().name' id='140032455853536'> to compute URIs
> thumbnails: using IM to write metadata
> thumbnails: using <MagicMock name='GioURI().name' id='140032455853536'> to compute URIs
> thumbnails: using IM to write metadata
> thumbnails: using <MagicMock name='GioURI().name' id='140032455853536'> to compute URIs
> thumbnails: using IM to write metadata
> thumbnails: using <MagicMock name='GioURI().name' id='140032455853536'> to compute URIs
> thumbnails: using IM to write metadata
> thumbnails: using <MagicMock name='GioURI().name' id='140032455853536'> to compute URIs
> thumbnails: using IM to write metadata
> thumbnails: using <MagicMock name='GioURI().name' id='140032455853536'> to compute URIs
> thumbnails: using IM to write metadata
> thumbnails: using Python Pathlib to compute URIs
> ok
> test_invokations (test_thumbnails.ThumbnailsTest) ... ok
> test_make_cover_thumbnail (test_thumbnails.ThumbnailsTest) ... thumbnails: 12345x12345 thumbnail for <Mock id='140032455830736'> exists and is recent enough
> thumbnails: found a suitable 12345x12345 thumbnail for <Mock id='140032455830736'>, forcing regeneration
> ok
> test_make_dolphin_cover_thumbnail (test_thumbnails.ThumbnailsTest) ... thumbnails: Wrote file /tmp/tmpshyh0rco/.directory
> ok
> test_process_album (test_thumbnails.ThumbnailsTest) ... thumbnails: generating thumbnail for <Mock id='140032457118096'>
> thumbnails: album <Mock id='140032457118096'> has no art
> thumbnails: generating thumbnail for <Mock id='140032457118096'>
> thumbnails: problem getting the picture size for /path/to/art
> thumbnails: generating thumbnail for <Mock id='140032457118096'>
> thumbnails: problem getting the picture size for /path/to/art
> thumbnails: generating thumbnail for <Mock id='140032457118096'>
> thumbnails: problem getting the picture size for /path/to/art
> thumbnails: generating thumbnail for <Mock id='140032457118096'>
> thumbnails: wrote thumbnail for <Mock id='140032457118096'>
> thumbnails: generating thumbnail for <Mock id='140032457118096'>
> thumbnails: wrote thumbnail for <Mock id='140032457118096'>
> ok
> test_thumbnail_file_name (test_thumbnails.ThumbnailsTest) ... thumbnails: No local image resizing capabilities, cannot generate thumbnails
> ok
> test_uri (test_thumbnails.ThumbnailsTest) ... ok
> test_write_metadata_im (test_thumbnails.ThumbnailsTest) ... ok
> test_album_integer_modify_and_query (test_types_plugin.TypesPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_bool_modify_and_query (test_types_plugin.TypesPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_date_modify_and_query (test_types_plugin.TypesPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_float_modify_and_query (test_types_plugin.TypesPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_integer_modify_and_query (test_types_plugin.TypesPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_unknown_type_error (test_types_plugin.TypesPluginTest) ... no user configuration found at /tmp/tmpulg5dhyd/config.yaml
> data directory: /tmp/tmpulg5dhyd
> plugin paths:
> Sending event: pluginload
> ok
> test_day_precision_intervals (test_datequery.DateIntervalTest) ... ok
> test_hour_precision_intervals (test_datequery.DateIntervalTest) ... ok
> test_minute_precision_intervals (test_datequery.DateIntervalTest) ... ok
> test_month_precision_intervals (test_datequery.DateIntervalTest) ... ok
> test_second_precision_intervals (test_datequery.DateIntervalTest) ... ok
> test_unbounded_endpoints (test_datequery.DateIntervalTest) ... ok
> test_year_precision_intervals (test_datequery.DateIntervalTest) ... ok
> test_datetime_invalid_separator (test_datequery.DateQueryConstructTest) ... ok
> test_datetime_lowercase_t_separator (test_datequery.DateQueryConstructTest) ... ok
> test_datetime_space_separator (test_datequery.DateQueryConstructTest) ... ok
> test_datetime_uppercase_t_separator (test_datequery.DateQueryConstructTest) ... ok
> test_invalid_date_query (test_datequery.DateQueryConstructTest) ... ok
> test_long_numbers (test_datequery.DateQueryConstructTest) ... ok
> test_too_many_components (test_datequery.DateQueryConstructTest) ... ok
> test_single_day_match_fast (test_datequery.DateQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_single_day_nonmatch_fast (test_datequery.DateQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_single_month_match_fast (test_datequery.DateQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_single_month_match_slow (test_datequery.DateQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_single_month_nonmatch_fast (test_datequery.DateQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_single_month_nonmatch_slow (test_datequery.DateQueryTest) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_single_day_match_fast (test_datequery.DateQueryTestRelative) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_single_day_nonmatch_fast (test_datequery.DateQueryTestRelative) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_single_month_match_fast (test_datequery.DateQueryTestRelative) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_single_month_match_slow (test_datequery.DateQueryTestRelative) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_single_month_nonmatch_fast (test_datequery.DateQueryTestRelative) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_single_month_nonmatch_slow (test_datequery.DateQueryTestRelative) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_end_relative (test_datequery.DateQueryTestRelativeMore) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_end_relative_fail (test_datequery.DateQueryTestRelativeMore) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_relative (test_datequery.DateQueryTestRelativeMore) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_relative_fail (test_datequery.DateQueryTestRelativeMore) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_start_relative (test_datequery.DateQueryTestRelativeMore) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_start_relative_fail (test_datequery.DateQueryTestRelativeMore) ... Sending event: database_change
> Sending event: database_change
> Sending event: database_change
> ok
> test_get_music_section (test_plexupdate.PlexUpdateTest) ... ok
> test_get_named_music_section (test_plexupdate.PlexUpdateTest) ... ok
> test_update_plex (test_plexupdate.PlexUpdateTest) ... ok
> test_import_album (test_filefilter.FileFilterPluginTest) ... Sending event: import_begin
> Sending event: import_task_created
> Album: /tmp/tmpc_9jgsw4/testsrcdir/artist
> /tmp/tmpc_9jgsw4/testsrcdir/artist/track_1.mp3
> Sending event: import_task_created
> Sending event: import_task_created
> Album: /tmp/tmpc_9jgsw4/testsrcdir/misc
> /tmp/tmpc_9jgsw4/testsrcdir/misc/track_1.mp3
> Sending event: import_begin
> Sending event: import_task_created
> Singleton: /tmp/tmpc_9jgsw4/testsrcdir/artist/track_1.mp3
> Sending event: import_task_created
> Singleton: /tmp/tmpc_9jgsw4/testsrcdir/artist/track_2.mp3
> Sending event: import_task_created
> Singleton: /tmp/tmpc_9jgsw4/testsrcdir/artist/album/01 - track.mp3
> Sending event: import_task_created
> Singleton: /tmp/tmpc_9jgsw4/testsrcdir/artist/album/02 - track.mp3
> Sending event: import_task_created
> Singleton: /tmp/tmpc_9jgsw4/testsrcdir/misc/track_1.mp3
> Sending event: import_task_created
> Singleton: /tmp/tmpc_9jgsw4/testsrcdir/misc/track_2.mp3
> ok
> test_import_both (test_filefilter.FileFilterPluginTest) ... Sending event: import_begin
> Sending event: import_task_created
> Album: /tmp/tmp3cotbn5k/testsrcdir/artist
> /tmp/tmp3cotbn5k/testsrcdir/artist/track_1.mp3
> Sending event: import_task_created
> Sending event: import_task_created
> Album: /tmp/tmp3cotbn5k/testsrcdir/misc
> /tmp/tmp3cotbn5k/testsrcdir/misc/track_1.mp3
> Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_created
> Singleton: /tmp/tmp3cotbn5k/testsrcdir/artist/track_2.mp3
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Singleton: /tmp/tmp3cotbn5k/testsrcdir/misc/track_2.mp3
> ok
> test_import_default (test_filefilter.FileFilterPluginTest)
> The default configuration should import everything. ... Sending event: import_begin
> Sending event: import_task_created
> Album: /tmp/tmp_02pf2tt/testsrcdir/artist
> /tmp/tmp_02pf2tt/testsrcdir/artist/track_1.mp3
> /tmp/tmp_02pf2tt/testsrcdir/artist/track_2.mp3
> Sending event: import_task_created
> Album: /tmp/tmp_02pf2tt/testsrcdir/artist/album
> /tmp/tmp_02pf2tt/testsrcdir/artist/album/01 - track.mp3
> /tmp/tmp_02pf2tt/testsrcdir/artist/album/02 - track.mp3
> Sending event: import_task_created
> Album: /tmp/tmp_02pf2tt/testsrcdir/misc
> /tmp/tmp_02pf2tt/testsrcdir/misc/track_1.mp3
> /tmp/tmp_02pf2tt/testsrcdir/misc/track_2.mp3
> ok
> test_import_global (test_filefilter.FileFilterPluginTest) ... Sending event: import_begin
> Sending event: import_task_created
> Album: /tmp/tmpzcgtc957/testsrcdir/artist
> /tmp/tmpzcgtc957/testsrcdir/artist/track_1.mp3
> Sending event: import_task_created
> Sending event: import_task_created
> Album: /tmp/tmpzcgtc957/testsrcdir/misc
> /tmp/tmpzcgtc957/testsrcdir/misc/track_1.mp3
> Sending event: import_begin
> Sending event: import_task_created
> Singleton: /tmp/tmpzcgtc957/testsrcdir/artist/track_1.mp3
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Singleton: /tmp/tmpzcgtc957/testsrcdir/misc/track_1.mp3
> Sending event: import_task_created
> ok
> test_import_nothing (test_filefilter.FileFilterPluginTest) ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> No files imported from /tmp/tmpm3_zqtx9/testsrcdir
> ok
> test_import_singleton (test_filefilter.FileFilterPluginTest) ... Sending event: import_begin
> Sending event: import_task_created
> Singleton: /tmp/tmp30if8_17/testsrcdir/artist/track_1.mp3
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Sending event: import_task_created
> Singleton: /tmp/tmp30if8_17/testsrcdir/misc/track_1.mp3
> Sending event: import_task_created
> Sending event: import_begin
> Sending event: import_task_created
> Album: /tmp/tmp30if8_17/testsrcdir/artist
> /tmp/tmp30if8_17/testsrcdir/artist/track_1.mp3
> /tmp/tmp30if8_17/testsrcdir/artist/track_2.mp3
> Sending event: import_task_created
> Album: /tmp/tmp30if8_17/testsrcdir/artist/album
> /tmp/tmp30if8_17/testsrcdir/artist/album/01 - track.mp3
> /tmp/tmp30if8_17/testsrcdir/artist/album/02 - track.mp3
> Sending event: import_task_created
> Album: /tmp/tmp30if8_17/testsrcdir/misc
> /tmp/tmp30if8_17/testsrcdir/misc/track_1.mp3
> /tmp/tmp30if8_17/testsrcdir/misc/track_2.mp3
> ok
> test_album_art (test_zero.ZeroPluginTest) ... Sending event: write
> Sending event: after_write
> ok
> test_auto_false (test_zero.ZeroPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_change_database (test_zero.ZeroPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_do_not_change_database (test_zero.ZeroPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_empty_query_n_response_no_changes (test_zero.ZeroPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_fields_removes_preserved_tags (test_zero.ZeroPluginTest) ... zero: invalid field: year id
> ok
> test_keep_fields (test_zero.ZeroPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_keep_fields_removes_preserved_tags (test_zero.ZeroPluginTest) ... ok
> test_no_fields (test_zero.ZeroPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_no_patterns (test_zero.ZeroPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_pattern_match (test_zero.ZeroPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_pattern_nomatch (test_zero.ZeroPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_subcommand_query_exclude (test_zero.ZeroPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_subcommand_query_include (test_zero.ZeroPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_subcommand_update_database_false (test_zero.ZeroPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_subcommand_update_database_true (test_zero.ZeroPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_whitelist_and_blacklist (test_zero.ZeroPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_print_tracks_output (test_mbsubmit.MBSubmitPluginTest)
> Test the output of the "print tracks" choice. ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp6zw82yvf/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist M - Applied Album M (albumid M)
> ../beets/autotag/hooks.py:241: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
> return levenshtein_distance(str1, str2) / float(max(len(str1), len(str2)))
> Computing track assignment...
> ...done.
> Success. Distance: 0.49
> Sending event: albuminfo_received
> Candidate: Applied Artist MM - Applied Album MM (albumid MM)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 2 candidates.
> Sending event: before_choose_candidate
> ERROR
> test_print_tracks_output_as_tracks (test_mbsubmit.MBSubmitPluginTest)
> Test the output of the "print tracks" choice, as singletons. ... Sending event: import_begin
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp_hhz1x7y/testsrcdir/the_album
> Tagging Tag Artist - Tag Album
> No album ID found.
> Search terms: Tag Artist - Tag Album
> Album might be VA: False
> Sending event: albuminfo_received
> Candidate: Applied Artist M - Applied Album M (albumid M)
> Computing track assignment...
> ...done.
> Success. Distance: 0.49
> Sending event: albuminfo_received
> Candidate: Applied Artist MM - Applied Album MM (albumid MM)
> Computing track assignment...
> ...done.
> Success. Distance: 0.50
> Evaluating 2 candidates.
> Sending event: before_choose_candidate
> Prompt choice 'Print tracks' removed due to conflict with 'Print tracks' (short letter: 'p')
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp_hhz1x7y/testsrcdir/the_album/track_1.mp3
> Item search terms: Tag Artist - Tag Title 1
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Prompt choice 'Print tracks' removed due to conflict with 'Print tracks' (short letter: 'p')
> Sending event: import_task_choice
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /tmp/tmp_hhz1x7y/testsrcdir/the_album/track_2.mp3
> Item search terms: Tag Artist - Tag Title 2
> Sending event: trackinfo_received
> Found 1 candidates.
> Sending event: before_choose_candidate
> Prompt choice 'Print tracks' removed due to conflict with 'Print tracks' (short letter: 'p')
> ERROR
> test_album_option (test_play.PlayPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_args_option (test_play.PlayPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_args_option_in_middle (test_play.PlayPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_basic (test_play.PlayPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_command_failed (test_play.PlayPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_not_found (test_play.PlayPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_raw (test_play.PlayPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_relative_to (test_play.PlayPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_skip_warning_threshold_bypass (test_play.PlayPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_unset_args_option_in_middle (test_play.PlayPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_use_folders (test_play.PlayPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_warning_threshold (test_play.PlayPluginTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_cli_saves_album_gain_to_file (test_replaygain.ReplayGainCmdCliTest) ... skipped 'no *gain command found'
> test_cli_saves_track_gain (test_replaygain.ReplayGainCmdCliTest) ... skipped 'no *gain command found'
> test_cli_skips_calculated_tracks (test_replaygain.ReplayGainCmdCliTest) ... skipped 'no *gain command found'
> test_cli_saves_album_gain_to_file (test_replaygain.ReplayGainGstCliTest) ... skipped 'gstreamer cannot be found'
> test_cli_saves_track_gain (test_replaygain.ReplayGainGstCliTest) ... skipped 'gstreamer cannot be found'
> test_cli_skips_calculated_tracks (test_replaygain.ReplayGainGstCliTest) ... skipped 'gstreamer cannot be found'
> test_malformed_output (test_replaygain.ReplayGainLdnsCliMalformedTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_cli_saves_album_gain_to_file (test_replaygain.ReplayGainLdnsCliTest) ... skipped 'bs1770gain cannot be found'
> test_cli_saves_track_gain (test_replaygain.ReplayGainLdnsCliTest) ... skipped 'bs1770gain cannot be found'
> test_cli_skips_calculated_tracks (test_replaygain.ReplayGainLdnsCliTest) ... skipped 'bs1770gain cannot be found'
> test_albuminfo_move_changes_paths (test_files.AlbumFileTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_albuminfo_move_copies_file (test_files.AlbumFileTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_albuminfo_move_moves_file (test_files.AlbumFileTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_albuminfo_move_to_custom_dir (test_files.AlbumFileTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_art_deleted_when_items_deleted (test_files.ArtFileTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_art_moves_with_album (test_files.ArtFileTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_art_moves_with_album_to_custom_dir (test_files.ArtFileTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_move_last_file_moves_albumart (test_files.ArtFileTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_move_not_last_file_does_not_move_albumart (test_files.ArtFileTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_setart_copies_image (test_files.ArtFileTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_setart_sets_permissions (test_files.ArtFileTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_setart_to_conflicting_file_gets_new_path (test_files.ArtFileTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_setart_to_existing_art_works (test_files.ArtFileTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_setart_to_existing_but_unset_art_works (test_files.ArtFileTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_ancestry_works_on_dir (test_files.HelperTest) ... ok
> test_ancestry_works_on_file (test_files.HelperTest) ... ok
> test_ancestry_works_on_relative (test_files.HelperTest) ... ok
> test_components_works_on_dir (test_files.HelperTest) ... ok
> test_components_works_on_file (test_files.HelperTest) ... ok
> test_components_works_on_relative (test_files.HelperTest) ... ok
> test_child_does_not_exist (test_files.MkDirAllTest) ... ok
> test_parent_exists (test_files.MkDirAllTest) ... ok
> test_copy_already_at_destination (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_copy_arrives (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_copy_does_not_depart (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_hardlink_arrives (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_hardlink_changes_path (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_hardlink_does_not_depart (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_link_arrives (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_link_changes_path (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_link_does_not_depart (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_move_already_at_destination (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_move_arrives (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_move_avoids_collision_with_existing_file (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_move_changes_path (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_move_departs (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_move_in_lib_prunes_empty_dir (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_move_to_custom_dir (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_read_only_file_copied_writable (test_files.MoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_prune_existent_directory (test_files.PruneTest) ... ok
> test_prune_nonexistent_directory (test_files.PruneTest) ... ok
> test_removing_item_outside_of_library_deletes_nothing (test_files.RemoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_removing_last_item_in_album_with_albumart_prunes_dir (test_files.RemoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_removing_last_item_preserves_library_dir (test_files.RemoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_removing_last_item_preserves_nonempty_dir (test_files.RemoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_removing_last_item_prunes_dir_with_blacklisted_file (test_files.RemoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_removing_last_item_prunes_empty_dir (test_files.RemoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_removing_without_delete_leaves_file (test_files.RemoveTest) ... Sending event: database_change
> Sending event: database_change
> ERROR
> test_self_copy (test_files.SafeMoveCopyTest) ... ok
> test_self_move (test_files.SafeMoveCopyTest) ... ok
> test_successful_copy (test_files.SafeMoveCopyTest) ... ok
> test_successful_move (test_files.SafeMoveCopyTest) ... ok
> test_unsuccessful_copy (test_files.SafeMoveCopyTest) ... ok
> test_unsuccessful_move (test_files.SafeMoveCopyTest) ... ok
> test_soft_remove_deletes_file (test_files.SoftRemoveTest) ... ok
> test_soft_remove_silent_on_no_file (test_files.SoftRemoveTest) ... ok
> test_conflicting_file_appends_1 (test_files.UniquePathTest) ... ok
> test_conflicting_file_appends_higher_number (test_files.UniquePathTest) ... ok
> test_conflicting_file_with_number_increases_number (test_files.UniquePathTest) ... ok
> test_new_file_unchanged (test_files.UniquePathTest) ... ok
> test_ignore_directory (test_files.WalkTest) ... ok
> test_ignore_everything (test_files.WalkTest) ... ok
> test_ignore_file (test_files.WalkTest) ... ok
> test_sorted_files (test_files.WalkTest) ... ok
> test_config_editor_not_found (test_config_command.ConfigCommandTest) ... ok
> test_config_paths (test_config_command.ConfigCommandTest) ... ok
> test_config_paths_with_cli (test_config_command.ConfigCommandTest) ... ok
> test_edit_config_with_automatic_open (test_config_command.ConfigCommandTest) ... ok
> test_edit_config_with_editor_env (test_config_command.ConfigCommandTest) ... ok
> test_edit_invalid_config_file (test_config_command.ConfigCommandTest) ... ok
> test_show_redacted_user_config (test_config_command.ConfigCommandTest) ... ok
> test_show_redacted_user_config_with_defaults (test_config_command.ConfigCommandTest) ... ok
> test_show_user_config (test_config_command.ConfigCommandTest) ... ok
> test_show_user_config_with_cli (test_config_command.ConfigCommandTest) ... ok
> test_show_user_config_with_defaults (test_config_command.ConfigCommandTest) ... [1, 2, 3, 4, 10]
>
> http://open.spotify.com/track/6NPVjNh8Jhru9xOmyQigds
> /tmp/tmpgcgh00_3
> album: the album
> albumartist: AAA
> art: False
> artist: the artist
> bitdepth: 0
> bitrate: 80000
> bpm: 6
> channels: 1
> comments: the comments
> comp: True
> date: 2001-01-01
> disc: 4
> disctitle: DDD
> disctotal: 5
> encoder: iTunes v7.6.2
> format: MP3
> genre: a
> genres: a; b; c
> grouping: the grouping
> label: the label
> length: 1.071
> lyrics: the lyrics
> mb_albumid: 9e873859-8aa4-4790-b985-5a953e8ef628
> mb_artistid: 7cf0ea9d-86b9-4dad-ba9e-2355a64899ea
> mb_releasetrackid: c29f3a57-b439-46fd-a2e2-93776b1371e0
> mb_trackid: 8b882575-08a5-4452-a7a7-cbb8a1531f9e
> rg_track_gain: 0.0
> rg_track_peak: 0.000244
> samplerate: 44100
> title: full
> track: 2
> tracktotal: 3
> year: 2001
>
>
>
> café
>
> Usage:
> beet COMMAND [ARGS...]
> beet help COMMAND
>
> Options:
> --format-item=FORMAT_ITEM
> print with custom format
> --format-album=FORMAT_ALBUM
> print with custom format
> -l LIBRARY, --library=LIBRARY
> library database file to use
> -d DIRECTORY, --directory=DIRECTORY
> destination music directory
> -v, --verbose log more details (use twice for even more)
> -c CONFIG, --config=CONFIG
> path to configuration file
> -h, --help show this help message and exit
>
> Commands:
> config show or edit the user configuration
> fields show fields available for queries and format strings
> help (?) give detailed help on a specific sub-command
> import (imp, im) import new music
> list (ls) query the library
> modify (mod) change metadata fields
> move (mv) move or copy items
> remove (rm) remove matching items from the library
> stats show statistics about the library or a query
> update (upd, up) update the library
> version output version information
> write write tag information to files
>
> Usage: beet list [options]
> Example: beet list -f '$album: $title' artist:beatles
>
> Options:
> -h, --help show this help message and exit
> -a, --album match albums instead of tracks
> -p PATH, --path=PATH print paths for matched items or albums
> -f FORMAT, --format=FORMAT
> print with custom format
>
>
>
> Tracks: 1
> Total time: 1.0 minutes
> Approximate total size: 937.5 KiB
> Artists: 1
> Albums: 1
> Album artists: 1
>
> beets version 1.4.9
> Python version 3.8.4rc1
> no plugins loaded
>
>
>
>
>
>
>
>
>
>
>
>
> /tmp/tmpfz86b5uf/config.yaml
>
> /tmp/tmpmniqprf5/cli_config.yaml
> /tmp/tmpmniqprf5/config.yaml
>
> library: lib
> option: value
> password: REDACTED
>
>
> library: lib
> option: value
> password: REDACTED
> directory: ~/Music
>
> import:
> write: yes
> copy: yes
> move: no
> link: no
> hardlink: no
> delete: no
> resume: ask
> incremental: no
> incremental_skip_later: no
> from_scratch: no
> quiet_fallback: skip
> none_rec_action: ask
> timid: no
> log:
> autotag: yes
> quiet: no
> singletons: no
> default_action: apply
> languages: []
> detail: no
> flat: no
> group_albums: no
> pretend: no
> search_ids: []
> duplicate_action: ask
> bell: no
> set_fields: {}
>
> clutter: [Thumbs.DB, .DS_Store]
> ignore:
> - .*
> - '*~'
> - System Volume Information
> - lost+found
> ignore_hidden: yes
>
> replace:
> '[\\/]': _
> ^\.: _
> '[\x00-\x1f]': _
> '[<>:"\?\*\|]': _
> \.$: _
> \s+$: ''
> ^\s+: ''
> ^-: _
> path_sep_replace: _
> asciify_paths: no
> art_filename: cover
> max_filename_length: 0
>
> aunique:
> keys: albumartist album
> disambiguators: albumtype year label catalognum albumdisambig releasegroupdisambig
> bracket: '[]'
>
> overwrite_null:
> album: []
> track: []
>
> plugins: []
> pluginpath: []
> threaded: yes
> timeout: 5.0
> per_disc_numbering: no
> verbose: 0
> terminal_encoding:
> original_date: no
> artist_credit: no
> id3v23: no
> va_name: Various Artists
>
> ui:
> terminal_width: 80
> length_diff_thresh: 10.0
> color: yes
> colors:
> text_success: green
> text_warning: yellow
> text_error: red
> text_highlight: red
> text_highlight_minor: lightgray
> action_default: turquoise
> action: blue
>
> format_item: $artist - $album - $title
> format_album: $albumartist - $album
> time_format: '%Y-%m-%d %H:%M:%S'
> format_raw_length: no
>
> sort_album: albumartist+ album+
> sort_item: artist+ album+ disc+ track+
> sort_case_insensitive: yes
>
> paths:
> default: $albumartist/$album%aunique{}/$track $title
> singleton: Non-Album/$artist/$title
> comp: Compilations/$album%aunique{}/$track $title
>
> statefile: state.pickle
>
> musicbrainz:
> host: musicbrainz.org
> ratelimit: 1
> ratelimit_interval: 1.0
> searchlimit: 5
>
> match:
> strong_rec_thresh: 0.04
> 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: []
> required: []
> ignored_media: []
> ignore_data_tracks: yes
> ignore_video_tracks: yes
> track_length_grace: 10
> track_length_max: 30
>
>
> library: lib
> option: value
> password: password_value
>
>
> option: cli overwrite
> library: lib
> password: REDACTED
>
>
> library: lib
> option: value
> password: password_value
> directory: ~/Music
>
> import:
> write: yes
> copy: yes
> move: no
> link: no
> hardlink: no
> delete: no
> resume: ask
> incremental: no
> incremental_skip_later: no
> from_scratch: no
> quiet_fallback: skip
> none_rec_action: ask
> timid: no
> log:
> autotag: yes
> quiet: no
> singletons: no
> default_action: apply
> languages: []
> detail: no
> flat: no
> group_albums: no
> pretend: no
> search_ids: []
> duplicate_action: ask
> bell: no
> set_fields: {}
>
> clutter: [Thumbs.DB, .DS_Store]
> ignore:
> - .*
> - '*~'
> - System Volume Information
> - lost+found
> ignore_hidden: yes
>
> replace:
> '[\\/]': _
> ^\.: _
> '[\x00-\x1f]': _
> '[<>:"\?\*\|]': _
> \.$: _
> \s+$: ''
> ^\s+: ''
> ^-: _
> path_sep_replace: _
> asciify_paths: no
> art_filename: cover
> max_filename_length: 0
>
> aunique:
> keys: albumartist album
> disambiguators: albumtype year label catalognum albumdisambig releasegroupdisambig
> bracket: '[]'
>
> overwrite_null:
> album: []
> track: []
>
> plugins: []
> pluginpath: []
> threaded: yes
> timeout: 5.0
> per_disc_numbering: no
> verbose: 0
> terminal_encoding:
> original_date: no
> artist_credit: no
> id3v23: no
> va_name: Various Artists
>
> ui:
> terminal_width: 80
> length_diff_thresh: 10.0
> color: yes
> colors:
> text_success: green
> text_warning: yellow
> text_error: red
> text_highlight: red
> text_highlight_minor: lightgray
> action_default: turquoise
> action: blue
>
> format_item: $artist - $album - $title
> format_album: $albumartist - $album
> time_format: '%Y-%m-%d %H:%M:%S'
> format_raw_length: no
>
> sort_album: albumartist+ album+
> sort_item: artist+ album+ disc+ track+
> sort_case_insensitive: yes
>
> paths:
> default: $albumartist/$album%aunique{}/$track $title
> singleton: Non-Album/$artist/$title
> comp: Compilations/$album%aunique{}/$track $title
>
> statefile: state.pickle
>
> musicbrainz:
> host: musicbrainz.org
> ratelimit: 1
> ratelimit_interval: 1.0
> searchlimit: 5
>
> match:
> strong_rec_thresh: 0.04
> 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: []
> required: []
> ignored_media: []
> ignore_data_tracks: yes
> ignore_video_tracks: yes
> track_length_grace: 10
> track_length_max: 30
>
> ok
> test_cmd_password (test_player.BPDConnectionTest) ... ERROR
> test_cmd_ping (test_player.BPDConnectionTest) ... ERROR
> test_cmd_tagtypes (test_player.BPDConnectionTest) ... skipped ''
> test_implements_connection (test_player.BPDConnectionTest) ... ERROR
> test_tagtypes_mask (test_player.BPDConnectionTest) ... skipped ''
> test_cmd_next (test_player.BPDControlTest) ... ERROR
> test_cmd_play (test_player.BPDControlTest) ... ERROR
> test_cmd_previous (test_player.BPDControlTest) ... ERROR
> test_implements_control (test_player.BPDControlTest) ... ERROR
> test_cmd_count (test_player.BPDDatabaseTest) ... ERROR
> test_cmd_list (test_player.BPDDatabaseTest) ... ERROR
> test_cmd_list_three_arg_form (test_player.BPDDatabaseTest) ... ERROR
> test_cmd_lsinfo (test_player.BPDDatabaseTest) ... ERROR
> test_cmd_search (test_player.BPDDatabaseTest) ... ERROR
> test_implements_database (test_player.BPDDatabaseTest) ... ERROR
> test_implements_devices (test_player.BPDDeviceTest) ... ERROR
> test_implements_mounts (test_player.BPDMountsTest) ... ERROR
> test_implements_partitions (test_player.BPDPartitionTest) ... ERROR
> test_implements_peers (test_player.BPDPeersTest) ... ERROR
> test_cmd_consume (test_player.BPDPlaybackTest) ... ERROR
> test_cmd_consume_in_reverse (test_player.BPDPlaybackTest) ... ERROR
> test_cmd_crossfade (test_player.BPDPlaybackTest) ... ERROR
> test_cmd_mixrampdb (test_player.BPDPlaybackTest) ... ERROR
> test_cmd_mixrampdelay (test_player.BPDPlaybackTest) ... ERROR
> test_cmd_repeat (test_player.BPDPlaybackTest) ... ERROR
> test_cmd_repeat_in_reverse (test_player.BPDPlaybackTest) ... ERROR
> test_cmd_repeat_with_single (test_player.BPDPlaybackTest) ... ERROR
> test_cmd_repeat_with_single_in_reverse (test_player.BPDPlaybackTest) ... ERROR
> test_cmd_replay_gain (test_player.BPDPlaybackTest) ... ERROR
> test_cmd_setvol (test_player.BPDPlaybackTest) ... ERROR
> test_cmd_single (test_player.BPDPlaybackTest) ... ERROR
> test_cmd_volume (test_player.BPDPlaybackTest) ... ERROR
> test_implements_playback (test_player.BPDPlaybackTest) ... ERROR
> test_cmd_listplaylist (test_player.BPDPlaylistsTest) ... ERROR
> test_cmd_listplaylistinfo (test_player.BPDPlaylistsTest) ... ERROR
> test_cmd_listplaylists (test_player.BPDPlaylistsTest) ... ERROR
> test_cmd_load (test_player.BPDPlaylistsTest) ... ERROR
> test_cmd_playlistadd (test_player.BPDPlaylistsTest) ... skipped ''
> test_cmd_playlistclear (test_player.BPDPlaylistsTest) ... ERROR
> test_cmd_playlistdelete (test_player.BPDPlaylistsTest) ... ERROR
> test_cmd_playlistmove (test_player.BPDPlaylistsTest) ... ERROR
> test_cmd_rename (test_player.BPDPlaylistsTest) ... ERROR
> test_cmd_rm (test_player.BPDPlaylistsTest) ... ERROR
> test_cmd_save (test_player.BPDPlaylistsTest) ... ERROR
> test_implements_playlists (test_player.BPDPlaylistsTest) ... ERROR
> test_cmd_idle (test_player.BPDQueryTest) ... ERROR
> test_cmd_idle_with_pending (test_player.BPDQueryTest) ... ERROR
> test_cmd_noidle (test_player.BPDQueryTest) ... ERROR
> test_cmd_status (test_player.BPDQueryTest) ... ERROR
> test_implements_query (test_player.BPDQueryTest) ... ERROR
> test_cmd_add (test_player.BPDQueueTest) ... ERROR
> test_cmd_playlistinfo (test_player.BPDQueueTest) ... ERROR
> test_implements_queue (test_player.BPDQueueTest) ... ERROR
> test_cmd_decoders (test_player.BPDReflectionTest) ... ERROR
> test_implements_reflection (test_player.BPDReflectionTest) ... ERROR
> test_implements_stickers (test_player.BPDStickerTest) ... ERROR
> test_empty_request (test_player.BPDTest) ... ERROR
> test_missing_argument (test_player.BPDTest) ... ERROR
> test_server_hello (test_player.BPDTest) ... ERROR
> test_system_error (test_player.BPDTest) ... ERROR
> test_unexpected_argument (test_player.BPDTest) ... ERROR
> test_unknown_cmd (test_player.BPDTest) ... ERROR
> test_backslash_in_arg (test_player.CommandParseTest) ... ok
> test_heterogenous_args (test_player.CommandParseTest) ... ok
> test_no_args (test_player.CommandParseTest) ... ok
> test_one_quoted_arg (test_player.CommandParseTest) ... ok
> test_one_unquoted_arg (test_player.CommandParseTest) ... ok
> test_quote_in_arg (test_player.CommandParseTest) ... ok
> test_two_unquoted_args (test_player.CommandParseTest) ... ok
> test_api_url_http (test_embyupdate.EmbyUpdateTest) ... ok
> test_api_url_https (test_embyupdate.EmbyUpdateTest) ... ok
> test_api_url_only_name (test_embyupdate.EmbyUpdateTest) ... ok
> test_create_header_no_token (test_embyupdate.EmbyUpdateTest) ... ok
> test_create_header_with_token (test_embyupdate.EmbyUpdateTest) ... ok
> test_get_token (test_embyupdate.EmbyUpdateTest) ... ok
> test_get_user (test_embyupdate.EmbyUpdateTest) ... ok
> test_password_data (test_embyupdate.EmbyUpdateTest) ... ok
> test_config_include_paths_false (test_web.WebPluginTest) ... ok
> test_config_include_paths_true (test_web.WebPluginTest) ... ok
> test_get_album_empty_query (test_web.WebPluginTest) ... ok
> test_get_all_albums (test_web.WebPluginTest) ... ok
> test_get_all_items (test_web.WebPluginTest) ... ok
> test_get_item_empty_query (test_web.WebPluginTest) ... ok
> test_get_multiple_albums_by_id (test_web.WebPluginTest) ... ok
> test_get_multiple_items_by_id (test_web.WebPluginTest) ... ok
> test_get_simple_item_query (test_web.WebPluginTest) ... ok
> test_get_single_album_by_id (test_web.WebPluginTest) ... ok
> test_get_single_item_by_id (test_web.WebPluginTest) ... ok
> test_get_single_item_by_path (test_web.WebPluginTest) ... ok
> test_get_single_item_by_path_not_found_if_not_in_library (test_web.WebPluginTest) ... ok
> test_get_single_item_not_found (test_web.WebPluginTest) ... ok
> test_aao_scraper_finds_image (test_art.AAOTest) ... ok
> test_aao_scraper_returns_no_result_when_no_image_present (test_art.AAOTest) ... ok
> test_resize_if_necessary (test_art.ArtForAlbumTest) ... skipped 'ArtResizer has no local imaging backend available'
> test_respect_enforce_ratio_no (test_art.ArtForAlbumTest) ... ok
> test_respect_enforce_ratio_percent_above (test_art.ArtForAlbumTest) ... skipped 'ArtResizer has no local imaging backend available'
> test_respect_enforce_ratio_percent_below (test_art.ArtForAlbumTest) ... skipped 'ArtResizer has no local imaging backend available'
> test_respect_enforce_ratio_px_above (test_art.ArtForAlbumTest) ... skipped 'ArtResizer has no local imaging backend available'
> test_respect_enforce_ratio_px_below (test_art.ArtForAlbumTest) ... skipped 'ArtResizer has no local imaging backend available'
> test_respect_enforce_ratio_yes (test_art.ArtForAlbumTest) ... skipped 'ArtResizer has no local imaging backend available'
> test_respect_minwidth (test_art.ArtForAlbumTest) ... skipped 'ArtResizer has no local imaging backend available'
> test_art_not_found (test_art.ArtImporterTest) ... ok
> test_delete_original_file (test_art.ArtImporterTest) ... ok
> test_do_not_delete_original_if_already_in_place (test_art.ArtImporterTest) ... ok
> test_fetch_art (test_art.ArtImporterTest) ... ok
> test_fetch_art_if_imported_file_deleted (test_art.ArtImporterTest) ... --- Logging error ---
> Traceback (most recent call last):
> File "/usr/lib/python3.8/logging/__init__.py", line 1081, in emit
> msg = self.format(record)
> File "/usr/lib/python3.8/logging/__init__.py", line 925, in format
> return fmt.format(record)
> File "/usr/lib/python3.8/logging/__init__.py", line 664, in format
> record.message = record.getMessage()
> File "/usr/lib/python3.8/logging/__init__.py", line 367, in getMessage
> msg = str(self.msg)
> File "../beets/logging.py", line 86, in __str__
> return self.msg.format(*args, **kwargs)
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
> Call stack:
> File "setup.py", line 57, in <module>
> setup(
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in setup
> return distutils.core.setup(**attrs)
> File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
> dist.run_commands()
> File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
> self.run_command(cmd)
> File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
> cmd_obj.run()
> File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 238, in run
> self.run_tests()
> File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 256, in run_tests
> test = unittest.main(
> File "/usr/lib/python3.8/unittest/main.py", line 101, in __init__
> self.runTests()
> File "/usr/lib/python3.8/unittest/main.py", line 271, in runTests
> self.result = testRunner.run(self.test)
> File "/usr/lib/python3.8/unittest/runner.py", line 176, in run
> test(result)
> File "/usr/lib/python3.8/unittest/suite.py", line 84, in __call__
> return self.run(*args, **kwds)
> File "/usr/lib/python3.8/unittest/suite.py", line 122, in run
> test(result)
> File "/usr/lib/python3.8/unittest/suite.py", line 84, in __call__
> return self.run(*args, **kwds)
> File "/usr/lib/python3.8/unittest/suite.py", line 122, in run
> test(result)
> File "/usr/lib/python3.8/unittest/suite.py", line 84, in __call__
> return self.run(*args, **kwds)
> File "/usr/lib/python3.8/unittest/suite.py", line 122, in run
> test(result)
> File "/usr/lib/python3.8/unittest/suite.py", line 84, in __call__
> return self.run(*args, **kwds)
> File "/usr/lib/python3.8/unittest/suite.py", line 122, in run
> test(result)
> File "/usr/lib/python3.8/unittest/case.py", line 736, in __call__
> return self.run(*args, **kwds)
> File "/usr/lib/python3.8/unittest/case.py", line 676, in run
> self._callTestMethod(testMethod)
> File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
> method()
> File "/<<PKGBUILDDIR>>/test/test_art.py", line 632, in test_fetch_art_if_imported_file_deleted
> self.plugin.batch_fetch_art(self.lib, self.lib.albums(), force=False,
> File "/<<PKGBUILDDIR>>/beetsplug/fetchart.py", line 958, in batch_fetch_art
> self._log.info(u'{0}: {1}', album, message)
> File "/usr/lib/python3.8/logging/__init__.py", line 1434, in info
> self._log(INFO, msg, args, **kwargs)
> File "../beets/logging.py", line 91, in _log
> return super(StrFormatLogger, self)._log(level, m, (), exc_info, extra)
> Message: <beets.logging.StrFormatLogger._LogMessage object at 0x7f5bcbdaec40>
> Arguments: ()
> ok
> test_leave_original_file_in_place (test_art.ArtImporterTest) ... ok
> test_no_art_for_singleton (test_art.ArtImporterTest) ... ok
> test_local_only_does_not_access_network (test_art.CombinedTest) ... ok
> test_local_only_gets_fs_image (test_art.CombinedTest) ... ok
> test_main_interface_falls_back_to_aao (test_art.CombinedTest) ... ok
> test_main_interface_falls_back_to_amazon (test_art.CombinedTest) ... ok
> test_main_interface_gives_precedence_to_fs_art (test_art.CombinedTest) ... ok
> test_main_interface_returns_amazon_art (test_art.CombinedTest) ... ok
> test_main_interface_returns_none_for_missing_asin_and_path (test_art.CombinedTest) ... ok
> test_main_interface_tries_amazon_before_aao (test_art.CombinedTest) ... ok
> test_main_interface_uses_caa_when_mbid_available (test_art.CombinedTest) ... ok
> test_moves_filesystem_to_end (test_art.DeprecatedConfigTest) ... fetchart: The `fetch_art.remote_priority` configuration option has been deprecated. Instead, place `filesystem` at the end of your `sources` list.
> ok
> test_percent (test_art.EnforceRatioConfigTest) ... ok
> test_px (test_art.EnforceRatioConfigTest) ... ok
> test_appropriately_named_file_takes_precedence (test_art.FSArtTest) ... ok
> test_cautious_skips_fallback (test_art.FSArtTest) ... ok
> test_empty_dir (test_art.FSArtTest) ... ok
> test_finds_jpg_in_directory (test_art.FSArtTest) ... ok
> test_non_image_file_not_identified (test_art.FSArtTest) ... ok
> test_precedence_amongst_correct_files (test_art.FSArtTest) ... ok
> test_fanarttv_finds_image (test_art.FanartTVTest) ... ok
> test_fanarttv_only_other_images (test_art.FanartTVTest) ... ok
> test_fanarttv_returns_no_result_when_error_received (test_art.FanartTVTest) ... ok
> test_fanarttv_returns_no_result_with_malformed_response (test_art.FanartTVTest) ... ok
> test_does_not_rely_on_server_content_type (test_art.FetchImageTest) ... Server specified image/jpeg, but returned a image/png image. Correcting the extension to .png
> ok
> test_extension_set_by_content_type (test_art.FetchImageTest) ... ok
> test_invalid_type_returns_none (test_art.FetchImageTest) ... ok
> test_jpeg_type_returns_path (test_art.FetchImageTest) ... ok
> test_google_art_finds_image (test_art.GoogleImageTest) ... ok
> test_google_art_returns_no_result_when_error_received (test_art.GoogleImageTest) ... ok
> test_google_art_returns_no_result_with_malformed_response (test_art.GoogleImageTest) ... ok
> test_itunesstore_fallback_match (test_art.ITunesStoreTest) ... ok
> test_itunesstore_finds_image (test_art.ITunesStoreTest) ... ok
> test_itunesstore_no_result (test_art.ITunesStoreTest) ... skipped 'fails on buildds'
> test_itunesstore_requestexception (test_art.ITunesStoreTest) ... skipped 'fails on buildds'
> test_itunesstore_returns_no_result_when_error_received (test_art.ITunesStoreTest) ... skipped 'fails on buildds'
> test_itunesstore_returns_no_result_with_malformed_response (test_art.ITunesStoreTest) ... skipped 'fails on buildds'
> test_itunesstore_returns_result_without_artwork (test_art.ITunesStoreTest) ... skipped 'fails on buildds'
>
> ======================================================================
> ERROR: test_choose_first_candidate (test_ui_importer.ChooseCandidateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1078, in test_choose_first_candidate
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_choose_second_candidate (test_ui_importer.ChooseCandidateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1083, in test_choose_second_candidate
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_different_artist_and_different_album (test_ui_importer.GlobalGroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1013, in test_add_album_for_different_artist_and_different_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_different_artist_and_same_albumartist (test_ui_importer.GlobalGroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1025, in test_add_album_for_different_artist_and_same_albumartist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_same_album_and_different_artist (test_ui_importer.GlobalGroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1041, in test_add_album_for_same_album_and_different_artist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_same_artist_and_different_album (test_ui_importer.GlobalGroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1033, in test_add_album_for_same_artist_and_different_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_incremental (test_ui_importer.GlobalGroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1050, in test_incremental
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_different_artist_and_different_album (test_ui_importer.GroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1013, in test_add_album_for_different_artist_and_different_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_different_artist_and_same_albumartist (test_ui_importer.GroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1025, in test_add_album_for_different_artist_and_same_albumartist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_same_album_and_different_artist (test_ui_importer.GroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1041, in test_add_album_for_same_album_and_different_artist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_same_artist_and_different_album (test_ui_importer.GroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1033, in test_add_album_for_same_artist_and_different_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_incremental (test_ui_importer.GroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1050, in test_incremental
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_albumartist_tag_sets_albumartist (test_ui_importer.ImportCompilationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 865, in test_asis_albumartist_tag_sets_albumartist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_heterogenous_sets_sompilation (test_ui_importer.ImportCompilationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 840, in test_asis_heterogenous_sets_sompilation
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_heterogenous_sets_various_albumartist (test_ui_importer.ImportCompilationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 827, in test_asis_heterogenous_sets_various_albumartist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_homogenous_sets_albumartist (test_ui_importer.ImportCompilationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 815, in test_asis_homogenous_sets_albumartist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_sets_majority_albumartist (test_ui_importer.ImportCompilationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 851, in test_asis_sets_majority_albumartist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_updated_moves_file (test_ui_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 930, in test_asis_updated_moves_file
> self.setup_importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_updated_without_copy_does_not_move_file (test_ui_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 946, in test_asis_updated_without_copy_does_not_move_file
> self.setup_importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_updates_metadata (test_ui_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 920, in test_asis_updates_metadata
> self.setup_importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_does_not_duplicate_album (test_ui_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 901, in test_does_not_duplicate_album
> self.setup_importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_does_not_duplicate_item (test_ui_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 893, in test_does_not_duplicate_item
> self.setup_importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_does_not_duplicate_singleton_track (test_ui_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 911, in test_does_not_duplicate_singleton_track
> self.setup_importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_outside_file_is_copied (test_ui_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 971, in test_outside_file_is_copied
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_outside_file_is_moved (test_ui_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 987, in test_outside_file_is_moved
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_asis_adds_singleton_path (test_ui_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 493, in test_apply_asis_adds_singleton_path
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_asis_adds_track (test_ui_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 479, in test_apply_asis_adds_track
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_asis_does_not_add_album (test_ui_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 486, in test_apply_asis_does_not_add_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_candidate_adds_singleton_path (test_ui_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 512, in test_apply_candidate_adds_singleton_path
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_candidate_adds_track (test_ui_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 500, in test_apply_candidate_adds_track
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_candidate_does_not_add_album (test_ui_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 505, in test_apply_candidate_does_not_add_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_single_files (test_ui_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 541, in test_import_single_files
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_set_fields (test_ui_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 558, in test_set_fields
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_skip_adds_other_tracks (test_ui_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 524, in test_skip_adds_other_tracks
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_asis_adds_album (test_ui_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 597, in test_apply_asis_adds_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_asis_adds_album_path (test_ui_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 610, in test_apply_asis_adds_album_path
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_asis_adds_tracks (test_ui_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 603, in test_apply_asis_adds_tracks
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_candidate_adds_album (test_ui_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 618, in test_apply_candidate_adds_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_candidate_adds_album_path (test_ui_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 632, in test_apply_candidate_adds_album_path
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_candidate_adds_tracks (test_ui_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 625, in test_apply_candidate_adds_tracks
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_from_scratch_keeps_bitrate (test_ui_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 659, in test_apply_from_scratch_keeps_bitrate
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_from_scratch_keeps_format (test_ui_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 651, in test_apply_from_scratch_keeps_format
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_from_scratch_removes_other_metadata (test_ui_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 644, in test_apply_from_scratch_removes_other_metadata
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_with_delete_deletes_import (test_ui_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 681, in test_apply_with_delete_deletes_import
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_with_move_deletes_import (test_ui_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 670, in test_apply_with_move_deletes_import
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_no_data_source (test_ui_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 728, in test_asis_no_data_source
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_set_fields (test_ui_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 745, in test_set_fields
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_skip_non_album_dirs (test_ui_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 694, in test_skip_non_album_dirs
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_unmatched_tracks_not_added (test_ui_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 701, in test_unmatched_tracks_not_added
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_tracks_adds_singleton_path (test_ui_importer.ImportTracksTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 796, in test_apply_tracks_adds_singleton_path
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_tracks_adds_singleton_track (test_ui_importer.ImportTracksTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 786, in test_apply_tracks_adds_singleton_track
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_album_created_with_track_artist (test_ui_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 258, in test_album_created_with_track_artist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_copy_arrives (test_ui_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 264, in test_import_copy_arrives
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_hardlink_arrives (test_ui_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 362, in test_import_hardlink_arrives
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_link_arrives (test_ui_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 345, in test_import_link_arrives
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_with_delete_prunes_directory_empty (test_ui_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 339, in test_import_with_delete_prunes_directory_empty
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_with_delete_removes_files (test_ui_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 332, in test_import_with_delete_removes_files
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_with_move_deletes_import_files (test_ui_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 284, in test_import_with_move_deletes_import_files
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_with_move_prunes_directory_empty (test_ui_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 292, in test_import_with_move_prunes_directory_empty
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_with_move_prunes_with_extra_clutter (test_ui_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 302, in test_import_with_move_prunes_with_extra_clutter
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_without_delete_retains_files (test_ui_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 325, in test_import_without_delete_retains_files
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_threaded_import_copy_arrives (test_ui_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 273, in test_threaded_import_copy_arrives
> self.importer.run()
> File "../beets/importer.py", line 329, in run
> pl.run_parallel(QUEUE_SIZE)
> File "../beets/util/pipeline.py", line 445, in run_parallel
> six.reraise(exc_info[0], exc_info[1], exc_info[2])
> File "/usr/lib/python3/dist-packages/six.py", line 703, in reraise
> raise value
> File "../beets/util/pipeline.py", line 358, in run
> self.coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_threaded_import_move_arrives (test_ui_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 309, in test_threaded_import_move_arrives
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_threaded_import_move_deletes_import (test_ui_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 319, in test_threaded_import_move_deletes_import
> self.importer.run()
> File "../beets/importer.py", line 329, in run
> pl.run_parallel(QUEUE_SIZE)
> File "../beets/util/pipeline.py", line 445, in run_parallel
> six.reraise(exc_info[0], exc_info[1], exc_info[2])
> File "/usr/lib/python3/dist-packages/six.py", line 703, in reraise
> raise value
> File "../beets/util/pipeline.py", line 358, in run
> self.coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_flex_field_type (test_plugins.ItemTypesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_plugins.py", line 84, in test_flex_field_type
> self.run_command(u'modify', u'rating=2', u'--yes')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1253, in _raw_main
> subcommand.func(lib, suboptions, subargs)
> File "../beets/ui/commands.py", line 1450, in modify_func
> modify_items(lib, mods, dels, query, ui.should_write(opts.write),
> File "../beets/ui/commands.py", line 1381, in modify_items
> if print_and_modify(obj, mods, dels) and obj not in changed:
> File "../beets/ui/commands.py", line 1424, in print_and_modify
> return ui.show_model_changes(obj)
> File "../beets/ui/__init__.py", line 732, in show_model_changes
> print_(format(old))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_change_tags (test_plugins.ItemWriteTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_plugins.py", line 118, in test_change_tags
> item = self.add_item_fixture(artist=u'XXX')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_plugin_choices_in_ui_input_options_singleton (test_plugins.PromptChoicesTest)
> Test the presence of plugin choices on the prompt (singleton).
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_plugins.py", line 477, in test_plugin_choices_in_ui_input_options_singleton
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_choose_first_candidate (test_importer.ChooseCandidateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1078, in test_choose_first_candidate
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_choose_second_candidate (test_importer.ChooseCandidateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1083, in test_choose_second_candidate
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_different_artist_and_different_album (test_importer.GlobalGroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1013, in test_add_album_for_different_artist_and_different_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_different_artist_and_same_albumartist (test_importer.GlobalGroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1025, in test_add_album_for_different_artist_and_same_albumartist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_same_album_and_different_artist (test_importer.GlobalGroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1041, in test_add_album_for_same_album_and_different_artist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_same_artist_and_different_album (test_importer.GlobalGroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1033, in test_add_album_for_same_artist_and_different_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_incremental (test_importer.GlobalGroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1050, in test_incremental
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_different_artist_and_different_album (test_importer.GroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1013, in test_add_album_for_different_artist_and_different_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_different_artist_and_same_albumartist (test_importer.GroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1025, in test_add_album_for_different_artist_and_same_albumartist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_same_album_and_different_artist (test_importer.GroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1041, in test_add_album_for_same_album_and_different_artist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_album_for_same_artist_and_different_album (test_importer.GroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1033, in test_add_album_for_same_artist_and_different_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_incremental (test_importer.GroupAlbumsImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1050, in test_incremental
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_albumartist_tag_sets_albumartist (test_importer.ImportCompilationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 865, in test_asis_albumartist_tag_sets_albumartist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_heterogenous_sets_sompilation (test_importer.ImportCompilationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 840, in test_asis_heterogenous_sets_sompilation
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_heterogenous_sets_various_albumartist (test_importer.ImportCompilationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 827, in test_asis_heterogenous_sets_various_albumartist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_homogenous_sets_albumartist (test_importer.ImportCompilationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 815, in test_asis_homogenous_sets_albumartist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_sets_majority_albumartist (test_importer.ImportCompilationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 851, in test_asis_sets_majority_albumartist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_keep_duplicate_album (test_importer.ImportDuplicateAlbumTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1212, in setUp
> self.add_album_fixture(albumartist=u'artist', album=u'album')
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1288, in add_album_fixture
> album = super(ImportDuplicateAlbumTest, self).add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_merge_duplicate_album (test_importer.ImportDuplicateAlbumTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1212, in setUp
> self.add_album_fixture(albumartist=u'artist', album=u'album')
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1288, in add_album_fixture
> album = super(ImportDuplicateAlbumTest, self).add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_no_autotag_keeps_duplicate_album (test_importer.ImportDuplicateAlbumTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1212, in setUp
> self.add_album_fixture(albumartist=u'artist', album=u'album')
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1288, in add_album_fixture
> album = super(ImportDuplicateAlbumTest, self).add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_remove_duplicate_album (test_importer.ImportDuplicateAlbumTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1212, in setUp
> self.add_album_fixture(albumartist=u'artist', album=u'album')
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1288, in add_album_fixture
> album = super(ImportDuplicateAlbumTest, self).add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_skip_duplicate_album (test_importer.ImportDuplicateAlbumTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1212, in setUp
> self.add_album_fixture(albumartist=u'artist', album=u'album')
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1288, in add_album_fixture
> album = super(ImportDuplicateAlbumTest, self).add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_twice_in_import_dir (test_importer.ImportDuplicateAlbumTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1212, in setUp
> self.add_album_fixture(albumartist=u'artist', album=u'album')
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1288, in add_album_fixture
> album = super(ImportDuplicateAlbumTest, self).add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_keep_duplicate (test_importer.ImportDuplicateSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1308, in setUp
> self.add_item_fixture(artist=u'artist', title=u'title',
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1356, in add_item_fixture
> item = self.add_item_fixtures()[0]
> File "/<<PKGBUILDDIR>>/test/helper.py", line 383, in add_item_fixtures
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_remove_duplicate (test_importer.ImportDuplicateSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1308, in setUp
> self.add_item_fixture(artist=u'artist', title=u'title',
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1356, in add_item_fixture
> item = self.add_item_fixtures()[0]
> File "/<<PKGBUILDDIR>>/test/helper.py", line 383, in add_item_fixtures
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_skip_duplicate (test_importer.ImportDuplicateSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1308, in setUp
> self.add_item_fixture(artist=u'artist', title=u'title',
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1356, in add_item_fixture
> item = self.add_item_fixtures()[0]
> File "/<<PKGBUILDDIR>>/test/helper.py", line 383, in add_item_fixtures
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_twice_in_import_dir (test_importer.ImportDuplicateSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1308, in setUp
> self.add_item_fixture(artist=u'artist', title=u'title',
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1356, in add_item_fixture
> item = self.add_item_fixtures()[0]
> File "/<<PKGBUILDDIR>>/test/helper.py", line 383, in add_item_fixtures
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_updated_moves_file (test_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 930, in test_asis_updated_moves_file
> self.setup_importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_updated_without_copy_does_not_move_file (test_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 946, in test_asis_updated_without_copy_does_not_move_file
> self.setup_importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_updates_metadata (test_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 920, in test_asis_updates_metadata
> self.setup_importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_does_not_duplicate_album (test_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 901, in test_does_not_duplicate_album
> self.setup_importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_does_not_duplicate_item (test_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 893, in test_does_not_duplicate_item
> self.setup_importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_does_not_duplicate_singleton_track (test_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 911, in test_does_not_duplicate_singleton_track
> self.setup_importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_outside_file_is_copied (test_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 971, in test_outside_file_is_copied
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_outside_file_is_moved (test_importer.ImportExistingTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 987, in test_outside_file_is_moved
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_one_mbid_one_album (test_importer.ImportMusicBrainzIdTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/mock/mock.py", line 1369, in patched
> return func(*newargs, **newkeywargs)
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1915, in test_one_mbid_one_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_one_mbid_one_singleton (test_importer.ImportMusicBrainzIdTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/mock/mock.py", line 1369, in patched
> return func(*newargs, **newkeywargs)
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1935, in test_one_mbid_one_singleton
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_several_mbid_one_album (test_importer.ImportMusicBrainzIdTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/mock/mock.py", line 1369, in patched
> return func(*newargs, **newkeywargs)
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1926, in test_several_mbid_one_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_several_mbid_one_singleton (test_importer.ImportMusicBrainzIdTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/mock/mock.py", line 1369, in patched
> return func(*newargs, **newkeywargs)
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1946, in test_several_mbid_one_singleton
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_asis_adds_singleton_path (test_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 493, in test_apply_asis_adds_singleton_path
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_asis_adds_track (test_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 479, in test_apply_asis_adds_track
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_asis_does_not_add_album (test_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 486, in test_apply_asis_does_not_add_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_candidate_adds_singleton_path (test_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 512, in test_apply_candidate_adds_singleton_path
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_candidate_adds_track (test_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 500, in test_apply_candidate_adds_track
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_candidate_does_not_add_album (test_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 505, in test_apply_candidate_does_not_add_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_single_files (test_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 541, in test_import_single_files
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_set_fields (test_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 558, in test_set_fields
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_skip_adds_other_tracks (test_importer.ImportSingletonTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 524, in test_skip_adds_other_tracks
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_zip (test_importer.ImportTarTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 428, in test_import_zip
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_asis_adds_album (test_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 597, in test_apply_asis_adds_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_asis_adds_album_path (test_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 610, in test_apply_asis_adds_album_path
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_asis_adds_tracks (test_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 603, in test_apply_asis_adds_tracks
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_candidate_adds_album (test_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 618, in test_apply_candidate_adds_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_candidate_adds_album_path (test_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 632, in test_apply_candidate_adds_album_path
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_candidate_adds_tracks (test_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 625, in test_apply_candidate_adds_tracks
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_from_scratch_keeps_bitrate (test_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 659, in test_apply_from_scratch_keeps_bitrate
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_from_scratch_keeps_format (test_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 651, in test_apply_from_scratch_keeps_format
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_from_scratch_removes_other_metadata (test_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 644, in test_apply_from_scratch_removes_other_metadata
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_with_delete_deletes_import (test_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 681, in test_apply_with_delete_deletes_import
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_with_move_deletes_import (test_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 670, in test_apply_with_move_deletes_import
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asis_no_data_source (test_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 728, in test_asis_no_data_source
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_set_fields (test_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 745, in test_set_fields
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_skip_non_album_dirs (test_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 694, in test_skip_non_album_dirs
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_unmatched_tracks_not_added (test_importer.ImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 701, in test_unmatched_tracks_not_added
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_tracks_adds_singleton_path (test_importer.ImportTracksTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 796, in test_apply_tracks_adds_singleton_path
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_apply_tracks_adds_singleton_track (test_importer.ImportTracksTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 786, in test_apply_tracks_adds_singleton_track
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_zip (test_importer.ImportZipTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 428, in test_import_zip
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_incremental_album (test_importer.IncrementalImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1439, in test_incremental_album
> importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_incremental_item (test_importer.IncrementalImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1454, in test_incremental_item
> importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_invalid_state_file (test_importer.IncrementalImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1470, in test_invalid_state_file
> importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_album_created_with_track_artist (test_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 258, in test_album_created_with_track_artist
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_copy_arrives (test_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 264, in test_import_copy_arrives
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_hardlink_arrives (test_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 362, in test_import_hardlink_arrives
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_link_arrives (test_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 345, in test_import_link_arrives
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_with_delete_prunes_directory_empty (test_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 339, in test_import_with_delete_prunes_directory_empty
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_with_delete_removes_files (test_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 332, in test_import_with_delete_removes_files
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_with_move_deletes_import_files (test_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 284, in test_import_with_move_deletes_import_files
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_with_move_prunes_directory_empty (test_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 292, in test_import_with_move_prunes_directory_empty
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_with_move_prunes_with_extra_clutter (test_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 302, in test_import_with_move_prunes_with_extra_clutter
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_without_delete_retains_files (test_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 325, in test_import_without_delete_retains_files
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_threaded_import_copy_arrives (test_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 273, in test_threaded_import_copy_arrives
> self.importer.run()
> File "../beets/importer.py", line 329, in run
> pl.run_parallel(QUEUE_SIZE)
> File "../beets/util/pipeline.py", line 445, in run_parallel
> six.reraise(exc_info[0], exc_info[1], exc_info[2])
> File "/usr/lib/python3/dist-packages/six.py", line 703, in reraise
> raise value
> File "../beets/util/pipeline.py", line 358, in run
> self.coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_threaded_import_move_arrives (test_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 309, in test_threaded_import_move_arrives
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_threaded_import_move_deletes_import (test_importer.NonAutotaggedImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 319, in test_threaded_import_move_deletes_import
> self.importer.run()
> File "../beets/importer.py", line 329, in run
> pl.run_parallel(QUEUE_SIZE)
> File "../beets/util/pipeline.py", line 445, in run_parallel
> six.reraise(exc_info[0], exc_info[1], exc_info[2])
> File "/usr/lib/python3/dist-packages/six.py", line 703, in reraise
> raise value
> File "../beets/util/pipeline.py", line 358, in run
> self.coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_reimported_album_gets_new_metadata (test_importer.ReimportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1653, in setUp
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_reimported_album_preserves_added (test_importer.ReimportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1653, in setUp
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_reimported_album_preserves_flexattr (test_importer.ReimportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1653, in setUp
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_reimported_album_preserves_item_added (test_importer.ReimportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1653, in setUp
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_reimported_album_preserves_item_flexattr (test_importer.ReimportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1653, in setUp
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_reimported_item_gets_new_metadata (test_importer.ReimportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1653, in setUp
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_reimported_item_preserves_added (test_importer.ReimportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1653, in setUp
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_reimported_item_preserves_art (test_importer.ReimportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1653, in setUp
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_reimported_item_preserves_flexattr (test_importer.ReimportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1653, in setUp
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_resume_album (test_importer.ResumeImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/mock/mock.py", line 1369, in patched
> return func(*newargs, **newkeywargs)
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1398, in test_resume_album
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_resume_singleton (test_importer.ResumeImportTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/mock/mock.py", line 1369, in patched
> return func(*newargs, **newkeywargs)
> File "/<<PKGBUILDDIR>>/test/test_importer.py", line 1419, in test_resume_singleton
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_album_with_added_dates (test_importadded.ImportAddedTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importadded.py", line 90, in test_import_album_with_added_dates
> self.assertAlbumImport()
> File "/<<PKGBUILDDIR>>/test/test_importadded.py", line 83, in assertAlbumImport
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_album_with_preserved_mtimes (test_importadded.ImportAddedTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importadded.py", line 101, in test_import_album_with_preserved_mtimes
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_singletons_with_added_dates (test_importadded.ImportAddedTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importadded.py", line 135, in test_import_singletons_with_added_dates
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_singletons_with_preserved_mtimes (test_importadded.ImportAddedTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importadded.py", line 143, in test_import_singletons_with_preserved_mtimes
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_reimported_album_skipped (test_importadded.ImportAddedTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importadded.py", line 113, in test_reimported_album_skipped
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_reimported_singletons_skipped (test_importadded.ImportAddedTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_importadded.py", line 154, in test_reimported_singletons_skipped
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_root_logger_levels (test_logging.ConcurrentEventsTest)
> Root logger level should be shared between threads.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_logging.py", line 279, in test_root_logger_levels
> importer.run()
> File "../beets/importer.py", line 329, in run
> pl.run_parallel(QUEUE_SIZE)
> File "../beets/util/pipeline.py", line 445, in run_parallel
> six.reraise(exc_info[0], exc_info[1], exc_info[2])
> File "/usr/lib/python3/dist-packages/six.py", line 703, in reraise
> raise value
> File "../beets/util/pipeline.py", line 358, in run
> self.coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_stage_level0 (test_logging.LoggingLevelTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_logging.py", line 144, in test_import_stage_level0
> importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_stage_level1 (test_logging.LoggingLevelTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_logging.py", line 153, in test_import_stage_level1
> importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_stage_level2 (test_logging.LoggingLevelTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_logging.py", line 162, in test_import_stage_level2
> importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_pretend_sync_from_itunes (test_metasync.MetaSyncTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_metasync.py", line 95, in test_pretend_sync_from_itunes
> out = self.run_with_output('metasync', '-p')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 465, in run_with_output
> self.run_command(*args)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1253, in _raw_main
> subcommand.func(lib, suboptions, subargs)
> File "/<<PKGBUILDDIR>>/beetsplug/metasync/__init__.py", line 138, in func
> changed = ui.show_model_changes(item)
> File "../beets/ui/__init__.py", line 732, in show_model_changes
> print_(format(old))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_sync_from_itunes (test_metasync.MetaSyncTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_metasync.py", line 106, in test_sync_from_itunes
> self.run_command('metasync')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1253, in _raw_main
> subcommand.func(lib, suboptions, subargs)
> File "/<<PKGBUILDDIR>>/beetsplug/metasync/__init__.py", line 138, in func
> changed = ui.show_model_changes(item)
> File "../beets/ui/__init__.py", line 732, in show_model_changes
> print_(format(old))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_failing_to_set_permissions (test_permissions.PermissionsPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/mock/mock.py", line 1369, in patched
> return func(*newargs, **newkeywargs)
> File "/<<PKGBUILDDIR>>/test/test_permissions.py", line 41, in test_failing_to_set_permissions
> self.do_thing(False)
> File "/<<PKGBUILDDIR>>/test/test_permissions.py", line 60, in do_thing
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_permissions_on_album_imported (test_permissions.PermissionsPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_permissions.py", line 33, in test_permissions_on_album_imported
> self.do_thing(True)
> File "/<<PKGBUILDDIR>>/test/test_permissions.py", line 60, in do_thing
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_permissions_on_item_imported (test_permissions.PermissionsPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_permissions.py", line 37, in test_permissions_on_item_imported
> self.do_thing(True)
> File "/<<PKGBUILDDIR>>/test/test_permissions.py", line 60, in do_thing
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_get_item (test_mpdstats.MPDStatsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_mpdstats.py", line 54, in test_get_item
> self.assertEqual(str(mpdstats.get_item(item_path)), str(item))
> File "../beets/library.py", line 365, in __str__
> return format(self)
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_album_item (test_vfs.VFSTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_vfs.py", line 34, in setUp
> self.tree = vfs.libtree(self.lib)
> File "../beets/vfs.py", line 50, in libtree
> dest = item.destination(fragment=True)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_singleton_item (test_vfs.VFSTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_vfs.py", line 34, in setUp
> self.tree = vfs.libtree(self.lib)
> File "../beets/vfs.py", line 50, in libtree
> dest = item.destination(fragment=True)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_convert (test_convert.ConvertCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_convert.py", line 148, in setUp
> self.album = self.add_album_fixture(ext='ogg')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_convert_keep_new (test_convert.ConvertCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_convert.py", line 148, in setUp
> self.album = self.add_album_fixture(ext='ogg')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_convert_with_auto_confirmation (test_convert.ConvertCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_convert.py", line 148, in setUp
> self.album = self.add_album_fixture(ext='ogg')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_embed_album_art (test_convert.ConvertCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_convert.py", line 148, in setUp
> self.album = self.add_album_fixture(ext='ogg')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_empty_query (test_convert.ConvertCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_convert.py", line 148, in setUp
> self.album = self.add_album_fixture(ext='ogg')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_format_option (test_convert.ConvertCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_convert.py", line 148, in setUp
> self.album = self.add_album_fixture(ext='ogg')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_pretend (test_convert.ConvertCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_convert.py", line 148, in setUp
> self.album = self.add_album_fixture(ext='ogg')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_reject_confirmation (test_convert.ConvertCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_convert.py", line 148, in setUp
> self.album = self.add_album_fixture(ext='ogg')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_skip_existing (test_convert.ConvertCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_convert.py", line 148, in setUp
> self.album = self.add_album_fixture(ext='ogg')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_converted (test_convert.ImportConvertTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_convert.py", line 111, in test_import_converted
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_import_original_on_convert_error (test_convert.ImportConvertTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_convert.py", line 118, in test_import_original_on_convert_error
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_transcode_from_lossles (test_convert.NeverConvertLossyFilesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_convert.py", line 262, in test_transcode_from_lossles
> [item] = self.add_item_fixtures(ext='flac')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 383, in add_item_fixtures
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_transcode_from_lossy (test_convert.NeverConvertLossyFilesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_convert.py", line 270, in test_transcode_from_lossy
> [item] = self.add_item_fixtures(ext='ogg')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 383, in add_item_fixtures
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_transcode_from_lossy_prevented (test_convert.NeverConvertLossyFilesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_convert.py", line 277, in test_transcode_from_lossy_prevented
> [item] = self.add_item_fixtures(ext='ogg')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 383, in add_item_fixtures
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_function_call (test_template.EvalTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 261, in test_function_call
> self.assertEqual(self._eval(u"%lower{FOO}"), u"foo")
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 246, in _eval
> return functemplate.Template(template).substitute(values, functions)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_function_call_exception (test_template.EvalTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 273, in test_function_call_exception
> res = self._eval(u"%lower{a,b,c,d,e}")
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 246, in _eval
> return functemplate.Template(template).substitute(values, functions)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_function_call_with_empty_arg (test_template.EvalTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 286, in test_function_call_with_empty_arg
> self.assertEqual(self._eval(u"%len{}"), u"0")
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 246, in _eval
> return functemplate.Template(template).substitute(values, functions)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_function_call_with_text (test_template.EvalTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 264, in test_function_call_with_text
> self.assertEqual(self._eval(u"A %lower{FOO} B"), u"A foo B")
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 246, in _eval
> return functemplate.Template(template).substitute(values, functions)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_function_returning_integer (test_template.EvalTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 277, in test_function_returning_integer
> self.assertEqual(self._eval(u"%len{foo}"), u"3")
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 246, in _eval
> return functemplate.Template(template).substitute(values, functions)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_nested_function_call (test_template.EvalTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 267, in test_nested_function_call
> self.assertEqual(self._eval(u"%lower{%lower{FOO}}"), u"foo")
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 246, in _eval
> return functemplate.Template(template).substitute(values, functions)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_not_subtitute_undefined_func (test_template.EvalTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 280, in test_not_subtitute_undefined_func
> self.assertEqual(self._eval(u"%bar{}"), u"%bar{}")
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 246, in _eval
> return functemplate.Template(template).substitute(values, functions)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_not_subtitute_undefined_value (test_template.EvalTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 258, in test_not_subtitute_undefined_value
> self.assertEqual(self._eval(u"$bar"), u"$bar")
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 246, in _eval
> return functemplate.Template(template).substitute(values, functions)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_subtitute_value (test_template.EvalTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 252, in test_subtitute_value
> self.assertEqual(self._eval(u"$foo"), u"bar")
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 246, in _eval
> return functemplate.Template(template).substitute(values, functions)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_subtitute_value_in_text (test_template.EvalTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 255, in test_subtitute_value_in_text
> self.assertEqual(self._eval(u"hello $foo world"), u"hello bar world")
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 246, in _eval
> return functemplate.Template(template).substitute(values, functions)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_symbol_in_argument (test_template.EvalTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 270, in test_symbol_in_argument
> self.assertEqual(self._eval(u"%lower{$baz}"), u"bar")
> File "/<<PKGBUILDDIR>>/test/test_template.py", line 246, in _eval
> return functemplate.Template(template).substitute(values, functions)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_flex_parse_0 (test_query.BoolQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_query.py", line 719, in test_flex_parse_0
> item_true = self.add_item(flexbool=True)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_flex_parse_1 (test_query.BoolQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_query.py", line 712, in test_flex_parse_1
> item_true = self.add_item(flexbool=True)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_flex_parse_any_string (test_query.BoolQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_query.py", line 727, in test_flex_parse_any_string
> item_true = self.add_item(flexbool=True)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_flex_parse_false (test_query.BoolQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_query.py", line 705, in test_flex_parse_false
> item_true = self.add_item(flexbool=True)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_flex_parse_true (test_query.BoolQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_query.py", line 698, in test_flex_parse_true
> item_true = self.add_item(flexbool=True)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_parse_true (test_query.BoolQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_query.py", line 691, in test_parse_true
> item_true = self.add_item(comp=True)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_exact_value_match (test_query.IntQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_query.py", line 651, in test_exact_value_match
> item = self.add_item(bpm=120)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_flex_dont_match_missing (test_query.IntQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_query.py", line 671, in test_flex_dont_match_missing
> self.add_item()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_flex_range_match (test_query.IntQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_query.py", line 665, in test_flex_range_match
> item = self.add_item(myint=2)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_no_substring_match (test_query.IntQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_query.py", line 676, in test_no_substring_match
> self.add_item(bpm=120)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_range_match (test_query.IntQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_query.py", line 656, in test_range_match
> item = self.add_item(bpm=120)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_match_after_set_none (test_query.NoneQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_query.py", line 766, in test_match_after_set_none
> item = self.add_item(rg_track_gain=0)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_match_singletons (test_query.NoneQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_query.py", line 758, in test_match_singletons
> singleton = self.add_item()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_splupdate (test_smartplaylist.SmartPlaylistCLITest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_smartplaylist.py", line 191, in setUp
> self.item = self.add_item()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_collect_item_and_path (test_info.InfoTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_info.py", line 78, in test_collect_item_and_path
> item, = self.add_item_fixtures()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 383, in add_item_fixtures
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_custom_format (test_info.InfoTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_info.py", line 107, in test_custom_format
> self.add_item_fixtures()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 383, in add_item_fixtures
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_include_pattern (test_info.InfoTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_info.py", line 96, in test_include_pattern
> item, = self.add_item_fixtures()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 383, in add_item_fixtures
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_item_library_query (test_info.InfoTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_info.py", line 67, in test_item_library_query
> item, = self.add_item_fixtures()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 383, in add_item_fixtures
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_item_query (test_info.InfoTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_info.py", line 54, in test_item_query
> item1, item2 = self.add_item_fixtures(count=2)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 383, in add_item_fixtures
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_filesystem_does_not_pick_up_folder (test_fetchart.FetchartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_fetchart.py", line 33, in setUp
> self.album = self.add_album()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 367, in add_album
> item = self.add_item(**values)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_filesystem_does_not_pick_up_hidden_file (test_fetchart.FetchartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_fetchart.py", line 33, in setUp
> self.album = self.add_album()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 367, in add_album
> item = self.add_item(**values)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_filesystem_does_not_pick_up_ignored_file (test_fetchart.FetchartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_fetchart.py", line 33, in setUp
> self.album = self.add_album()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 367, in add_album
> item = self.add_item(**values)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_filesystem_picks_up_hidden_file (test_fetchart.FetchartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_fetchart.py", line 33, in setUp
> self.album = self.add_album()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 367, in add_album
> item = self.add_item(**values)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_filesystem_picks_up_non_hidden_file (test_fetchart.FetchartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_fetchart.py", line 33, in setUp
> self.album = self.add_album()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 367, in add_album
> item = self.add_item(**values)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_filesystem_picks_up_non_ignored_file (test_fetchart.FetchartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_fetchart.py", line 33, in setUp
> self.album = self.add_album()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 367, in add_album
> item = self.add_item(**values)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_set_art_from_folder (test_fetchart.FetchartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_fetchart.py", line 33, in setUp
> self.album = self.add_album()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 367, in add_album
> item = self.add_item(**values)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_base (test_ui.CommonOptionsParserCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 1238, in test_base
> l = self.run_with_output(u'ls')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 465, in run_with_output
> self.run_command(*args)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1253, in _raw_main
> subcommand.func(lib, suboptions, subargs)
> File "../beets/ui/commands.py", line 1071, in list_func
> list_items(lib, decargs(args), opts.album)
> File "../beets/ui/commands.py", line 1067, in list_items
> ui.print_(format(item, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_format_option (test_ui.CommonOptionsParserCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 1252, in test_format_option
> l = self.run_with_output(u'ls', u'-f', u'$artist')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 465, in run_with_output
> self.run_command(*args)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1253, in _raw_main
> subcommand.func(lib, suboptions, subargs)
> File "../beets/ui/commands.py", line 1071, in list_func
> list_items(lib, decargs(args), opts.album)
> File "../beets/ui/commands.py", line 1067, in list_items
> ui.print_(format(item, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_path_option (test_ui.CommonOptionsParserCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 1245, in test_path_option
> l = self.run_with_output(u'ls', u'-p')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 465, in run_with_output
> self.run_command(*args)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1253, in _raw_main
> subcommand.func(lib, suboptions, subargs)
> File "../beets/ui/commands.py", line 1071, in list_func
> list_items(lib, decargs(args), opts.album)
> File "../beets/ui/commands.py", line 1067, in list_items
> ui.print_(format(item, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_root_format_option (test_ui.CommonOptionsParserCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 1264, in test_root_format_option
> l = self.run_with_output(u'--format-item', u'$artist',
> File "/<<PKGBUILDDIR>>/test/helper.py", line 465, in run_with_output
> self.run_command(*args)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1253, in _raw_main
> subcommand.func(lib, suboptions, subargs)
> File "../beets/ui/commands.py", line 1071, in list_func
> list_items(lib, decargs(args), opts.album)
> File "../beets/ui/commands.py", line 1067, in list_items
> ui.print_(format(item, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cli_config_file_loads_plugin_commands (test_ui.ConfigTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 933, in test_cli_config_file_loads_plugin_commands
> self.run_command('--config', cli_config_path, 'plugin', lib=None)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1249, in _raw_main
> subcommands, plugins, lib = _setup(options, lib)
> File "../beets/ui/__init__.py", line 1144, in _setup
> lib = _open_library(config)
> File "../beets/ui/__init__.py", line 1201, in _open_library
> get_path_formats(),
> File "../beets/ui/__init__.py", line 619, in get_path_formats
> path_formats.append((query, template(view.as_str())))
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cli_config_file_overwrites_beetsdir_defaults (test_ui.ConfigTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 851, in test_cli_config_file_overwrites_beetsdir_defaults
> self.run_command('--config', cli_config_path, 'test', lib=None)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1249, in _raw_main
> subcommands, plugins, lib = _setup(options, lib)
> File "../beets/ui/__init__.py", line 1144, in _setup
> lib = _open_library(config)
> File "../beets/ui/__init__.py", line 1201, in _open_library
> get_path_formats(),
> File "../beets/ui/__init__.py", line 619, in get_path_formats
> path_formats.append((query, template(view.as_str())))
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cli_config_file_overwrites_user_defaults (test_ui.ConfigTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 839, in test_cli_config_file_overwrites_user_defaults
> self.run_command('--config', cli_config_path, 'test', lib=None)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1249, in _raw_main
> subcommands, plugins, lib = _setup(options, lib)
> File "../beets/ui/__init__.py", line 1144, in _setup
> lib = _open_library(config)
> File "../beets/ui/__init__.py", line 1201, in _open_library
> get_path_formats(),
> File "../beets/ui/__init__.py", line 619, in get_path_formats
> path_formats.append((query, template(view.as_str())))
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cli_config_option (test_ui.ConfigTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 829, in test_cli_config_option
> self.run_command('--config', config_path, 'test', lib=None)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1249, in _raw_main
> subcommands, plugins, lib = _setup(options, lib)
> File "../beets/ui/__init__.py", line 1144, in _setup
> lib = _open_library(config)
> File "../beets/ui/__init__.py", line 1201, in _open_library
> get_path_formats(),
> File "../beets/ui/__init__.py", line 619, in get_path_formats
> path_formats.append((query, template(view.as_str())))
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cli_config_paths_resolve_relative_to_beetsdir (test_ui.ConfigTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 910, in test_cli_config_paths_resolve_relative_to_beetsdir
> self.run_command('--config', cli_config_path, 'test', lib=None)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1249, in _raw_main
> subcommands, plugins, lib = _setup(options, lib)
> File "../beets/ui/__init__.py", line 1144, in _setup
> lib = _open_library(config)
> File "../beets/ui/__init__.py", line 1201, in _open_library
> get_path_formats(),
> File "../beets/ui/__init__.py", line 619, in get_path_formats
> path_formats.append((query, template(view.as_str())))
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cli_config_paths_resolve_relative_to_user_dir (test_ui.ConfigTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 892, in test_cli_config_paths_resolve_relative_to_user_dir
> self.run_command('--config', cli_config_path, 'test', lib=None)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1249, in _raw_main
> subcommands, plugins, lib = _setup(options, lib)
> File "../beets/ui/__init__.py", line 1144, in _setup
> lib = _open_library(config)
> File "../beets/ui/__init__.py", line 1201, in _open_library
> get_path_formats(),
> File "../beets/ui/__init__.py", line 619, in get_path_formats
> path_formats.append((query, template(view.as_str())))
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_default_paths_preserved (test_ui.ConfigTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 779, in test_default_paths_preserved
> default_formats = ui.get_path_formats()
> File "../beets/ui/__init__.py", line 619, in get_path_formats
> path_formats.append((query, template(view.as_str())))
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_multiple_replacements_parsed (test_ui.ConfigTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 817, in test_multiple_replacements_parsed
> self.run_command('test', lib=None)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1249, in _raw_main
> subcommands, plugins, lib = _setup(options, lib)
> File "../beets/ui/__init__.py", line 1144, in _setup
> lib = _open_library(config)
> File "../beets/ui/__init__.py", line 1201, in _open_library
> get_path_formats(),
> File "../beets/ui/__init__.py", line 619, in get_path_formats
> path_formats.append((query, template(view.as_str())))
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_nonexistant_db (test_ui.ConfigTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 796, in test_nonexistant_db
> self.run_command('test', lib=None)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1249, in _raw_main
> subcommands, plugins, lib = _setup(options, lib)
> File "../beets/ui/__init__.py", line 1144, in _setup
> lib = _open_library(config)
> File "../beets/ui/__init__.py", line 1201, in _open_library
> get_path_formats(),
> File "../beets/ui/__init__.py", line 619, in get_path_formats
> path_formats.append((query, template(view.as_str())))
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_paths_section_respected (test_ui.ConfigTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 773, in test_paths_section_respected
> self.run_command('test', lib=None)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1249, in _raw_main
> subcommands, plugins, lib = _setup(options, lib)
> File "../beets/ui/__init__.py", line 1144, in _setup
> lib = _open_library(config)
> File "../beets/ui/__init__.py", line 1201, in _open_library
> get_path_formats(),
> File "../beets/ui/__init__.py", line 619, in get_path_formats
> path_formats.append((query, template(view.as_str())))
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_replacements_parsed (test_ui.ConfigTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 809, in test_replacements_parsed
> self.run_command('test', lib=None)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1249, in _raw_main
> subcommands, plugins, lib = _setup(options, lib)
> File "../beets/ui/__init__.py", line 1144, in _setup
> lib = _open_library(config)
> File "../beets/ui/__init__.py", line 1201, in _open_library
> get_path_formats(),
> File "../beets/ui/__init__.py", line 619, in get_path_formats
> path_formats.append((query, template(view.as_str())))
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_user_config_file (test_ui.ConfigTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 802, in test_user_config_file
> self.run_command('test', lib=None)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1249, in _raw_main
> subcommands, plugins, lib = _setup(options, lib)
> File "../beets/ui/__init__.py", line 1144, in _setup
> lib = _open_library(config)
> File "../beets/ui/__init__.py", line 1201, in _open_library
> get_path_formats(),
> File "../beets/ui/__init__.py", line 619, in get_path_formats
> path_formats.append((query, template(view.as_str())))
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_list_album_format (test_ui.ListTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 110, in test_list_album_format
> stdout = self._run_list(album=True, fmt=u'$genre')
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 56, in _run_list
> commands.list_items(self.lib, query, album, fmt)
> File "../beets/ui/commands.py", line 1064, in list_items
> ui.print_(format(album, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_list_album_omits_title (test_ui.ListTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 87, in test_list_album_omits_title
> stdout = self._run_list(album=True)
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 56, in _run_list
> commands.list_items(self.lib, query, album, fmt)
> File "../beets/ui/commands.py", line 1064, in list_items
> ui.print_(format(album, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_list_album_outputs_something (test_ui.ListTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 79, in test_list_album_outputs_something
> stdout = self._run_list(album=True)
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 56, in _run_list
> commands.list_items(self.lib, query, album, fmt)
> File "../beets/ui/commands.py", line 1064, in list_items
> ui.print_(format(album, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_list_album_path (test_ui.ListTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 83, in test_list_album_path
> stdout = self._run_list(album=True, fmt=u'$path')
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 56, in _run_list
> commands.list_items(self.lib, query, album, fmt)
> File "../beets/ui/commands.py", line 1064, in list_items
> ui.print_(format(album, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_list_album_uses_album_artist (test_ui.ListTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 96, in test_list_album_uses_album_artist
> stdout = self._run_list(album=True)
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 56, in _run_list
> commands.list_items(self.lib, query, album, fmt)
> File "../beets/ui/commands.py", line 1064, in list_items
> ui.print_(format(album, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_list_item_format_artist (test_ui.ListTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 101, in test_list_item_format_artist
> stdout = self._run_list(fmt=u'$artist')
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 56, in _run_list
> commands.list_items(self.lib, query, album, fmt)
> File "../beets/ui/commands.py", line 1067, in list_items
> ui.print_(format(item, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_list_item_format_multiple (test_ui.ListTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 105, in test_list_item_format_multiple
> stdout = self._run_list(fmt=u'$artist - $album - $year')
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 56, in _run_list
> commands.list_items(self.lib, query, album, fmt)
> File "../beets/ui/commands.py", line 1067, in list_items
> ui.print_(format(item, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_list_item_path (test_ui.ListTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 75, in test_list_item_path
> stdout = self._run_list(fmt=u'$path')
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 56, in _run_list
> commands.list_items(self.lib, query, album, fmt)
> File "../beets/ui/commands.py", line 1067, in list_items
> ui.print_(format(item, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_list_outputs_item (test_ui.ListTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 60, in test_list_outputs_item
> stdout = self._run_list()
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 56, in _run_list
> commands.list_items(self.lib, query, album, fmt)
> File "../beets/ui/commands.py", line 1067, in list_items
> ui.print_(format(item, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_list_unicode_query (test_ui.ListTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 68, in test_list_unicode_query
> stdout = self._run_list([u'na\xefve'])
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 56, in _run_list
> commands.list_items(self.lib, query, album, fmt)
> File "../beets/ui/commands.py", line 1067, in list_items
> ui.print_(format(item, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_list_uses_track_artist (test_ui.ListTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 91, in test_list_uses_track_artist
> stdout = self._run_list()
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 56, in _run_list
> commands.list_items(self.lib, query, album, fmt)
> File "../beets/ui/commands.py", line 1067, in list_items
> ui.print_(format(item, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_album_move (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_album_not_move (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_arg_parsing_colon_query (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_arg_parsing_delete (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_arg_parsing_equals_in_value (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_arg_parsing_query_with_exclaimation (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_modify_album (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_modify_album_dont_write_tags (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_modify_album_write_tags (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_modify_dont_write_tags (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_modify_item (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_modify_item_abort (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_modify_item_no_change (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_modify_write_tags (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_move (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_no_write_no_move (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_not_move (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_remove_flexattr (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_reset_mtime_with_no_write (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_selective_modify (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_set_flexattr (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_update_mtime (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_write_initial_key_tag (test_ui.ModifyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 162, in setUp
> self.album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_copy_album (test_ui.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 450, in test_copy_album
> self._move(copy=True, album=True)
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 425, in _move
> commands.move_items(self.lib, dest, query, copy, album, pretend,
> File "../beets/ui/commands.py", line 1498, in move_items
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1498, in <listcomp>
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1497, in <lambda>
> isalbummoved = lambda album: any(isitemmoved(i) for i in album.items())
> File "../beets/ui/commands.py", line 1497, in <genexpr>
> isalbummoved = lambda album: any(isitemmoved(i) for i in album.items())
> File "../beets/ui/commands.py", line 1496, in <lambda>
> isitemmoved = lambda item: item.path != item.destination(basedir=dest)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_copy_item (test_ui.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 436, in test_copy_item
> self._move(copy=True)
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 425, in _move
> commands.move_items(self.lib, dest, query, copy, album, pretend,
> File "../beets/ui/commands.py", line 1498, in move_items
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1498, in <listcomp>
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1496, in <lambda>
> isitemmoved = lambda item: item.path != item.destination(basedir=dest)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_export_album_custom_dir (test_ui.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 487, in test_export_album_custom_dir
> self._move(dest=self.otherdir, album=True, export=True)
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 425, in _move
> commands.move_items(self.lib, dest, query, copy, album, pretend,
> File "../beets/ui/commands.py", line 1498, in move_items
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1498, in <listcomp>
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1497, in <lambda>
> isalbummoved = lambda album: any(isitemmoved(i) for i in album.items())
> File "../beets/ui/commands.py", line 1497, in <genexpr>
> isalbummoved = lambda album: any(isitemmoved(i) for i in album.items())
> File "../beets/ui/commands.py", line 1496, in <lambda>
> isitemmoved = lambda item: item.path != item.destination(basedir=dest)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_export_item_custom_dir (test_ui.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 481, in test_export_item_custom_dir
> self._move(dest=self.otherdir, export=True)
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 425, in _move
> commands.move_items(self.lib, dest, query, copy, album, pretend,
> File "../beets/ui/commands.py", line 1498, in move_items
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1498, in <listcomp>
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1496, in <lambda>
> isitemmoved = lambda item: item.path != item.destination(basedir=dest)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_move_album (test_ui.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 443, in test_move_album
> self._move(album=True)
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 425, in _move
> commands.move_items(self.lib, dest, query, copy, album, pretend,
> File "../beets/ui/commands.py", line 1498, in move_items
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1498, in <listcomp>
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1497, in <lambda>
> isalbummoved = lambda album: any(isitemmoved(i) for i in album.items())
> File "../beets/ui/commands.py", line 1497, in <genexpr>
> isalbummoved = lambda album: any(isitemmoved(i) for i in album.items())
> File "../beets/ui/commands.py", line 1496, in <lambda>
> isitemmoved = lambda item: item.path != item.destination(basedir=dest)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_move_album_custom_dir (test_ui.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 464, in test_move_album_custom_dir
> self._move(dest=self.otherdir, album=True)
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 425, in _move
> commands.move_items(self.lib, dest, query, copy, album, pretend,
> File "../beets/ui/commands.py", line 1498, in move_items
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1498, in <listcomp>
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1497, in <lambda>
> isalbummoved = lambda album: any(isitemmoved(i) for i in album.items())
> File "../beets/ui/commands.py", line 1497, in <genexpr>
> isalbummoved = lambda album: any(isitemmoved(i) for i in album.items())
> File "../beets/ui/commands.py", line 1496, in <lambda>
> isitemmoved = lambda item: item.path != item.destination(basedir=dest)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_move_item (test_ui.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 429, in test_move_item
> self._move()
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 425, in _move
> commands.move_items(self.lib, dest, query, copy, album, pretend,
> File "../beets/ui/commands.py", line 1498, in move_items
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1498, in <listcomp>
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1496, in <lambda>
> isitemmoved = lambda item: item.path != item.destination(basedir=dest)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_move_item_custom_dir (test_ui.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 457, in test_move_item_custom_dir
> self._move(dest=self.otherdir)
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 425, in _move
> commands.move_items(self.lib, dest, query, copy, album, pretend,
> File "../beets/ui/commands.py", line 1498, in move_items
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1498, in <listcomp>
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1496, in <lambda>
> isitemmoved = lambda item: item.path != item.destination(basedir=dest)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_pretend_export_item (test_ui.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 493, in test_pretend_export_item
> self._move(dest=self.otherdir, pretend=True, export=True)
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 425, in _move
> commands.move_items(self.lib, dest, query, copy, album, pretend,
> File "../beets/ui/commands.py", line 1498, in move_items
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1498, in <listcomp>
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1496, in <lambda>
> isitemmoved = lambda item: item.path != item.destination(basedir=dest)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_pretend_move_album (test_ui.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 476, in test_pretend_move_album
> self._move(album=True, pretend=True)
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 425, in _move
> commands.move_items(self.lib, dest, query, copy, album, pretend,
> File "../beets/ui/commands.py", line 1498, in move_items
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1498, in <listcomp>
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1497, in <lambda>
> isalbummoved = lambda album: any(isitemmoved(i) for i in album.items())
> File "../beets/ui/commands.py", line 1497, in <genexpr>
> isalbummoved = lambda album: any(isitemmoved(i) for i in album.items())
> File "../beets/ui/commands.py", line 1496, in <lambda>
> isitemmoved = lambda item: item.path != item.destination(basedir=dest)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_pretend_move_item (test_ui.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 471, in test_pretend_move_item
> self._move(dest=self.otherdir, pretend=True)
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 425, in _move
> commands.move_items(self.lib, dest, query, copy, album, pretend,
> File "../beets/ui/commands.py", line 1498, in move_items
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1498, in <listcomp>
> objs = [o for o in objs if (isalbummoved if album else isitemmoved)(o)]
> File "../beets/ui/commands.py", line 1496, in <lambda>
> isitemmoved = lambda item: item.path != item.destination(basedir=dest)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_custom_paths_prepend (test_ui.PathFormatTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 1153, in test_custom_paths_prepend
> default_formats = ui.get_path_formats()
> File "../beets/ui/__init__.py", line 619, in get_path_formats
> path_formats.append((query, template(view.as_str())))
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_plugin_command_from_pluginpath (test_ui.PluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 1168, in test_plugin_command_from_pluginpath
> self.run_command('test', lib=None)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1249, in _raw_main
> subcommands, plugins, lib = _setup(options, lib)
> File "../beets/ui/__init__.py", line 1144, in _setup
> lib = _open_library(config)
> File "../beets/ui/__init__.py", line 1201, in _open_library
> get_path_formats(),
> File "../beets/ui/__init__.py", line 619, in get_path_formats
> path_formats.append((query, template(view.as_str())))
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_remove_items_no_delete (test_ui.RemoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 129, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_remove_items_with_delete (test_ui.RemoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 129, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_remove_items_with_force_delete (test_ui.RemoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 129, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_remove_items_with_force_no_delete (test_ui.RemoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 129, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_both_values_shown (test_ui.ShowModelChangeTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 1040, in test_both_values_shown
> change, out = self._show()
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 1002, in _show
> change = ui.show_model_changes(self.a, self.b, **kwargs)
> File "../beets/ui/__init__.py", line 732, in show_model_changes
> print_(format(old))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_floats_different (test_ui.ShowModelChangeTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 1033, in test_floats_different
> change, out = self._show()
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 1002, in _show
> change = ui.show_model_changes(self.a, self.b, **kwargs)
> File "../beets/ui/__init__.py", line 732, in show_model_changes
> print_(format(old))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_int_fixed_field_change (test_ui.ShowModelChangeTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 1019, in test_int_fixed_field_change
> change, out = self._show()
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 1002, in _show
> change = ui.show_model_changes(self.a, self.b, **kwargs)
> File "../beets/ui/__init__.py", line 732, in show_model_changes
> print_(format(old))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_string_fixed_field_change (test_ui.ShowModelChangeTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 1013, in test_string_fixed_field_change
> change, out = self._show()
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 1002, in _show
> change = ui.show_model_changes(self.a, self.b, **kwargs)
> File "../beets/ui/__init__.py", line 732, in show_model_changes
> print_(format(old))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_delete_removes_album (test_ui.UpdateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 515, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_delete_removes_album_art (test_ui.UpdateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 515, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_delete_removes_item (test_ui.UpdateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 515, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_modified_album_metadata_art_moved (test_ui.UpdateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 515, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_modified_album_metadata_moved (test_ui.UpdateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 515, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_modified_metadata_detected (test_ui.UpdateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 515, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_modified_metadata_moved (test_ui.UpdateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 515, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_modified_metadata_not_moved (test_ui.UpdateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 515, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_mtime_match_skips_update (test_ui.UpdateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 515, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_selective_modified_album_metadata_moved (test_ui.UpdateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 515, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_selective_modified_album_metadata_not_moved (test_ui.UpdateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 515, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_selective_modified_metadata_moved (test_ui.UpdateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 515, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_selective_modified_metadata_not_moved (test_ui.UpdateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 515, in setUp
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_non_metadata_field_unchanged (test_ui.WriteTest)
> Changing a non-"tag" field like `bitrate` and writing should
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 377, in test_non_metadata_field_unchanged
> item = self.add_item_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_update_mtime (test_ui.WriteTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 361, in test_update_mtime
> item = self.add_item_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_write_metadata_field (test_ui.WriteTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_ui.py", line 389, in test_write_metadata_field
> item = self.add_item_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_message_when_invalid (test_mbsync.MbsyncCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_mbsync.py", line 156, in test_message_when_invalid
> self.run_command('mbsync')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1253, in _raw_main
> subcommand.func(lib, suboptions, subargs)
> File "/<<PKGBUILDDIR>>/beetsplug/mbsync.py", line 76, in func
> self.albums(lib, query, move, pretend, write)
> File "/<<PKGBUILDDIR>>/beetsplug/mbsync.py", line 114, in albums
> album_formatted = format(a)
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_message_when_skipping (test_mbsync.MbsyncCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_mbsync.py", line 100, in test_message_when_skipping
> self.run_command('mbsync')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1253, in _raw_main
> subcommand.func(lib, suboptions, subargs)
> File "/<<PKGBUILDDIR>>/beetsplug/mbsync.py", line 76, in func
> self.albums(lib, query, move, pretend, write)
> File "/<<PKGBUILDDIR>>/beetsplug/mbsync.py", line 114, in albums
> album_formatted = format(a)
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_update_library (test_mbsync.MbsyncCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/mock/mock.py", line 1369, in patched
> return func(*newargs, **newkeywargs)
> File "/<<PKGBUILDDIR>>/test/test_mbsync.py", line 69, in test_update_library
> self.run_command('mbsync')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 461, in run_command
> beets.ui._raw_main(_convert_args(list(args)), lib)
> File "../beets/ui/__init__.py", line 1253, in _raw_main
> subcommand.func(lib, suboptions, subargs)
> File "/<<PKGBUILDDIR>>/beetsplug/mbsync.py", line 75, in func
> self.singletons(lib, query, move, pretend, write)
> File "/<<PKGBUILDDIR>>/beetsplug/mbsync.py", line 83, in singletons
> item_formatted = format(item)
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_add_key_on_import (test_keyfinder.KeyFinderTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/mock/mock.py", line 1369, in patched
> return func(*newargs, **newkeywargs)
> File "/<<PKGBUILDDIR>>/test/test_keyfinder.py", line 52, in test_add_key_on_import
> importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_a_album_edit_apply (test_edit.EditCommandTest)
> Album query (-a), edit album field, apply changes.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 124, in setUp
> self.album = self.add_album_fixture(track_count=self.TRACK_COUNT)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_a_albumartist_edit_apply (test_edit.EditCommandTest)
> Album query (-a), edit albumartist field, apply changes.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 124, in setUp
> self.album = self.add_album_fixture(track_count=self.TRACK_COUNT)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_album_edit_apply (test_edit.EditCommandTest)
> Edit the album field for all items in the library, apply changes.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 124, in setUp
> self.album = self.add_album_fixture(track_count=self.TRACK_COUNT)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_invalid_yaml (test_edit.EditCommandTest)
> Edit the yaml file incorrectly (resulting in a well-formed but
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 124, in setUp
> self.album = self.add_album_fixture(track_count=self.TRACK_COUNT)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_malformed_yaml (test_edit.EditCommandTest)
> Edit the yaml file incorrectly (resulting in a malformed yaml
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 124, in setUp
> self.album = self.add_album_fixture(track_count=self.TRACK_COUNT)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_noedit (test_edit.EditCommandTest)
> Do not edit anything.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 124, in setUp
> self.album = self.add_album_fixture(track_count=self.TRACK_COUNT)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_single_edit_add_field (test_edit.EditCommandTest)
> Edit the yaml file appending an extra field to the first item, then
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 124, in setUp
> self.album = self.add_album_fixture(track_count=self.TRACK_COUNT)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_single_title_edit_apply (test_edit.EditCommandTest)
> Edit title for one item in the library, then apply changes.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 124, in setUp
> self.album = self.add_album_fixture(track_count=self.TRACK_COUNT)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_title_edit_apply (test_edit.EditCommandTest)
> Edit title for all items in the library, then apply changes.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 124, in setUp
> self.album = self.add_album_fixture(track_count=self.TRACK_COUNT)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_title_edit_discard (test_edit.EditCommandTest)
> Edit title for all items in the library, then discard changes.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 124, in setUp
> self.album = self.add_album_fixture(track_count=self.TRACK_COUNT)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_edit_apply_asis (test_edit.EditDuringImporterTest)
> Edit the album field for all items in the library, apply changes,
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 308, in test_edit_apply_asis
> self.run_mocked_interpreter({'replacements': {u'Tag Title':
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 99, in run_mocked_interpreter
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1375, in user_query
> task.choose_match(session)
> File "../beets/importer.py", line 838, in choose_match
> choice = session.choose_match(self)
> File "/<<PKGBUILDDIR>>/test/test_ui_importer.py", line 50, in choose_match
> return super(TestTerminalImportSession, self).choose_match(task)
> File "../beets/ui/commands.py", line 725, in choose_match
> post_choice = choice.callback(self, task)
> File "/<<PKGBUILDDIR>>/beetsplug/edit.py", line 380, in importer_edit
> fields = self._get_fields(album=False, extra=[])
> File "/<<PKGBUILDDIR>>/beetsplug/edit.py", line 211, in _get_fields
> fields = self.config['itemfields'].as_str_seq()
> File "../beets/util/confit.py", line 418, in as_str_seq
> return self.get(StrSeq(split=split))
> File "../beets/util/confit.py", line 393, in get
> return as_template(template).value(self, template)
> File "../beets/util/confit.py", line 1019, in value
> raise NotFoundError(u"{0} not found".format(view.name))
> beets.util.confit.NotFoundError: edit.itemfields not found
>
> ======================================================================
> ERROR: test_edit_apply_asis_singleton (test_edit.EditDuringImporterTest)
> Edit the album field for all items in the library, apply changes,
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 422, in test_edit_apply_asis_singleton
> self.run_mocked_interpreter({'replacements': {u'Tag Title':
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 99, in run_mocked_interpreter
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1375, in user_query
> task.choose_match(session)
> File "../beets/importer.py", line 928, in choose_match
> choice = session.choose_item(self)
> File "/<<PKGBUILDDIR>>/test/test_ui_importer.py", line 54, in choose_item
> return super(TestTerminalImportSession, self).choose_item(task)
> File "../beets/ui/commands.py", line 767, in choose_item
> post_choice = choice.callback(self, task)
> File "/<<PKGBUILDDIR>>/beetsplug/edit.py", line 381, in importer_edit
> success = self.edit_objects(task.items, fields)
> File "/<<PKGBUILDDIR>>/beetsplug/edit.py", line 290, in edit_objects
> changed |= ui.show_model_changes(obj, obj_old)
> File "../beets/ui/__init__.py", line 732, in show_model_changes
> print_(format(old))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_edit_apply_candidate (test_edit.EditDuringImporterTest)
> Edit the album field for all items in the library, apply changes,
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 352, in test_edit_apply_candidate
> self.run_mocked_interpreter({'replacements': {u'Applied Title':
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 99, in run_mocked_interpreter
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1375, in user_query
> task.choose_match(session)
> File "../beets/importer.py", line 838, in choose_match
> choice = session.choose_match(self)
> File "/<<PKGBUILDDIR>>/test/test_ui_importer.py", line 50, in choose_match
> return super(TestTerminalImportSession, self).choose_match(task)
> File "../beets/ui/commands.py", line 725, in choose_match
> post_choice = choice.callback(self, task)
> File "/<<PKGBUILDDIR>>/beetsplug/edit.py", line 409, in importer_edit_candidate
> return self.importer_edit(session, task)
> File "/<<PKGBUILDDIR>>/beetsplug/edit.py", line 381, in importer_edit
> success = self.edit_objects(task.items, fields)
> File "/<<PKGBUILDDIR>>/beetsplug/edit.py", line 290, in edit_objects
> changed |= ui.show_model_changes(obj, obj_old)
> File "../beets/ui/__init__.py", line 732, in show_model_changes
> print_(format(old))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_edit_apply_candidate_singleton (test_edit.EditDuringImporterTest)
> Edit the album field for all items in the library, apply changes,
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 441, in test_edit_apply_candidate_singleton
> self.run_mocked_interpreter({'replacements': {u'Applied Title':
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 99, in run_mocked_interpreter
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1375, in user_query
> task.choose_match(session)
> File "../beets/importer.py", line 838, in choose_match
> choice = session.choose_match(self)
> File "/<<PKGBUILDDIR>>/test/test_ui_importer.py", line 50, in choose_match
> return super(TestTerminalImportSession, self).choose_match(task)
> File "../beets/ui/commands.py", line 725, in choose_match
> post_choice = choice.callback(self, task)
> File "/<<PKGBUILDDIR>>/beetsplug/edit.py", line 409, in importer_edit_candidate
> return self.importer_edit(session, task)
> File "/<<PKGBUILDDIR>>/beetsplug/edit.py", line 381, in importer_edit
> success = self.edit_objects(task.items, fields)
> File "/<<PKGBUILDDIR>>/beetsplug/edit.py", line 290, in edit_objects
> changed |= ui.show_model_changes(obj, obj_old)
> File "../beets/ui/__init__.py", line 732, in show_model_changes
> print_(format(old))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_edit_discard_asis (test_edit.EditDuringImporterTest)
> Edit the album field for all items in the library, discard changes,
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 330, in test_edit_discard_asis
> self.run_mocked_interpreter({'replacements': {u'Tag Title':
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 99, in run_mocked_interpreter
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1375, in user_query
> task.choose_match(session)
> File "../beets/importer.py", line 838, in choose_match
> choice = session.choose_match(self)
> File "/<<PKGBUILDDIR>>/test/test_ui_importer.py", line 50, in choose_match
> return super(TestTerminalImportSession, self).choose_match(task)
> File "../beets/ui/commands.py", line 725, in choose_match
> post_choice = choice.callback(self, task)
> File "/<<PKGBUILDDIR>>/beetsplug/edit.py", line 381, in importer_edit
> success = self.edit_objects(task.items, fields)
> File "/<<PKGBUILDDIR>>/beetsplug/edit.py", line 290, in edit_objects
> changed |= ui.show_model_changes(obj, obj_old)
> File "../beets/ui/__init__.py", line 732, in show_model_changes
> print_(format(old))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_edit_discard_candidate (test_edit.EditDuringImporterTest)
> Edit the album field for all items in the library, discard changes,
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 401, in test_edit_discard_candidate
> self.run_mocked_interpreter({'replacements': {u'Applied Title':
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 99, in run_mocked_interpreter
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1375, in user_query
> task.choose_match(session)
> File "../beets/importer.py", line 838, in choose_match
> choice = session.choose_match(self)
> File "/<<PKGBUILDDIR>>/test/test_ui_importer.py", line 50, in choose_match
> return super(TestTerminalImportSession, self).choose_match(task)
> File "../beets/ui/commands.py", line 725, in choose_match
> post_choice = choice.callback(self, task)
> File "/<<PKGBUILDDIR>>/beetsplug/edit.py", line 409, in importer_edit_candidate
> return self.importer_edit(session, task)
> File "/<<PKGBUILDDIR>>/beetsplug/edit.py", line 381, in importer_edit
> success = self.edit_objects(task.items, fields)
> File "/<<PKGBUILDDIR>>/beetsplug/edit.py", line 290, in edit_objects
> changed |= ui.show_model_changes(obj, obj_old)
> File "../beets/ui/__init__.py", line 732, in show_model_changes
> print_(format(old))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_edit_retag_apply (test_edit.EditDuringImporterTest)
> Import the album using a candidate, then retag and edit and apply
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 372, in test_edit_retag_apply
> self.run_mocked_interpreter({},
> File "/<<PKGBUILDDIR>>/test/test_edit.py", line 99, in run_mocked_interpreter
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1540, in manipulate_files
> task.manipulate_files(
> File "../beets/importer.py", line 738, in manipulate_files
> item.move(operation)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_art_file_missing (test_embedart.EmbedartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_embedart.py", line 127, in test_art_file_missing
> self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_clear_art_with_no_input (test_embedart.EmbedartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_embedart.py", line 211, in test_clear_art_with_no_input
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_clear_art_with_yes_input (test_embedart.EmbedartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_embedart.py", line 200, in test_clear_art_with_yes_input
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_embed_art_from_album (test_embedart.EmbedartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_embedart.py", line 98, in test_embed_art_from_album
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_embed_art_from_file (test_embedart.EmbedartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_embedart.py", line 90, in test_embed_art_from_file
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_embed_art_from_file_with_no_input (test_embedart.EmbedartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_embedart.py", line 80, in test_embed_art_from_file_with_no_input
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_embed_art_from_file_with_yes_input (test_embedart.EmbedartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_embedart.py", line 71, in test_embed_art_from_file_with_yes_input
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_embed_art_remove_art_file (test_embedart.EmbedartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_embedart.py", line 108, in test_embed_art_remove_art_file
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_embed_non_image_file (test_embedart.EmbedartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_embedart.py", line 133, in test_embed_non_image_file
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_extracted_extension (test_embedart.EmbedartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_embedart.py", line 189, in test_extracted_extension
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_non_ascii_album_path (test_embedart.EmbedartCliTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_embedart.py", line 178, in test_non_ascii_album_path
> album = self.add_album_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_art_filename_respects_setting (test_library.ArtDestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 915, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_art_path_in_item_dir (test_library.ArtDestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 915, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_art_path_sanitized (test_library.ArtDestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 915, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asciify_variable (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 598, in test_asciify_variable
> self._assert_dest(b'/base/abC_ 1_2 d')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_first (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 665, in test_first
> self._assert_dest(b'/base/Pop')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_first_different_sep (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 674, in test_first_different_sep
> self._assert_dest(b'/base/Alice & Bob')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_first_skip (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 670, in test_first_skip
> self._assert_dest(b'/base/Classical Crossover')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_if_def_false_complete (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 660, in test_if_def_false_complete
> self._assert_dest(b'/base/not_played')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_if_def_field_not_defined (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 643, in test_if_def_field_not_defined
> self._assert_dest(b'/base/the artist')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_if_def_field_not_defined_2 (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 647, in test_if_def_field_not_defined_2
> self._assert_dest(b'/base/the artist')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_if_def_field_return_self (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 639, in test_if_def_field_return_self
> self._assert_dest(b'/base/3')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_if_def_true (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 651, in test_if_def_true
> self._assert_dest(b'/base/cool')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_if_def_true_complete (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 656, in test_if_def_true_complete
> self._assert_dest(b'/base/Now Series/the album')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_if_else_false (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 622, in test_if_else_false
> self._assert_dest(b'/base/baz')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_if_else_false_value (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 626, in test_if_else_false_value
> self._assert_dest(b'/base/baz')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_if_false (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 610, in test_if_false
> self._assert_dest(b'/base/x')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_if_false_value (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 614, in test_if_false_value
> self._assert_dest(b'/base/x')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_if_int_value (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 630, in test_if_int_value
> self._assert_dest(b'/base/baz')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_if_true (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 618, in test_if_true
> self._assert_dest(b'/base/foo')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_left_variable (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 602, in test_left_variable
> self._assert_dest(b'/base/the')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_nonexistent_function (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 634, in test_nonexistent_function
> self._assert_dest(b'/base/%foo{bar}')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_right_variable (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 606, in test_right_variable
> self._assert_dest(b'/base/tle')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_title_case_variable (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 590, in test_title_case_variable
> self._assert_dest(b'/base/The Title')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_title_case_variable_aphostrophe (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 594, in test_title_case_variable_aphostrophe
> self._assert_dest(b'/base/I Can\'t')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_upper_case_literal (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 582, in test_upper_case_literal
> self._assert_dest(b'/base/FOO')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_upper_case_variable (test_library.DestinationFunctionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 586, in test_upper_case_variable
> self._assert_dest(b'/base/THE TITLE')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_albumartist_falls_back_to_artist (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 369, in test_albumartist_falls_back_to_artist
> p = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_albumartist_overrides_artist (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 383, in test_albumartist_overrides_artist
> p = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_artist_falls_back_to_albumartist (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 362, in test_artist_falls_back_to_albumartist
> p = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_artist_overrides_albumartist (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 376, in test_artist_overrides_albumartist
> p = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asciify_and_replace (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 423, in test_asciify_and_replace
> self.assertEqual(self.i.destination(), np('lib/qo--Iq'))
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_asciify_character_expanding_to_slash (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 430, in test_asciify_character_expanding_to_slash
> self.assertEqual(self.i.destination(), np('lib/abC_ 1_2 d'))
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_destination_escapes_leading_dot (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 214, in test_destination_escapes_leading_dot
> dest = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_destination_escapes_slashes (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 207, in test_destination_escapes_slashes
> dest = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_destination_long_names_keep_extension (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 233, in test_destination_long_names_keep_extension
> dest = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_destination_long_names_truncated (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 227, in test_destination_long_names_truncated
> for c in self.i.destination().split(util.PATH_SEP):
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_destination_pads_date_values (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 202, in test_destination_pads_date_values
> self.assertEqual(self.i.destination(),
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_destination_pads_some_indices (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 193, in test_destination_pads_some_indices
> self.assertEqual(self.i.destination(),
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_destination_preserves_extension (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 174, in test_destination_preserves_extension
> self.assertEqual(self.i.destination(),
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_destination_preserves_legitimate_slashes (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 221, in test_destination_preserves_legitimate_slashes
> dest = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_destination_substitutes_metadata_values (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 167, in test_destination_substitutes_metadata_values
> self.assertEqual(self.i.destination(),
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_destination_with_replacements (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 438, in test_destination_with_replacements
> self.assertEqual(self.i.destination(),
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_distination_windows_removes_both_separators (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 239, in test_distination_windows_removes_both_separators
> p = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_heterogeneous_album_gets_single_directory (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 255, in test_heterogeneous_album_gets_single_directory
> dest1, dest2 = i1.destination(), i2.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_legalize_path_one_for_many_replacement (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 492, in test_legalize_path_one_for_many_replacement
> dest = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_legalize_path_one_for_one_replacement (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 476, in test_legalize_path_one_for_one_replacement
> dest = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_lower_case_extension (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 181, in test_lower_case_extension
> self.assertEqual(self.i.destination(),
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_non_mbcs_characters_on_windows (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 404, in test_non_mbcs_characters_on_windows
> p = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_path_with_format (test_library.DestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 247, in test_path_with_format
> p = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_change_brackets (test_library.DisambiguationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 749, in test_change_brackets
> self._assert_dest(b'/base/foo (2001)/the title', self.i1)
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_drop_empty_disambig_string (test_library.DisambiguationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 745, in test_drop_empty_disambig_string
> self._assert_dest(b'/base/foo/the title', self.i1)
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_remove_brackets (test_library.DisambiguationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 753, in test_remove_brackets
> self._assert_dest(b'/base/foo 2001/the title', self.i1)
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_unique_expands_to_disambiguating_year (test_library.DisambiguationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 699, in test_unique_expands_to_disambiguating_year
> self._assert_dest(b'/base/foo [2001]/the title', self.i1)
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_unique_expands_to_nothing_for_distinct_albums (test_library.DisambiguationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 713, in test_unique_expands_to_nothing_for_distinct_albums
> self._assert_dest(b'/base/foo/the title', self.i1)
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_unique_falls_back_to_second_distinguishing_field (test_library.DisambiguationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 725, in test_unique_falls_back_to_second_distinguishing_field
> self._assert_dest(b'/base/foo [2001]/the title', self.i1)
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_unique_sanitized (test_library.DisambiguationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 735, in test_unique_sanitized
> self._assert_dest(b'/base/foo [foo_bar]/the title', self.i1)
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_unique_with_default_arguments_uses_albumtype (test_library.DisambiguationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 706, in test_unique_with_default_arguments_uses_albumtype
> self._assert_dest(b'/base/foo [bar]/the title', self.i1)
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_use_fallback_numbers_when_identical (test_library.DisambiguationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 720, in test_use_fallback_numbers_when_identical
> self._assert_dest(b'/base/foo [1]/the title', self.i1)
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 564, in _assert_dest
> actual = i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_filesize (test_library.FilesizeTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 1189, in test_filesize
> item = self.add_item_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_destination_returns_bytestring (test_library.PathStringTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 976, in test_destination_returns_bytestring
> dest = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_plugin_value_not_substituted (test_library.PluginDestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 793, in test_plugin_value_not_substituted
> self._assert_dest(b'the artist bar')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 783, in _assert_dest
> the_dest = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_plugin_value_overrides_attribute (test_library.PluginDestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 799, in test_plugin_value_overrides_attribute
> self._assert_dest(b'bar $foo')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 783, in _assert_dest
> the_dest = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_plugin_value_sanitized (test_library.PluginDestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 805, in test_plugin_value_sanitized
> self._assert_dest(b'the artist bar_baz')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 783, in _assert_dest
> the_dest = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_undefined_value_not_substituted (test_library.PluginDestinationTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 787, in test_undefined_value_not_substituted
> self._assert_dest(b'the artist $foo')
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 783, in _assert_dest
> the_dest = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_album_and_item_format (test_library.TemplateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 1086, in test_album_and_item_format
> self.assertEqual(u"{0}".format(album), u"foö bar")
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_album_flexattr_appears_in_item_template (test_library.TemplateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 1079, in test_album_flexattr_appears_in_item_template
> self.assertEqual(self.i.evaluate_template('$foo'), u'baz')
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_year_formatted_in_template (test_library.TemplateTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 1073, in test_year_formatted_in_template
> self.assertEqual(self.i.evaluate_template('$year'), u'0123')
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_write_custom_tags (test_library.WriteTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 1151, in test_write_custom_tags
> item = self.add_item_fixture(artist='old artist')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_write_date_field (test_library.WriteTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 1158, in test_write_date_field
> item = self.add_item_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_write_with_custom_path (test_library.WriteTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_library.py", line 1136, in test_write_with_custom_path
> item = self.add_item_fixture()
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_album_integer_modify_and_query (test_types_plugin.TypesPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_types_plugin.py", line 55, in test_album_integer_modify_and_query
> album = self.add_album(albumartist=u'aaa')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 367, in add_album
> item = self.add_item(**values)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_bool_modify_and_query (test_types_plugin.TypesPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_types_plugin.py", line 87, in test_bool_modify_and_query
> true = self.add_item(artist=u'true')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_date_modify_and_query (test_types_plugin.TypesPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_types_plugin.py", line 120, in test_date_modify_and_query
> old = self.add_item(artist=u'prince')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_float_modify_and_query (test_types_plugin.TypesPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_types_plugin.py", line 71, in test_float_modify_and_query
> item = self.add_item(artist=u'aaa')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_integer_modify_and_query (test_types_plugin.TypesPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_types_plugin.py", line 39, in test_integer_modify_and_query
> item = self.add_item(artist=u'aaa')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_auto_false (test_zero.ZeroPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_zero.py", line 116, in test_auto_false
> item = self.add_item_fixture(year=2000)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_change_database (test_zero.ZeroPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_zero.py", line 91, in test_change_database
> item = self.add_item_fixture(year=2000)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_do_not_change_database (test_zero.ZeroPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_zero.py", line 79, in test_do_not_change_database
> item = self.add_item_fixture(year=2000)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_empty_query_n_response_no_changes (test_zero.ZeroPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_zero.py", line 290, in test_empty_query_n_response_no_changes
> item = self.add_item_fixture(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_keep_fields (test_zero.ZeroPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_zero.py", line 256, in test_keep_fields
> item = self.add_item_fixture(year=2016, comments=u'test comment')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_no_fields (test_zero.ZeroPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_zero.py", line 220, in test_no_fields
> item = self.add_item_fixture(year=2016)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_no_patterns (test_zero.ZeroPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_zero.py", line 33, in test_no_patterns
> item = self.add_item_fixture(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_pattern_match (test_zero.ZeroPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_zero.py", line 54, in test_pattern_match
> item = self.add_item_fixture(comments=u'encoded by encoder')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_pattern_nomatch (test_zero.ZeroPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_zero.py", line 67, in test_pattern_nomatch
> item = self.add_item_fixture(comments=u'recorded at place')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_subcommand_query_exclude (test_zero.ZeroPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_zero.py", line 198, in test_subcommand_query_exclude
> item = self.add_item_fixture(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_subcommand_query_include (test_zero.ZeroPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_zero.py", line 176, in test_subcommand_query_include
> item = self.add_item_fixture(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_subcommand_update_database_false (test_zero.ZeroPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_zero.py", line 150, in test_subcommand_update_database_false
> item = self.add_item_fixture(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_subcommand_update_database_true (test_zero.ZeroPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_zero.py", line 125, in test_subcommand_update_database_true
> item = self.add_item_fixture(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_whitelist_and_blacklist (test_zero.ZeroPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_zero.py", line 237, in test_whitelist_and_blacklist
> item = self.add_item_fixture(year=2016)
> File "/<<PKGBUILDDIR>>/test/helper.py", line 362, in add_item_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_print_tracks_output (test_mbsubmit.MBSubmitPluginTest)
> Test the output of the "print tracks" choice.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_mbsubmit.py", line 45, in test_print_tracks_output
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1375, in user_query
> task.choose_match(session)
> File "../beets/importer.py", line 838, in choose_match
> choice = session.choose_match(self)
> File "/<<PKGBUILDDIR>>/test/test_ui_importer.py", line 50, in choose_match
> return super(TestTerminalImportSession, self).choose_match(task)
> File "../beets/ui/commands.py", line 725, in choose_match
> post_choice = choice.callback(self, task)
> File "/<<PKGBUILDDIR>>/beetsplug/mbsubmit.py", line 60, in print_tracks
> print_data(None, i, self.config['format'].as_str())
> File "/<<PKGBUILDDIR>>/beetsplug/info.py", line 93, in print_data
> ui.print_(format(item, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_print_tracks_output_as_tracks (test_mbsubmit.MBSubmitPluginTest)
> Test the output of the "print tracks" choice, as singletons.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_mbsubmit.py", line 60, in test_print_tracks_output_as_tracks
> self.importer.run()
> File "../beets/importer.py", line 331, in run
> pl.run_sequential()
> File "../beets/util/pipeline.py", line 389, in run_sequential
> list(self.pull())
> File "../beets/util/pipeline.py", line 467, in pull
> next_msgs.extend(_allmsgs(out))
> File "../beets/util/pipeline.py", line 466, in pull
> out = coro.send(msg)
> File "../beets/util/pipeline.py", line 171, in coro
> task = func(*(args + (task,)))
> File "../beets/importer.py", line 1375, in user_query
> task.choose_match(session)
> File "../beets/importer.py", line 928, in choose_match
> choice = session.choose_item(self)
> File "/<<PKGBUILDDIR>>/test/test_ui_importer.py", line 54, in choose_item
> return super(TestTerminalImportSession, self).choose_item(task)
> File "../beets/ui/commands.py", line 767, in choose_item
> post_choice = choice.callback(self, task)
> File "/<<PKGBUILDDIR>>/beetsplug/mbsubmit.py", line 60, in print_tracks
> print_data(None, i, self.config['format'].as_str())
> File "/<<PKGBUILDDIR>>/beetsplug/info.py", line 93, in print_data
> ui.print_(format(item, fmt))
> File "../beets/library.py", line 362, in __format__
> return self.evaluate_template(spec)
> File "../beets/dbcore/db.py", line 600, in evaluate_template
> template = functemplate.template(template)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_album_option (test_play.PlayPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_play.py", line 36, in setUp
> self.item = self.add_item(album=u'a nice älbum', title=u'aNiceTitle')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_args_option (test_play.PlayPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_play.py", line 36, in setUp
> self.item = self.add_item(album=u'a nice älbum', title=u'aNiceTitle')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_args_option_in_middle (test_play.PlayPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_play.py", line 36, in setUp
> self.item = self.add_item(album=u'a nice älbum', title=u'aNiceTitle')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_basic (test_play.PlayPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_play.py", line 36, in setUp
> self.item = self.add_item(album=u'a nice älbum', title=u'aNiceTitle')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_command_failed (test_play.PlayPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_play.py", line 36, in setUp
> self.item = self.add_item(album=u'a nice älbum', title=u'aNiceTitle')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_not_found (test_play.PlayPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_play.py", line 36, in setUp
> self.item = self.add_item(album=u'a nice älbum', title=u'aNiceTitle')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_raw (test_play.PlayPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_play.py", line 36, in setUp
> self.item = self.add_item(album=u'a nice älbum', title=u'aNiceTitle')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_relative_to (test_play.PlayPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_play.py", line 36, in setUp
> self.item = self.add_item(album=u'a nice älbum', title=u'aNiceTitle')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_skip_warning_threshold_bypass (test_play.PlayPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_play.py", line 36, in setUp
> self.item = self.add_item(album=u'a nice älbum', title=u'aNiceTitle')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_unset_args_option_in_middle (test_play.PlayPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_play.py", line 36, in setUp
> self.item = self.add_item(album=u'a nice älbum', title=u'aNiceTitle')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_use_folders (test_play.PlayPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_play.py", line 36, in setUp
> self.item = self.add_item(album=u'a nice älbum', title=u'aNiceTitle')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_warning_threshold (test_play.PlayPluginTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_play.py", line 36, in setUp
> self.item = self.add_item(album=u'a nice älbum', title=u'aNiceTitle')
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_malformed_output (test_replaygain.ReplayGainLdnsCliMalformedTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/mock/mock.py", line 1369, in patched
> return func(*newargs, **newkeywargs)
> File "/<<PKGBUILDDIR>>/test/test_replaygain.py", line 183, in setUp
> for item in self.add_album_fixture(2).items():
> File "/<<PKGBUILDDIR>>/test/helper.py", line 400, in add_album_fixture
> item.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_albuminfo_move_changes_paths (test_files.AlbumFileTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 211, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_albuminfo_move_copies_file (test_files.AlbumFileTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 211, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_albuminfo_move_moves_file (test_files.AlbumFileTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 211, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_albuminfo_move_to_custom_dir (test_files.AlbumFileTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 211, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_art_deleted_when_items_deleted (test_files.ArtFileTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 263, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_art_moves_with_album (test_files.ArtFileTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 263, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_art_moves_with_album_to_custom_dir (test_files.ArtFileTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 263, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_move_last_file_moves_albumart (test_files.ArtFileTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 263, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_move_not_last_file_does_not_move_albumart (test_files.ArtFileTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 263, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_setart_copies_image (test_files.ArtFileTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 263, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_setart_sets_permissions (test_files.ArtFileTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 263, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_setart_to_conflicting_file_gets_new_path (test_files.ArtFileTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 263, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_setart_to_existing_art_works (test_files.ArtFileTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 263, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_setart_to_existing_but_unset_art_works (test_files.ArtFileTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 263, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_copy_already_at_destination (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 94, in test_copy_already_at_destination
> self.i.move()
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_copy_arrives (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 82, in test_copy_arrives
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_copy_does_not_depart (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 86, in test_copy_does_not_depart
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_hardlink_arrives (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 147, in test_hardlink_arrives
> self.i.move(operation=MoveOperation.HARDLINK)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_hardlink_changes_path (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 163, in test_hardlink_changes_path
> self.i.move(operation=MoveOperation.HARDLINK)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_hardlink_does_not_depart (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 158, in test_hardlink_does_not_depart
> self.i.move(operation=MoveOperation.HARDLINK)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_link_arrives (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 130, in test_link_arrives
> self.i.move(operation=MoveOperation.LINK)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_link_changes_path (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 142, in test_link_changes_path
> self.i.move(operation=MoveOperation.LINK)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_link_does_not_depart (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 137, in test_link_does_not_depart
> self.i.move(operation=MoveOperation.LINK)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_move_already_at_destination (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 100, in test_move_already_at_destination
> self.i.move()
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_move_arrives (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 60, in test_move_arrives
> self.i.move()
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_move_avoids_collision_with_existing_file (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 119, in test_move_avoids_collision_with_existing_file
> dest = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_move_changes_path (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 90, in test_move_changes_path
> self.i.move()
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_move_departs (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 68, in test_move_departs
> self.i.move()
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_move_in_lib_prunes_empty_dir (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 72, in test_move_in_lib_prunes_empty_dir
> self.i.move()
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_move_to_custom_dir (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 64, in test_move_to_custom_dir
> self.i.move(basedir=self.otherdir)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_read_only_file_copied_writable (test_files.MoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 110, in test_read_only_file_copied_writable
> self.i.move(operation=MoveOperation.COPY)
> File "../beets/library.py", line 811, in move
> dest = self.destination(basedir=basedir)
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_removing_item_outside_of_library_deletes_nothing (test_files.RemoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 438, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_removing_last_item_in_album_with_albumart_prunes_dir (test_files.RemoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 438, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_removing_last_item_preserves_library_dir (test_files.RemoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 438, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_removing_last_item_preserves_nonempty_dir (test_files.RemoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 438, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_removing_last_item_prunes_dir_with_blacklisted_file (test_files.RemoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 438, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_removing_last_item_prunes_empty_dir (test_files.RemoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 438, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_removing_without_delete_leaves_file (test_files.RemoveTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_files.py", line 438, in setUp
> self.i.path = self.i.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_password (test_player.BPDConnectionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_ping (test_player.BPDConnectionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_implements_connection (test_player.BPDConnectionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_next (test_player.BPDControlTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_play (test_player.BPDControlTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_previous (test_player.BPDControlTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_implements_control (test_player.BPDControlTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_count (test_player.BPDDatabaseTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_list (test_player.BPDDatabaseTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_list_three_arg_form (test_player.BPDDatabaseTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_lsinfo (test_player.BPDDatabaseTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_search (test_player.BPDDatabaseTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_implements_database (test_player.BPDDatabaseTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_implements_devices (test_player.BPDDeviceTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_implements_mounts (test_player.BPDMountsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_implements_partitions (test_player.BPDPartitionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_implements_peers (test_player.BPDPeersTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_consume (test_player.BPDPlaybackTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_consume_in_reverse (test_player.BPDPlaybackTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_crossfade (test_player.BPDPlaybackTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_mixrampdb (test_player.BPDPlaybackTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_mixrampdelay (test_player.BPDPlaybackTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_repeat (test_player.BPDPlaybackTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_repeat_in_reverse (test_player.BPDPlaybackTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_repeat_with_single (test_player.BPDPlaybackTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_repeat_with_single_in_reverse (test_player.BPDPlaybackTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_replay_gain (test_player.BPDPlaybackTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_setvol (test_player.BPDPlaybackTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_single (test_player.BPDPlaybackTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_volume (test_player.BPDPlaybackTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_implements_playback (test_player.BPDPlaybackTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_listplaylist (test_player.BPDPlaylistsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_listplaylistinfo (test_player.BPDPlaylistsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_listplaylists (test_player.BPDPlaylistsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_load (test_player.BPDPlaylistsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_playlistclear (test_player.BPDPlaylistsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_playlistdelete (test_player.BPDPlaylistsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_playlistmove (test_player.BPDPlaylistsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_rename (test_player.BPDPlaylistsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_rm (test_player.BPDPlaylistsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_save (test_player.BPDPlaylistsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_implements_playlists (test_player.BPDPlaylistsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_idle (test_player.BPDQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_idle_with_pending (test_player.BPDQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_noidle (test_player.BPDQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_status (test_player.BPDQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_implements_query (test_player.BPDQueryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_add (test_player.BPDQueueTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_playlistinfo (test_player.BPDQueueTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_implements_queue (test_player.BPDQueueTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_cmd_decoders (test_player.BPDReflectionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_implements_reflection (test_player.BPDReflectionTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_implements_stickers (test_player.BPDStickerTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_empty_request (test_player.BPDTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_missing_argument (test_player.BPDTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_server_hello (test_player.BPDTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_system_error (test_player.BPDTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_unexpected_argument (test_player.BPDTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ======================================================================
> ERROR: test_unknown_cmd (test_player.BPDTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/test/test_player.py", line 252, in setUp
> self.item1 = self.add_item(
> File "/<<PKGBUILDDIR>>/test/helper.py", line 349, in add_item
> item['path'] = item.destination()
> File "../beets/library.py", line 870, in destination
> subpath_tmpl = template(path_format)
> File "../beets/util/functemplate.py", line 571, in template
> return Template(fmt)
> File "../beets/util/functemplate.py", line 581, in __init__
> self.compiled = self.translate()
> File "../beets/util/functemplate.py", line 614, in translate
> func = compile_func(
> File "../beets/util/functemplate.py", line 155, in compile_func
> prog = compile(mod, '<generated>', 'exec')
> ValueError: Name node can't be used with 'None' constant
>
> ----------------------------------------------------------------------
> Ran 1885 tests in 28.382s
>
> FAILED (errors=550, skipped=42)
> Test failed: <unittest.runner.TextTestResult run=1885 errors=550 failures=0>
>
> error: Test failed: <unittest.runner.TextTestResult run=1885 errors=550 failures=0>
> sys:1: ResourceWarning: unclosed file <_io.BufferedWriter name=13>
> sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=14>
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: python3.8 setup.py test
> dh_auto_test: error: pybuild --test -i python{version} -p 3.8 returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2020/07/09/beets_1.4.9-4_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Python-apps-team
mailing list