Hmm; this looks bad! Can you please file a full bug report, with full system details, on GitHub? Most pertinently, you’re using Python 3.7, which is in beta. Is this problem new on 3.7?
Adrian > On Mar 4, 2018, at 5:36 AM, Michael Willey <[email protected]> wrote: > > Hi, > > I'm getting the following when trying to import my library: > > C:\Users\User>beet import "D:\Music" > Traceback (most recent call last): > File > "C:\Users\big_w\AppData\Local\Programs\Python\Python37\Scripts\beet-script.py", > line 11, in <module> > load_entry_point('beets==1.4.6', 'console_scripts', 'beet')() > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\beets\ui\__init__.py", > line 1256, in main > _raw_main(args) > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\beets\ui\__init__.py", > line 1243, in _raw_main > subcommand.func(lib, suboptions, subargs) > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\beets\ui\commands.py", > line 937, in import_func > import_files(lib, paths, query) > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\beets\ui\commands.py", > line 914, in import_files > session.run() > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\beets\importer.py", > line 327, in run > pl.run_parallel(QUEUE_SIZE) > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\beets\util\pipeline.py", > line 445, in run_parallel > six.reraise(exc_info[0], exc_info[1], exc_info[2]) > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\six.py", > line 693, in reraise > raise value > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\beets\util\pipeline.py", > line 312, in run > out = self.coro.send(msg) > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\beets\util\pipeline.py", > line 194, in coro > func(*(args + (task,))) > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\beets\importer.py", > line 1346, in lookup_candidates > task.lookup_candidates() > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\beets\importer.py", > line 636, in lookup_candidates > autotag.tag_album(self.items, search_ids=self.search_ids) > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\beets\autotag\match.py", > line 461, in tag_album > _add_candidate(items, candidates, matched_candidate) > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\beets\autotag\match.py", > line 377, in _add_candidate > dist = distance(items, info, mapping) > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\beets\autotag\match.py", > line 191, in distance > dist.add_equality('media', album_info.media, likelies['media']) > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\beets\autotag\hooks.py", > line 458, in add_equality > if self._eq(opt, value): > File > "c:\users\big_w\appdata\local\programs\python\python37\lib\site-packages\beets\autotag\hooks.py", > line 433, in _eq > if isinstance(value1, re._pattern_type): > AttributeError: module 're' has no attribute '_pattern_type' > > > I got this error when trying to import my entire library and certain > individual albumartist directories - others worked fine. > > > Any help would be greatly appreciated. > > Kind Regards, > Michael > > -- > You received this message because you are subscribed to the Google Groups > "beets" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "beets" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
