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 03-12-2017, 04:56 AM   #1861
version365
Enthusiast
version365 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Mar 2016
Device: none
Quote:
Originally Posted by JimmXinu View Post
Add the same entries to titlepage_entries, use add_to_titlepage_entries to append them, or copy whole list and use titlepage_entries to put them in a different order.
add_to_titlepage_entries didn't work..

I had to use extra_titlepage_entries to make it to work..

Thanks though..
version365 is offline   Reply With Quote
Old 03-12-2017, 06:44 PM   #1862
saluli
Connoisseur
saluli began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Jul 2015
Location: Curitiba - Brazil
Device: Kindle Paperwhite 3,
I am having problems with the fetch from e-mail feature. It says it can´t connect? At same time, if I try to download from url it works.

I am using gmail, and until 2 days ago it worked perfectly. I will post the logs bellow.

Spoiler:
Code:
calibre, version 2.81.0
ERROR: Unhandled exception: <b>error</b>:[Errno 10060] Uma tentativa de conex�o falhou porque o componente conectado n�o respondeu
corretamente ap�s um per�odo de tempo ou a conex�o estabelecida falhou
porque o host conectado n�o respondeu

calibre 2.81 [64bit]  embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM (6, 0, 8) && KFX Output (1, 6, 0) && View Manager (1, 3, 2) && Find Duplicates (1, 6, 2) && Goodreads Sync (1, 10, 1) && Reading List (1, 6, 6) && Skoob (1, 2, 1) && Quality Check (1, 9, 11) && Consolidate All Library Metadata (2, 0, 28) && Kindle Collections (1, 7, 17) && Quick Preferences (1, 4, 1) && SmartEject (2, 0, 6) && Save Composite Custom Columns (1, 1, 0) && Count Pages (1, 7, 0) && Job Spy (1, 0, 53) && Prettify Cover (0, 9, 7) && FanFicFare (2, 9, 0) && MultiColumnSearch (1, 0, 69) && Generate Cover (1, 5, 21) && Goodreads (1, 1, 12) && EpubMerge (2, 1, 0) && Amazon.com Multiple Countries (1, 0, 0)
Traceback (most recent call last):
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 478, in get_urls_from_imap_menu
  File "calibre_plugins.fanficfare_plugin.fanficfare.geturls", line 190, in get_urls_from_imap
  File "imaplib.py", line 1165, in __init__
  File "imaplib.py", line 172, in __init__
  File "imaplib.py", line 1176, in open
  File "socket.py", line 571, in create_connection
error: [Errno 10060] Uma tentativa de conex�o falhou porque o componente conectado n�o respondeu
corretamente ap�s um per�odo de tempo ou a conex�o estabelecida falhou
porque o host conectado n�o respondeu
Code:
calibre Debug log
calibre 2.81 [64bit]  embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM (6, 0, 8) && KFX Output (1, 6, 0) && View Manager (1, 3, 2) && Find Duplicates (1, 6, 2) && Goodreads Sync (1, 10, 1) && Reading List (1, 6, 6) && Skoob (1, 2, 1) && Quality Check (1, 9, 11) && Consolidate All Library Metadata (2, 0, 28) && Kindle Collections (1, 7, 17) && Quick Preferences (1, 4, 1) && SmartEject (2, 0, 6) && Save Composite Custom Columns (1, 1, 0) && Count Pages (1, 7, 0) && Job Spy (1, 0, 53) && Prettify Cover (0, 9, 7) && FanFicFare (2, 9, 0) && MultiColumnSearch (1, 0, 69) && Generate Cover (1, 5, 21) && Goodreads (1, 1, 12) && EpubMerge (2, 1, 0) && Amazon.com Multiple Countries (1, 0, 0)
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 96.1893491124 x 96.3318518519
Starting up...
DEBUG:    0.0 HttpHelper::__init__: proxy=None
Calibre, and hence Job Spy, was gracefully shut down last time?  True
Last time daemon started:  never
Last time daemon failed:  never
Total daemon starts inception_to_date:  0
Total daemon failures inception-to-date:  0
Job Spy has finished initialization...
FFF: DEBUG: 2017-03-12 19:30:20,384: calibre_plugins.fanficfare_plugin.fff_plugin(207): Plugin FanFicFare macmenuhack file_path:C:\Users\salul\AppData\Roaming\calibre\plugins\fanficfare_macmenuhack.txt
MCS has finished initialization...
EpubMerge: DEBUG: 2017-03-12 19:30:20,428: calibre_plugins.epubmerge.epubmerge_plugin(152): macmenuhack file_path:C:\Users\salul\AppData\Roaming\calibre\plugins\fanficfare_macmenuhack.txt
SMART_DEV (   0.00:  0.003) _attach_to_port try ip address "" on port 9090
SMART_DEV (   0.92:  0.828) startup_on_demand listening on port 9090
SMART_DEV (   0.97:  0.009) _attach_to_port try ip address "" on port 54982
SMART_DEV (   1.01:  0.000) startup_on_demand broadcast socket listening on port 54982
SMART_DEV (   2.10:  1.048) run All IP addresses {'{F277556D-AAB3-11E6-8C24-806E6F6E6963}': [{'addr': '127.0.0.1', 'broadcast': '127.255.255.255', 'netmask': '255.0.0.0'}], '{0324A486-A75C-4F2E-BFD1-1ED9D48B8C3B}': [{'addr': '169.254.95.179'}], '{02998603-7C4C-4E2D-9CC7-A0DBAA0C634D}': [{'addr': '192.168.25.31', 'broadcast': '192.168.25.255', 'netmask': '255.255.255.0'}], '{BFC8C693-4DB1-4317-B3D4-FDF53201772C}': [{'addr': '192.168.137.1', 'broadcast': '192.168.137.255', 'netmask': '255.255.255.0'}], '{03F7A3A8-2BA7-4B1B-8A84-B2D3F10B48BD}': [{'addr': '169.254.105.63'}], '{CACD70AF-DE59-4CDF-8FB9-9CD42A0ED102}': [{'addr': '169.254.165.88'}]}
Started up in 156.07 seconds with 758 books
FFF: DEBUG: 2017-03-12 19:32:58,348: calibre_plugins.fanficfare_plugin.fanficfare.geturls(189): get_urls_from_imap srv:(imap.gmail.com)
calibre 2.81 [64bit]  embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM (6, 0, 8) && KFX Output (1, 6, 0) && View Manager (1, 3, 2) && Find Duplicates (1, 6, 2) && Goodreads Sync (1, 10, 1) && Reading List (1, 6, 6) && Skoob (1, 2, 1) && Quality Check (1, 9, 11) && Consolidate All Library Metadata (2, 0, 28) && Kindle Collections (1, 7, 17) && Quick Preferences (1, 4, 1) && SmartEject (2, 0, 6) && Save Composite Custom Columns (1, 1, 0) && Count Pages (1, 7, 0) && Job Spy (1, 0, 53) && Prettify Cover (0, 9, 7) && FanFicFare (2, 9, 0) && MultiColumnSearch (1, 0, 69) && Generate Cover (1, 5, 21) && Goodreads (1, 1, 12) && EpubMerge (2, 1, 0) && Amazon.com Multiple Countries (1, 0, 0)
Traceback (most recent call last):
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 478, in get_urls_from_imap_menu
  File "calibre_plugins.fanficfare_plugin.fanficfare.geturls", line 190, in get_urls_from_imap
  File "imaplib.py", line 1165, in __init__
  File "imaplib.py", line 172, in __init__
  File "imaplib.py", line 1176, in open
  File "socket.py", line 571, in create_connection
error: [Errno 10060] Uma tentativa de conexão falhou porque o componente conectado não respondeu
corretamente após um período de tempo ou a conexão estabelecida falhou
porque o host conectado não respondeu

plugin Save Composite Custom Columns library C:\Users\salul\Dropbox\0_Calibre\Bilio Fic baixando: updated 758 books in 0:00:00.604000


Another question: Did something changed in the way replace metadata works? I had managed to use it to remove (movies) and (TV) from the metadata, but they started appearing again.... Maybe I broke something while I was editing....
saluli is offline   Reply With Quote
Old 03-14-2017, 04:45 AM   #1863
Tanjamuse
Guru
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 983
Karma: 5258
Join Date: Jan 2014
Device: Samsung Galaxy Tab 3
Gmail works fine for me.

I have another problem though. When I try to update metadata on ebooks I've downloaded on the website, it gives me this error:

Code:
Status
Title
Author
Comment
URL
Bad
Imagine
GM
maximum recursion depth exceeded
https://www.fanfiction.net/s/311682/1/
I know it does that when I download the book but I've never seen it when I update metadata.

I've attached the epub from Calibre.
Attached Files
File Type: epub Imagine - GM.epub (24.2 KB, 22 views)
Tanjamuse is offline   Reply With Quote
Old 03-14-2017, 08:17 AM   #1864
version365
Enthusiast
version365 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Mar 2016
Device: none
Calibre allows multiple Libraries..

But, I have noticed that there is only one Fanficfare file in zip format in appdata folder of calibre (i.e. %appdata%/calibre/plugins).

So my question is, If I delete FFF plugin from one library, would it get deleted from other libraries as well?
version365 is offline   Reply With Quote
Old 03-14-2017, 08:19 AM   #1865
Tanjamuse
Guru
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 983
Karma: 5258
Join Date: Jan 2014
Device: Samsung Galaxy Tab 3
Yes, as long as it's the same computer/installation of Calibre it will be deleted in every library.
Tanjamuse is offline   Reply With Quote
Old 03-14-2017, 09:48 AM   #1866
version365
Enthusiast
version365 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Mar 2016
Device: none
^ But then why doesn't configuration change in FFF propagate from one library to the other?

btw, the 'Generate Cover' plugin's configuration change does propagate from one library to the other.

Last edited by version365; 03-14-2017 at 09:51 AM.
version365 is offline   Reply With Quote
Old 03-14-2017, 09:51 AM   #1867
Tanjamuse
Guru
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 983
Karma: 5258
Join Date: Jan 2014
Device: Samsung Galaxy Tab 3
I don't know. I have the same trouble.

My personal.ini and the settings stays the same when I switch from one library to another, unless I restart Calibre.
Tanjamuse is offline   Reply With Quote
Old 03-14-2017, 10:42 AM   #1868
version365
Enthusiast
version365 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Mar 2016
Device: none
Quote:
Originally Posted by Tanjamuse View Post
... unless I restart Calibre.
for me, even restarting Calibre doesn't synchronize settings across libraries..
version365 is offline   Reply With Quote
Old 03-14-2017, 10:45 AM   #1869
Tanjamuse
Guru
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 983
Karma: 5258
Join Date: Jan 2014
Device: Samsung Galaxy Tab 3
As far as I know you have to set the specific settings to each library, but you can't uninstall the plugin from calibre for one library because then it removes the plugin from all libraries.
Tanjamuse is offline   Reply With Quote
Old 03-14-2017, 05:23 PM   #1870
scarlettruin
Connoisseur
scarlettruin began at the beginning.
 
Posts: 56
Karma: 10
Join Date: May 2014
Device: Nook (Simple Touch) and Samsung Galaxy Tab 3.0
When I go to download an anthology at http://www.midnightwhispers.net/viewstory.php?sid=3538, I get the error 'object of type 'NoneType' has no lens()'. I'm pretty sure I should be able to download this - any ideas what I can do please?
scarlettruin is offline   Reply With Quote
Old 03-14-2017, 06:34 PM   #1871
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: 3,316
Karma: 589194
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Voyage
Multi-reply.

Quote:
Originally Posted by saluli View Post
I am having problems with the fetch from e-mail feature. It says it can´t connect? At same time, if I try to download from url it works.
...
Another question: Did something changed in the way replace metadata works? I had managed to use it to remove (movies) and (TV) from the metadata, but they started appearing again.... Maybe I broke something while I was editing....
Judging by the error code (Errno 10060), I would speculate that you are being blocked by a firewall program on your computer--I believe we've seen that before. It might have something to do with starting the wireless device connection (SMART_DEV) on program start.

No, replace_metadata hasn't changed any time recently.

Quote:
Originally Posted by Tanjamuse View Post
I have another problem though. When I try to update metadata on ebooks I've downloaded on the website, it gives me this error:

Code:
maximum recursion depth exceeded
https://www.fanfiction.net/s/311682/1/
Well, that's worrying. (goes and looks) Ah. That is caused by some egregiously bad HTML from the author. They've somehow replaced all of their <font> tags with <pont>--without changing the closing tags. See:

Click image for larger version

Name:	Capture1.PNG
Views:	28
Size:	42.6 KB
ID:	155673

So the HTML parser keeps recursing deeper and deeper looking for close tags and not finding them until it hits the maximum recursion depth and fails. My browser does something similar; ~2/3 down the page it gives up trying to fix it.

There's a limit to how much bad HTML FanFicFare will try to handle, and this is well past it. Sorry.

Quote:
Originally Posted by version365 View Post
Calibre allows multiple Libraries..

But, I have noticed that there is only one Fanficfare file in zip format in appdata folder of calibre (i.e. %appdata%/calibre/plugins).

So my question is, If I delete FFF plugin from one library, would it get deleted from other libraries as well?

[and further discussion]
Each plugin is install in Calibre in general. Plugins are never installed 'inside' individual libraries. If a plugin is uninstalled, it is not available regardless of library.

Plugin Settings can be universal or per-library, depending on how the plugin author chose to implement it.

A number of plugins (usually older ones) save their settings inside a file (usually .json) saved in the plugin directory. Some of them use the same settings for all libraries and some save different settings for different libraries inside that file. FanFicFare used that back in the FFDL days, up to Jul 2012.

That's when Calibre made available a place in each library's database where plugins could save their settings so that copying/moving/backing-up a library directory would also get it's associated plugin settings. FanFicFare uses this method today.

BUT! When you switch to a new library that doesn't already have any settings for FanFicFare, FanFicFare will copy your settings from the previous library. This may lead you to think they share settings, but they do not. (Unless, of course, something is broken.)

Only keeping one set of settings for all libraries could possibly be added to FFF as a feature if enough people want it.

Quote:
Originally Posted by scarlettruin View Post
When I go to download an anthology at http://www.midnightwhispers.net/viewstory.php?sid=3538, I get the error 'object of type 'NoneType' has no lens()'. I'm pretty sure I should be able to download this - any ideas what I can do please?
FanFicFare supports www.midnightwhispers.ca, not www.midnightwhispers.net. But it looks like the .ca domain has gone away and midnightwhispers.net replaced it. Test version with that change coming soon.
JimmXinu is offline   Reply With Quote
Old 03-14-2017, 06:38 PM   #1872
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: 3,316
Karma: 589194
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Voyage
New test version posted

2017-03-14
- Remove unnecessary line that can cause problems with abbreviated ffnet URL.
- Renamed midnightwhispers.ca domain midnightwhispers.net.
- Update translations.
- Bump test version.
JimmXinu is offline   Reply With Quote
Old 03-15-2017, 04:02 AM   #1873
version365
Enthusiast
version365 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Mar 2016
Device: none
Quote:
Originally Posted by JimmXinu View Post
Only keeping one set of settings for all libraries could possibly be added to FFF as a feature if enough people want it.
No, I think it's useful to have diff settings of FFF for diff libraries..
I say, let it be as it is..

And thanks for helping..
version365 is offline   Reply With Quote
Old 03-16-2017, 03:37 PM   #1874
version365
Enthusiast
version365 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Mar 2016
Device: none
I have another request..

storiesonline.net 's stories have some prelude or introductory text on the chapter index page of a story.
Currently, this is not downloaded..
Can you please include this to be downloaded? maybe on the title page?

Please note, this is not the same as "notice" that gets downloaded as metadata.. because what I am asking for is in <p class="c"></p> ; not class="notice".

On another note, I have noticed that if there is more than one "notice" class in the first page, only the first notice text gets downloaded..
version365 is offline   Reply With Quote
Old 03-16-2017, 05:02 PM   #1875
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: 3,316
Karma: 589194
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Voyage
Quote:
Originally Posted by version365 View Post
I have another request..

storiesonline.net 's stories have some prelude or introductory text on the chapter index page of a story.
Currently, this is not downloaded..
Can you please include this to be downloaded? maybe on the title page?
...
GComyn and davidfor have been the ones keeping the storiesonline.net adapter code up to date. So I'll probably check with them before doing anything.

Also, I would need example story URLs that show each of the cases you describe. (PM please, NSFW site.)
JimmXinu 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] KindleUnpack - The Plugin DiapDealer Plugins 412 04-24-2018 06:07 PM
[GUI Plugin] Open With kiwidude Plugins 328 08-20-2017 11:34 PM
[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 11:20 PM.


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