Page 1 of 1

Bug freebsd

Posted: February 29th, 2008, 4:36 am
by Rainmaster
I think sabnzbd do not like my hostname it : hostname.nl
I had to change it work! to : hostname
how come? :P


Traceback (most recent call last):
  File "SABnzbd.py", line 659, in
    main()
  File "SABnzbd.py", line 506, in main
    info = socket.getaddrinfo(socket.gethostname(), None)
socket.gaierror: (8, 'hostname nor servname provided, or not known')

Re: Bug freebsd

Posted: February 29th, 2008, 4:39 am
by shypike
0.3.3 will solve these problems.

The only real problem for you is that 0.3.2 appends ".nzb" to every directory.
Other than that (and the fact that 0.3.2 does not run with Python 2.4) there are no real problems.

If your're not afraid to edit a Python source file,
you can change line 533 in the file SABnzbd.py (in 0.3.1).
from
    info = socket.getaddrinfo(socket.gethostname(), None)
to
    info = socket.getaddrinfo("localhost", None)

BTW: the cause is that somehow your network setup is not OK.
The error means that the hostname does not resolve to an IP address.