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 08-30-2020, 11:53 PM   #4456
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
The downloaded ebook will still be in a temp directory until you quit Calibre.

Each time you run Calibre, it makes a unique directory named calibre_<random letters> in your temp dir. Each FFF download session in turn creates a unique directory named fanficfare_<random letters> inside the calibre temp dir. And inside the FFF temp dir, is a temp copy of each downloaded book for that session.

FFF cleans up its temp dir when the download session successfully ends, but not when aborted.

Calibre cleans up its temp dir (including FFF's temp dir) on exit, except on crash.

I don't know where different OS's keep your temp files. FFF's debug output will show you where FFF is writing temp files, but you'd have to open the debug log while Calibre is still running, or just remember/save the temp dir area for next time.
JimmXinu is offline   Reply With Quote
Old 08-31-2020, 03:40 AM   #4457
Kminari
Junior Member
Kminari began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Aug 2020
Device: none
Quote:
Originally Posted by JimmXinu View Post
Multi-reply



A debug log of it working successfully isn't all that useful--at least, it looks like it worked. I tested and was able to download that without issue.

Errors that come and go like that are likely to be network errors or the site blocking you if you're doing too much on it. I have seen SB/SV start giving errors if I browse the site at the same time as I'm downloading from it...



That's a bug. Fixed in the latest test version. See the link in my sig.

New Test Version Posted

2020-08-30
- Fix for Anthology bug when no story has a series.
- Added a string for translation.
It worked the second time, this is the first time (it is in the log)

Code:
FFF: DEBUG: 2020-08-30 01:34:08,546: calibre_plugins.fanficfare_plugin.fff_plugin(970): add_tag:None
FFF: DEBUG: 2020-08-30 01:34:08,562: calibre_plugins.fanficfare_plugin.fff_plugin(980): FanFicFare v3.22.1
FFF: DEBUG: 2020-08-30 01:34:08,591: calibre_plugins.fanficfare_plugin.fff_plugin(1094): url:https://forums.spacebattles.com/threads/hope-through-overwhelming-firepower-worm-diebuster-thread-4-boom-goes-the-endbringer.289048/
FFF: INFO: 2020-08-30 01:34:08,592: calibre_plugins.fanficfare_plugin.prefs(215): Attempting to read settings from predecessor--FFDL
FFF: INFO: 2020-08-30 01:34:08,592: calibre_plugins.fanficfare_plugin.prefs(220): Using default settings
FFF: INFO: 2020-08-30 01:34:08,680: calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_xenforoforum_adapter(426): url: https://forums.spacebattles.com/threads/hope-through-overwhelming-firepower-worm-diebuster-thread-4-boom-goes-the-endbringer.289048/
FFF: DEBUG: 2020-08-30 01:34:08,680: calibre_plugins.fanficfare_plugin.fanficfare.configurable(1141): #####################################
pagecache(GET) MISS: https://forums.spacebattles.com/threads/hope-through-overwhelming-firepower-worm-diebuster-thread-4-boom-goes-the-endbringer.289048/
FFF: ERROR: 2020-08-30 01:34:24,101: calibre_plugins.fanficfare_plugin.dialogs(711): Exception: {u'url': u'https://forums.spacebattles.com/threads/hope-through-overwhelming-firepower-worm-diebuster-thread-4-boom-goes-the-endbringer.289048/', u'author_sort': [u'Unknown'], u'collision': u'Actualizar EPUB si hay nuevos cap\xedtulos', u'end': None, u'showerror': True, u'listorder': 0, u'author': [u'Unknown'], u'added': False, u'title': u'Unknown', u'begin': None, u'status': u'Error', u'publisher': None, u'series': u'', u'calibre_id': None, u'uniqueurl': u'https://forums.spacebattles.com/threads/hope-through-overwhelming-firepower-worm-diebuster-thread-4-boom-goes-the-endbringer.289048/[None-None]', u'pubdate': None, u'good': False, u'comments': u'', u'site': 'forums.spacebattles.com', u'comment': u"'utf8' codec can't decode byte 0xf3 in position 56: invalid continuation byte"}:'utf8' codec can't decode byte 0xf3 in position 56: invalid continuation byte
Traceback (most recent call last):
  File "calibre_plugins.fanficfare_plugin.dialogs", line 698, in do_loop
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1179, in prep_download_loop
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1061, in get_story_metadata_only
  File "calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter", line 297, in getStoryMetadataOnly
  File "calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_adapter", line 381, in doExtractChapterUrlsAndMetadata
  File "calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_xenforoforum_adapter", line 429, in extractChapterUrlsAndMetadata
  File "calibre_plugins.fanficfare_plugin.fanficfare.adapters.base_xenforoforum_adapter", line 103, in _fetchUrlOpened
  File "calibre_plugins.fanficfare_plugin.fanficfare.configurable", line 1335, in _fetchUrlOpened
  File "calibre_plugins.fanficfare_plugin.fanficfare.configurable", line 1231, in _fetchUrlOpened
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf3 in position 56: invalid continuation byte
FFF: DEBUG: 2020-08-30 01:49:54,757: calibre_plugins.fanficfare_plugin.fff_plugin(1668): Finalizada la adición o actualización de 0 libros.
FFF: DEBUG: 2020-08-30 01:49:54,759: calibre_plugins.fanficfare_plugin.fff_plugin(1671): removed tdir
FFF: DEBUG: 2020-08-30 01:50:11,436: calibre_plugins.fanficfare_plugin.fff_plugin(970): add_tag:None
Kminari is offline   Reply With Quote
Old 08-31-2020, 01:41 PM   #4458
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Kminari View Post
It worked the second time, this is the first time (it is in the log)
An encoding error that only shows up sometimes on the same story, I have to attribute to something outside of FFF--it's not like our code changed between the two attempts.
JimmXinu is offline   Reply With Quote
Old 08-31-2020, 01:45 PM   #4459
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2020-08-31
- New site fiction.live, thanks HazelSh!
JimmXinu is offline   Reply With Quote
Old 08-31-2020, 02:07 PM   #4460
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
The downloaded ebook will still be in a temp directory until you quit Calibre.

Each time you run Calibre, it makes a unique directory named calibre_<random letters> in your temp dir. Each FFF download session in turn creates a unique directory named fanficfare_<random letters> inside the calibre temp dir. And inside the FFF temp dir, is a temp copy of each downloaded book for that session.

FFF cleans up its temp dir when the download session successfully ends, but not when aborted.

Calibre cleans up its temp dir (including FFF's temp dir) on exit, except on crash.

I don't know where different OS's keep your temp files. FFF's debug output will show you where FFF is writing temp files, but you'd have to open the debug log while Calibre is still running, or just remember/save the temp dir area for next time.
Thank you
ownedbycats is offline   Reply With Quote
Old 09-02-2020, 11:39 AM   #4461
drea
Member
drea began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jul 2020
Device: none
Hi me again.
Also another query on AO3 series.

This is a more of nice to have features but also checking in case it is already there and (again) just need to be enabled or something from my end.

Is the number of works in the AO3 series also captured anywhere at the moment? I just realized if an author, has a link to a different fic in the fic description, it got included as part of the anthologies.

I can guess at the reason as FFF is parsing for supported URL but at least if I can validate the numbers of works that supposed to be in the series vs number of works that actually included, that would be nice .

And on that note another nice to have item on the wishlist when downloading anthologies,
  • show the no# of story URLs in the window that have the "Story URLs for anthology, one per line"

Currently I believe, the no# of story (URLs) are only shown after the next window appear, as then we would be able to see the message downloading metadata for x/y .

But since it might be niche since there is a workaround by counting the URLs, would understand if not really important to be considered.

for reading
drea is offline   Reply With Quote
Old 09-02-2020, 12:48 PM   #4462
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2020-09-02
- Display number of URLs found for an anthology.


FFF doesn't technically have a 'series' collecting feature.

It has the 'Get Story URLs from web Page' feature that collects all valid story URLs from a page.

So, no, FFF doesn't know how many stories are in a series.

Adding a small display to show number of URLs collected for a merged (anthology) is something relatively easy, however. It will appear in the label above the URL box.
JimmXinu is offline   Reply With Quote
Old 09-02-2020, 06:50 PM   #4463
drea
Member
drea began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jul 2020
Device: none
Thumbs up

Quote:
Originally Posted by JimmXinu View Post
New Test Version Posted

2020-09-02
- Display number of URLs found for an anthology.


FFF doesn't technically have a 'series' collecting feature.

It has the 'Get Story URLs from web Page' feature that collects all valid story URLs from a page.

So, no, FFF doesn't know how many stories are in a series.

Adding a small display to show number of URLs collected for a merged (anthology) is something relatively easy, however. It will appear in the label above the URL box.
Appreciate your response on this
drea is offline   Reply With Quote
Old 09-02-2020, 08:11 PM   #4464
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Since it got buried in the thread (and I think was asked around the time of those big storms), re-asking this question:

Is there replace_metadata conditional for anthologies? I was trying to adapt this to set the fanfic status column as 'anthology' (though I suspect I'm probably going about this the wrong way):

Code:
custom_columns_settings: 
 oneshot=>#fanficstatus

replace_metadata:
## Sets one-chapter fics to oneshot
 oneshot=>Completed=>Oneshot&&numChapters=>^1$

# 'add_to_' concats on to existing param, thus the leading comma
add_to_extra_valid_entries:,oneshot,

# oneshot is a copy of status because status itself isn't a list.
include_in_oneshot:status

Last edited by ownedbycats; 09-02-2020 at 08:43 PM.
ownedbycats is offline   Reply With Quote
Old 09-02-2020, 08:58 PM   #4465
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Is there replace_metadata conditional for anthologies? I was trying to adapt this to set the fanfic status column as 'anthology' (though I suspect I'm probably going about this the wrong way)
Yes, the metadata entry anthology is set to "true" for an anthology book.
JimmXinu is offline   Reply With Quote
Old 09-02-2020, 09:04 PM   #4466
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Thanks. I'll see if I can get it working.
ownedbycats is offline   Reply With Quote
Old 09-03-2020, 06:37 AM   #4467
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
When there is a cover image for a fic in an anthology, FFF adds a TOC entry for the cover page of that fic. It doesn't seem to do it any other time. Is this intended?
ownedbycats is offline   Reply With Quote
Old 09-03-2020, 10:58 AM   #4468
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
When there is a cover image for a fic in an anthology, FFF adds a TOC entry for the cover page of that fic. It doesn't seem to do it any other time. Is this intended?
Are you using the posted EpubMerge test version? There are some issues it resolves with anthologies.

If you are using that version, I'm going to need to see an example.
JimmXinu is offline   Reply With Quote
Old 09-03-2020, 11:19 AM   #4469
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I'll update the EpubMerge version. Thank you.
ownedbycats is offline   Reply With Quote
Old 09-03-2020, 06:42 PM   #4470
aehli
Junior Member
aehli began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2015
Device: Kindle Paperwhite
Error NoneType

Hi -, how can I fix this error? It used to work perfectly for wuxiaworld.co
I also tried updating previously downloaded stories but the same issue

Status
Title
Author
Comment
URL
Error
Unknown
Unknown
'NoneType' object has no attribute 'h1'
https://www.wuxiaworld.co/Elixir-Supplier/
aehli 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 07:04 AM.


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