-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running beet duplicates plugin #2444
Comments
Hi! I know this sounds silly, but is there any chance your disk is full?
Can you provide more information about the filesystem where the database is stored? |
library.db and library.blb is in my config folder for beets, on my home partition which has 100gb free |
perhaps there is an error with my /tmp/ if sqlite3 stores anything there |
That's odd! Is this intermittent, or does it happen every time? Does it happen with any other command? Or, any chance the database file has somehow gotten corrupted? |
okay, it seems to actually be happening on every command |
Sounds like corruption, then? |
Yes, I am going to try to re-import my library and then try the duplicates command to see what happens. I will update this issue and reopen it if the problem persists. |
Got another error when trying to run Traceback (most recent call last):
File "/usr/bin/beet", line 11, in <module>
load_entry_point('beets==1.4.4', 'console_scripts', 'beet')()
File "/usr/lib/python3.6/site-packages/beets/ui/__init__.py", line 1209, in main
_raw_main(args)
File "/usr/lib/python3.6/site-packages/beets/ui/__init__.py", line 1196, in _raw_main
subcommand.func(lib, suboptions, subargs)
File "/usr/lib/python3.6/site-packages/beetsplug/duplicates.py", line 166, in _dup
fmt=fmt.format(obj_count))
File "/usr/lib/python3.6/site-packages/beetsplug/duplicates.py", line 180, in _process_item
item.move(basedir=move, copy=False)
File "/usr/lib/python3.6/site-packages/beets/library.py", line 757, in move
dest = self.destination(basedir=basedir)
File "/usr/lib/python3.6/site-packages/beets/library.py", line 855, in destination
return normpath(os.path.join(basedir, subpath))
File "/usr/lib/python3.6/posixpath.py", line 92, in join
genericpath._check_arg_types('join', a, *p)
File "/usr/lib/python3.6/genericpath.py", line 151, in _check_arg_types
raise TypeError("Can't mix strings and bytes in path components") from None
TypeError: Can't mix strings and bytes in path components But |
Nevermind, I do not have a .Trash in my home directory. |
Hmm, that crash does actually look like a problem though… I'll make sure the types are right there. |
OK, just pushed a fix that should address that problem on Python 3. |
Problem
I cannot run beet duplicates
Running this command in verbose (
-vv
) mode:Led to this problem:
Here's a link to the music files that trigger the bug (if relevant):
Setup
My configuration (output of
beet config
) is:The text was updated successfully, but these errors were encountered: