07-25-2014, 02:03 AM | #1 |
null operator (he/him)
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 Last edited by BetterRed; 07-25-2014 at 02:06 AM. |
07-25-2014, 02:08 AM | #2 |
creator of calibre
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. |
Advert | |
|
07-25-2014, 02:17 AM | #3 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
no worries
|
07-25-2014, 02:55 AM | #4 | |
Guru
Posts: 631
Karma: 5078890
Join Date: Feb 2014
Device: Kobo Glo (deceased), Kindle 4th, Kindle Basic 10th Generation
|
Quote:
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 Last edited by hleo12; 07-25-2014 at 02:57 AM. Reason: update |
|
07-25-2014, 03:47 AM | #5 |
creator of calibre
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.
|
Advert | |
|
07-25-2014, 04:58 AM | #6 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
good as gold
BR |
07-25-2014, 06:45 AM | #7 |
Wizard
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.
|
07-25-2014, 07:03 AM | #8 |
creator of calibre
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.
|
|
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 |