View Single Post
Old 03-25-2012, 01:27 PM   #1
Bandgeek
Junior Member
Bandgeek began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2012
Device: Kindle 3G
Qt exception thrown from an event handler

Last night I left Calibre importing a big collection of books. This morning Calibre was no longer running and when I try to start it up I get a Visual C++ runtime error. Unfortunately the error window is blank and doesn't tell me what the error is.

I deleted the last few dozen books that were added to the library thinking one of them might have hung it up, but that didn't help either.

I ran in debug mode and this is what I got.

C:\Users\Lenny>calibre-debug -g
Starting up...
Traceback (most recent call last):
File "site-packages\calibre\gui2\library\models.py", line 319, in sort
File "site-packages\calibre\gui2\library\models.py", line 327, in _sort
File "site-packages\calibre\library\caches.py", line 1013, in sort
File "site-packages\calibre\library\caches.py", line 1033, in multisort
File "site-packages\calibre\library\caches.py", line 1067, in __call__
File "site-packages\calibre\library\caches.py", line 1073, in itervals
File "site-packages\calibre\library\caches.py", line 200, in __getitem__
File "site-packages\calibre\library\database2.py", line 925, in get_metadata
File "site-packages\calibre\ebooks\metadata\book\base.py", line 107, in __init
__
File "copy.py", line 163, in deepcopy
File "copy.py", line 257, in _deepcopy_dict
File "copy.py", line 163, in deepcopy
File "copy.py", line 228, in _deepcopy_list
MemoryError
Unhandled exception in thread started by <bound method DeviceManager.__bootstrap
of <DeviceManager(Thread-6, stopped daemon 5928)>>
Traceback (most recent call last):
File "threading.py", line 503, in __bootstrap
File "threading.py", line 543, in __bootstrap_inner
MemoryError
Traceback (most recent call last):
File "site-packages\calibre\gui2\library\models.py", line 319, in sort
File "site-packages\calibre\gui2\library\models.py", line 327, in _sort
File "site-packages\calibre\library\caches.py", line 1013, in sort
File "site-packages\calibre\library\caches.py", line 1033, in multisort
MemoryError
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Any ideas?
Bandgeek is offline   Reply With Quote