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 01-06-2014, 10:30 AM   #151
weo
Junior Member
weo began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2014
Device: none
Hi,

new to Calibre, and new to this forum. And already had the audacity to doubt your plugin :-$

I have tried over and over to get ISBN recognition to work, but always with the same ISBN. As it turns out, the ISBN is valid, but there is some glitch somewhere on the page that seems to puzzle your code.

The ISBN I tried, was 9789055817443. In the log file I find
Quote:
****************************** BOL_NL ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3')]
Found 0 results
Downloading from BOL_NL took 1.60799980164
Querying: http://www.bol.com/nl/s/boeken/zoekr...questid=136981
BOL_NL url: u'http://www.bol.com/nl/s/boeken/zoekresultaten/Ntt/9789055817443/Ntk/isbncode/Nty/1/N/8299+8293/Ne/8299+8293/search/true/searchType/qck/toonAlle/true/index.html?_requestid=136981'
Could not find title/authors/bol_nl_id for u'http://www.bol.com/nl/s/boeken/zoekresultaten/Ntt/9789055817443/Ntk/isbncode/Nty/1/N/8299+8293/Ne/8299+8293/search/true/searchType/qck/toonAlle/true/index.html?_requestid=136981'
bol_nl_id: u'nl/s/boeken/zoekresultaten/Ntt/9789055817443/Ntk/isbncode/Nty/1/N/8299+8293/Ne/8299' Title: u'Irs All Watcher: 007 Het financi\xeble zwarte gat' Authors: []

************************************************** ******************************
The identify phase took 1.67 seconds
The longest time (1.608000) was taken by: BOL_NL
Merging results from different sources and finding earliest publication dates from the worldcat.org service
We have 0 merged results, merging took: 0.00 seconds
Failed to download metadata for Onbekend
Then it repeats itself for Covers.

Now I do not know why, but I kept on trying with this ISBN. But when I finally set my stubbornness aside, I found that other ISBNs _were_ working!

--> from the same series: 9789055817320, (Irs All Watcher: 006 De financiële snaartheorie)

Could it be the trema on the e messes things up?
from the log above:
Quote:
bol_nl_id: u'nl/s/boeken/zoekresultaten/Ntt/9789055817443/Ntk/isbncode/Nty/1/N/8299+8293/Ne/8299' Title: u'Irs All Watcher: 007 Het financi\xeble zwarte gat' Authors: []
Thanks for the plugin, anyways!

Weo
weo is offline   Reply With Quote
Old 01-06-2014, 03:29 PM   #152
Pr.BarnArt
Zealot
Pr.BarnArt began at the beginning.
 
Pr.BarnArt's Avatar
 
Posts: 140
Karma: 34
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad2
Quote:
Originally Posted by weo View Post
Hi,

new to Calibre, and new to this forum. And already had the audacity to doubt your plugin :-$

I have tried over and over to get ISBN recognition to work, but always with the same ISBN. As it turns out, the ISBN is valid, but there is some glitch somewhere on the page that seems to puzzle your code.
Weo
No problem to doubt. At the contrary I like to get comments to make the plugin better.
But in this case the problem is due the missing authors at the website.
For ISBN 9789055817443 there are no authors mentioned at bol. The title and authors are mandatory , so that is why the plugin returns the message.
There is no description either, I noticed.
The other isbn is mentioned with title and authors(... ;-)) (and description), so that gives no problems.
The trema should not be a problem, as far as I know.

Last edited by Pr.BarnArt; 01-06-2014 at 11:42 PM.
Pr.BarnArt is offline   Reply With Quote
Old 03-09-2014, 10:40 AM   #153
Neptunus
Junior Member
Neptunus began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2012
Location: Netherlands
Device: Sony 300
Installed Calibre (32b) on new PC with Windows 8.1. Calibre does work fine but the plugin gives no results. Here is my log:
With Windows 7 (and my old computer), I had no problems
--------------------------------------------------------------------------
Running identify query with parameters:
{u'authors': [u'John Grisham'], u'identifiers': {}, u'timeout': 30, u'title': u'De Deal'}
Using plugins: BOL_NL, Google, Amazon.com
The log from individual plugins is below

****************************** BOL_NL ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')]
Found 0 results
Downloading from BOL_NL took 30.1579999924
Querying: http://www.bol.com/nl/s/boeken/zoekr...equestid=17572
Plugin BOL_NL failed
Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\sources\identify. py", line 43, in run
File "calibre_plugins.BOL_NL.__init__", line 228, in identify
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 199, in open_novisit
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 230, in _mech_open
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_opener.py", line 193, in open
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 344, in _open
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 332, in _call_chain
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 1142, in http_open
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 1118, in do_open
URLError: <urlopen error timed out>

************************************************** ******************************

****************************** Amazon.com ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')]
Found 0 results
Downloading from Amazon.com took 30.1080000401
Time-out van Amazon. Probeer later opnieuw.

************************************************** ******************************

****************************** Google ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 5.2; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')]
Found 1 results
Downloading from Google took 178.60800004


---
Title : De deal
Author(s) : John Grisham
Publisher : Centraal Boekhuis
Languages : nld
Published : 2007-08-20T14:36:23.289000+00:00
Identifiers : google:cIRzPQAACAAJ, isbn:9789022993378
Comments : Een Amerikaanse topadvocaat die veroordeeld is tot twintig jaar gevangenisstraf, wordt plotseling na zes jaar vrijgelaten.

************************************************** ******************************
The identify phase took 178.64 seconds
The longest time (178.608000) was taken by: Google
Merging results from different sources and finding earliest publication dates from the worldcat.org service
Query to xISBN timed out
We have 1 merged results, merging took: 10.00 seconds
-------------------------------------------------------------------------
Neptunus is offline   Reply With Quote
Old 03-11-2014, 03:37 PM   #154
Pr.BarnArt
Zealot
Pr.BarnArt began at the beginning.
 
Pr.BarnArt's Avatar
 
Posts: 140
Karma: 34
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad2
Quote:
Originally Posted by Neptunus View Post
Installed Calibre (32b) on new PC with Windows 8.1. Calibre does work fine but the plugin gives no results.
Title : De deal
Author(s) : John Grisham
Publisher : Centraal Boekhuis
Languages : nld
I do not run windows 8 myself, but a quick test on a win8 machine didnot produce any errors.
So for now I cannot reproduce it.
Due to the error-message there is a time out, so the websites takes to long to respond (don 't know why).
There are two points to check , just to be sure :
- first one :deselect show rejected titles in the configuration.
That part of the plugin opens a new window which is not official supported, but it works (not with osX).
-second one: only use the bol_nl plugin and no other ones, just to see if that gives trouble.


If others have to same problem, please let me know. For now I dont know what to fix.'Sorry.
Pr.BarnArt is offline   Reply With Quote
Old 03-11-2014, 06:09 PM   #155
Neptunus
Junior Member
Neptunus began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2012
Location: Netherlands
Device: Sony 300
Quote:
Originally Posted by Pr.BarnArt View Post
I do not run windows 8 myself, but a quick test on a win8 machine didnot produce any errors.
So for now I cannot reproduce it.
Due to the error-message there is a time out, so the websites takes to long to respond (don 't know why).
There are two points to check , just to be sure :
- first one :deselect show rejected titles in the configuration.
That part of the plugin opens a new window which is not official supported, but it works (not with osX).
-second one: only use the bol_nl plugin and no other ones, just to see if that gives trouble.


If others have to same problem, please let me know. For now I dont know what to fix.'Sorry.
Thanks, I deselected the 'whow rejected titles' and only used the nl plugin.

Result:
---------------------------------------------------------------------------
calibre, version 1.27.0
FOUT: Geen zoekresultaten gevonden: <p>Geen boeken gevonden voor de zoekopdracht. Probeer de zoekopdracht <b>minder specifiek</b> te maken. Gebruik bijvoorbeeld alleen de achternaam van de auteur of één enkel sleutelwoord uit de titel. Om alle meldingen te zien klikt u op ‘Details tonen’.

Running identify query with parameters:
{u'authors': [u'David Baldacci'], u'identifiers': {}, u'timeout': 30, u'title': u'Duister Lot'}
Using plugins: BOL_NL
The log from individual plugins is below

****************************** BOL_NL ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 5.2; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')]
Found 0 results
Downloading from BOL_NL took 30.0390000343
Querying: http://www.bol.com/nl/s/boeken/zoekr...equestid=17572
Plugin BOL_NL failed
Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\sources\identify. py", line 43, in run
File "calibre_plugins.BOL_NL.__init__", line 228, in identify
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 199, in open_novisit
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 230, in _mech_open
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_opener.py", line 193, in open
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 344, in _open
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 332, in _call_chain
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 1142, in http_open
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 1118, in do_open
URLError: <urlopen error timed out>

************************************************** ******************************
The identify phase took 30.07 seconds
The longest time (30.039000) was taken by: BOL_NL
Merging results from different sources and finding earliest publication dates from the worldcat.org service
We have 0 merged results, merging took: 0.00 seconds
---------------------------------------------------------------------------

After that, and closing Calibre, I can't connect via any browser to a website
or even this forum. Chrome message is "resolving host" .I had to restart the computer. This only happens with Calibre, when I want to look for meta data.
I have the latest network adapter driver software. I lookud up in Google for the message 'resolving host', I think it has something to do with IP4 and IP6 DNS lookups, but why only with Calibre?

When I start my computer in safe mode (with network connections) calibre and the plugin works fine....

Last edited by Neptunus; 03-12-2014 at 04:08 AM.
Neptunus is offline   Reply With Quote
Old 03-12-2014, 01:42 PM   #156
Dompie
Member
Dompie began at the beginning.
 
Dompie's Avatar
 
Posts: 23
Karma: 10
Join Date: Jul 2010
Location: Gouda, The Netherlands
Device: PRS-600 and PRS-650
The message "URLError: <urlopen error timed out>" is not a BOL plugin error but an error in your networkconnections.
Pr.BarnArt will never be able to solve this problem.
Dompie is offline   Reply With Quote
Old 03-13-2014, 06:04 AM   #157
Neptunus
Junior Member
Neptunus began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2012
Location: Netherlands
Device: Sony 300
Problem solved. I uninstalled all my drivers and installed all latest drivers (again) from the Gigabyte motherboard support site. Now it works at last.
Neptunus is offline   Reply With Quote
Old 05-07-2014, 05:45 PM   #158
Wipneus
Member
Wipneus began at the beginning.
 
Wipneus's Avatar
 
Posts: 14
Karma: 10
Join Date: Jan 2012
Location: Nederland
Device: Ipad 2
There is a problem with the comment when you get it from Bol.com or a problem with calibre. When i search with isbn en title en you get it from Bol.com you get a strange comment with —><p> <br /> <p
Maybe the problem comes after the new update to 1.35 or the problem lies on Bol.com

Normaly there is no problem but now i get this in my comment.

Example: Ian Rankin - Hand & Tand you get this.

>
<!— End Main specs —><p> <br /> <p itemprop="description">Omdat het eerste lichaam in Wolf Street werd gevonden, omdat de moordenaar een beet uit elk lichaam neemt, hebben de kranten een nieuw schrikbeeld: de Wolfman... <br><br>John Rebus wordt beschouwd als expert op het gebied van seriemoordenaars. Hij is naar Londen ontboden om het onderzoek vlot te trekken. George Flight, zijn tegenpool bij Scotland Yard, zit niet te wachten op bemoeials. Rebus moet vechten tegen vooroordelen en een bloeddorstige maniak. Als een aantrekkelijke psychologe hem een profiel van de Wolfman aanreikt, heeft Rebus eindelijk een bondgenoot gevonden. Maar hulp van buiten maakt kwetsbaar voor aanvallen in de rug... <br><br>Ian Rankin (Fife, Schotland, 1960) is een van de beste Britse misdaadauteurs. Hij ontving in 2004 de prestigieuze Diamond Dagger Award, de oeuvreprijs die alleen de grootste crimeschrijvers krijgen. Zijn Rebus-serie verschijnt in vele talen. </p><br /> <br /> <br /> <br><strong>Recencie(s)</strong><br /> <br /> NBD|Biblion recensie<br><br><br />

Even ook in het Nederlands
Er is een probleem of met Bol.com of met Calibre na de update van 1.34 naar 1.35 maar dat weet ik niet precies. Als ik het bovengenoemde boek via isbn en titel bij Bol vandaan haal krijg ik in het commentaar venster van die rare tekens te zien terwijl dit niet bij Bol te zien is.
Wipneus is offline   Reply With Quote
Old 05-08-2014, 01:57 PM   #159
Dompie
Member
Dompie began at the beginning.
 
Dompie's Avatar
 
Posts: 23
Karma: 10
Join Date: Jul 2010
Location: Gouda, The Netherlands
Device: PRS-600 and PRS-650
Yes, here the same problem and I am using Calibre 1.20, so it is not a Calibre 1.35 problem. Nooooo the guys of BOL have changed their site again. Naughty boys :-)
Dompie is offline   Reply With Quote
Old 05-08-2014, 05:58 PM   #160
Wipneus
Member
Wipneus began at the beginning.
 
Wipneus's Avatar
 
Posts: 14
Karma: 10
Join Date: Jan 2012
Location: Nederland
Device: Ipad 2
Ok thanks. I hope that Pr. Barnart will fix it.
Wipneus is offline   Reply With Quote
Old 05-09-2014, 06:11 AM   #161
Pr.BarnArt
Zealot
Pr.BarnArt began at the beginning.
 
Pr.BarnArt's Avatar
 
Posts: 140
Karma: 34
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad2
Quote:
Originally Posted by Wipneus View Post
Ok thanks. I hope that Pr. Barnart will fix it.
Hi

I will and I did.

They indeed changed some part of their website.
New version 2.4 available at the starttopic of this thread.

Hope that will do.

Enjoy.
Pr.BarnArt is offline   Reply With Quote
Old 05-12-2014, 07:24 AM   #162
Wipneus
Member
Wipneus began at the beginning.
 
Wipneus's Avatar
 
Posts: 14
Karma: 10
Join Date: Jan 2012
Location: Nederland
Device: Ipad 2
Thanks. The day after i had no problems with Bol anymore. Mayby Bol had changed it self.
I have install the new plugin now.

Super Pr. BarnArt !!!
Wipneus is offline   Reply With Quote
Old 07-21-2014, 12:25 PM   #163
Pr.BarnArt
Zealot
Pr.BarnArt began at the beginning.
 
Pr.BarnArt's Avatar
 
Posts: 140
Karma: 34
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad2
New version 3.0
due to Porting to Qt5 for Calibre 2.0
Pr.BarnArt 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
[Metadata Source Plugin] Libri.hu [Deprecated] Daermond Plugins 5 10-02-2012 05:07 AM
[Metadata Source Plugin] Moly.hu [Deprecated] Daermond Plugins 7 09-23-2012 03:48 AM
Request : metadata source plugin for bol.com bolligske Plugins 8 06-17-2011 07:44 AM
[Metadata Download Plugin] Goodreads Metadata **Deprecated** kiwidude Plugins 30 04-23-2011 02:10 PM
metadata plugin redneck_momma Plugins 1 05-21-2010 08:41 PM


All times are GMT -4. The time now is 07:43 PM.


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