wicd 1.7.0 doesn't support Python 2.7
More info at: https://bugs.launchpad.net/wicd/+bug/602825
Steps to Reproduce:
From the upstream bug, let's get a patch together that removes the offending code. Will you volunteer to test this out since I don't have py-2.7?
Yes, I'll do the testing.
patch works. but I needed to change the line 38 of wicd/configmanager.py to read:
allow_no_value parameter was only added on Python 2.7
The patch to add 2.7 support will break older compatibility.
Is is possible to make the code conditional based on python version?
Confirming this patch works over here, too, but not without the allow_no_value parameter from Nickolas.
I don't think the code should be conditional (py2.6/py2.7) at runtime, since one installs wicd for a specific python version. Maybe it's better to make the epatch line in the ebuild conditional, in such a way that the patch only gets applied when installing wicd for python 2.7.
Version 1.7.1b2 released upstream supports Python-2.7 and works here on amd64 without problems. Bump is the matter of ebuild renaming.
(In reply to comment #5)
> Version 1.7.1b2 released upstream supports Python-2.7 and works here on amd64
> without problems. Bump is the matter of ebuild renaming.
Could you please upload an ebuild? I've been trying with no luck :(
(In reply to comment #6)
> (In reply to comment #5)
> > Version 1.7.1b2 released upstream supports Python-2.7 and works here on amd64
> > without problems. Bump is the matter of ebuild renaming.
> Could you please upload an ebuild? I've been trying with no luck :(
Forget that. I'm uploading it right now
Created attachment 255859 [details]
wicd 1.7 latest
This ebuild works for me with python-2.7.1. The curses and X User Interfaces work too.
This ebuild worked correctly with my python 2.7.1 install and solved my problem too.
Any hope to see it on portage soon ? I think a lot of users should be in trouble since python 2.7.1 is unmasked...
+*wicd-1.7.1_beta2 (01 Dec 2010)
+ 01 Dec 2010; Jeremy Olexa <firstname.lastname@example.org> +wicd-1.7.1_beta2.ebuild:
+ Quick version bump to add the beta to ~arch for python-2.7 support,
+ mainly. (bug 333001).
Thanks for testing/feedback.
*** Bug 347475 has been marked as a duplicate of this bug. ***
I confirm that the ebuild worked with me