Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-25-2014, 02:03 AM   #1
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
V 1.46 - Error with Author Link

I'm getting 4 of the following errors on any book where the Author Link field has a url to a local folder - e.g. file:///E:/Calibre%20Libraries/TestInfo/AuthorInfo/Anat%20Admati/ - the book details pane is either blank or it contains the details of the book that was previously current in the book list.

Code:
calibre, version 1.46.0
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'lt' referenced before assignment

calibre 1.46 [64bit]  isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.5
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
  File "site-packages\calibre\gui2\book_details.py", line 609, in show_data
  File "site-packages\calibre\gui2\book_details.py", line 335, in show_data
  File "site-packages\calibre\gui2\book_details.py", line 28, in render_html
  File "site-packages\calibre\gui2\book_details.py", line 103, in render_data
  File "site-packages\calibre\ebooks\metadata\book\render.py", line 159, in mi_to_html
UnboundLocalError: local variable 'lt' referenced before assignment
BR

Last edited by BetterRed; 07-25-2014 at 02:06 AM.
BetterRed is offline   Reply With Quote
Old 07-25-2014, 02:08 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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sigh, silly typo:
https://github.com/kovidgoyal/calibr...91ff8397bb2641

I will upload a fixed build in an hour or so.
kovidgoyal is offline   Reply With Quote
Advert
Old 07-25-2014, 02:17 AM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
no worries
BetterRed is offline   Reply With Quote
Old 07-25-2014, 02:55 AM   #4
hleo12
Guru
hleo12 ought to be getting tired of karma fortunes by now.hleo12 ought to be getting tired of karma fortunes by now.hleo12 ought to be getting tired of karma fortunes by now.hleo12 ought to be getting tired of karma fortunes by now.hleo12 ought to be getting tired of karma fortunes by now.hleo12 ought to be getting tired of karma fortunes by now.hleo12 ought to be getting tired of karma fortunes by now.hleo12 ought to be getting tired of karma fortunes by now.hleo12 ought to be getting tired of karma fortunes by now.hleo12 ought to be getting tired of karma fortunes by now.hleo12 ought to be getting tired of karma fortunes by now.
 
hleo12's Avatar
 
Posts: 631
Karma: 5078890
Join Date: Feb 2014
Device: Kobo Glo (deceased), Kindle 4th, Kindle Basic 10th Generation
Quote:
Originally Posted by kovidgoyal View Post
Sigh, silly typo:
https://github.com/kovidgoyal/calibr...91ff8397bb2641

I will upload a fixed build in an hour or so.
I updated to the 1.4.6 and I got this error everytime I select a book downloaded using the fanfiction downloader plugin. Don't really know where to post this, but I googled some of the error and was directed to this thread...

Code:
calibre, version 1.46.0
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'lt' referenced before assignment

calibre 1.46 Portable isfrozen: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '7', '6.1.7601')
Python 2.7.5
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
  File "site-packages\calibre\gui2\book_details.py", line 609, in show_data
  File "site-packages\calibre\gui2\book_details.py", line 335, in show_data
  File "site-packages\calibre\gui2\book_details.py", line 28, in render_html
  File "site-packages\calibre\gui2\book_details.py", line 103, in render_data
  File "site-packages\calibre\ebooks\metadata\book\render.py", line 159, in mi_to_html
UnboundLocalError: local variable 'lt' referenced before assignment
It seems that I'm getting the same error as OP

Last edited by hleo12; 07-25-2014 at 02:57 AM. Reason: update
hleo12 is offline   Reply With Quote
Old 07-25-2014, 03:47 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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Fixed build uploaded, re-download and re-install and you should be fine.
kovidgoyal is offline   Reply With Quote
Advert
Old 07-25-2014, 04:58 AM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
good as gold

BR
BetterRed is offline   Reply With Quote
Old 07-25-2014, 06:45 AM   #7
copyrite
Wizard
copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.
 
copyrite's Avatar
 
Posts: 1,814
Karma: 4985051
Join Date: Sep 2010
Location: Maryland
Device: ...lots! ;) mostly reading on a Kindle Voyage
What if you want to switch back to the Wiki link? There's no 'revert' option, and I wouldn't want to have to go hunting down the URL to do so each time. Thanks.
copyrite is online now   Reply With Quote
Old 07-25-2014, 07:03 AM   #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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Click restore defaults and copy the link, then cancel and do it again this time changing the link to the previously copied value.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Book Details Author Link Chris_Snow Library Management 14 07-25-2014 10:32 PM
I need Help With Default Author Link Template BNGA Library Management 3 08-15-2013 11:40 PM
tweak the author - wwikipedia link cybmole Calibre 6 06-10-2013 10:55 PM
Author link exchange? Steven Lake Writers' Corner 8 01-13-2011 11:13 AM
External Link Error (Sys 0505)(0,841) (Plucker) haystack101 Reading and Management 0 06-29-2006 07:39 PM


All times are GMT -4. The time now is 07:43 AM.


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