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 09-06-2017, 04:24 AM   #91
simika
Junior Member
simika began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2017
Device: Kindle Paperwhite 3
Thank you, it worked! Just funny, to count the lines in notepad :-) You know, I am not programmer.
simika is offline   Reply With Quote
Old 09-21-2017, 01:33 PM   #92
varan66
Junior Member
varan66 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2013
Device: kindle3
Plugin funguje pěkně. Nedokáže ale otevřít celý text komentáře - popisu knihy. Výše zmíněná úprava sice otevírá celý text, ale plugin u většiny knih přestává fungovat.
varan66 is offline   Reply With Quote
Old 09-22-2017, 03:21 AM   #93
h0nza
Junior Member
h0nza began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2015
Device: Pocketbook 626
Correction:
To restore the annotation backwards in plugin version 1.4.9, change the following in file '__init__.py' on line 47 ONLY:

OLD:
Quote:
databazeknih.BASE_URL + 'knihy/' + databazeknih_id)
NEW:
Quote:
databazeknih.BASE_URL + 'knihy/' + databazeknih_id + '?show=alldesc')
Other changes on lines 87 and 185 described in my post #90 revert back to original version 1.4.9 from Vecdan.
Sorry for the complications.
h0nza is offline   Reply With Quote
Old 09-22-2017, 06:31 AM   #94
varan66
Junior Member
varan66 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2013
Device: kindle3
Ani po úpravě pouze řádku 47 nenačítá celý text popisu knihy.
varan66 is offline   Reply With Quote
Old 09-22-2017, 07:37 AM   #95
h0nza
Junior Member
h0nza began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2015
Device: Pocketbook 626
So do next correction (I hope the last :-)
Change the following in file 'worker.py' on line 48 :

OLD:
Quote:
raw = self.browser.open_novisit(self.url, timeout=self.timeout)#.read().strip()
NEW:
Quote:
raw = self.browser.open_novisit(self.url + "?show=alldesc", timeout=self.timeout)#.read().strip()

Last edited by h0nza; 09-22-2017 at 07:58 AM. Reason: Mistake
h0nza is offline   Reply With Quote
Old 09-23-2017, 01:17 PM   #96
varan66
Junior Member
varan66 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2013
Device: kindle3
Po této úpravě vůbec nevyhledá nic. Nebudu zde týden.Děkuji za snahu pomoci.
varan66 is offline   Reply With Quote
Old 12-22-2017, 07:13 AM   #97
vecdan
Member
vecdan began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Apr 2014
Device: Kindle Paperwhite 3
Version 1.4.10

Hi,

there is version 1.4.10. ISBN number and comments should be correctly parsed now.
Attached Files
File Type: zip Databazeknih.zip (7.2 KB, 327 views)
vecdan is offline   Reply With Quote
Old 12-30-2017, 04:43 PM   #98
kozo.roh
Junior Member
kozo.roh began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2013
Device: Hanlin V3+
Thumbs up

Quote:
Originally Posted by vecdan View Post
Hi,

there is version 1.4.10. ISBN number and comments should be correctly parsed now.
Super! Thank you very much!
kozo.roh is offline   Reply With Quote
Old 10-18-2018, 09:23 AM   #99
vecdan
Member
vecdan began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Apr 2014
Device: Kindle Paperwhite 3
New version

The new version 1.4.11 of the plugin with corrected rating parsing.
Attached Files
File Type: zip databaseknih.zip (7.4 KB, 29 views)
vecdan is offline   Reply With Quote
Old 10-21-2018, 11:45 PM   #100
simika
Junior Member
simika began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2017
Device: Kindle Paperwhite 3
I got this message during unsuccessful installation:

calibre, version 3.33.1
CHYBA: Neošetřená výjimka: <b>InvalidPlugin</b>:The plugin in u'C:\\Users\\Uzivatel\\Downloads\\databaseknih.zip ' is invalid. It does not contain a top-level __init__.py file

calibre 3.33.1 embedded-python: True is64bit: False
Windows-10-10.0.16299 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.16299')
Python 2.7.12+
Windows: ('10', '10.0.16299', '', u'Multiprocessor Free')
Interface language: cs
Successfully initialized third party plugins: DeDRM (6, 5, 3) && Author Book Count (2, 1, 5) && CBDB (0, 0, 4) && Copy Cover To Device (2, 0, 0) && KePub Metadata Reader (3, 0, 2) && Find Duplicates (1, 6, 3) && Martinus.sk (2018, 3, 30) && Databazeknih (1, 4, 10) && DOC Input (1, 0, 1) && Amazon.com Multiple Countries (1, 0, 0) && Save To Format (0, 0, 6)
Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 317, in add_plugin
File "site-packages\calibre\customize\ui.py", line 472, in add_plugin
File "site-packages\calibre\customize\ui.py", line 61, in load_plugin
File "site-packages\calibre\customize\zipplugin.py", line 193, in load
File "site-packages\calibre\customize\zipplugin.py", line 291, in _locate_code
InvalidPlugin: The plugin in u'C:\\Users\\Uzivatel\\Downloads\\databaseknih.zip ' is invalid. It does not contain a top-level __init__.py file


What I did wrong?
simika is offline   Reply With Quote
Old 10-26-2018, 04:47 AM   #101
padr
Junior Member
padr began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2014
Device: Pocketbook
You have to unzip the plugin first.
padr is offline   Reply With Quote
Old 10-26-2018, 07:43 AM   #102
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: 15,458
Karma: 25374390
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo,Aura H2O,Glo HD,Aura ONE,Clara HD,Forma;tolino epos
Quote:
Originally Posted by padr View Post
You have to unzip the plugin first.
You shouldn't have to. But, it appears the file has been packed incorrectly. They have zipped the folder rather than just the contents of the folder.

@simika: Try the attached version. I have repacked it and it appears to work.
Attached Files
File Type: zip databaseknih.zip (7.1 KB, 32 views)
davidfor is online now   Reply With Quote
Old 11-02-2018, 02:41 AM   #103
simika
Junior Member
simika began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2017
Device: Kindle Paperwhite 3
it works, thank you!

Last edited by simika; 11-02-2018 at 02:41 AM. Reason: wrong answer
simika is offline   Reply With Quote
Reply

Tags
change request, feature request

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Source Plugin] Webscription (Baen Ebooks) kiwidude Plugins 59 11-10-2018 06:25 PM
[Metadata Source Plugin] BOL.com (NL) Pr.BarnArt Plugins 384 03-30-2018 05:00 AM
[Metadata Source Plugin] OnLineknihovna.cz oplis Plugins 1 10-27-2011 09:54 AM
[Metadata Source Plugin] catawiki drMerry Plugins 0 06-28-2011 09:42 PM
[Metadata Source Plugin] Antikvarium.hu **Deprecated** Daermond Plugins 0 05-27-2011 09:06 AM


All times are GMT -4. The time now is 08:27 PM.


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