View Single Post
Old 07-08-2018, 02:57 AM   #6
Bertrand
Zealot
Bertrand began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Dec 2008
Location: France
Device: None
I'm using ConEmu (https://conemu.github.io/).
But I tried with a normal windows command prompt and the end of the error message is different now.

Folder created in File Explorer before running the command :
Code:
C:\>calibre-debug --export-all-calibre-data
Enter path to an empty folder (all exported data will be saved inside it): c:\test

Python function terminated unexpectedly
  [Error 123] La syntaxe du nom de fichier, de rTraceback (most recent call last):
  File "site.py", line 101, in main
  File "site.py", line 78, in run_entry_point
  File "site-packages\calibre\debug.py", line 325, in main
  File "site-packages\calibre\utils\exim.py", line 391, in run_exporter
  File "os.py", line 157, in makedirs
WindowsError: [Error 123] La syntaxe du nom de fichier, de rpertoire ou de volume est incorrecte: u'c:\\test\r'
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr

Folder not created before running the command, same result :
Code:
C:\>calibre-debug --export-all-calibre-data
Enter path to an empty folder (all exported data will be saved inside it): c:\test2

Python function terminated unexpectedly
  [Error 123] La syntaxe du nom de fichier, de rTraceback (most recent call last):
  File "site.py", line 101, in main
  File "site.py", line 78, in run_entry_point
  File "site-packages\calibre\debug.py", line 325, in main
  File "site-packages\calibre\utils\exim.py", line 391, in run_exporter
  File "os.py", line 157, in makedirs
WindowsError: [Error 123] La syntaxe du nom de fichier, de rpertoire ou de volume est incorrecte: u'c:\\test2\r'
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
Bertrand is offline   Reply With Quote