Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-17-2013, 08:32 PM   #1486
citac
Fanatic
citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.
 
Posts: 521
Karma: 1020204
Join Date: Sep 2008
Location: Bosnia and Herzegovina
Device: Prestigio Multipad PMP7100D 10.1", Prestigio MultiPhone 4040 DUO
KayLee's question just prompted me to check the list of unsupported sites because I was thinking about asking whether http://www.blackraptor.net/m7fic/ can be supported. Since it seems to be a website with html and txt stories, that would make it unlikely to be supported, yes?
citac is offline   Reply With Quote
Old 06-17-2013, 08:58 PM   #1487
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.
 
Posts: 1,780
Karma: 510215
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
@citac - Yes, sorry. Such sites tend to have *mostly* consistent formatting that causes parsing problems when you run into the inconsistent cases. And FFDL expects HTML, not text.
JimmXinu is offline   Reply With Quote
 
Advertisement
Old 06-18-2013, 09:35 AM   #1488
citac
Fanatic
citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.
 
Posts: 521
Karma: 1020204
Join Date: Sep 2008
Location: Bosnia and Herzegovina
Device: Prestigio Multipad PMP7100D 10.1", Prestigio MultiPhone 4040 DUO
@JimmXinu, ah well, I presumed that would be so but thought I should ask just in case. A lot of the authors I follow who used to post there have now switched to AO3, so that's fine. For those few that haven't, I'm willing to do the conversion myself every once in a while. Thanks!
citac is offline   Reply With Quote
Old 06-19-2013, 07:50 PM   #1489
KayLee
Connoisseur
KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.
 
KayLee's Avatar
 
Posts: 64
Karma: 518106
Join Date: May 2013
Device: Calibre
How do I get fics from adult-fan-fiction.net I know it should be able to do that being that it works just like fanfiction.net?
KayLee is offline   Reply With Quote
Old 06-19-2013, 08:39 PM   #1490
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.
 
Posts: 1,780
Karma: 510215
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Quote:
Originally Posted by KayLee View Post
How do I get fics from adult-fan-fiction.net I know it should be able to do that being that it works just like fanfiction.net?
There is no site at adult-fan-fiction.net.

If you're talking about adultfanfiction.net, it's documented that we don't support that site, and why:
Quote:
None of the current developers are interested in writing code to support it because of the ominous legal warnings and requirements to access the site

adultfanfiction.net
JimmXinu is offline   Reply With Quote
Old 06-22-2013, 08:20 AM   #1491
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: 229
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab
Jimm,

please check this tth url:

http://www.tthfanfic.org/Story-29169...vans+Story.htm

I get the following error when I try to update the story.

Bad
Flowers and Time: An Evans' Story
smolder
'NoneType' object has no attribute '__getitem__'
http://www.tthfanfic.org/Story-29169

It got quarantined by a site moderator, but I want to save it.
Firedancer885 is offline   Reply With Quote
Old 06-22-2013, 12:55 PM   #1492
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.
 
Posts: 1,780
Karma: 510215
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
@Firedancer885 - It's working fine for me now.

I've been following that story, too. They'd posted a 27th chapter that was just a hiatus message. That's now been moved to the end of chapter 26 instead. I expect that was why it was quarantined.

If anyone has an example of a quarantined story, I can add better support for it. I don't know what a quarantined story looks like.
JimmXinu is offline   Reply With Quote
Old 06-22-2013, 09:29 PM   #1493
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.
 
Posts: 1,780
Karma: 510215
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Version 1.7.28 - 22 Jun 2013
  • Minor fixes to plugin
  • Fix for siye.co.uk stories with HTML in the title
JimmXinu is offline   Reply With Quote
Old 06-23-2013, 11:39 AM   #1494
thecookiemommma
Member
thecookiemommma doesn't litterthecookiemommma doesn't litter
 
Posts: 23
Karma: 152
Join Date: Mar 2011
Device: none
Just so people are aware, AdultFanFiction.net is supported by flagfic.com It's definitely more tedious than this solution, but if you've got a few stories you need (especially if they're done), that's a good option.
thecookiemommma is offline   Reply With Quote
Old 06-23-2013, 09:38 PM   #1495
KayLee
Connoisseur
KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.KayLee ought to be getting tired of karma fortunes by now.
 
KayLee's Avatar
 
Posts: 64
Karma: 518106
Join Date: May 2013
Device: Calibre
Quote:
Originally Posted by thecookiemommma View Post
Just so people are aware, AdultFanFiction.net is supported by flagfic.com It's definitely more tedious than this solution, but if you've got a few stories you need (especially if they're done), that's a good option.
Thanks for the info
KayLee is offline   Reply With Quote
Old 06-24-2013, 01:02 PM   #1496
RadiantPhoenix
Linux User
RadiantPhoenix began at the beginning.
 
RadiantPhoenix's Avatar
 
Posts: 5
Karma: 10
Join Date: Jun 2013
Device: none
The plugin doesn't seem to work for me.

Does anyone have any idea what's going wrong and how to fix it?

I'm running Calibre "0.9.31+dfsg-1~ppa1" from https://launchpad.net/~n-muench/+archive/calibre2 on 64-bit Xubuntu 12.04, and have python version "2.7.3-0ubuntu2.2"

Code:
$ calibre

Plugin FanFictionDownLoader macmenuhack file_path:~/.config/calibre/plugins/fanfictiondownloader_macmenuhack.txt
FanFictionDownLoader v1.7.28
url:http://www.fanfiction.net/s/5398503/1/
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_plugin.fanficdownloader.adapters.adapter_fanfictionnet(79):URL: http://www.fanfiction.net/s/5398503/1/
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_plugin.fanficdownloader.adapters.adapter_fanfictionnet(112):=Trying newer chapter: http://www.fanfiction.net/s/5398503/83/
Exception: {u'comment': u"'function' object has no attribute 'Markdown'", u'publisher': u'www.fanfiction.net', u'begin': None, u'good': False, u'end': None, u'author': [u'Vathara'], u'url': u'http://www.fanfiction.net/s/5398503/1/', u'listorder': 0, u'author_sort': [u'Vathara'], u'all_metadata': {'rating': u'T', 'author': u'Vathara', 'series': None, 'numWords': u'713,824', 'site': u'www.fanfiction.net', 'datePublished': u'2009-09-24', 'authorHTML': u"<a class='authorlink' href='http://www.fanfiction.net/u/77482/Vathara'>Vathara</a>", 'storyUrl': u'http://www.fanfiction.net/s/5398503/1/', 'storyId': u'5398503', 'category': u'Avatar: Last Airbender', 'lastupdate': u'Last Update Year/Month: 2013/06, Last Update: 2013/06/06', 'formatext': None, 'title': u'Embers', 'ships': None, 'seriesHTML': None, 'formatname': None, 'version': u'FanFictionDownLoader v1.7.28', 'dateUpdated': u'2013-06-06', 'numChapters': u'82', 'status': u'In-Progress', 'langcode': u'en', 'description': u'Dragon\'s fire is not so easily extinguished; when Zuko rediscovers a lost firebending technique, shifting flames can shift the world... Follows "Theft Absolute".', 'warnings': None, 'dateCreated': u'2013-06-24 11:53:51', 'output_css': None, 'authorId': u'77482', 'authorUrl': u'http://www.fanfiction.net/u/77482/Vathara', 'characters': u'Iroh, Zuko', 'genre': u'Adventure, Family', 'favs': u'2,975', 'language': u'English', 'follows': u'2,321', 'seriesUrl': None, 'reviews': u'6,551', 'siteabbrev': u'ffnet', 'extratags': u'FanFiction'}, u'comments': u'', u'calibre_id': None, u'added': False, u'title': u'Embers', u'tags': [u'Iroh', u'Avatar: Last Airbender', u'Zuko', u'Family', u'In-Progress', u'FanFiction', u'Adventure']}:'function' object has no attribute 'Markdown'
Traceback (most recent call last):
  File "calibre_plugins.fanfictiondownloader_plugin.dialogs", line 527, in do_loop
  File "calibre_plugins.fanfictiondownloader_plugin.ffdl_plugin", line 772, in prep_download_loop
  File "/usr/lib/calibre/calibre/library/comments.py", line 137, in sanitize_comments_html
    md = markdown.Markdown(safe_mode=True)
AttributeError: 'function' object has no attribute 'Markdown'
Fetched metadata for 1 of 1
Code:
$ calibre --version
calibre (calibre 0.9.31)
Code:
$ python --version
Python 2.7.3
EDIT: the standalone CLI python program seems to run fine, but I was hoping to take easy advantage of the Calibre library stuff.

Last edited by RadiantPhoenix; 06-24-2013 at 01:04 PM.
RadiantPhoenix is offline   Reply With Quote
Old 06-24-2013, 01:20 PM   #1497
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.
 
Posts: 1,780
Karma: 510215
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
@RadiantPhoenix -

This appears to be a problem with the function sanitize_comments_html inside calibre. FFDL has been using that function for 9 months without problems anywhere else. (The CLI version works because it isn't calling the calibre function.)

Are you the same user who posted this problem to the googlegroups.com list? If not, that would strongly suggest it's a problem with the calibre package you're using. If you are the same user, it could also suggest a problem with your install. You might try reinstalling calibre.

You could PM kovidgoyal (the primary calibre dev) about this is, but I expect his first response will also be to try the latest version of calibre.

Last edited by JimmXinu; 06-24-2013 at 01:20 PM. Reason: grammar fix
JimmXinu is offline   Reply With Quote
Old 06-24-2013, 01:45 PM   #1498
RadiantPhoenix
Linux User
RadiantPhoenix began at the beginning.
 
RadiantPhoenix's Avatar
 
Posts: 5
Karma: 10
Join Date: Jun 2013
Device: none
Quote:
Originally Posted by JimmXinu View Post
@RadiantPhoenix -

This appears to be a problem with the function sanitize_comments_html inside calibre. FFDL has been using that function for 9 months without problems anywhere else. (The CLI version works because it isn't calling the calibre function.)

Are you the same user who posted this problem to the googlegroups.com list? If not, that would strongly suggest it's a problem with the calibre package you're using. If you are the same user, it could also suggest a problem with your install. You might try reinstalling calibre.

You could PM kovidgoyal (the primary calibre dev) about this is, but I expect his first response will also be to try the latest version of calibre.
I am not the same user, my googling couldn't find anyone else who had the problem.

I'll look into a different build of Calibre.

(I did manage to find the user post you were talking about after you told me about it, and if I'd seen it before I would have posted there.)

EDIT: Based on the other guy's post, my first guess is that the Calibre build in the PPA from four days ago is messed up somehow and the other person didn't notice because he didn't download anything between the 20th and the 23rd.

EDIT 2: It looks like the Precise repos don't have new enough versions of several necessary libraries for the latest version of calibre:
  • PyQt has 4.9.1 wants 4.9.6
  • poppler has 0.18.4 wants 0.20.2
  • libmtp has 1.1.3 wants 1.1.5
  • netifaces has 0.6 wants 0.8
  • cssseleect has 0.6.1 wants 0.7.1

Is this correct?

EDIT 3: It appears to come with its own libraries.

EDIT 4: And, it works.

Problem solved.

I didn't need to do anything fancy, I just extracted the tarball and ran the 'calibre' script. It went just fine.

EDIT 5:

Okay, seriously, why is this thing not downloading cover images? I've tried everything I could think of or find on google in personal.ini.

Last edited by RadiantPhoenix; 06-24-2013 at 03:35 PM. Reason: Results
RadiantPhoenix is offline   Reply With Quote
Old 06-24-2013, 03:25 PM   #1499
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.
 
Posts: 1,780
Karma: 510215
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Quote:
Originally Posted by RadiantPhoenix View Post
I am not the same user, my googling couldn't find anyone else who had the problem.

...
I'm glad you were able to get it working. Thanks for explaining what worked for you, I'll pass it on to the other user.
JimmXinu is offline   Reply With Quote
Old 06-24-2013, 05:05 PM   #1500
RadiantPhoenix
Linux User
RadiantPhoenix began at the beginning.
 
RadiantPhoenix's Avatar
 
Posts: 5
Karma: 10
Join Date: Jun 2013
Device: none
So, how do I get cover images working?
RadiantPhoenix is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Count Pages kiwidude Plugins 701 Yesterday 06:34 AM
[GUI Plugin] Open With kiwidude Plugins 250 11-20-2014 03:45 PM
[GUI Plugin] Find Duplicates kiwidude Plugins 510 11-16-2014 12:37 AM
[GUI Plugin] Resize Cover kiwidude Plugins 34 07-13-2014 08:15 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 09:00 PM.


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