Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-31-2012, 01:32 PM   #1
kanyiva
Junior Member
kanyiva began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2012
Device: iPad2
Question Issue with "Error: Unhandled exception"

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
kanyiva is offline   Reply With Quote
Old 05-31-2012, 02:18 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: 43,860
Karma: 22666666
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.
kovidgoyal is offline   Reply With Quote
Old 06-01-2012, 11:36 PM   #3
kanyiva
Junior Member
kanyiva began at the beginning.
 
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.
kanyiva is offline   Reply With Quote
Old 06-03-2012, 09:51 PM   #4
Mi3ke
Junior Member
Mi3ke began at the beginning.
 
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.
Mi3ke is offline   Reply With Quote
Old 06-03-2012, 10:09 PM   #5
Mi3ke
Junior Member
Mi3ke began at the beginning.
 
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 !
Mi3ke is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 06:16 PM.


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