Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-27-2009, 09:27 AM   #1
AprilHare
Wizard
AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.
 
AprilHare's Avatar
 
Posts: 2,981
Karma: 11862367
Join Date: Apr 2008
Device: Sony Reader PRS-T2
Problem with Windows installer

Following occured:
Quote:
ERROR: Could not move library: table authors already exists
RemoteTraceback (most recent call last):
File "site-packages\calibre\library\sqlite.py", line 144, in run
OperationalError: table authors already exists

Traceback (most recent call last):
File "site-packages\calibre\gui2\wizard\__init__.py", line 440, in move_library
File "site-packages\calibre\library\database2.py", line 418, in __init__
File "site-packages\calibre\library\database2.py", line 405, in connect
File "site-packages\calibre\library\database2.py", line 459, in initialize_database
File "site-packages\calibre\library\sqlite.py", line 180, in run
DatabaseException: table authors already exists
RemoteTraceback (most recent call last):
File "site-packages\calibre\library\sqlite.py", line 144, in run
OperationalError: table authors already exists
Quote:
ERROR: Bad database location: Bad database location:C:\Users\7\Calibre Library

Traceback (most recent call last):
File "site-packages\calibre\gui2\ui.py", line 465, in __init__
File "site-packages\calibre\library\database2.py", line 418, in __init__
File "site-packages\calibre\library\database2.py", line 402, in connect
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\7\\Calibre Library\\metadata.db'
Had to make directory elsewhere before it would work. Unsure as to reason. Fresh install on Vista machine.
Preferences also needed to be told about new directory (was found to be blank after 'cannot find database' error when went to download news).
Ran it again, forgotten about directory location. Given up for tonight!

Last edited by AprilHare; 12-27-2009 at 09:38 AM. Reason: moar
AprilHare is offline   Reply With Quote
Old 12-27-2009, 12:53 PM   #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: 44,550
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sounds like you have somehow managed to get multiple instances of calibre running. reboot and delete the metadata.db file and you should be fine.
kovidgoyal is offline   Reply With Quote
Advert
Old 12-29-2009, 07:17 AM   #3
AprilHare
Wizard
AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.
 
AprilHare's Avatar
 
Posts: 2,981
Karma: 11862367
Join Date: Apr 2008
Device: Sony Reader PRS-T2
Rebooted, deleted metadata file, getting errors.
Tried installing 0.6.31, rebooted ensuring metadata deleted, still getting errors.
Quote:
ERROR: Bad database location: Bad database location:C:\Users\7\Calibre Library

Traceback (most recent call last):
File "site-packages\calibre\gui2\ui.py", line 465, in __init__
File "site-packages\calibre\library\database2.py", line 418, in __init__
File "site-packages\calibre\library\database2.py", line 405, in connect
File "site-packages\calibre\library\database2.py", line 459, in initialize_database
File "site-packages\calibre\library\sqlite.py", line 180, in run
DatabaseException: table authors already exists
RemoteTraceback (most recent call last):
File "site-packages\calibre\library\sqlite.py", line 144, in run
OperationalError: table authors already exists
I click OK, asks me to choose location. Trying same directory,
Quote:
Python function terminated unexpectedly (32, 'The process cannot access the file because it is being used by another process') (Error Code:1)
AprilHare is offline   Reply With Quote
Old 12-29-2009, 09:49 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: 44,550
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Try lauching it from the command prompt as

calibre --with-library c:\users\7\library

(make sure c:\users\7\library exists and is empty)
kovidgoyal is offline   Reply With Quote
Old 12-29-2009, 07:29 PM   #5
AprilHare
Wizard
AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.
 
AprilHare's Avatar
 
Posts: 2,981
Karma: 11862367
Join Date: Apr 2008
Device: Sony Reader PRS-T2
Quote:
Originally Posted by kovidgoyal View Post
Try lauching it from the command prompt as

calibre --with-library c:\users\7\library

(make sure c:\users\7\library exists and is empty)
Quote:
ERROR: Bad database location: Bad database location:c:\users\7\library

Traceback (most recent call last):
File "site-packages\calibre\gui2\ui.py", line 465, in __init__
File "site-packages\calibre\library\database2.py", line 418, in __init__
File "site-packages\calibre\library\database2.py", line 405, in connect
File "site-packages\calibre\library\database2.py", line 459, in initialize_database
File "site-packages\calibre\library\sqlite.py", line 180, in run
DatabaseException: table authors already exists
RemoteTraceback (most recent call last):
File "site-packages\calibre\library\sqlite.py", line 144, in run
OperationalError: table authors already exists
Maybe it can't handle directories named 7? (No, I can't rename it: it's not my machine.)
AprilHare is offline   Reply With Quote
Advert
Old 12-29-2009, 07:41 PM   #6
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: 44,550
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's just weird. The error is saying that a table already exists, I really don't see how that could happen when launching a single instance from the command line.

I dont see why 7 should cause a problem either, but maybe you can use a location outside c:\Users?
kovidgoyal is offline   Reply With Quote
Old 12-29-2009, 08:47 PM   #7
AprilHare
Wizard
AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.AprilHare ought to be getting tired of karma fortunes by now.
 
AprilHare's Avatar
 
Posts: 2,981
Karma: 11862367
Join Date: Apr 2008
Device: Sony Reader PRS-T2
Quote:
Originally Posted by kovidgoyal View Post
That's just weird. The error is saying that a table already exists, I really don't see how that could happen when launching a single instance from the command line.

I dont see why 7 should cause a problem either, but maybe you can use a location outside c:\Users?
D:\Calibre\ worked.
No idea why C:\Users\7\library didn't. Oh well.
AprilHare is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Installer? radamo Calibre 4 12-27-2009 09:09 AM
New windows build and installer kovidgoyal Calibre 17 10-11-2009 10:44 AM
calibre 0.5.2 Windows Installer geht nicht wiseguy Erste Hilfe 10 03-27-2009 09:31 AM
Installer doesn't run on Windows 7 drogo Calibre 5 02-09-2009 09:13 PM
Google Pack-like Installer for Windows Mobile Pocket PC jrand780 News 1 10-19-2007 12:34 AM


All times are GMT -4. The time now is 06:08 AM.


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