![]() |
#1231 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,983
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
If it's 30% that suggests you're doing several downloads--a single download would jump from 0% to 100% at once. Do single downloads work? Can you get a screen shot of it when it gets stuck? |
|
![]() |
![]() |
![]() |
#1232 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 1014
Join Date: Jan 2015
Device: Calibre/iBooks/Kindle App
|
Quote:
(I don't normally update all my in progress at once as there are 30, so I wait for an email, but I did so for purposes of testing here.) |
|
![]() |
![]() |
Advert | |
|
![]() |
#1233 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 1014
Join Date: Jan 2015
Device: Calibre/iBooks/Kindle App
|
Interesting. It just went through, but now I have the same problem that I did in anthologies. The download happens, and I get the popup saying 1 good update and however many bad, click ok, but the next step of updating the book does not happen. I'm going to go upstairs and test it on windows to get the URL of the story that's not updating in case that's relevant.
This was not happening this morning under the release versions of calibre and FFF. Edit: the story is http://archiveofourown.org/works/6149728. It will not update if I do a group update of all my stories on mac unless I'm in debug mode. It does on windows. I can update it individually and that works. The good news is I'm no longer getting stuck at 30%, so there is that. ![]() Last edited by thatblondelady; 04-21-2016 at 08:11 PM. |
![]() |
![]() |
![]() |
#1234 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,983
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
After some more tests that all worked, I did have it stop at 12 of 18 downloads on OS X, without debug, and then succeeded with debug.
And then a bunch of other tests all worked fine both with and w/o debug. So I did see the problem. Once. And now I can't replicate it. ![]() I'll look at it some more, maybe tomorrow. But for now the answer for Mac users is to run in debug mode and hope Kovid or somebody more knowledge figures something out. |
![]() |
![]() |
![]() |
#1235 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,378
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It sounds like the ASL service (which is where print statements go in normal mode) is failling sporadically, probably when there is a lot of output to stdout.
The simple solution is probably just not to print lots of stuff when not in debug mode. Or alternatively use a wrapper for the print function that ignores failures silently. |
![]() |
![]() |
Advert | |
|
![]() |
#1236 |
Zealot
![]() Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
|
I have a question about downloading from spacebattles and similar forums.
I thought fanficfare was supposed to use posting dates for the published/updated dates? Did I misunderstand it? Because in both cases I get the date of download for it. It's alright if that's how it's supposed to be, I just want to make sure I'm not making a mistake somewhere. Though to be fair, I did not change anything from the defaults.ini in this section of the personal.ini, aside from adding a description_limit. Example urls: https://forums.spacebattles.com/threads/341476/ https://forums.spacebattles.com/threads/374200/ |
![]() |
![]() |
![]() |
#1237 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,983
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
I also use logger.info()/error() calls. I assume that the overall process logger level is set such that none of them are output when calibre isn't running in debug mode? |
|
![]() |
![]() |
![]() |
#1238 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,378
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
What logger are we talking about here? IIRC plugin base classes have no default logger defined? If you want to use a DEBUG level dependent logger, the way to do it is like this:
from calibre.utils.logging import ThreadSafeLog log = ThreadSafeLog(level=ThreadSafeLog.DEBUG if DEBUG else ThreadSafeLog.WARN) That means that log.info()/log.debug() will be no-ops unless DEBUG is defined. |
![]() |
![]() |
![]() |
#1239 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,983
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
When taking the chapter list from a post, the Updated date is taken from the last edit timestamp of the chapter list post. (The Packaged date will always been when the ebook was created/updated. That's the value used to set Calibre's date field, if that's what you're looking at.) Downloading those two stories, I got the dates I expected. |
|
![]() |
![]() |
![]() |
#1240 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,983
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Code:
import logging logger = logging.getLogger(__name__) |
|
![]() |
![]() |
![]() |
#1241 | |
Zealot
![]() Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
|
Quote:
This is my usual titlepage_enties list: Spoiler:
Is the output list in the epub really what I can expect from the default settings for xenforo and my usual titlepage list? |
|
![]() |
![]() |
![]() |
#1242 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,983
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Published: 2015-05-24 17:22:00 Updated: 2016-03-06 22:58:00 Packaged: 2016-04-22 09:16:41 Given that your epub is not showing times (only dates) for the dates, you definitely have some personal.ini config that is effecting dates--the question is how much. I can also see that you're overriding the defaults.ini [base_xenforoforum] setting for at least strip_chapter_numbers. So until I see what's in your personal.ini, my inclination is to blame unintended configuration. |
|
![]() |
![]() |
![]() |
#1243 | |
Zealot
![]() Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
|
Quote:
|
|
![]() |
![]() |
![]() |
#1244 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,983
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Spoiler:
The only two things that come to mind are that you are changing the dates in replace_metadata some how (or another part of the ini you didn't post), or if you've added user/pass for forums.spacebattles.com it might conceivably be using a different that parses differently. (FYI, you don't need user/pass for forums.spacebattles.com.) |
|
![]() |
![]() |
![]() |
#1245 | |
Zealot
![]() Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
|
Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
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 |