← Back to team overview

epoptes team mailing list archive

[Bug 1341278] Re: Wake-on-LAN doesn't work on 64-bit hosts

 

When running patched epoptes I get error message:

Sending magic packet to 00XXXXXXXX0C
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/epoptes/ui/gui.py", line 220, in wake_on_lan
    wol.wake_on_lan(client.mac)
  File "/usr/lib/python2.7/dist-packages/epoptes/core/wol.py", line 66, in wake_on_lan
    for br in getBroadcastList():
  File "/usr/lib/python2.7/dist-packages/epoptes/core/wol.py", line 33, in getBroadcastList
    for ifname in netifaces.interfaces:
TypeError: 'builtin_function_or_method' object is not iterable

-- 
You received this bug notification because you are a member of Epoptes
Developers, which is subscribed to Epoptes.
https://bugs.launchpad.net/bugs/1341278

Title:
  Wake-on-LAN doesn't work on 64-bit hosts

Status in Epoptes:
  Fix Committed

Bug description:
  Hello

  WoL in epoptes doesn't work for RTL8169. If I open a terminal and type
  "wakeonlan XX:XX:XX:XX:XX" the client starts normally but I cant start
  it from the epoptes sw pressing the Wake ON Lan Button.

  $ sudo python /usr/share/pyshared/epoptes/core/wol.py
  C4:54:44:52:46:34

  Sending magic packet to C45444524634
  Traceback (most recent call last):
    File "/usr/share/pyshared/epoptes/core/wol.py", line 122, in <module>
      wake_on_lan(mac)
    File "/usr/share/pyshared/epoptes/core/wol.py", line 117, in wake_on_lan
      for br in getBroadcastList():
    File "/usr/share/pyshared/epoptes/core/wol.py", line 89, in getBroadcastList
      brlist.append(getBroadcast(ifname))
    File "/usr/share/pyshared/epoptes/core/wol.py", line 82, in getBroadcast
      return socket.inet_ntoa(result[20:24])
  TypeError: 'NoneType' object has no attribute '__getitem__'

To manage notifications about this bug go to:
https://bugs.launchpad.net/epoptes/+bug/1341278/+subscriptions


References