09-28-2012, 10:59 AM | #886 |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2009
Device: Sony PRS-505
|
FFDL crashes Calibre again
Hi there - unfortunately, with the latest update FFDL is once again crashing Calibre whenever I try to use the plugin. Any idea why?
My debug log: calibre Debug log calibre 0.9.0 Darwin-10.8.0-x86_64-i386-64bit Darwin ('Darwin', '10.8.0', 'Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64') Python 2.7.3 OSX: ('10.6.8', ('', '', ''), 'x86_64') Starting up... macmenuhack file_path:/Users/evamaria/Library/Preferences/calibre/plugins/fanfictiondownloader_macmenuhack.txt Started up in 7.00 seconds with 952 books Thanks as always for your help! Last edited by evamaria; 09-28-2012 at 11:01 AM. Reason: Adding an attachment |
09-28-2012, 11:02 AM | #887 | |
Plugin Developer
Posts: 6,534
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
See http://code.google.com/p/fanficdownl...rCalibrePlugin regarding "Mac User Crashes" |
|
09-28-2012, 11:55 AM | #888 | |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
Quote:
|
|
09-28-2012, 09:02 PM | #889 | |
Plugin Developer
Posts: 6,534
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Here's a version--with very little testing--that I think fixes those issues. At least one of them, (the Anonymous author) needs more work, but this will have to do for now. Last edited by JimmXinu; 10-01-2012 at 11:32 PM. Reason: Remove obsolete beta versions |
|
09-29-2012, 03:01 AM | #890 |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
|
09-30-2012, 09:30 AM | #891 |
Groupie
Posts: 164
Karma: 1030058
Join Date: Jul 2010
Location: New England
Device: PocketBook Color, Kindle, EB1150, Galaxy Tab 2 10.1, Surface Pro 2017
|
Hey there! I've been having trouble with one story from one site, and can't figure out what's wrong. I had downloaded it and updated it successfully up through about 19 chapters, then it stopped working when I tried to update from chapter 20 on. I deleted the original story from my library, then tried to download it from scratch, and it gives me the error attached below.
I am logged into the site properly and have all the appropriate permissions set. I'm also using the default background, which I know had been an issue with this site at one point. For reference, the url is: http://www.grangerenchanted.com/ench...y.php?sid=4771 Any ideas? Thank you once again for your terrific fic tool!!! |
09-30-2012, 04:43 PM | #892 | |
Plugin Developer
Posts: 6,534
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
It will be fixed in the next version, but for now, this test version should correct those problems. Last edited by JimmXinu; 10-01-2012 at 11:32 PM. Reason: Remove obsolete beta versions |
|
09-30-2012, 09:53 PM | #893 |
Groupie
Posts: 164
Karma: 1030058
Join Date: Jul 2010
Location: New England
Device: PocketBook Color, Kindle, EB1150, Galaxy Tab 2 10.1, Surface Pro 2017
|
Thank you! I'll give it a try.
|
09-30-2012, 10:29 PM | #894 |
Junior Member
Posts: 2
Karma: 1350
Join Date: Sep 2012
Device: Android Phone
|
I found this plugin a few weeks ago and was thrilled (it updates!). I haven't even scratched the surface of all the things I can do and configure with it.
It also gave me the chance to solve a problem. My mother wants to save stories (and eventually read them on a separate device) from the new 'blog style' fanfiction forum at InDeath.net and I was looking for a good way to let her create epub files from the stories. So I wrote an adapter for that (it's a bit metadata light but there's not that much available). I also wrote one for jlaunlimited.com (just because I happened to want a story from there and it was low-hanging fruit: a very standard efiction site). And, because I like to torture myself, I took a shot at one of the sites that was listed as 'no one wants to do this one because it's a pain in the neck' that was also a site I wanted some stories from: dwiggie.com. The dwiggie.com plugin needs modification to handle the alternate url formats for older stories but is otherwise functional. It is, however, very ugly. That site has multiple chapters per page and so to parse them out requires traversing all the pages just to get the chapters, listing 'fake' urls for the separate parts and processing each page as many times as there are chapters on the page (and also searching two separate index pages for the metadata). So it is fairly unkind to the server and still not perfect with the chapter separation (it expects a full horizontal rule between chapters and processes some notes sections as chapters) but it does work. If anyone can think of a better way to solve this problem let me know! So, what now? |
09-30-2012, 11:41 PM | #895 | |||||
Plugin Developer
Posts: 6,534
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Quote:
Quote:
Quote:
Quote:
But I can't say I'm thrilled with hitting the pages more than once, or having to essentially load the entire story to pull the metadata (including chapter URLs). For the plugin especially that really breaks the paradigm of getting metadata, checking for existing story, then fetching chapters. Assuming that this is your clone, I, and the other FFDL devs, can pull your adapters from there to review them. That's the first step. Assuming they pass muster (after some tweaking and negotiation, especially dwiggie.com--we'll take that discussion to PM or email), the second step depends on what you want to do: If you only care about these three and don't plan to write more, I'll integrate them into the repository under my user and that will be the end of it. If you are interested in writing more code, and the other devs approve, we can add you to the project as a developer and give you permission to commit code directly. I'll pass this post on to the other devs and try to review them myself tomorrow, or at least early this week, and back to you with some initial remarks. And thanks, we love to see new code contributors. |
|||||
10-01-2012, 05:29 AM | #896 |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
|
10-01-2012, 06:40 AM | #897 | ||
Junior Member
Posts: 2
Karma: 1350
Join Date: Sep 2012
Device: Android Phone
|
Quote:
It was a good learning experience anyway. Quote:
That is indeed my clone. I wouldn't mind doing some more. I rather enjoyed it. |
||
10-01-2012, 11:31 PM | #898 | |
Plugin Developer
Posts: 6,534
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
It's crazy complex, so I'm not going to include it all in defaults.ini like most options. Instead, I made a new wiki page for it: FanFictionDownLoaderCustomOutput See what you think. Test version attached. Last edited by JimmXinu; 10-03-2012 at 05:44 PM. Reason: Remove obsolete beta versions |
|
10-03-2012, 12:22 PM | #899 | |
Evangelist
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
|
Thanks, this is absolutely perfect and exactly what I asked for and more. I can even customize the table of contents if I choose to do so. Thank you very, very much Jimm! On the linked site it says:
Quote:
Again, thank you, this is pretty much perfect. |
|
10-03-2012, 12:42 PM | #900 | |
Plugin Developer
Posts: 6,534
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Glad you like it.
Quote:
Code:
## include title page as first page. include_titlepage: true ## include a TOC page before the story text include_tocpage: true Adding tocpage to the epub can't fully take the place of the TOC generated by calibre's convert because then it's not properly linked as metadata in the mobi. The closest you can get, I believe, is to have both. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Find Duplicates | kiwidude | Plugins | 1110 | 07-30-2024 06:59 PM |
[GUI Plugin] Count Pages | kiwidude | Plugins | 1750 | 04-07-2024 01:20 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Resize Cover | kiwidude | Plugins | 95 | 03-16-2024 11:55 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |