Opened 7 years ago

#3168 new bug

probleme with validating preferences with gtk interface

Reported by: metasystem Owned by:
Priority: minor Milestone: needs verified
Component: Unknown Version: 1.3.15
Keywords: Cc:

Description

Hi, on deluge 1.3.15-r2 on funtoo (AMD cpu) with "console gtk libnotify webinterface" flags.

Error on validating options in preference (when click on apply/ok) with python/error:

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/deluge/ui/gtkui/preferences.py", line 870, in on_button_ok_clicked
    self.set_config(hide=True)
  File "/usr/lib64/python2.7/site-packages/deluge/ui/gtkui/preferences.py", line 602, in set_config
    if deluge.common.is_ip(incoming_address) or not incoming_address:
  File "/usr/lib64/python2.7/site-packages/deluge/common.py", line 569, in is_ip
    if socket.inet_pton(socket.AF_INET, "%s" % (ip)):
  File "/usr/lib64/python2.7/site-packages/twisted/python/compat.py", line 121, in inet_pton
    raise ValueError("illegal IP address string passed to inet_pton")
ValueError: illegal IP address string passed to inet_pton

I tried on rpi3 (alarmpi) & atom d525 (archlinux) with success and no errors.

Change History (0)

Note: See TracTickets for help on using tickets.