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

Error while using the export command "os error 123" #499

Open
ekafaton opened this issue Jun 16, 2024 · 1 comment
Open

Error while using the export command "os error 123" #499

ekafaton opened this issue Jun 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ekafaton
Copy link

Hi
Trying to do a full export from docspell using the command
D:\docspell_export>dsc-0.11.0.exe export --target D:\docspell_export

but get the following error after 5 items have sucessfully exported:
"Export - Error creating a file: Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch. (os error 123)"
The german part says "incorrect syntax wrong for filename, directoryname or volume".

I'm running docspell 0.40.0 on windows docker desktop. I really need a full export and cannot use "download all documents" because there are over 4000 of them.

Is there maybe a bug in the export when using umlauts / other non-english characters?

Thanks a lot!

@eikek
Copy link
Member

eikek commented Jun 17, 2024

Hi @ekafaton thanks for the report. Unfortunately, I'm not sure how to diagnose this further. I don't have Windows and can't try it out. I assume indeed some character in the filename that triggers this. Can you perhaps find out which item it is and possibly even what name it is? Can you run this with -vvv so it perhaps puts out more information about the error?

@eikek eikek added the bug Something isn't working label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants