Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 10-12-2013, 10:13 AM   #1966
Sefiriot
Bujavid tekikin
Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.
 
Sefiriot's Avatar
 
Posts: 139
Karma: 40366
Join Date: Aug 2013
Location: Malaysia
Device: LG G3 D855, Samsung Galaxy Note N7000
Just updated to calibre 1.6.0, got this trying to update an existing story:

Code:
calibre, version 1.6.0
ERROR: Unhandled exception: <b>ValueError</b>:tuple.index(x): x not in tuple

calibre 1.6 [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 "calibre_plugins.fanfictiondownloader_plugin.dialogs", line 568, in do_loop
  File "calibre_plugins.fanfictiondownloader_plugin.dialogs", line 575, in do_when_finished
  File "calibre_plugins.fanfictiondownloader_plugin.ffdl_plugin", line 1164, in update_books_finish
  File "site-packages\calibre\db\view.py", line 383, in set_marked_ids
  File "site-packages\calibre\gui2\__init__.py", line 421, in __call__
  File "site-packages\calibre\gui2\library\views.py", line 696, in marked_changed
  File "site-packages\calibre\db\view.py", line 193, in id_to_index
ValueError: tuple.index(x): x not in tuple
The ePub was updated with the new chapter, but I wonder what that error is about. Is this possibly to do with the changes to the Temp Marker feature?
Sefiriot is offline  
Old 10-12-2013, 11:15 AM   #1967
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,262
Karma: 3675895
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by Sefiriot View Post
Just updated to calibre 1.6.0, got this trying to update an existing story:

Code:
calibre, version 1.6.0
ERROR: Unhandled exception: <b>ValueError</b>:tuple.index(x): x not in tuple
...
The ePub was updated with the new chapter, but I wonder what that error is about. Is this possibly to do with the changes to the Temp Marker feature?
Possibly. I'm not seeing this issue with the lastest FFDL test version. What is the story URL you saw it with?
JimmXinu is offline  
Old 10-12-2013, 11:35 AM   #1968
Sefiriot
Bujavid tekikin
Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.
 
Sefiriot's Avatar
 
Posts: 139
Karma: 40366
Join Date: Aug 2013
Location: Malaysia
Device: LG G3 D855, Samsung Galaxy Note N7000
First saw the issue with http://www.fanfiction.net/s/7251431/1/. I later updated an anthology (AO3 series) that added a new story, single chapter with no problems.

I then updated a second anthology, also an AO3 series, but the update was to add a new chapter to one of the fics in the anthology, again with the same error message as above.

For the latest single story updated with that error, a yellow pin icon is shown in the normal records view (see attached screencap); not sure why it should.
Attached Thumbnails
Click image for larger version

Name:	yellowpin.JPG
Views:	144
Size:	16.1 KB
ID:	113194  
Sefiriot is offline  
Old 10-12-2013, 11:36 AM   #1969
redscarlett
Enthusiast
redscarlett began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Jul 2013
Device: Nook Simple Touch Glowlight
Quote:
Originally Posted by Sefiriot View Post
Just updated to calibre 1.6.0, got this trying to update an existing story:

Code:
calibre, version 1.6.0
ERROR: Unhandled exception: <b>ValueError</b>:tuple.index(x): x not in tuple

calibre 1.6 [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 "calibre_plugins.fanfictiondownloader_plugin.dialogs", line 568, in do_loop
  File "calibre_plugins.fanfictiondownloader_plugin.dialogs", line 575, in do_when_finished
  File "calibre_plugins.fanfictiondownloader_plugin.ffdl_plugin", line 1164, in update_books_finish
  File "site-packages\calibre\db\view.py", line 383, in set_marked_ids
  File "site-packages\calibre\gui2\__init__.py", line 421, in __call__
  File "site-packages\calibre\gui2\library\views.py", line 696, in marked_changed
  File "site-packages\calibre\db\view.py", line 193, in id_to_index
ValueError: tuple.index(x): x not in tuple
The ePub was updated with the new chapter, but I wonder what that error is about. Is this possibly to do with the changes to the Temp Marker feature?
I've had the same problem, and it occurs with Generate Cover too.
redscarlett is offline  
Old 10-12-2013, 12:10 PM   #1970
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,262
Karma: 3675895
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by Sefiriot View Post
First saw the issue with http://www.fanfiction.net/s/7251431/1/. I later updated an anthology (AO3 series) that added a new story, single chapter with no problems.

I then updated a second anthology, also an AO3 series, but the update was to add a new chapter to one of the fics in the anthology, again with the same error message as above.

For the latest single story updated with that error, a yellow pin icon is shown in the normal records view (see attached screencap); not sure why it should.
??? Anthologies don't even call the piece of code your first error report showed.

Please try the latest test version. If nothing else, unchecking the 'Marked added/updated books' option in FFDL config will bypass that code.

The new 'Mark Books' feature in the main calibre program makes marked books visible that way. calibre's had the marking ability for a long time, but it wasn't visible before. That's why I'm adding an option to not mark added/updated books.
JimmXinu is offline  
Old 10-12-2013, 12:15 PM   #1971
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,262
Karma: 3675895
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by redscarlett View Post
I've had the same problem, and it occurs with Generate Cover too.
Can you clarify that statement?

The Generate Cover PI doesn't mark books, so it won't generate that same error when used alone.

If you mean you have GC turned on in FFDL to run on add/update, calling GC isn't really relevant to the problem this time.
JimmXinu is offline  
Old 10-12-2013, 02:02 PM   #1972
redscarlett
Enthusiast
redscarlett began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Jul 2013
Device: Nook Simple Touch Glowlight
Quote:
Originally Posted by JimmXinu View Post
Can you clarify that statement?

The Generate Cover PI doesn't mark books, so it won't generate that same error when used alone.

If you mean you have GC turned on in FFDL to run on add/update, calling GC isn't really relevant to the problem this time.
I meant a similar error arising - as in related to tuple, but I think I've sorted it now thanks, though the FFDL one hasn't been fixed yet.

Last edited by redscarlett; 10-12-2013 at 06:47 PM.
redscarlett is offline  
Old 10-13-2013, 02:27 AM   #1973
Sefiriot
Bujavid tekikin
Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.
 
Sefiriot's Avatar
 
Posts: 139
Karma: 40366
Join Date: Aug 2013
Location: Malaysia
Device: LG G3 D855, Samsung Galaxy Note N7000
Quote:
Originally Posted by JimmXinu View Post
??? Anthologies don't even call the piece of code your first error report showed.

Please try the latest test version. If nothing else, unchecking the 'Marked added/updated books' option in FFDL config will bypass that code.

The new 'Mark Books' feature in the main calibre program makes marked books visible that way. calibre's had the marking ability for a long time, but it wasn't visible before. That's why I'm adding an option to not mark added/updated books.
I've never activated the 'marked added/updated books' option in the configs, actually; there was no point to doing so when I sort my library by latest modified. Even so the yellow pin marker seems to be turning up for the last single book I add/update, doesn't happen with anthologies.

And you're right, anthologies updated this morning don't trigger that tuple error even though I could've sworn one of the anthologies I updated last night did trigger that.

Meanwhile, adding these stories triggered the tuple error message, after several updates for other stories that went off without a hitch. http://archiveofourown.org/works/1001954, http://archiveofourown.org/works/1002277 and http://www.fanfiction.net/s/8576811/1/

Attached calibre debug log, but don't think I see anything unusual in it. :S I'll update to the test version for the later afternoon/evening spate of updates and see what happens.

ETA: Updated to the test version of FFDL, downloaded a new fic, the tuple error still occurs. Didn't have calibre-debug on however, for which I'm sorry. I still can't seem to see any logic to which stories trigger the error and which don't.
Attached Files
File Type: txt tmpqmmiva.txt (173.9 KB, 142 views)

Last edited by Sefiriot; 10-13-2013 at 10:37 AM.
Sefiriot is offline  
Old 10-13-2013, 11:42 AM   #1974
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,262
Karma: 3675895
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by Sefiriot View Post
I've never activated the 'marked added/updated books' option in the configs, actually; there was no point to doing so when I sort my library by latest modified. Even so the yellow pin marker seems to be turning up for the last single book I add/update, doesn't happen with anthologies.
The yellow pin marker is a new calibre feature indicating marked books. Marking the added/updated books didn't make any difference to users who didn't care before--that's why it wasn't even an option not to do it before.

You never turned it on because it wasn't there before--it was always on and still defaults to on if you don't turn it off in the text version posted. It's a checkbox on the Basic tab. I'll default it to off when I release the next release.

This is a calibre bug that is already fixed. But because the next calibre release isn't until Friday, turning off "Mark added/updated books when finished" is the only fix right now.
JimmXinu is offline  
Old 10-13-2013, 12:18 PM   #1975
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,262
Karma: 3675895
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Version 1.7.47 - 13 Oct 2013
  • New site: fictionpad.com
  • Debug/information output reduced and changed to logging.
  • New Basic option "Mark added/updated books when finished?"

Calibre's new 'Mark Book' feature is an expansion of the existing system for marking books. FFDL has for some time marked added/updated books for 'Show added/updated books' feature and the minority who knew how to search for them.

Now, however, marked books show up visibly (yellow pin to the left) and the current version of calibre has a bug that sometimes crops up when marking the books. It's already fixed. But because the next calibre release isn't until Friday, turning off "Mark added/updated books when finished" is the only fix right now.
JimmXinu is offline  
Old 10-13-2013, 03:19 PM   #1976
Sefiriot
Bujavid tekikin
Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.
 
Sefiriot's Avatar
 
Posts: 139
Karma: 40366
Join Date: Aug 2013
Location: Malaysia
Device: LG G3 D855, Samsung Galaxy Note N7000
Attempting to update a fic from FFN, hit this error with latest release of FFDL:


Code:
Traceback (most recent call last):
  File "calibre_plugins.fanfictiondownloader_plugin.jobs", line 212, in do_download_for_worker
  File "calibre_plugins.fanfictiondownloader_plugin.fanficdownloader.writers.base_writer", line 227, in writeStory
  File "calibre_plugins.fanfictiondownloader_plugin.fanficdownloader.adapters.base_adapter", line 211, in getStory
  File "calibre_plugins.fanfictiondownloader_plugin.fanficdownloader.adapters.adapter_fanfictionnet", line 285, in getChapterText
FailedToDownload: Error downloading Chapter: http://www.fanfiction.net/s/8897431/22/!  Missing required element!

FFDL:INFO:calibre_plugins.fanfictiondownloader_plugin.jobs(98):Successfully downloaded:
FFDL:INFO:calibre_plugins.fanfictiondownloader_plugin.jobs(102):
Unsuccessful:
FFDL:INFO:calibre_plugins.fanfictiondownloader_plugin.jobs(105):Child of the Storm http://www.fanfiction.net/s/8897431/1/
Sefiriot is offline  
Old 10-13-2013, 03:21 PM   #1977
Ellachanted
Connoisseur
Ellachanted began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Oct 2013
Device: Kindle touch
I'm suddenly having issues with FFnet. It was working perfectly this morning. Now I am getting error messages such as this:

Status
Title
Author
Comment
URL
Error
Femme Fatale
bexie25
Error downloading Chapter: http://www.fanfiction.net/s/8002577/1/! Missing required element!
http://www.fanfiction.net/s/8002577/1/

It doesn't really make sense unless they are doing something to the database. I know Flagfic is having issues with newer stories since yesterday. I did update to the new version. Can I go back to the previous version somehow?

Thanks
Ellachanted is offline  
Old 10-13-2013, 03:27 PM   #1978
BaconButty
Connoisseur
BaconButty will become famous soon enoughBaconButty will become famous soon enoughBaconButty will become famous soon enoughBaconButty will become famous soon enoughBaconButty will become famous soon enoughBaconButty will become famous soon enough
 
Posts: 69
Karma: 520
Join Date: Jun 2012
Location: France
Device: Kindle Paperwhite 5 & iPad Mini & Galaxy Tab10
Exclamation New problem with FanFiction.net?

FFN fics are showing are error message when being updated.
Could this be part of the new copy-protection to help prevent plagiarism?

Error - How to Forget - Shadow Masen
Error downloading Chapter: http://www.fanfiction.net/s/9708631/8/! Missing required element!
http://www.fanfiction.net/s/9708631/1/
Bad

Error
When Day Ends and Night Begins - PuppetStrings19
Error downloading Chapter: http://www.fanfiction.net/s/9469398/40/! Missing required element!
http://www.fanfiction.net/s/9469398/1/
Bad

Error - Beaches and Boardwalks - jaxon22
Error downloading Chapter: http://www.fanfiction.net/s/9692076/14/! Missing required element!
http://www.fanfiction.net/s/9692076/1/
Bad

Error - The Perfect Partner Program - MarieCarro
Error downloading Chapter: http://www.fanfiction.net/s/9201608/11/! Missing required element!
http://www.fanfiction.net/s/9201608/1/
Bad

Error - Friend of the Family - SweetUmami
Error downloading Chapter: http://www.fanfiction.net/s/9374916/19/! Missing required element!
http://www.fanfiction.net/s/9374916/1/
Bad


I have tried downloading before and after the FFDL update, without any difference.

Thank you.
BaconButty is offline  
Old 10-13-2013, 03:27 PM   #1979
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,262
Karma: 3675895
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
ffnet has tweaked their HTML again in a way that breaks FFDL. Going back a version of FFDL won't help.

I hope to have a fixed version shortly.
JimmXinu is offline  
Old 10-13-2013, 03:40 PM   #1980
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,262
Karma: 3675895
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Version 1.7.48 - 13 Oct 2013

- Fix for an HTML change on fanfiction.net

(You might need to get it manually from the first post for immediate effect. There's now an hourly cron that collects the plugin zip files for calibre's built-in plugin installer.

From 1.7.47:
  • New site: fictionpad.com
  • Debug/information output reduced and changed to logging.
  • New Basic option "Mark added/updated books when finished?"

Calibre's new 'Mark Book' feature is an expansion of the existing system for marking books. FFDL has for some time marked added/updated books for 'Show added/updated books' feature and the minority who knew how to search for them.

Now, however, marked books show up visibly (yellow pin to the left) and the current version of calibre has a bug that sometimes crops up when marking the books. It's already fixed. But because the next calibre release isn't until Friday, turning off "Mark added/updated books when finished" is the only fix right now.
JimmXinu is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Resize Cover kiwidude Plugins 95 03-16-2024 11:55 PM
[GUI Plugin] Open With kiwidude Plugins 402 03-16-2024 11:44 PM
[GUI Plugin] Find Duplicates kiwidude Plugins 1096 03-16-2024 11:28 PM
[GUI Plugin] Count Pages kiwidude Plugins 1744 03-02-2024 05:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 05:03 AM.


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