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 05-18-2015, 01:05 PM   #166
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,971
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by mehetabelo View Post
So, I'm getting an error since I updated to the last version of the plugin, ...

File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 451, in get_urls_from_imap_menu
TypeError: unsupported operand type(s) for -: 'set' and 'list'
...
That's a bug. I've posted an updated test version.
JimmXinu is offline   Reply With Quote
Old 05-18-2015, 01:19 PM   #167
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,971
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by firefoxxy View Post
...
Code:
replace_metadata:
 freeformtags=>^Protective Thor$=>Thor&&freeformtags=>Protectiveness
it does not work. And unlike with "genre", "Warnings", "ships" or similar, the term "freeformtags" does not turn green. Could you give me any suggestions?...
freeformtags and other site specific metadata keywords are not included in the color coding parser because they are technically also metadata that are defined in the ini file. So it doesn't turn green, but it also doesn't turn red.

You can't use the same metadata for the conditional key (the part after &&) and in the replacement key (the part before the first =>). If you try, the conditional is ignored. (Otherwise there would be an infinite recursion and it would crash.)

You could instead use a conditional that refers to a different metadata entry:
Code:
replace_metadata:
 freeformtags=>^Protective Thor$=>Thor&&genre=>Protectiveness
JimmXinu is offline   Reply With Quote
Advert
Old 05-18-2015, 01:36 PM   #168
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 JimmXinu View Post
freeformtags and other site specific metadata keywords are not included in the color coding parser because they are technically also metadata that are defined in the ini file. So it doesn't turn green, but it also doesn't turn red.
Jimm, why does this line turn red?
Attached Thumbnails
Click image for larger version

Name:	41.png
Views:	466
Size:	81.8 KB
ID:	138421  
Firedancer885 is offline   Reply With Quote
Old 05-18-2015, 01:41 PM   #169
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,971
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
(Site support request)

Unfortunately, neither of these sites are good candidates for FanFicFare.

Quote:
Originally Posted by jecilop View Post
The Gossamer Project: The X-files FanFiction Archive...
  1. The site's own FAQ says it's closed to updates.
  2. The site consists of text files, not html files.

Quote:
Originally Posted by jecilop View Post
Ephemeral - The X-files Fanfic AutoArchive ACTIVE
http://ephemeralfic.org/
  1. Site doesn't seem to have any of the usual metadata.
  2. The site consists of text files, not html files.

As usual, I won't automatically reject it if somebody else wants to write the code to support these sites, but I'm not going to do it. Sorry.
JimmXinu is offline   Reply With Quote
Old 05-18-2015, 01:42 PM   #170
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,971
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Firedancer885 View Post
Jimm, why does this line turn red?
That's not red--that's purple. Which means the color coder doesn't recognize it but it might still be correct (site specific metadata).
JimmXinu is offline   Reply With Quote
Advert
Old 05-18-2015, 02:37 PM   #171
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
Thanks
Firedancer885 is offline   Reply With Quote
Old 05-18-2015, 02:48 PM   #172
firefoxxy
Zealot
firefoxxy began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
Thank you for your help, Jim!
firefoxxy is offline   Reply With Quote
Old 05-18-2015, 03:17 PM   #173
jecilop
Addict
jecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day now
 
Posts: 260
Karma: 139980
Join Date: Mar 2014
Device: Android
@JimmXinu
By active, I meant that the site existed and could be navigated. No, it no longer adds new stuff, but it's still the largest and most comprehensive archive of X-files fic.

Thank you for looking for me. I didn't realize items have to be in html format to work. I appreciate your feedback.

I hope I can come across something where it will just download the posts contained even if I have to give the full url. I don't care what format it's in including text from Notepad lacking autoflow formatting. Something automatic is far easier than copy/pasting the page or saving as html or whatever....

Quote:
Originally Posted by JimmXinu View Post
(Site support request)

Unfortunately, neither of these sites are good candidates for FanFicFare.


  1. The site's own FAQ says it's closed to updates.
  2. The site consists of text files, not html files.


  1. Site doesn't seem to have any of the usual metadata.
  2. The site consists of text files, not html files.

As usual, I won't automatically reject it if somebody else wants to write the code to support these sites, but I'm not going to do it. Sorry.
jecilop is offline   Reply With Quote
Old 05-18-2015, 10:42 PM   #174
mehetabelo
e-Bibliophile
mehetabelo began at the beginning.
 
mehetabelo's Avatar
 
Posts: 60
Karma: 10
Join Date: Jun 2009
Location: California
Device: Paperwhite 1-3, Kobo AuraHD, Boox Afterglow2
I thought it may be a bug, and I appreciate you fixing it. It seems to be working now. Just had to do stuff manually again for about a dozen stories since it marked them read already.

... You know, that email option made me too damn lazy... that doesn't mean get rid of it though.
mehetabelo is offline   Reply With Quote
Old 05-20-2015, 01:35 AM   #175
fathertyme
Enthusiast
fathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheese
 
Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
Disclaimer: I'm an idiot, and probably doing something wrong wrong wrong wrong.

But just in case...

I've been trying to figure out some interaction with the different ways to set covers.

On select books, The author will provide a cover image, I'll set that as the book cover, and then no matter what I do it gets replaced.

If I select "don't update cover" then next time I do an update on that book, the cover just disappears.

I've tried to think of different ways to get this to work, but nothing seems to do the trick.

is this something I'm doing wrong, or is this just the way it is? (or is something borked)

Thanks in Advance
fathertyme is offline   Reply With Quote
Old 05-20-2015, 01:48 AM   #176
fathertyme
Enthusiast
fathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheese
 
Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
separate issue:

storiesonline again:..

I have not updated to the most current beta plugin, but I noticed recently that series information has been messed up.

eg: http://storiesonline.net/s/12051

where it used to return: A Kaire Story

now it returns: A Kaire story — A Universe from the Mind of Ka Hmnd

I'll check out the latest build, but from what I've seen on the update page, this isn't something that was addressed

-Tyme
fathertyme is offline   Reply With Quote
Old 05-20-2015, 01:59 AM   #177
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,971
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by fathertyme View Post
...
On select books, The author will provide a cover image, I'll set that as the book cover, and then no matter what I do it gets replaced.
...
Please provide story URLs that exhibit the problem.
JimmXinu is offline   Reply With Quote
Old 05-20-2015, 02:13 AM   #178
fathertyme
Enthusiast
fathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheese
 
Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
Quote:
Originally Posted by JimmXinu View Post
Please provide story URLs that exhibit the problem.
little tony: http://storiesonline.net/s/11999/little-tony

I gave up on the "use first image" settings, because I got tired of having the damned twitter bird as an cover page :P

but as you can see on the index, he provides an image...

so I saved it, manually set it as the cover...

but then when I updated it (the story is now done, so you'll have to force an update)

the cover gets over-written or flattened
fathertyme is offline   Reply With Quote
Old 05-20-2015, 02:18 AM   #179
fathertyme
Enthusiast
fathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheese
 
Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
heh.. so updated to newest version of plugin:

got this error:

Status: Error
Title: Cold Steele--and Mrs. Robinson
Author: woodmanone
Comment: 'tuple' object has no attribute 'logfile'
URL: http://storiesonline.net/s/12057
fathertyme is offline   Reply With Quote
Old 05-20-2015, 11:58 AM   #180
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,971
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by fathertyme View Post
heh.. so updated to newest version of plugin:

got this error:

Status: Error
Title: Cold Steele--and Mrs. Robinson
Author: woodmanone
Comment: 'tuple' object has no attribute 'logfile'
URL: http://storiesonline.net/s/12057
You're going to have to tell me what you were doing when that happened. Preferably with debug output. (Calibre Prefs->Run in Debug)
JimmXinu 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 03:38 AM.


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