![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: May 2012
Device: iPad2
|
![]()
Good day. I keep running into the error message below when I try to open select books in Calibre. I would appreciate any help. Thanks.
calibre, version 0.8.54 ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'i' referenced before assignment Traceback (most recent call last): File "site-packages/calibre/gui2/viewer/main.py", line 848, in load_ebook File "site-packages/calibre/gui2/viewer/toc.py", line 153, in __init__ File "site-packages/calibre/gui2/viewer/toc.py", line 72, in __init__ UnboundLocalError: local variable 'i' referenced before assignment |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,221
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's a weird error, the only way I can think of it happening is if the spine of the book is empty. Can you open a bug report and attach one of these files. I can at least fix the viewer to handle this case more gracefully.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: May 2012
Device: iPad2
|
Thank you for your prompt response. I have gone ahead and submitted a bug report. Thanks again.
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2012
Device: Nook
|
Hi I too seem to have this error:
calibre, version 0.8.49 ERROR: Unhandled exception: <b>CriticalError</b>:Failed to launch worker process: Traceback (most recent call last): File "site-packages\calibre\utils\ipc\server.py", line 149, in do_launch File "multiprocessing\connection.py", line 121, in accept File "multiprocessing\connection.py", line 368, in deliver_challenge File "site.py", line 66, in load_module ZipImportError: can't find module hmac Traceback (most recent call last): File "site-packages\calibre\gui2\actions\view.py", line 201, in view_triggered File "site-packages\calibre\gui2\actions\view.py", line 269, in _view_books File "site-packages\calibre\gui2\actions\view.py", line 236, in _view_calibre_books File "site-packages\calibre\gui2\actions\view.py", line 101, in view_format_by_id File "site-packages\calibre\gui2\actions\view.py", line 132, in _view_file File "site-packages\calibre\gui2\actions\view.py", line 120, in _launch_viewer File "site-packages\calibre\gui2\jobs.py", line 249, in launch_gui_app File "site-packages\calibre\utils\ipc\server.py", line 166, in run_job File "site-packages\calibre\utils\ipc\server.py", line 139, in launch_worker CriticalError: Failed to launch worker process: Traceback (most recent call last): File "site-packages\calibre\utils\ipc\server.py", line 149, in do_launch File "multiprocessing\connection.py", line 121, in accept File "multiprocessing\connection.py", line 368, in deliver_challenge File "site.py", line 66, in load_module ZipImportError: can't find module hmac I'm brand new to this site and its forums. I also placed a similar question on the "Comments, Questions" thread. Where do I go to start a bug report? Thanks very much. |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2012
Device: Nook
|
It seems you get that error if you've downloaded the latest update, told it to go ahead and do its thing, But have not *actually* restarted the computer to seal the deal.
My books now seem to be opening as before. Sorry for the hoorah ! |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Database Exception error - "malformed" | Debby | Calibre | 6 | 02-18-2011 02:39 PM |
"Unhandled exception" when plugging in my PRS-300 | VelvetElvis | Devices | 2 | 01-30-2011 03:22 PM |
ERROR: Unhandled exception: <b>TypeError</b> | mdurham | Calibre | 3 | 08-27-2010 11:31 PM |
Unhandled exception: <b>DatabaseException</b>:disk I/O error | workshy_1 | Calibre | 1 | 09-18-2009 01:32 PM |
Unhandled exception error in Sidux | no.guru | Calibre | 2 | 06-23-2009 03:03 PM |