Bug freebsd

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Rainmaster
Newbie
Newbie
Posts: 6
Joined: February 27th, 2008, 5:19 pm
Location: Netherlands

Bug freebsd

Post 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')
Be cool and love both-> Windows and Unix/Linux!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Bug freebsd

Post 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.
Post Reply