Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 08-02-2014, 01:56 PM   #1
BobC
Guru
BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.
 
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
Editor error with hyperlinks

I am getting this error when I click on an internal hyperlink in the eitor's preview pane :

Code:
calibre, version 1.47.0
ERROR: Unhandled exception: <b>TypeError</b>:goto_sourceline() argument after * must be a sequence, not int

calibre 1.47  isfrozen: True is64bit: False
Windows-XP-5.1.2600-SP3 Windows ('32bit', 'WindowsPE')
('Windows', 'XP', '5.1.2600')
Python 2.7.5
Windows: ('XP', '5.1.2600', 'SP3', 'Uniprocessor Free')
Traceback (most recent call last):
  File "site-packages\calibre\gui2\tweak_book\boss.py", line 1123, in sync_editor_to_preview
TypeError: goto_sourceline() argument after * must be a sequence, not int
The fragment I am clicking on is part of a "Contents" section :
Code:
<p class="toc"><a href="PathKing.html#link2HCH0001" class="pginternal">CHAPTER 1. HIGHTOWN UNDER SUNFELL</a></p>
<p class="toc"><a href="PathKing.html#link2HCH0002" class="pginternal">CHAPTER 2. THE ENGLISHMAN</a></p>
<p class="toc"><a href="PathKing.html#link2HCH0003" class="pginternal">CHAPTER 3. THE WIFE OF FLANDERS</a></p>
<p class="toc"><a href="PathKing.html#link2HCH0004" class="pginternal">CHAPTER 4. EYES OF YOUTH</a></p>
<p class="toc"><a href="PathKing.html#link2HCH0005" class="pginternal">CHAPTER 5. THE MAID</a></p>
The preview jumps to the correct target but I get the error message. The linking also works fine in Calibre's book viewer.

I had this on another book today and thought it was an error in the book but this is newly downloaded from Gutenberg and generally these links aren't a problem.

BobC
BobC is offline   Reply With Quote
Old 08-02-2014, 10:06 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: 44,019
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...454667529d9196
kovidgoyal is offline   Reply With Quote
Advert
Old 08-03-2014, 04:58 AM   #3
BobC
Guru
BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.
 
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
Thanks, I've been trying to relate the error to what I saw but with no success. Nice to know it's not just me.

BobC
BobC is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Editor.. samy2 Editor 2 04-05-2014 02:02 AM
error syncing preview window to editor panel eschwartz Editor 1 02-19-2014 01:53 AM
Oxygen XML Editor - Image error Kayto ePub 14 04-17-2013 11:50 AM
template editor error lrui Calibre 2 11-06-2012 10:07 AM
Possible bug in 7.4 Tag Editor error FizzyWater Calibre 3 06-20-2010 06:11 AM


All times are GMT -4. The time now is 02:09 PM.


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