powerwaked crashed with ImportError in /usr/lib/python2.7/dist-packages/powerwake/monitors/ARPMonitor.py: No module named scapy.all

Bug #840406 reported by steinhauser christian
30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powernap (Ubuntu)
Fix Released
High
Andres Rodriguez
Precise
Fix Released
High
Andres Rodriguez

Bug Description

TEST CASE:
0. Pre-requisite: python-scapy must not already be installed on the system
1. Install powerwaked

EXPECTED RESULT
Daemon powerwaked starts

ACTUAL RESULT
It crashes with the trace
Traceback (most recent call last):
  File "/usr/sbin/powerwaked", line 186, in <module>
    MONITORS = powerwake.get_monitors()
  File "/usr/lib/python2.7/dist-packages/powerwake/powerwake.py", line 69, in get_monitors
    from monitors import ARPMonitor
  File "/usr/lib/python2.7/dist-packages/powerwake/monitors/ARPMonitor.py", line 23, in <module>
    from scapy.all import *
ImportError: No module named scapy.all

WORKAROUND
apt-get install python-scapy

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: powerwaked 2.14-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-9.15-generic 3.0.3
Uname: Linux 3.0.0-9-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sat Sep 3 17:23:51 2011
ExecutablePath: /usr/sbin/powerwaked
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/powerwaked
ProcEnviron: PATH=(custom, no user)
PythonArgs: ['/usr/sbin/powerwaked']
SourcePackage: powernap
Title: powerwaked crashed with ImportError in /usr/lib/python2.7/dist-packages/powerwake/monitors/ARPMonitor.py: No module named scapy.all
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Related branches

Revision history for this message
steinhauser christian (steinhauserchristian) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Changed in powernap (Ubuntu):
assignee: nobody → Andres Rodriguez (andreserl)
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Still an issue in Precise with
powerwaked:
  Installed: 2.17-0ubuntu1

Changed in powernap (Ubuntu Precise):
importance: Undecided → High
status: New → Triaged
tags: added: qa-daily-testing rls-mgr-p-tracking
description: updated
tags: added: testcase
Changed in powernap (Ubuntu Precise):
milestone: none → precise-alpha-2
tags: added: dist-upgrade
Martin Pitt (pitti)
Changed in powernap (Ubuntu):
milestone: precise-alpha-2 → ubuntu-12.04-beta-1
Martin Pitt (pitti)
Changed in powernap (Ubuntu):
milestone: ubuntu-12.04-beta-1 → ubuntu-12.04-beta-2
Martin Pitt (pitti)
Changed in powernap (Ubuntu Precise):
milestone: ubuntu-12.04-beta-2 → ubuntu-12.04
milestone: ubuntu-12.04 → ubuntu-12.04-beta-2
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package powernap - 2.17-0ubuntu2

---------------
powernap (2.17-0ubuntu2) precise; urgency=low

  * debian/control: Do not install PowerNap Server preview features as they
    are incomplete and not fully usabla. (LP: #840406)
 -- Andres Rodriguez <email address hidden> Mon, 26 Mar 2012 14:32:59 -0400

Changed in powernap (Ubuntu Precise):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.