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, 03:24 AM   #91
simika
Member
simika began at the beginning.
 
Posts: 17
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, 12:33 PM   #92
varan66
Member
varan66 began at the beginning.
 
Posts: 10
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
Advert
Old 09-22-2017, 02:21 AM   #93
h0nza
Member
h0nza began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Feb 2015
Device: Pocketbook 626 TL2
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, 05:31 AM   #94
varan66
Member
varan66 began at the beginning.
 
Posts: 10
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, 06:37 AM   #95
h0nza
Member
h0nza began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Feb 2015
Device: Pocketbook 626 TL2
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 06:58 AM. Reason: Mistake
h0nza is offline   Reply With Quote
Advert
Old 09-23-2017, 12:17 PM   #96
varan66
Member
varan66 began at the beginning.
 
Posts: 10
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, 06:13 AM   #97
vecdan
Member
vecdan began at the beginning.
 
Posts: 14
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, 696 views)
vecdan is offline   Reply With Quote
Old 12-30-2017, 03:43 PM   #98
kozo.roh
Junior Member
kozo.roh began at the beginning.
 
Posts: 4
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, 08:23 AM   #99
vecdan
Member
vecdan began at the beginning.
 
Posts: 14
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, 377 views)
vecdan is offline   Reply With Quote
Old 10-21-2018, 10:45 PM   #100
simika
Member
simika began at the beginning.
 
Posts: 17
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, 03: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, 06: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: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
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, 719 views)
davidfor is offline   Reply With Quote
Old 11-02-2018, 01:41 AM   #103
simika
Member
simika began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Sep 2017
Device: Kindle Paperwhite 3
it works, thank you!

Last edited by simika; 11-02-2018 at 01:41 AM. Reason: wrong answer
simika is offline   Reply With Quote
Old 11-15-2018, 01:57 PM   #104
DexSK
Member
DexSK began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2016
Device: Kindle Paperwhite 3
Moc a moc díky
DexSK is offline   Reply With Quote
Old 06-10-2019, 10:15 AM   #105
Ubiquity
Member
Ubiquity began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2019
Device: Android phone
Nemohl by prosím někdo napsat ještě modul pro import popisů z webu www.knihydobrovsky.cz?

Zkouším vytvořit modifikaci tohoto pluginu ale moc si s Pythonem netykám.
Ubiquity 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] BOL.com (NL) Pr.BarnArt Plugins 505 12-14-2023 03:23 PM
[Metadata Source Plugin] Webscription (Baen Ebooks) kiwidude Plugins 74 09-12-2021 08:45 AM
[Metadata Source Plugin] OnLineknihovna.cz oplis Plugins 1 10-27-2011 08:54 AM
[Metadata Source Plugin] catawiki drMerry Plugins 0 06-28-2011 08:42 PM
[Metadata Source Plugin] Antikvarium.hu **Deprecated** Daermond Plugins 0 05-27-2011 08:06 AM


All times are GMT -4. The time now is 06:58 PM.


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