Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-12-2014, 03:02 AM   #1
Clark G. Flipper
Connoisseur
Clark G. Flipper began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Jan 2012
Device: iPad
since 1.35 content server fails to start - bonjour failure, wrong IP

Hi everyone,
I am running Calibre on a Macbook, and since release 1.35 calibre server fails to start. The problem is similar to the one described in thread Content Server grabs wrong IP address except that in my case setting the correct IP adress in tweaks still leads to the following failure:

[12/May/2014:08:42:52] ENGINE Serving on 192.168.2.103:8080
[12/May/2014:08:42:52] Failed to start BonJour:
[12/May/2014:08:42:52] Traceback (most recent call last):
File "site-packages/calibre/library/server/base.py", line 99, in start
File "site-packages/calibre/utils/mdns.py", line 145, in publish
File "site-packages/calibre/utils/mdns.py", line 103, in start_server
File "site-packages/calibre/utils/Zeroconf.py", line 1263, in __init__
gaierror: [Errno 8] nodename nor servname provided, or not known

What can I do?
Clark G. Flipper is offline   Reply With Quote
Old 05-12-2014, 03:15 AM   #2
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: 45,305
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error means bonjour failed to start, the server is still working. And the error is caused by some misconfiguration on your computer, probably an invalid hostname/missing entry in /etc/hosts or the like. (the error means that bonjour could not determine the IP address for your computer/could not determine the hostname for your computer.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-12-2014, 03:32 AM   #3
Clark G. Flipper
Connoisseur
Clark G. Flipper began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Jan 2012
Device: iPad
Hi kovidgoyal,
thanks for quick reply. I partly agree. The server seems to be running indeed, but it does not provide the full functionality. Marvin used to locate the server automatically, but now it requires a hard coded address.
About the configuration; you may have a point here. The address is not in /etc/hosts, because it is assigned by DHCP. The trouble may come from the fully qualified domain name, because MAC OS X does not allow me to define the domainname. But still, something must have changed in calibre, because up to 1.34 it worked.
Clark G. Flipper is offline   Reply With Quote
Old 05-12-2014, 03:36 AM   #4
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: 45,305
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There have been no changes to calibre's networking code in a very long time, feel free to downgrade if you dont believe me, old releases are linked to on the download page.
kovidgoyal is offline   Reply With Quote
Old 05-12-2014, 05:58 AM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Clark G. Flipper View Post
The server seems to be running indeed, but it does not provide the full functionality. Marvin used to locate the server automatically, but now it requires a hard coded address.
Since you are able to get to calibre by hard coding the IP in Marvin this is proof that calibre is fine. Automatically finding the server is a function of your OS in this case it would seem to reside with Bonjour and has nothing to do with calibre.

Quote:
Originally Posted by Clark G. Flipper View Post
But still, something must have changed in calibre, because up to 1.34 it worked.
You are correct something must have changed. Maybe it is a corrupt install in which case you can redownload calibre and try again. If that doesn't work then you are left with a problem on your system outside of calibre that is causing the problem.

Good luck in locating the source of your difficulties.
DoctorOhh is offline   Reply With Quote
Advert
Old 05-12-2014, 06:57 AM   #6
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,409
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
To be specific, that error happens if either calibre cannot determine the host name for the computer or cannot determine the IP address for the host name provided. That test has been there for years.

Try using DHCP to assign a fixed IP. Run "hostname" in a terminal window and see what comes back. Make sure that hostname is in /etc/hosts with the correct IP. If you have a local DNS, make sure it also returns the correct IP address for that hostname.

My guess is that something on your system changed what "hostname" is returning.
chaley is offline   Reply With Quote
Old 05-12-2014, 07:21 AM   #7
Clark G. Flipper
Connoisseur
Clark G. Flipper began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Jan 2012
Device: iPad
Chaley, you are close. "hostname -f" should return the fully qualified hostname, but in my case the domain is missing. Domains on apple systems are a mess.

Anyway, I am now using fixed addresses in two places and I consider that an acceptable workaround.

So, thanks everyone.
Clark G. Flipper is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Content Server grabs wrong IP address TGinAZ Calibre 6 04-28-2014 08:33 AM
Downloading files from content server fails with sony prs t-2 sws Devices 2 05-23-2013 02:36 PM
Content Server - binding to wrong networkadapter sr71 Library Management 1 02-28-2013 03:33 AM
Calibre Crashing on Start - Content Server Tkosh Calibre 2 01-06-2012 08:57 AM
Calibre Content Server d/l fails on Android Mogrith Android Devices 9 11-01-2010 06:04 PM


All times are GMT -4. The time now is 03:41 PM.


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