Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 441966 - Please stabilize net-misc/wicd-1.7.2.4-r2 (was: wicd-curses fails with urwid-1.1)
Summary: Please stabilize net-misc/wicd-1.7.2.4-r2 (was: wicd-curses fails with urwid...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Thomas Kahle (RETIRED)
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks: kde-4.9.5-stable
  Show dependency tree
 
Reported: 2012-11-06 00:34 UTC by John Hutchison
Modified: 2013-01-20 09:39 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Hutchison 2012-11-06 00:34:39 UTC
After an update to dev-python/urwid-1.1.0-r1000, net-misc/wicd-1.7.2.4-r1 (with ncurses USE flag) is unable to start due to an AttributeError exception on focus.

Reproducible: Always

Steps to Reproduce:
1. emerge net-misc/wicd-1.7.2.4-r1 (with ncurses USE flag)
2. emerge dev-python/urwid-1.1.0-r1000
3. start dbus and wicd daemons
4. run wicd-curses
Actual Results:  

Traceback (most recent call last):
  File "/usr/share/wicd/curses/wicd-curses.py", line 1063, in <module>
    main()
  File "/usr/share/wicd/curses/wicd-curses.py", line 995, in main
    ui.run_wrapper(run)
  File "/usr/lib64/python2.7/site-packages/urwid/raw_display.py", line 242, in run_wrapper
    return fn()
  File "/usr/share/wicd/curses/wicd-curses.py", line 88, in wrapper
    return func(*args, **kargs)
  File "/usr/share/wicd/curses/wicd-curses.py", line 1003, in run
    app = appGUI()
  File "/usr/share/wicd/curses/wicd-curses.py", line 548, in __init__
    self.wiredCB = urwid.Filler(WiredComboBox(wiredL))
  File "/usr/share/wicd/curses/wicd-curses.py", line 378, in __init__
    self.__super.__init__(use_enter=False)
  File "/usr/share/wicd/curses/curses_misc.py", line 352, in __init__
    self.focus = focus
AttributeError: can't set attribute


Expected Results:  
A ncurses window, allowing the configuration of network connections.

Portage 2.3.4-r9 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.6.3, glibc-2.15-r3, 3.6.0-rc3-funtoo x86_64)
=================================================================
System uname: Linux-3.6.0-rc3-funtoo-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.2.0
Timestamp of tree: Mon, 05 Nov 2012 18:45:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1000
dev-lang/python:          2.7.3-r1000, 3.2.3-r1000
dev-util/cmake:           2.8.9-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2.0-r3
sys-apps/openrc:          0.10.2-r6
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.5-r1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE AdobeFlash-10.3 IBM-J1.5 IBM-J1.6 public-domain MPEG-4 fairuse free-noncomm freedist dropbox unrar CCPL-Attribution-NoDerivs-3.0 unRAR NEWLIB LIBGLOSS XAnim aquafont PUEL MSttfEULA Oracle-BCLA-JavaSE ISOC-rfc"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /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=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles multilib-strict news parallel-fetch parallel-install parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en_GB en de"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="X a52 aac aacplus aalib acl acpi aes aes-ni alarm alert alsa amd64 aspell auto-completion avx bash-completion berkdb bzip2 cdda cddb cracklib crypt curl cxx dbus directfb dri encode faac ffmpeg gdbm git gnutls gtk gzip-el iconv icu ipv6 jpeg jpeg2k mmx mmxext modules mp4 mplayer mudflap multilib multimedia music ncurses nls nptl offensive ogg openmp pam pcre python readline recode resolvconf sdl sound sourceview sse sse2 ssh ssl stdlib stream sudo svg syslog tcpd theora thinkpad threads thunar timidity transcode truetype udev ufw unicode uuid v4l vcard vlc vorbis wav webkit webm wicd wifi wma wma-fixed x264 xml xvid zlib zsh-completion" 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 cgi cgid 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard evdev mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en de" PHP_TARGETS="php5-3" PYTHON_ABIS="2.7 3.2" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
Comment 1 Thomas Kahle (RETIRED) gentoo-dev 2012-11-06 02:15:06 UTC
Where did you get dev-python/urwid-1.1.0-r1000 and which extra patches does it contain?  Does it work with in-tree urwid?
Comment 2 John Hutchison 2012-11-06 03:02:20 UTC
(In reply to comment #1)
> Where did you get dev-python/urwid-1.1.0-r1000 and which extra patches does
> it contain?  Does it work with in-tree urwid?

I use funtoo's git tree. I honestly thought it was just a straight pull off the Gentoo rsync servers. I will fully and readily admit, I am wrong on that one. The ebuild doesn't seem to include any patches (and pulls from excess.org/urwid for the tar ball) 

This being the case, I also grabbed the Gentoo ebuild, and it pulls from the same source. (I can only assume then it's the same issue for both, deper29 and SlashBeast on the forums both stated it broke their wicds and I assume they use the gentoo rsync tree.)
Comment 3 Thomas Kahle (RETIRED) gentoo-dev 2012-11-06 04:45:04 UTC
I see, the -r1000 was a red herring.  Just the plain release of urwid-1.1.0 breaks wicd.  This has happened before, urwid changes the interface on every version.  I reported it on the wicd launchpad and you can follow the bug here:

https://bugs.launchpad.net/wicd/+bug/1075399
Comment 4 Tim Harder gentoo-dev 2012-11-07 02:53:02 UTC
(In reply to comment #2)
> I use funtoo's git tree. I honestly thought it was just a straight pull off
> the Gentoo rsync servers. I will fully and readily admit, I am wrong on that
> one. The ebuild doesn't seem to include any patches (and pulls from
> excess.org/urwid for the tar ball) 
> 
> This being the case, I also grabbed the Gentoo ebuild, and it pulls from the
> same source. (I can only assume then it's the same issue for both, deper29
> and SlashBeast on the forums both stated it broke their wicds and I assume
> they use the gentoo rsync tree.)

Funtoo pulls in the progress-overlay for a lot of its python support which is maintained by Arfrever and uses his own 4-python EAPI so the differences between that and Gentoo can often be substantial.
Comment 5 Thomas Kahle (RETIRED) gentoo-dev 2012-11-07 16:04:53 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > I use funtoo's git tree. I honestly thought it was just a straight pull off
> > the Gentoo rsync servers. I will fully and readily admit, I am wrong on that
> > one. The ebuild doesn't seem to include any patches (and pulls from
> > excess.org/urwid for the tar ball) 
> > 
> > This being the case, I also grabbed the Gentoo ebuild, and it pulls from the
> > same source. (I can only assume then it's the same issue for both, deper29
> > and SlashBeast on the forums both stated it broke their wicds and I assume
> > they use the gentoo rsync tree.)
> 
> Funtoo pulls in the progress-overlay for a lot of its python support which
> is maintained by Arfrever and uses his own 4-python EAPI so the differences
> between that and Gentoo can often be substantial.

I tried, it also fails with Gentoo's urwid-1.1.0.
Comment 6 Thomas Kahle (RETIRED) gentoo-dev 2012-11-16 18:09:36 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #2)
> > > I use funtoo's git tree. I honestly thought it was just a straight pull off
> > > the Gentoo rsync servers. I will fully and readily admit, I am wrong on that
> > > one. The ebuild doesn't seem to include any patches (and pulls from
> > > excess.org/urwid for the tar ball) 
> > > 
> > > This being the case, I also grabbed the Gentoo ebuild, and it pulls from the
> > > same source. (I can only assume then it's the same issue for both, deper29
> > > and SlashBeast on the forums both stated it broke their wicds and I assume
> > > they use the gentoo rsync tree.)
> > 
> > Funtoo pulls in the progress-overlay for a lot of its python support which
> > is maintained by Arfrever and uses his own 4-python EAPI so the differences
> > between that and Gentoo can often be substantial.
> 
> I tried, it also fails with Gentoo's urwid-1.1.0.

Should be fixed in -r2.  Please test.
Comment 7 Thomas Kahle (RETIRED) gentoo-dev 2012-12-19 00:30:04 UTC
Hijacking this bug for stabilization.  Arches, please test and stable.  The new version has only one patch more than the old stable and this fixes compatibility with all known versions of urwid.
Comment 8 Agostino Sarubbo gentoo-dev 2012-12-19 14:30:43 UTC
amd64 stable
Comment 9 Agostino Sarubbo gentoo-dev 2013-01-11 16:47:02 UTC
@Thomas:

we need wicd stable for ppc/ppc64 for bug 450678, is fine for you?if yes, cc arches and block 450678
Comment 10 Thomas Kahle (RETIRED) gentoo-dev 2013-01-12 21:10:51 UTC
(In reply to comment #9)
> @Thomas:
> 
> we need wicd stable for ppc/ppc64 for bug 450678, is fine for you?if yes, cc
> arches and block 450678

I don't see anything against new stable versions for those arches, but I also don't use them.  Please test and mark stable if possible.
Comment 11 Agostino Sarubbo gentoo-dev 2013-01-16 15:15:25 UTC
ppc stable
Comment 12 Agostino Sarubbo gentoo-dev 2013-01-16 20:05:50 UTC
ppc64 stable
Comment 13 Agostino Sarubbo gentoo-dev 2013-01-20 09:39:38 UTC
x86 stable