powerwaked crashed with ImportError in /usr/lib/python2.7/dist-packages/powerwake/monitors/ARPMonitor.py: No module named scapy.all
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/
MONITORS = powerwake.
File "/usr/lib/
from monitors import ARPMonitor
File "/usr/lib/
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
ProcVersionSign
Uname: Linux 3.0.0-9-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Sat Sep 3 17:23:51 2011
ExecutablePath: /usr/sbin/
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/sbin/
ProcEnviron: PATH=(custom, no user)
PythonArgs: ['/usr/
SourcePackage: powernap
Title: powerwaked crashed with ImportError in /usr/lib/
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
Related branches
tags: | removed: need-duplicate-check |
Changed in powernap (Ubuntu): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
tags: | added: testcase |
Changed in powernap (Ubuntu Precise): | |
milestone: | none → precise-alpha-2 |
tags: | added: dist-upgrade |
Changed in powernap (Ubuntu): | |
milestone: | precise-alpha-2 → ubuntu-12.04-beta-1 |
Changed in powernap (Ubuntu): | |
milestone: | ubuntu-12.04-beta-1 → ubuntu-12.04-beta-2 |
Changed in powernap (Ubuntu Precise): | |
milestone: | ubuntu-12.04-beta-2 → ubuntu-12.04 |
milestone: | ubuntu-12.04 → ubuntu-12.04-beta-2 |
Still an issue in Precise with
powerwaked:
Installed: 2.17-0ubuntu1