Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 10-18-2014, 06:17 AM   #1
Suavek
Junior Member
Suavek began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2014
Device: Kindle Keyboard
Error code 1 - please help

Hi, I'm trying to install Calibre on a new computer, running on Windows 8
I keep getting Error code 1 when trying to launch it

calibre-debug -g shows:

Python function terminated unexpectedly
(3, 'CreateFile', 'The system cannot find the path specified.') (Error Code: 1
)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 108, in run_entry_point
File "site.py", line 50, in load_module
File "site-packages\calibre\__init__.py", line 21, in <module>
File "site.py", line 50, in load_module
File "site-packages\calibre\startup.py", line 77, in <module>
File "site-packages\calibre\utils\localization.py", line 129, in set_translato
rs
File "site-packages\calibre\utils\localization.py", line 63, in get_lang
File "site.py", line 50, in load_module
File "site-packages\calibre\utils\config_base.py", line 448, in <module>
File "site-packages\calibre\utils\config_base.py", line 357, in __setitem__
File "site-packages\calibre\utils\config_base.py", line 371, in set
File "site-packages\calibre\utils\config_base.py", line 300, in set
File "site-packages\calibre\utils\lock.py", line 140, in __enter__
File "site-packages\calibre\utils\lock.py", line 32, in __init__
pywintypes.error: (3, 'CreateFile', 'The system cannot find the pathspecified.')
D:\Calibre\pylib.zip\calibre\ptempfile.py:35: RuntimeWarning: Parent module 'calibre' not found while handling absolute import

The system cannot write to the specified device.


Can anyone help?
Suavek is offline   Reply With Quote
Old 10-18-2014, 07:20 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,338
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Do a clean install, namely, uninstall, delete C:\Program Ffiles\Calibre2 then re-install.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-18-2014, 07:24 AM   #3
Suavek
Junior Member
Suavek began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2014
Device: Kindle Keyboard
Done that. Didn't help.
Suavek is offline   Reply With Quote
Old 10-18-2014, 09:25 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,338
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The set the environment variable CALIBRE_CONFIG_DIRECTORY to point to some existing directory like c:\config that you have write permissions for. According to that error message windows is unable to open files in the default config directory.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running recipe error: Python function terminated unexpectedly (Error Code: 1) jpassarella Recipes 0 10-05-2012 12:54 PM
"Error importing EPUB. EOCD not found. Not a ZIP archive? (Error Code 1068)" oren ePub 8 02-20-2012 07:20 AM
"Error importing EPUB. EOCD not found. Not a ZIP archive? (Error Code 1068)" oren Android Devices 1 02-20-2012 04:10 AM


All times are GMT -4. The time now is 05:39 AM.


MobileRead.com is a privately owned, operated and funded community.