All has gone well up to the point of starting upyeasy (using ./micropython -m upyeasy as before). It creates the file structure ok, but then hits a series of errors which look to me like a problem with the db. My log is below...
Code: Select all
pi@homeassistant:~/micropython/ports/unix $ ./micropython -m upyeasy
loaded sink log
loaded sink console
loaded sink syslog
2018-02-08T11:39:56.003 [debug] uPyEasy: Init: Init constructor
2018-02-08T11:39:56.003 [debug] uPyEasy: Init: Entering init
2018-02-08 11:39:56 [debug] uPyEasy: Init: Create directory config
2018-02-08 11:39:56 [debug] uPyEasy: Init: Create directory plugins
2018-02-08 11:39:56 [debug] uPyEasy: Init: Create directory protocols
2018-02-08 11:39:56 [debug] uPyEasy: Init: Create directory scripts
2018-02-08 11:39:56 [debug] uPyEasy: Init: Create directory rules
2018-02-08 11:39:56 [debug] uPyEasy: Init: config Table
[Errno 17] EEXIST
2018-02-08 11:39:56 [debug] uPyEasy: Init: network Table
[Errno 17] EEXIST
2018-02-08 11:39:56 [debug] uPyEasy: Init: protocol Table
[Errno 17] EEXIST
2018-02-08 11:39:56 [debug] uPyEasy: Init: controller Table
[Errno 17] EEXIST
2018-02-08 11:39:56 [debug] uPyEasy: Init: hardware Table
[Errno 17] EEXIST
2018-02-08 11:39:56 [debug] uPyEasy: Init: dxpin Table
[Errno 17] EEXIST
2018-02-08 11:39:56 [debug] uPyEasy: Init: dxmap Table
[Errno 17] EEXIST
2018-02-08 11:39:56 [debug] uPyEasy: Init: plugin Table
[Errno 17] EEXIST
2018-02-08 11:39:56 [debug] uPyEasy: Init: pluginstore Table
[Errno 17] EEXIST
2018-02-08 11:39:56 [debug] uPyEasy: Init: device Table
[Errno 17] EEXIST
2018-02-08 11:39:56 [debug] uPyEasy: Init: service Table
[Errno 17] EEXIST
2018-02-08 11:39:56 [debug] uPyEasy: Init: notification Table
[Errno 17] EEXIST
2018-02-08 11:39:56 [debug] uPyEasy: Init: advanced Table
[Errno 17] EEXIST
2018-02-08 11:39:56 [debug] uPyEasy: Init: script Table
[Errno 17] EEXIST
2018-02-08 11:39:56 [debug] uPyEasy: Init: rule Table
[Errno 17] EEXIST
Traceback (most recent call last):
File "upyeasy/__main__.py", line 64, in <module>
File "upyeasy/__main__.py", line 40, in main
File "upyeasy/init.py", line 158, in init
File "upyeasy/db.py", line 43, in public
AttributeError: type object 'configTable' has no attribute 'get'

Andrew