Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-26-2009, 07:23 AM   #1
sglinert
Enthusiast
sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.
 
Posts: 34
Karma: 1024532
Join Date: May 2008
Device: iPad 3, iPod Touch 4
Angry Calibre Won't Run

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.
sglinert is offline   Reply With Quote
Old 11-26-2009, 10:06 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: 25,374
Karma: 4961459
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\
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 11-27-2009, 05:24 AM   #3
sglinert
Enthusiast
sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.
 
Posts: 34
Karma: 1024532
Join Date: May 2008
Device: iPad 3, iPod Touch 4
I did that too. Cleaned the registry, as well.
sglinert is offline   Reply With Quote
Old 11-27-2009, 09:01 AM   #4
sglinert
Enthusiast
sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.
 
Posts: 34
Karma: 1024532
Join Date: May 2008
Device: iPad 3, iPod Touch 4
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
sglinert is offline   Reply With Quote
Old 11-27-2009, 09:49 AM   #5
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: 25,374
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
look for a folder named _ipython on your computer and delete it.
kovidgoyal is offline   Reply With Quote
Old 11-27-2009, 06:44 PM   #6
sglinert
Enthusiast
sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.
 
Posts: 34
Karma: 1024532
Join Date: May 2008
Device: iPad 3, iPod Touch 4
I found the folder in Docs and Settings and deleted it. Same problem. I tried a couple of times.
sglinert is offline   Reply With Quote
Old 11-27-2009, 07:37 PM   #7
sglinert
Enthusiast
sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.
 
Posts: 34
Karma: 1024532
Join Date: May 2008
Device: iPad 3, iPod Touch 4
Uninstalled, cleaned registry, rebooted, reinstalled, deleted folder, uninstalled, etc. etc. Same problem.
sglinert is offline   Reply With Quote
Old 11-27-2009, 09:40 PM   #8
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: 25,374
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
post the entire log
kovidgoyal is offline   Reply With Quote
Old 11-28-2009, 03:05 AM   #9
athena416
Junior Member
athena416 began at the beginning.
 
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.
athena416 is offline   Reply With Quote
Old 11-28-2009, 10:17 AM   #10
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: 25,374
Karma: 4961459
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.
kovidgoyal is offline   Reply With Quote
Old 11-28-2009, 11:17 AM   #11
sglinert
Enthusiast
sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.
 
Posts: 34
Karma: 1024532
Join Date: May 2008
Device: iPad 3, iPod Touch 4
Here you go:

************************************************** *************************

IPython post-mortem report

IPython version: 0.10

BZR revision : 1210

Platform info : os.name -> nt, sys.platform -> win32

************************************************** *************************
Spoiler:


Current user configuration structure:

{'__allownew': True, 'args': None, 'opts': None}

************************************************** *************************

Crash traceback:

---------------------------------------------------------------------------
WindowsError Python 2.6.3: E:\ebooks\Calibre2\calibre-debug.exe
Sat Nov 28 11:16:22 2009
A problem occured executing Python code. Here is the sequence of function
calls leading up to the error, with the most recent (innermost) call last.

E:\ebooks\Calibre2\Lib\site.pyo in main()
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
--> 103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118

E:\ebooks\Calibre2\Lib\site.pyo in run_entry_point()
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---> 85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100

E:\ebooks\Calibre2\Lib\site-packages\calibre\debug.pyo in main(args=['calibre-debug.exe'])
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
--> 199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214

E:\ebooks\Calibre2\Lib\site-packages\calibre\__init__.pyo in ipython(user_ns={'IPShellEmbed': <class IPython.Shell.IPShellEmbed at 0x022DB8D0>, 'In': ['\n'], 'Out': {}, '__IP': <IPython.iplib.InteractiveShell object at 0x017373D0>, '__builtins__': <module '__builtin__' (built-in)>, '__name__': '__main__', '_dh': [r'E:\ebooks\Calibre2'], '_ih': ['\n'], '_ip': <IPython.ipapi.IPApi object at 0x022E1B50>, '_oh': {}, ...})
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
--> 460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475

E:\ebooks\Calibre2\Lib\site-packages\IPython\Shell.pyo in __init__(self=<IPython.Shell.IPShellEmbed instance at 0x0222C3A0>, argv=None, banner='', exit_msg=None, rc_override=None, user_ns={'IPShellEmbed': <class IPython.Shell.IPShellEmbed at 0x022DB8D0>, 'In': ['\n'], 'Out': {}, '__IP': <IPython.iplib.InteractiveShell object at 0x017373D0>, '__builtins__': <module '__builtin__' (built-in)>, '__name__': '__main__', '_dh': [r'E:\ebooks\Calibre2'], '_ih': ['\n'], '_ip': <IPython.ipapi.IPApi object at 0x022E1B50>, '_oh': {}, ...})
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
--> 169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184

E:\ebooks\Calibre2\Lib\site-packages\IPython\ipmaker.pyo in make_IPython(argv=['calibre-debug.exe'], user_ns={'IPShellEmbed': <class IPython.Shell.IPShellEmbed at 0x022DB8D0>, 'In': ['\n'], 'Out': {}, '__IP': <IPython.iplib.InteractiveShell object at 0x017373D0>, '__builtins__': <module '__builtin__' (built-in)>, '__name__': '__main__', '_dh': [r'E:\ebooks\Calibre2'], '_ih': ['\n'], '_ip': <IPython.ipapi.IPApi object at 0x022E1B50>, '_oh': {}, ...}, user_global_ns=None, debug=1, rc_override=None, shell_class=<class 'IPython.iplib.InteractiveShell'>, embedded=True, **kw={})
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
--> 342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357

E:\ebooks\Calibre2\Lib\site-packages\IPython\iplib.pyo in user_setup(self=<IPython.iplib.InteractiveShell object at 0x017373D0>, ipythondir=u'C:\\Documents and Settings\\Susan Stevens\\Application Data\\calibre\\_ipython', rc_suffix='.ini', mode='install')
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
-> 1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342

E:\ebooks\Calibre2\Lib\site-packages\IPython\iplib.pyo in user_setup(ipythondir=u'C:\\Documents and Settings\\Susan Stevens\\Application Data\\calibre\\_ipython', rc_suffix='.ini', mode='install', interactive=True)
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
--> 275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290

E:\ebooks\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

************************************************** *************************

History of session input:

*** 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
sglinert is offline   Reply With Quote
Old 11-28-2009, 12:06 PM   #12
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: 25,374
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You forgot the -g

run the command as

calibre-debug -g
kovidgoyal is offline   Reply With Quote
Old 11-28-2009, 12:39 PM   #13
sglinert
Enthusiast
sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.
 
Posts: 34
Karma: 1024532
Join Date: May 2008
Device: iPad 3, iPod Touch 4
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'
sglinert is offline   Reply With Quote
Old 11-28-2009, 12:45 PM   #14
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: 25,374
Karma: 4961459
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.
kovidgoyal is offline   Reply With Quote
Old 11-28-2009, 01:21 PM   #15
sglinert
Enthusiast
sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.sglinert ought to be getting tired of karma fortunes by now.
 
Posts: 34
Karma: 1024532
Join Date: May 2008
Device: iPad 3, iPod Touch 4
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.
sglinert is offline   Reply With Quote
Reply

Tags
python error, won't run

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:39 PM.


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