Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] wicd fails (after python update?)
Date: Wed, 01 Dec 2010 13:16:20
Message-Id: 201012011515.20289.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] wicd fails (after python update?) by Allan Gottlieb
1 Apparently, though unproven, at 14:51 on Wednesday 01 December 2010, Allan
2 Gottlieb did opine thusly:
3
4 > Yesterday my ~amd64 machine updated python. I ran the
5 > python-updater and all seemed well.
6 >
7 > However, this morning wicd is failing. The first indication was a
8 > never-seen-before popup stating "Granted permissions without asking for
9 > password" (full text below)
10
11 A few things:
12
13 That error has nothing to do with the failure. The notice clearly says it is
14 not a failure, but a notice.
15
16 Second, you are using python-2.7 and wicd does not run under 2.7.
17
18 If you go to the wicd bugzilla and search for bugs under the name
19 "Nickolas Grigoriadis" you will find the bug and the fix. I don't think the
20 fix is in the current code.
21
22 Said Nickolas sits at the desk behind me. I watched him debug this one and
23 work out the actual cause of the problem, aka I can vouch for it :-)
24 >
25 > I re-installed wicd in case python-updater missed it. No help.
26 >
27 > The wicd log is also below.
28 >
29 > Any help would be appreciated.
30 >
31 > thanks,
32 > allan
33 >
34 > ================================================================
35 >
36 > Granted permissions without asking for password
37 >
38 > The '/usr/sbin/wicd' program was started with the privileges of the root
39 > user without the need to ask for a password, due to your system's
40 > authentication mechanism setup.
41 >
42 > It is possible that you are being allowed to run specific programs as
43 > user root without the need for a password, or that the password is
44 > cached.
45 >
46 > This is not a problem report; it's simply a notification to make sure
47 > you are aware of this.
48 >
49 > ================================================================
50 >
51 > 2010/12/01 07:35:03 :: ---------------------------
52 > 2010/12/01 07:35:03 :: wicd initializing...
53 > 2010/12/01 07:35:03 :: ---------------------------
54 > 2010/12/01 07:35:03 :: wicd is version 1.7.0 552
55 > 2010/12/01 07:35:03 :: setting backend to external
56 > 2010/12/01 07:35:03 :: Traceback (most recent call last):
57 > 2010/12/01 07:35:03 :: File "/usr/share/wicd/daemon/wicd-daemon.py", line
58 > 1839, in <module> 2010/12/01 07:35:03 :: main(sys.argv)
59 > 2010/12/01 07:35:03 :: File "/usr/share/wicd/daemon/wicd-daemon.py", line
60 > 1803, in main 2010/12/01 07:35:03 :: daemon = WicdDaemon(wicd_bus,
61 > auto_connect=auto_connect) 2010/12/01 07:35:03 :: File
62 > "/usr/share/wicd/daemon/wicd-daemon.py", line 115, in __init__ 2010/12/01
63 > 07:35:03 :: self.ReadConfig()
64 > 2010/12/01 07:35:03 :: File "/usr/share/wicd/daemon/wicd-daemon.py", line
65 > 885, in ReadConfig 2010/12/01 07:35:03 ::
66 > self.SetBackend(app_conf.get("Settings", "backend", default=be_def))
67 > 2010/12/01 07:35:03 :: File "/usr/share/wicd/daemon/wicd-daemon.py",
68 > line 220, in SetBackend 2010/12/01 07:35:03 ::
69 > self.config.set("Settings", "backend", backend, write=True) 2010/12/01
70 > 07:35:03 :: File
71 > "/usr/lib64/python2.7/site-packages/wicd/configmanager.py", line 76, in
72 > set 2010/12/01 07:35:03 :: self.set_option(*args, **kargs)
73 > 2010/12/01 07:35:03 :: File
74 > "/usr/lib64/python2.7/site-packages/wicd/configmanager.py", line 72, in
75 > set_option 2010/12/01 07:35:03 :: self.write()
76 > 2010/12/01 07:35:03 :: File
77 > "/usr/lib64/python2.7/site-packages/wicd/configmanager.py", line 192, in
78 > write 2010/12/01 07:35:03 :: p = copy.deepcopy(self)
79 > 2010/12/01 07:35:03 :: File "/usr/lib64/python2.7/copy.py", line 163, in
80 > deepcopy 2010/12/01 07:35:03 :: y = copier(x, memo)
81 > 2010/12/01 07:35:03 :: File "/usr/lib64/python2.7/copy.py", line 298, in
82 > _deepcopy_inst 2010/12/01 07:35:03 :: state = deepcopy(state, memo)
83 > 2010/12/01 07:35:03 :: File "/usr/lib64/python2.7/copy.py", line 163, in
84 > deepcopy 2010/12/01 07:35:03 :: y = copier(x, memo)
85 > 2010/12/01 07:35:03 :: File "/usr/lib64/python2.7/copy.py", line 257, in
86 > _deepcopy_dict 2010/12/01 07:35:03 :: y[deepcopy(key, memo)] =
87 > deepcopy(value, memo) 2010/12/01 07:35:03 :: File
88 > "/usr/lib64/python2.7/copy.py", line 174, in deepcopy 2010/12/01 07:35:03
89 > :: y = copier(memo)
90 > 2010/12/01 07:35:03 :: TypeError: cannot deepcopy this pattern object
91
92 --
93 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] wicd fails (after python update?) Allan Gottlieb <gottlieb@×××.edu>