PySleep.sh crashes on start

Bug #851792 reported by bka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PySleep
Incomplete
Low
Christian Hintze

Bug Description

When starting the PySleep.sh Script I got following error.

~/sleeptracker/PySleep-basic$ ./PySleep.sh
Traceback (most recent call last):
  File "src/st_web.py", line 54, in <module>
    import format_data as watch
  File "/home/bka/sleeptracker/PySleep-basic/src/format_data.py", line 45, in <module>
    import time, communication
  File "/home/bka/sleeptracker/PySleep-basic/src/communication.py", line 42, in <module>
    import serial, time, sys
ImportError: No module named serial

Changed in pysleep:
importance: Undecided → Medium
assignee: nobody → hintze (hintze)
status: New → Invalid
status: Invalid → Incomplete
Revision history for this message
T-Lo (ausserirdischer) wrote :

Hey bka,

it looks like you have not install the package 'python-serial'. 'If you install it via

sudo apt-get install python-serial

in a console it should work ;)

Changed in pysleep:
importance: Medium → Low
Revision history for this message
Christian Hintze (hintze) wrote :

hi. the errormessage tells you, that you have to install the serial-module for python. if you are using ubuntu, the package you need to install is called "python-serial". i would be pleased, if you could tell us, if it works after installing this package. my best, hintze.

Revision history for this message
bka (bernhard-kainz-googlemail) wrote :

hi hintze,

thanks a lot. after installing python-serial everything works. maybe you can add this to the readme file. there is only a pointer to python-mechanize.

Installation
============
Make sure the Python module mechanize is installed; with Ubuntu or
Debian just perform a "sudo apt-get install python-mechanize"

greets
bka

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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