Register Guidelines E-Books Today's Posts Search

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 12-23-2013, 07:29 PM   #2296
Robin42069
Enthusiast
Robin42069 began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Dec 2013
Device: iPad
thank you for the fix on the plugin i'm new to calibre so i was looking to find out what i did to mess it up. i thought i had killed my new golden goose. i find out fanfiction.net had. so thanks for making it work again cuz i hadnt a clue what was going on
Robin42069 is offline  
Old 12-23-2013, 11:55 PM   #2297
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by Feynor View Post
Hmmm, I'll have to have a look at that option next time I run into a long story. I have seen it of course, but read the "if" literally.
Were you able to test out this option? Does it really only add new chapters to the story? I've been reading the "if" literally as well. If it had said, "Update Epub 'with' new chapters" that may have been less confusing.
Amalthia is offline  
Advert
Old 12-24-2013, 04:09 AM   #2298
Firedancer885
Occassional Beta Tester
Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.
 
Posts: 284
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: none
Quote:
Originally Posted by Amalthia View Post
Were you able to test out this option? Does it really only add new chapters to the story? I've been reading the "if" literally as well. If it had said, "Update Epub 'with' new chapters" that may have been less confusing.
It only adds new chapters, and keeps the existing ones. I had a problem with one of the stories I'm following, because of the author's update method. I always ended up with two identical last chapters when I used the "update if new chapters" method. I'm using "update if" as default and the others only if necessary.
Firedancer885 is offline  
Old 12-25-2013, 09:40 AM   #2299
hevreka
Junior Member
hevreka began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2013
Device: Ipad 3 / Android (Samsung Galaxy Note 8)
Quote:
Originally Posted by Feynor View Post
I know this is going to be asked. Which version of Calibre and FFDL are you using, and on which OS?

Calibre 1.16 and FFDL 1.8.5 on Windows 7 have no problems with that URL.
Sry that my Reply Took so LOOOONNNNNGG Been a Hectic Week as a busdriver.

Calibre 1.16 and FFDL 1.8.5 Windows 7 Ultimate before the updates Today

After Updates Calibre 1.17.0 and FFDL 1.8.6 same OS
hevreka is offline  
Old 12-27-2013, 06:57 AM   #2300
Feynor
Enthusiast
Feynor began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Sep 2013
Device: Samsung Galaxy Note 10.1 2014 ed. with Moon Reader+ and Google Books.
Quote:
Originally Posted by hevreka View Post
Sry that my Reply Took so LOOOONNNNNGG Been a Hectic Week as a busdriver.

Calibre 1.16 and FFDL 1.8.5 Windows 7 Ultimate before the updates Today

After Updates Calibre 1.17.0 and FFDL 1.8.6 same OS
I've been unable to reproduce the error you are mentioning in your original post.

Do you still get it?

If so, please repeat it while Calibre is in Debug mode (Click the Preferences drop down arrow and select "Restart in Debug Mode") and just update this one story, then close Calibre after you get the error.
Save the text file that comes up afterwards and attach it to a response.
Feynor is offline  
Advert
Old 12-27-2013, 10:46 AM   #2301
TrulyInnovative
Member
TrulyInnovative began at the beginning.
 
Posts: 22
Karma: 10
Join Date: May 2012
Device: Sony PRS-T1
The storiesonline.net plugin seems to have some trouble with special characters. For example, the dash symbol (–) is replaced by – and é is replaced by é.
TrulyInnovative is offline  
Old 12-27-2013, 11:31 AM   #2302
Feynor
Enthusiast
Feynor began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Sep 2013
Device: Samsung Galaxy Note 10.1 2014 ed. with Moon Reader+ and Google Books.
Quote:
Originally Posted by TrulyInnovative View Post
The storiesonline.net plugin seems to have some trouble with special characters. For example, the dash symbol (–) is replaced by – and é is replaced by é.
Do you have a link? (To a specific story that is causing this)

Edit:
Just a note, it looks like the utf-8 encoding is not being handled correctly in the adapter for the site. The Site itself does seem to send the correct encoding header.

Last edited by Feynor; 12-27-2013 at 11:39 AM.
Feynor is offline  
Old 12-27-2013, 05:53 PM   #2303
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: 7,027
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Feynor View Post
Do you have a link? (To a specific story that is causing this)

Edit:
Just a note, it looks like the utf-8 encoding is not being handled correctly in the adapter for the site. The Site itself does seem to send the correct encoding header.
Sometimes individual stories will be uploaded with one encoding while the site assumes another. Without the story URL it's hard to say.

The encoding used by FFDL can be changed for each site in personal.ini:

Code:
[storiesonline.net]

website_encodings: utf8, Windows-1252

# or instead:

website_encodings: Windows-1252, utf8
JimmXinu is offline  
Old 12-28-2013, 10:44 AM   #2304
TrulyInnovative
Member
TrulyInnovative began at the beginning.
 
Posts: 22
Karma: 10
Join Date: May 2012
Device: Sony PRS-T1
Quote:
Originally Posted by Feynor View Post
Do you have a link? (To a specific story that is causing this)
Here's an example in the second paragraph of Chapter 1: http://storiesonline.net/s/51245:56696
TrulyInnovative is offline  
Old 12-28-2013, 04:43 PM   #2305
Oilily Sepperl
Junior Member
Oilily Sepperl began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2013
Device: Sony PRS T-1
Good evening! At first I want to say a big Thank You to the maker of the ffdl plug-in for Calibre. It's fantastic and I love using it!
I have problems lately though and hope somebody can help me.
I run Calibre version 1.17.0 and the FFDL plug-in version 1.8.6.
I haven't downloaded or updated fics for a while and wanted to do that the last two days. But I have trouble downloading or updating more than 5 or 6 fics at once. One single fic works fine and 5 or 6 fics work fine too, but I tried to update for example 14 fics and it wouldn't complete the task. There wasn't any error message and Calibre didn't freeze, but it took such a long time and wouldn't process further.
Same thing with about 100 fics or more. Often it would complete until 97 % and then simply wouldn't process any further for an hour.
I felt this is unusual and ended the tasks and only did about 5 fics.
It's unnerving though, because I have a lot of fics in-progress which I like to update regularly.
Did anyone here have this problem already or does anybody know what I could do or where the problem lies? Thanks in advance!
Oilily Sepperl is offline  
Old 12-28-2013, 07:58 PM   #2306
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 TrulyInnovative View Post
Here's an example in the second paragraph of Chapter 1: http://storiesonline.net/s/51245:56696
I can see the problem. Adding "website_encodings: utf8, Windows-1252" to the personal.ini fixes it. The page info in Firefox tells me it is "UTF-8"

Looking at the code, it has:

Code:
self.decode = ["Windows-1252",
                       "utf8"]
From a quick look, most of the adapters have them in the same order. The base adapter is the other way around. As the page reports UTF-8, either the order in the adapter should be changed, or it should be removed as there is no real need to override the parent class.

But, there is another error. The summary/comments has "A Story in the Bec - Lost in the Maze Universe" rather than the story description. That should be the series. And it is also missing the author notes and disclaimer that is on the index page of the story. I'll have a look to fix this, but it might not be until I get back home in a week or so. At the moment, I don't have a full time connection.

Last edited by davidfor; 12-28-2013 at 08:02 PM. Reason: New Year's resolution: Reread before hitting post
davidfor is offline  
Old 12-29-2013, 06:43 PM   #2307
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
Hey there, I've been using the fanficdownloader module as part of the scripts running on my Raspberry Pi for quite a while now. Recently I've started getting this error:

Code:
cryzed ~/fanfiction >>> python update.py
(30.12.2013) 00:38:50: + Checking story...
Traceback (most recent call last):
  File "update.py", line 205, in <module>
    main()
  File "update.py", line 160, in main
    if is_up_to_date(epub_path, adapter):
  File "update.py", line 74, in is_up_to_date
    remote_chapter_count = int(adapter.getStoryMetadataOnly().getMetadata('numChapters'))
  File "/home/cryzed/fanfiction/fanficdownloader/adapters/base_adapter.py", line 243, in getStoryMetadataOnly
    self.extractChapterUrlsAndMetadata()
  File "/home/cryzed/fanfiction/fanficdownloader/adapters/adapter_fanfictionnet.py", line 161, in extractChapterUrlsAndMetadata
    rating = a.string
AttributeError: 'NoneType' object has no attribute 'string'
I suppose this is a simple error in the fanfiction.net adapter module, due to recent changes of their site-layout. I run a script once daily to retrieve the latest release of the module, but it hasn't been updated for a bit apparently. Do you guys think it would be possible to once again update the downloadable module on the site?
cryzed is offline  
Old 12-29-2013, 06:57 PM   #2308
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: 7,027
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by cryzed View Post
...
I suppose this is a simple error in the fanfiction.net adapter module, due to recent changes of their site-layout. I run a script once daily to retrieve the latest release of the module, but it hasn't been updated for a bit apparently. Do you guys think it would be possible to once again update the downloadable module on the site?
Google Code will not support creating new downloads starting January 15th, 2014. The last download on the 'download' page includes this notification, which was also published on the FFDL Google group:

Quote:
NEW CLI DOWNLOAD URL

Google Code is blocking new downloads in the download area next month. This is a simple alternative, so let's see how it works out for everyone.

The newest version of the CLI will be available at this URL every release:

http://fanficdownloader.googlecode.c...downloader.zip

Back versions will be available by browsing the repository for that file:
http://code.google.com/p/fanficdownl...downloader.zip
JimmXinu is offline  
Old 12-29-2013, 07:06 PM   #2309
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: 7,027
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by davidfor View Post
I can see the problem. Adding "website_encodings: utf8, Windows-1252" to the personal.ini fixes it. The page info in Firefox tells me it is "UTF-8"

Looking at the code, it has:

Code:
self.decode = ["Windows-1252",
                       "utf8"]
From a quick look, most of the adapters have them in the same order. The base adapter is the other way around. As the page reports UTF-8, either the order in the adapter should be changed, or it should be removed as there is no real need to override the parent class.
It's saddeningly common for sites to report one encoding while using the other more commonly. Or to use both on different stories.

I don't read storiesonline.net. If someone who does tells me that utf8 is correct more often than Windows-1252, I'm willing to change it.

Quote:
Originally Posted by davidfor View Post
But, there is another error. The summary/comments has "A Story in the Bec - Lost in the Maze Universe" rather than the story description. That should be the series. And it is also missing the author notes and disclaimer that is on the index page of the story. I'll have a look to fix this, but it might not be until I get back home in a week or so. At the moment, I don't have a full time connection.
I don't have the energy to look at this right now either. Maybe tomorrow.
JimmXinu is offline  
Old 12-29-2013, 07:16 PM   #2310
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: 7,027
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Oilily Sepperl View Post
...
But I have trouble downloading or updating more than 5 or 6 fics at once. One single fic works fine and 5 or 6 fics work fine too, but I tried to update for example 14 fics and it wouldn't complete the task. There wasn't any error message and Calibre didn't freeze, but it took such a long time and wouldn't process further.
Same thing with about 100 fics or more.
...
If you're trying to update that many stories at once, you're probably running into throttling on the server. Especially if they are fanfiction.net stories.

I've written before about why doing mass downloads/updates is a bad idea.
JimmXinu is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Count Pages kiwidude Plugins 1849 08-30-2025 01:22 PM
[GUI Plugin] Resize Cover kiwidude Plugins 100 07-10-2025 08:50 AM
[GUI Plugin] Find Duplicates kiwidude Plugins 1124 04-18-2025 09:19 AM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 02:24 PM.


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