-
Notifications
You must be signed in to change notification settings - Fork 223
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
All exports fail using the Import / Export plugin: module 'os' has no attribute 'pathconf' #4582
Comments
As a workaround for exporting the data for the tracks in my library for further analysis, I used the "Export to HTML" plugin instead. The format is not ideal but I can still work with it. |
Odds are that chunk of code only supports unix systems. |
Yes, it's unix only. MAX_PATH on Windows wasn't configurable and was always 260 (effectively 256). Since W10 1607, there is now an option to enable long paths, pretty much removing any limit, the filesystem itself can handle names up to 32000 characters long. Problem is that it's not default, needs to be enable in both the system and application manifest and not all system functions work with long paths yet, so hard-coding a limit of 256 on Windows is still a safe bet. |
Steps to reproduce
I tried to "Export User Data" for the tracks in my library so that I could perform analysis on the resulting JSON using Python to find which genres are rated the highest.
Expected Output
The user data for the tracks should be exported to a JSON file.
Actual Output
After pressing "Run Plugin", I received a prompt saying that "An Error Occurred":
Test System
Which version of Quod Libet?
4.6.0
Which operating system
Windows 11
The text was updated successfully, but these errors were encountered: