Cogent House is a system for sensing temperature, humidity, CO2, Air Quality, VOC, hot water consumption, and electricity consumption within the home. It has been developed by the [http://cogentcomputing.org Cogent Computing Applied Research Centre] at Coventry University. Cogent House is developed using TinyOS and Python.
4
stars
2
forks
source link
Base Logger is missing import sqlalchemy statemet #59
What steps will reproduce the problem?
1. Run Baselogger
2. Wait for an error to sqlalchemy error to ocour in the store_nodestate
function
3. System will crash
What is the expected output? What do you see instead?
The error handler picks up the issue and resolves the problem
Traceback
2014-04-12 13:12:07,653 ERROR during storing: global name 'sqlalchemy' is not
defined
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cogent/base/BaseLogger.py", line 188, in store_state
except sqlalchemy.exc.IntegrityError:
NameError: global name 'sqlalchemy' is not defined
Original issue reported on code.google.com by DjGoldsm...@googlemail.com on 14 Apr 2014 at 4:28
Original issue reported on code.google.com by
DjGoldsm...@googlemail.com
on 14 Apr 2014 at 4:28