Skip to content
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

Invalid Character on import #3332

Open
nhaas11 opened this issue Dec 31, 2023 · 1 comment
Open

Invalid Character on import #3332

nhaas11 opened this issue Dec 31, 2023 · 1 comment

Comments

@nhaas11
Copy link

nhaas11 commented Dec 31, 2023

Moved location of Music, New installation of Headphones. Received Error in logs! Seems that Headphones is not moving forward with searching my music storage.

within ubuntu ran a search for "\udcfa" if does not find anything in the music directory.


ERROR | Uncaught exception: Traceback (most recent call last):File "/app/headphones/headphones/logger.py", line 215, in new_runold_run(*args, **kwargs)File "/usr/lib/python3.10/threading.py", line 953, in runself._target(*self._args, **self._kwargs)File "/app/headphones/headphones/librarysync.py", line 154, in libraryScancheck_exist_track = myDB.action("SELECT * FROM have WHERE Location=?",File "/app/headphones/headphones/db.py", line 101, in actionsqlResult = c.execute(query, args)UnicodeEncodeError: 'utf-8' codec can't encode character '\udcfa' in position 41: surrogates not allowed

I have been running my NAS for almost 20 years, Decided to upgrade to NVME, repointed Headphones to new music location. I received the error almost instantly when running the import.

Any Idea what I need to do to fix this. Old NAS is synology, new NAS is just Ubuntu.

@nhaas11
Copy link
Author

nhaas11 commented Jan 9, 2024

So this only happens when you first try to do a "Mass" or first import. if you type in and add individual bands (music) the individual import works find.... This may be why my original install worked without issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant