![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 1024532
Join Date: May 2008
Device: iPad Air, iPod Touch 5, Illudium Q-42 Explosive Space Modulator
|
![]()
Calibre has stopped working. Trying to run it generates this error:
Python function terminated unexpectedly. (2, 'No such file or directory') (Error Code: 1) I uninstalled it, rebooted, reinstalled it. Downloaded the newest version .6.24. Rebooted, unistalled, rebooted, reinstalled. Cleaned registry, rebooted, uninstalled, etc blah and so forth. Tried feeding it bananas. Nothing works. I am using WinXP, SP3. Nothing about my system has changed in terms of running programs, so I am throwing myself on the mercy of this forum and hope someone can help. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,157
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'd suggest cleaning out you calibre config files. Should be somewhere in C:\Documents and Settings\your user\
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 1024532
Join Date: May 2008
Device: iPad Air, iPod Touch 5, Illudium Q-42 Explosive Space Modulator
|
I did that too. Cleaned the registry, as well.
|
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 1024532
Join Date: May 2008
Device: iPad Air, iPod Touch 5, Illudium Q-42 Explosive Space Modulator
|
I ran the debugger, and here is the last section in the file. I can send you the entire thing if you wish.
E:\E-Books\Calibre2\Lib\site-packages\IPython\genutils.pyo in native_line_ends(filename='ipythonrc-math.ini', backup=0) 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 -> 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 WindowsError: [Error 183] Cannot create a file when that file already exists |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,157
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
look for a folder named _ipython on your computer and delete it.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 1024532
Join Date: May 2008
Device: iPad Air, iPod Touch 5, Illudium Q-42 Explosive Space Modulator
|
I found the folder in Docs and Settings and deleted it. Same problem. I tried a couple of times.
|
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 1024532
Join Date: May 2008
Device: iPad Air, iPod Touch 5, Illudium Q-42 Explosive Space Modulator
|
Uninstalled, cleaned registry, rebooted, reinstalled, deleted folder, uninstalled, etc. etc. Same problem.
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,157
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
post the entire log
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2009
Device: Kindle
|
Hi I'm also having the same problem just purchased a new desktop and loaded the new calibre version and i keep gettin this message:
Bad Database location:C:\Users\Emma\Calibre Library Traceback (most recent call last): File "site-packages\calibre\gui2\main.py", line 443, in __init__ File "site-packages\calibre\library\database2.py", line 427, in __init__ File "site-packages\calibre\library\database2.py", line 487, in upgrade_version_2 File "site-packages\calibre\library\sqlite.py", line 171, in run DatabaseException: no such trigger: fkc_delete_books_authors_link RemoteTraceback (most recent call last): File "site-packages\calibre\library\sqlite.py", line 142, in run OperationalError: no such trigger: fkc_delete_books_authors_link Then i get this message Python function terminated unexpectedly no such trigger: fkc_delete_books_author_link RemoteTraceback (most recent call last): File "site-packages\calibre\library\sqlite.py", line 142, in run OperationalError: no such trigger: fkc_delete_books_authors_link (Error Code:1) Then calibre shuts down. Ive tried uninstalling, restarting, and reinstalling to no avail. Not sure whats wrong. |
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,157
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You database seems to be corrupted. Locate the file metadata.db and delete it. Then start calibre.
|
![]() |
![]() |
![]() |
#11 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 1024532
Join Date: May 2008
Device: iPad Air, iPod Touch 5, Illudium Q-42 Explosive Space Modulator
|
Here you go:
************************************************** ************************* IPython post-mortem report IPython version: 0.10 BZR revision : 1210 Platform info : os.name -> nt, sys.platform -> win32 ************************************************** ************************* Spoiler:
*** Last line of input (may not be in above history):
Last edited by theducks; 01-20-2012 at 03:15 PM. Reason: wrap HUGE paste in spoiler |
![]() |
![]() |
![]() |
#12 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,157
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You forgot the -g
run the command as calibre-debug -g |
![]() |
![]() |
![]() |
#13 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 1024532
Join Date: May 2008
Device: iPad Air, iPod Touch 5, Illudium Q-42 Explosive Space Modulator
|
Here you go.
E:\EBOOKS>calibre-debug -g Python function terminated unexpectedly (2, 'No such file or directory') (Error Code: 1) Traceback (most recent call last): File "site.py", line 103, in main File "site.py", line 85, in run_entry_point File "site-packages\calibre\debug.py", line 172, i File "site-packages\calibre\gui2\__init__.py", lin File "site-packages\calibre\ebooks\metadata\meta.p File "site-packages\calibre\customize\ui.py", line File "site-packages\calibre\customize\builtins.py" File "site-packages\calibre\ebooks\comic\input.py" File "site-packages\calibre\utils\ipc\server.py", File "site-packages\calibre\utils\ipc\launch.py", IOError: [Errno 2] No such file or directory: 'nul' |
![]() |
![]() |
![]() |
#14 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,157
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Ah you have the infamous missing nul file problem. nul is a special windows file that must be available on all windows installs. If it's not, it indicates a corrupted install.
|
![]() |
![]() |
![]() |
#15 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 1024532
Join Date: May 2008
Device: iPad Air, iPod Touch 5, Illudium Q-42 Explosive Space Modulator
|
Erm, where do I get the missing nul file from? nuls R Us? I've installed it around seven times now, so if it's still corrupted, not much I can do about it.
|
![]() |
![]() |
![]() |
Tags |
python error, won't run |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't get Calibre to run | goldie | Calibre | 25 | 10-14-2010 03:39 AM |
can different versions of Calibre run on the same machine? | p3aul | Calibre | 2 | 10-08-2009 10:29 PM |
Calibre will not run on my PC... | leveck | Calibre | 12 | 07-12-2008 02:32 PM |