Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295468 - net-misc/wicd-1.7.0_alpha1 fails resolving hostname
Summary: net-misc/wicd-1.7.0_alpha1 fails resolving hostname
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-02 18:30 UTC by Sergey Ovcharenko
Modified: 2009-12-28 21:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed patch (478_477.diff,4.11 KB, patch)
2009-12-03 16:13 UTC, Sergey Ovcharenko
Details | Diff
pathced ebuild (wicd.tar.gz,9.74 KB, text/plain)
2009-12-03 16:17 UTC, Sergey Ovcharenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Ovcharenko 2009-12-02 18:30:06 UTC
Hi,i've upgraded to wicd-1.7.0_alpha1 today and i can't connect to my wireless network any more.Here's what wicd log says:

2009/12/02 21:04:35 :: Connecting to wireless network my.router
2009/12/02 21:04:35 :: Putting interface down
2009/12/02 21:04:35 :: Releasing DHCP leases...
2009/12/02 21:04:35 :: Setting false IP...
2009/12/02 21:04:36 :: Stopping wpa_supplicant
2009/12/02 21:04:36 :: Flushing the routing table...
2009/12/02 21:04:36 :: Putting interface up...
2009/12/02 21:04:38 :: Running DHCP with hostnameException in thread Thread-3:
2009/12/02 21:04:38 :: Traceback (most recent call last):
2009/12/02 21:04:38 ::   File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
2009/12/02 21:04:38 ::     self.run()
2009/12/02 21:04:38 ::   File "/usr/lib/python2.6/site-packages/wicd/networking.py", line 341, in run
2009/12/02 21:04:38 ::     self._connect()
2009/12/02 21:04:38 ::   File "/usr/lib/python2.6/site-packages/wicd/networking.py", line 904, in _connect
2009/12/02 21:04:38 ::     self.set_ip_address(wiface)
2009/12/02 21:04:38 ::   File "/usr/lib/python2.6/site-packages/wicd/networking.py", line 72, in wrapper
2009/12/02 21:04:38 ::     return func(self, *__args, **__kargs)
2009/12/02 21:04:38 ::   File "/usr/lib/python2.6/site-packages/wicd/networking.py", line 451, in set_ip_address
2009/12/02 21:04:38 ::     print "Running DHCP with hostname",self.network["dhcphostname"]
2009/12/02 21:04:38 :: KeyError: 'dhcphostname'
2009/12/02 21:04:38 :: 
2009/12/02 21:04:38 ::  Sending connection attempt result Failed
2009/12/02 21:08:05 :: Daemon going down, killing wicd-monitor...
2009/12/02 21:08:05 :: Removing PID file...
2009/12/02 21:08:05 :: Shutting down...

Steps to reproduce:
1) emerge net-misc/wicd-1.7.0_alpha1
2) try to connect to a wireless network

I haven't tried it with a wired network,i'll be able to test it tommorow

emerge --info:
Portage 2.2_rc54 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r0, 2.6.32-rc5 i686)
=================================================================
System uname: Linux-2.6.32-rc5-i686-Intel-R-_Core-TM-2_CPU_T5300_@_1.73GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 02 Dec 2009 01:45:02 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.1.0_beta1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.yandex.ru/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa automount bash-completion bluetooth bogofilter boost branding cairo cdr chm cli consolekit crypt cups dbus directfb djvu dri dts dvd dvdr emacs encode exif fam fbcon fbcondecor fbsplash ffmpeg file-icons firefox flac ftp gif gstreamer gtk hal jabber java java6 javascript jpeg junit latex libnotify mad menu-plugin mikmod mmap mmx modules mp3 mp4 mpeg mplayer network nptl ogg opengl pdf perl plotutils png pop ppds python qt3support quicktime readline samba sdl session smtp spell spl sse sse2 ssl startup-notification svg sysfs thunar tiff truetype udev unicode usb v4l vorbis wifi win32codecs winpopup wma wmf x264 x86 xcomposite xfce xfce4 xinerama xml xorg xpm xulrunner xv xvid" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

i have Python version 2.6.4
Please let me know if can provide more info
Comment 1 R Bar-On 2009-12-02 19:21:47 UTC
confirmed here (same stuff in the log).  Previous version works fine.
Comment 2 Sergey Ovcharenko 2009-12-03 16:13:53 UTC
Created attachment 211869 [details, diff]
proposed patch 

i found this upstream patch:
http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/revision/478
it fixes the issue for me
Comment 3 Sergey Ovcharenko 2009-12-03 16:17:53 UTC
Created attachment 211872 [details]
pathced ebuild

I patched the ebuild,i'm not sure if i did it right,but at least it's working now
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-28 21:57:05 UTC
I can only assume it is fixed in latest alpha. Since it is r488. wicd 1.7.0a3 (bzr-r488)

You are better off submitting bugs directly upstream during alpha releases.

INVALID because alpha1 is long since gone from the tree. Thanks.