Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-23-2018, 03:09 PM   #1
plo233
Member
plo233 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2017
Device: Android tablet
New fetch-ebook-metadata errors

For about a week now, this traceback text happens on every metadata fetch and is in the OPF file if -o is used, corrupting it. Happens on multiple computers and updating to the latest version doesn't fix.

fetch-ebook-metadata -i 9781681774886

Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\xisbn.py", line 59, in get_data
File "site-packages\calibre\ebooks\metadata\xisbn.py", line 35, in fetch_data
File "site-packages\mechanize\_mechanize.py", line 239, in open_novisit
File "site-packages\mechanize\_mechanize.py", line 284, in _mech_open
File "site-packages\mechanize\_opener.py", line 195, in open
File "site-packages\mechanize\_urllib2_fork.py", line 352, in _open
File "site-packages\mechanize\_urllib2_fork.py", line 340, in _call_chain
File "site-packages\mechanize\_urllib2_fork.py", line 1188, in http_open
File "site-packages\mechanize\_urllib2_fork.py", line 1160, in do_open
URLError: <urlopen error [Errno 10054] An existing connection was forcibly closed by the remote host>
Title : The Little Book of Big History: The Story of the Universe, Human Civilization, and Everything in Between
Author(s) : Ian Crofton & Jeremy Black
Publisher : Pegasus Books
Tags : History, World, General, Civilization
Languages : eng
Published : 2017-07-04T19:06:18.853000+00:00
Identifiers : isbn:9781681774886, google:HzIpDwAAQBAJ
Comments : A lively history of the universe and human civilization, this authoritative volume tells the story of the cosmos, the stars, and human development on earth. The Little Book of Big History is an endeavor to encapsulate the entire story of the cosmos, from the Big Bang to the current day, into an engaging and comprehensive narrative. Combining methods from history, astronomy, physics, and biology to draw together the big story arcs of how the universe was created, why planets formed, and how life developed, the result is a unique perspective of mankind’s place in the universe. Excited by the alternative "framework for all knowledge" that is offered by this approach, Bill Gates is funding the Big History Project, which aims to bring this concept to a wider audience around the world. The Little Book of Big History breaks down the main themes of Big History into highly informative and accessible parts for all readers to enjoy. By giving a truly complete timeline of world events, this book shines a whole different light on science as we learned it and makes us think of our history—and our future—in a very different way.
plo233 is offline   Reply With Quote
Old 08-23-2018, 05:23 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,795
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Forcibly closed means THEY slammed the door in your face.

You may have done something that got you on their block list (too many hits in a short time, your ISP had a user that did a DoS attack, thus blocking your IP range)

You are in the wrong Locale, and are being rejected.

You are ugly
do you know which metadata site is rejecting you?
theducks is offline   Reply With Quote
Advert
Old 08-23-2018, 08:46 PM   #3
plo233
Member
plo233 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2017
Device: Android tablet
I have tried other ISPs and still get an error message written to stdout or the OPF. Here is using my cellular service ISP. My main issue with this bug is that it breaks calibredb set_metadata using the resulting OPF.

Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\xisbn.py", line 59, in get_data
File "site-packages\calibre\ebooks\metadata\xisbn.py", line 35, in fetch_data
File "site-packages\mechanize\_mechanize.py", line 239, in open_novisit
File "site-packages\mechanize\_mechanize.py", line 310, in _mech_open
httperror_seek_wrapper: HTTP Error 408: Request Time-out
Title : The Little Book of Big History: The Story of the Universe, Human Civilization, and Everything in Between
Author(s) : Ian Crofton & Jeremy Black
Publisher : Pegasus Books
Tags : History, World, General, Civilization
Languages : eng
Published : 2017-07-04T00:44:40.086000+00:00
Identifiers : google:HzIpDwAAQBAJ, isbn:9781681774886
Comments : A lively history of the universe and human civilization, this authoritative volume tells the story of the cosmos, the stars, and human development on earth. The Little Book of Big History is an endeavor to encapsulate the entire story of the cosmos, from the Big Bang to the current day, into an engaging and comprehensive narrative. Combining methods from history, astronomy, physics, and biology to draw together the big story arcs of how the universe was created, why planets formed, and how life developed, the result is a unique perspective of mankind’s place in the universe. Excited by the alternative "framework for all knowledge" that is offered by this approach, Bill Gates is funding the Big History Project, which aims to bring this concept to a wider audience around the world. The Little Book of Big History breaks down the main themes of Big History into highly informative and accessible parts for all readers to enjoy. By giving a truly complete timeline of world events, this book shines a whole different light on science as we learned it and makes us think of our history—and our future—in a very different way.
plo233 is offline   Reply With Quote
Old 08-23-2018, 10:05 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,795
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Now that is a 408 timeout this time

Maybe you A/V is blocking (firewall) Calibre.. Whitelist it with your security suite or disable it JUST for a trial.
theducks is offline   Reply With Quote
Old 08-23-2018, 11:08 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a failure in the worldcat service used to lookup the earliest edition of the book. Failuresa re written to stderr and output to stdout. They dont corrupt each other unless you have to directed to the same place. For example, use

fetch-ebook-metadata whatever 2> /dev/null

will redirect stderr to null hiding the error message (the above assumes you are on a unix OS)
kovidgoyal is offline   Reply With Quote
Advert
Old 08-24-2018, 07:30 AM   #6
plo233
Member
plo233 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2017
Device: Android tablet
Quote:
Originally Posted by kovidgoyal View Post
That's a failure in the worldcat service used to lookup the earliest edition of the book. Failuresa re written to stderr and output to stdout. They dont corrupt each other unless you have to directed to the same place. For example, use

fetch-ebook-metadata whatever 2> /dev/null

will redirect stderr to null hiding the error message (the above assumes you are on a unix OS)
Thanks! I was accidentally redirecting stderr early in my script and didn't realize. Still don't know why I'm getting these failures for the first time in years on 2 installations and 3 IPs but no longer an issue.
plo233 is offline   Reply With Quote
Old 08-24-2018, 11:14 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The failure is from the server, hopefully it is temporary, if not I'll ave to disable the worldcat earliest edition lookup.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fetch-ebook-metadata.exe python error dzog Calibre 2 11-04-2016 05:26 AM
Can't fetch Metadata DarkLoki82 Calibre 18 02-07-2011 04:36 PM
Fetch metadata error message Ginnia Calibre 3 10-27-2010 04:10 PM
Why it does not automatically fetch metadata? clemens14 Calibre 9 07-09-2010 10:13 AM
Metadata fetch publisher preference? adolson Calibre 4 05-03-2010 01:07 AM


All times are GMT -4. The time now is 04:00 PM.


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