[Bug 602825] Re: wicd doesnt like python 2.7

fredrik 602825 at bugs.launchpad.net
Sat Nov 6 18:27:14 CET 2010


I'm still having issues with the latest patches:

Importing pynotify failed, notifications disabled.
Has notifications support False
Loading...
Connecting to daemon...
Can't connect to the daemon, trying to start it automatically...
Wicd daemon is shutting down!
Traceback (most recent call last):
  File "/usr/share/wicd/gtk/wicd-client.py", line 1033, in <module>
    main(sys.argv)
  File "/usr/share/wicd/gtk/wicd-client.py", line 91, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/wicd/gtk/wicd-client.py", line 1005, in main
    tray_icon = TrayIcon(animate, displaytray=display_app)
  File "/usr/share/wicd/gtk/wicd-client.py", line 139, in __init__
    self.icon_info = self.TrayConnectionInfo(self, self.tr, animate)
  File "/usr/share/wicd/gtk/wicd-client.py", line 201, in __init__
    self.set_not_connected_state()
  File "/usr/share/wicd/gtk/wicd-client.py", line 91, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/wicd/gtk/wicd-client.py", line 329, in set_not_connected_state
    self._show_notification(language['disconnected'], None, 'stop')
  File "/usr/share/wicd/gtk/wicd-client.py", line 231, in _show_notification
    self._last_bubble = pynotify.Notification(title, details,
NameError: global name 'pynotify' is not defined

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

Status in wicd: Fix Committed
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