View Single Post
Old 01-22-2014, 08:29 PM   #1
rysktkr
Junior Member
rysktkr began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2013
Device: ipad
Strange error using calibre-portable.bat

Hi,

I have been struggling trying to get calibre-portable.bat to work. I keep getting the error "Python function terminated unexpectedly [Error 3] The system cannot find the path specified: u" (Error Code: 1). I have done an extensive amount of debug on this and have narrowed it down to one line in the batch file. The very last one:
START Calibre --with-library "%CALIBRE_LIBRARY_DIRECTORY%"
Everything works fine up until I hit this line. Prior to this line I checked to make sure my variables are correct
Echo %CALIBRE_LIBRARY_DIRECTORY% returns correctly Z:\
The other variable I set is CALIBRE_OVERRIDE_DATABASE_PATH and that is also set correctly.

Next the head scratcher. I tried to use cmd window and entered:
START Calibre --with-library "%CALIBRE_LIBRARY_DIRECTORY%"
and it worked fine. Variables were configured the same.

I tried just creating a batch file with just
START Calibre --with-library "%CALIBRE_LIBRARY_DIRECTORY%"
Verfied the variables were correct using cmd prior to executing the batch file same error...bizarre. Please Help.
rysktkr is offline   Reply With Quote