[Bug 602825] Re: wicd doesnt like python 2.7

Matthieu Baerts matttbe at gmail.com
Sat Dec 11 01:27:04 CET 2010


Hello,

I'm Ubuntu Natty and wicd-daemon won't work. I've apply the patch mentioned in #28 (https://code.launchpad.net/~matttbe/wicd/ubuntu_python27 - deb packages available on my ppa)
But I have the same backtrace as fredrik (wicd is version 1.7.0 552):

2010/12/11 01:06:30 :: Traceback (most recent call last):
2010/12/11 01:06:30 ::   File "/usr/share/wicd/daemon/wicd-daemon.py", line 1843, in <module>
2010/12/11 01:06:30 ::     main(sys.argv)
2010/12/11 01:06:30 ::   File "/usr/share/wicd/daemon/wicd-daemon.py", line 1811, in main
2010/12/11 01:06:30 ::     shell=False, close_fds=True).pid
2010/12/11 01:06:30 ::   File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
2010/12/11 01:06:30 ::     errread, errwrite)
2010/12/11 01:06:30 ::   File "/usr/lib/python2.7/subprocess.py", line 1202, in _execute_child
2010/12/11 01:06:30 ::     raise child_exception
2010/12/11 01:06:30 :: AttributeError: 'NoneType' object has no attribute 'rfind'

Should I open a new bug report?

** Also affects: wicd (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/602825

Title:
  wicd doesnt like python 2.7

Status in wicd:
  Fix Committed
Status in “wicd” package in Ubuntu:
  New
Status in “wicd” package in Arch Linux:
  Confirmed
Status in PLD Linux Distribution:
  New

Bug description:
  wicd 1.7 pukes these lines out then dies with python 2.7:

---------------------------
wicd initializing...
---------------------------
wicd is version 1.7.0 552
setting backend to external
Traceback (most recent call last):
  File "/usr/share/wicd/daemon/wicd-daemon.py", line 1839, in <module>
    main(sys.argv)
  File "/usr/share/wicd/daemon/wicd-daemon.py", line 1803, in main
    daemon = WicdDaemon(wicd_bus, auto_connect=auto_connect)
  File "/usr/share/wicd/daemon/wicd-daemon.py", line 115, in __init__
    self.ReadConfig()
  File "/usr/share/wicd/daemon/wicd-daemon.py", line 885, in ReadConfig
    self.SetBackend(app_conf.get("Settings", "backend", default=be_def))
  File "/usr/share/wicd/daemon/wicd-daemon.py", line 220, in SetBackend
    self.config.set("Settings", "backend", backend, write=True)
  File "/usr/lib/python2.7/site-packages/wicd/configmanager.py", line 76, in set
    self.set_option(*args, **kargs)
  File "/usr/lib/python2.7/site-packages/wicd/configmanager.py", line 72, in set_option
    self.write()
  File "/usr/lib/python2.7/site-packages/wicd/configmanager.py", line 192, in write
    p = copy.deepcopy(self)
  File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python2.7/copy.py", line 298, in _deepcopy_inst
    state = deepcopy(state, memo)
  File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib/python2.7/copy.py", line 174, in deepcopy
    y = copier(memo)
TypeError: cannot deepcopy this pattern object




More information about the pld-bugs mailing list