| Summary: | net-misc/cnetworkmanager-0.21 connect error | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andrey <knya18> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | gbin |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
New ebuild correcting the problem
The patch from upstream correcting this bug |
||
I tinkered super calls in /usr/lib64/python2.6/site-packages/networkmanager/applet/settings.py now, this bit of code executes but it still doesn't connect. It looks like as it is this code never worked. I gonna investigate in the git upstream. Note : the 0.8.1 version worked flawlessly for me. The code is just new in the commit http://repo.or.cz/w/cnetworkmanager.git?a=blobdiff;f=networkmanager/applet/settings.py;fp=networkmanager/applet/settings.py;hb=c34f8a44a469b7a3e22df55438638b0d4ae5cc4a;hpb=02f0f188473cf1b0ba46cb2e9dcb079b2429b5a6 I have contacted upstream about it. Created attachment 201182 [details]
New ebuild correcting the problem
Just added the patch in the ebuild
Created attachment 201184 [details, diff]
The patch from upstream correcting this bug
Patch added. Thank you! |
cnetworkmanager -C myssid --wpa-pass=mypass Traceback (most recent call last): File "/usr/bin/cnetworkmanager", line 296, in <module> c = settings.WpaPsk(ssid, options.wpa_pass) File "/usr/lib/python2.6/site-packages/networkmanager/applet/settings.py", line 130, in __init__ self["802-11-wireless"]["security"] = "802-11-wireless-security" File "/usr/lib/python2.6/site-packages/networkmanager/applet/settings.py", line 15, in __getitem__ return self.conmap.__getitem__(key) TypeError: string indices must be integers, not str Reproducible: Always