Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-16-2017, 03:57 PM   #2221
Chrystalline
Enthusiast
Chrystalline began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2015
Device: pc
Quote:
Originally Posted by JimmXinu View Post
I suggest going to PM or email if you want continue this discussion--it's getting a bit esoteric.
Aww, I found it interesting. I'm not enough of a coder to make out what's going on in github, but when you write it out like this it makes sense. (well, I'd call myself cut-n-paste level...got a C in C and withdrew failing from C++, but with trial and error I can usually figure out what chunks of code do what I need and put them where I want them)

Does this mean it could be possible to add journal/html sites if someone built an index/metadata-hub? It's something I've been pondering for years (I even have a domain for it) but I don't know enough about the database/site coding to put it together to do what I want. My brother can write code, but I can't get him to understand what I'm trying to do, like we're not quite speaking the same language.
Chrystalline is offline   Reply With Quote
Old 06-16-2017, 05:50 PM   #2222
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Chrystalline View Post
Does this mean it could be possible to add journal/html sites if someone built an index/metadata-hub? It's something I've been pondering for years (I even have a domain for it) but I don't know enough about the database/site coding to put it together to do what I want.
In theory, maybe. There's still extracting chapters from pages which can be challenging.
JimmXinu is offline   Reply With Quote
Old 06-16-2017, 08:30 PM   #2223
iakovl
Connoisseur
iakovl began at the beginning.
 
Posts: 80
Karma: 10
Join Date: Dec 2009
Device: none
well calibre 3 is out, for now i avoid updating to it until i know the plugin wont have problems with it (it's my main reason to use calibre)
iakovl is offline   Reply With Quote
Old 06-16-2017, 08:39 PM   #2224
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by iakovl View Post
well calibre 3 is out, for now i avoid updating to it until i know the plugin wont have problems with it (it's my main reason to use calibre)
The plugin doesn't have any problems with calibre v3.
davidfor is offline   Reply With Quote
Old 06-16-2017, 09:41 PM   #2225
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I've been using the v3 betas pretty much exclusively for a couple weeks. It's fine with FanFicFare.
JimmXinu is offline   Reply With Quote
Old 06-17-2017, 09:11 AM   #2226
iakovl
Connoisseur
iakovl began at the beginning.
 
Posts: 80
Karma: 10
Join Date: Dec 2009
Device: none
got an error with fimfiction
calibre 3 + latest test FFF
Quote:
time data '16 June 2017' does not match format '%d %B %Y'
iakovl is offline   Reply With Quote
Old 06-17-2017, 10:57 AM   #2227
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by iakovl View Post
got an error with fimfiction
calibre 3 + latest test FFF
The test version contains changes for fimfiction site changes--not calibre v3's fault.

Are you using the latest test version? Story URL?

Last edited by JimmXinu; 06-17-2017 at 11:29 AM. Reason: Add '3'
JimmXinu is offline   Reply With Quote
Old 06-17-2017, 12:05 PM   #2228
iakovl
Connoisseur
iakovl began at the beginning.
 
Posts: 80
Karma: 10
Join Date: Dec 2009
Device: none
story : https://www.fimfiction.net/story/376529/ice-cream
i use the latest test version (update when i see them due to fimfic new site and changes)
iakovl is offline   Reply With Quote
Old 06-17-2017, 12:11 PM   #2229
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by iakovl View Post
story : https://www.fimfiction.net/story/376529/ice-cream
i use the latest test version (update when i see them due to fimfic new site and changes)
Are you sure you have the latest test version? Because that story downloads fine for me...
JimmXinu is offline   Reply With Quote
Old 06-17-2017, 12:53 PM   #2230
iakovl
Connoisseur
iakovl began at the beginning.
 
Posts: 80
Karma: 10
Join Date: Dec 2009
Device: none
2017-06-15 installed after upgrade to V3
iakovl is offline   Reply With Quote
Old 06-17-2017, 02:02 PM   #2231
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by iakovl View Post
2017-06-15 installed after upgrade to V3
I suggest that you download and install it again.

If it still fails, then run calibre in debug mode (under calibre's Prefs dropdown) while downloading and post the debug log.
JimmXinu is offline   Reply With Quote
Old 06-17-2017, 03:28 PM   #2232
iakovl
Connoisseur
iakovl began at the beginning.
 
Posts: 80
Karma: 10
Join Date: Dec 2009
Device: none
redownloaded, the same error
it doesn't happen on all fic's by the way, just some

Code:
calibre Debug log
calibre 3.0 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.15063-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.15063')
Python 2.7.12+
Windows: ('10', '10.0.15063', 'SP0', u'Multiprocessor Free')
Successfully initialized third party plugins: Reading List (1, 6, 6) && FanFicFare (2, 12, 13) && Generate Cover (1, 5, 21) && Count Pages (1, 8, 0)
calibre 3.0 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.15063-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.15063')
Python 2.7.12+
Windows: ('10', '10.0.15063', 'SP0', u'Multiprocessor Free')
Successfully initialized third party plugins: Reading List (1, 6, 6) && FanFicFare (2, 12, 13) && Generate Cover (1, 5, 21) && Count Pages (1, 8, 0)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 120.0 x 120.0
physicalDpi: 54.795505618 x 54.864
Using calibre Qt style: True
Starting up...
FFF: DEBUG: 2017-06-17 22:25:57,104: calibre_plugins.fanficfare_plugin.fff_plugin(207): Plugin FanFicFare macmenuhack file_path:C:\Users\ian\AppData\Roaming\calibre\plugins\fanficfare_macmenuhack.txt
Started up in 72.33 seconds with 1837 books
FFF: DEBUG: 2017-06-17 22:27:16,049: calibre_plugins.fanficfare_plugin.fff_plugin(954): FanFicFare v2.12.13
FFF: DEBUG: 2017-06-17 22:27:16,118: calibre_plugins.fanficfare_plugin.fff_plugin(1044): url:https://www.fimfiction.net/story/376529/
FFF: DEBUG: 2017-06-17 22:27:16,150: calibre_plugins.fanficfare_plugin.fanficfare.configurable(1014): #####################################
pagecache(GET) MISS: https://www.fimfiction.net/story/376529/
FFF: ERROR: 2017-06-17 22:27:17,434: calibre_plugins.fanficfare_plugin.dialogs(680): Exception: {u'end': None, u'added': False, u'calibre_id': None, u'author_sort': [u'Unknown'], u'series': u'', u'publisher': None, u'good': False, u'url': u'https://www.fimfiction.net/story/376529/', u'showerror': True, u'begin': None, u'title': u'Unknown', u'listorder': 0, u'comments': u'', u'pubdate': None, u'site': 'www.fimfiction.net', u'comment': u"time data '16 June 2017' does not match format '%d %B %Y'", u'author': [u'Unknown']}:time data '16 June 2017' does not match format '%d %B %Y'
Traceback (most recent call last):
  File "calibre_plugins.fanficfare_plugin.dialogs", line 668, in do_loop
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1134, in prep_download_loop
  File "calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter", line 197, in getStoryMetadataOnly
  File "calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_fimfictionnet", line 245, in doExtractChapterUrlsAndMetadata
  File "calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_fimfictionnet", line 329, in date_span_tag_to_date
  File "_strptime.py", line 332, in _strptime
ValueError: time data '16 June 2017' does not match format '%d %B %Y'
iakovl is offline   Reply With Quote
Old 06-17-2017, 05:02 PM   #2233
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New test version posted

2017-06-17
- Change adapter_fimfictionnet to use makeDate for non-USEnglish locales.

This should be changed even if it doesn't fix the problem reported, but I expect it will.

Quote:
Originally Posted by iakovl View Post
redownloaded, the same error
it doesn't happen on all fic's by the way, just some

Code:
...
  File "calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_fimfictionnet", line 245, in doExtractChapterUrlsAndMetadata
  File "calibre_plugins.fanficfare_plugin.fanficfare.adapters.adapter_fimfictionnet", line 329, in date_span_tag_to_date
  File "_strptime.py", line 332, in _strptime
ValueError: time data '16 June 2017' does not match format '%d %B %Y'
JimmXinu is offline   Reply With Quote
Old 06-17-2017, 06:32 PM   #2234
iakovl
Connoisseur
iakovl began at the beginning.
 
Posts: 80
Karma: 10
Join Date: Dec 2009
Device: none
Quote:
Originally Posted by JimmXinu View Post
2017-06-17
worked like magic... until the next bug appears
iakovl is offline   Reply With Quote
Old 06-17-2017, 07:55 PM   #2235
xvector
Junior Member
xvector began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2014
Device: Moon+ Reader Pro (Android - Nexus 5)
Hi Jimm,

I'm looking to integrate FanFicFare with a Reddit bot I have to grab story metadata and download URLs when people are recommending fics to each other.

Unfortunately, grabbing the story metadata takes forever. Is there some sort of hard-coded delay to avoid hitting the site too many times? (I am supplying the -m flag.)
xvector is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06: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 09:16 PM.


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