You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried PyKNyX on a debian 9 installation ends up in an error while creating a device:
apt-get install git
mkdir ~/software
cd ~/software
git clone https://github.com/knxd/PyKNyX PyKNyX
cd PyKNyX/
python setup.py sdist
cd dist
pip install PyKNyX\ knxd-2.0.0.dev1.tar.gz
cd ~
pyknyx-admin.py createdevice accture
cd accture
python -V
Python 2.7.13
./admin.py checkdevice
Traceback (most recent call last):
File "./admin.py", line 18, in <module>
main()
File "./admin.py", line 14, in main
AdminUtility().execute()
File "/usr/local/lib/python2.7/dist-packages/pyknyx/tools/adminUtility.py", line 205, in execute
args.func(args)
File "/usr/local/lib/python2.7/dist-packages/pyknyx/tools/adminUtility.py", line 146, in _checkDevice
runner = DeviceRunner(args.loggerLevel, args.devicePath, args.gadMapPath)
File "/usr/local/lib/python2.7/dist-packages/pyknyx/tools/deviceRunner.py", line 97, in __init__
Logger("%s-%s" % (DEVICE_NAME, DEVICE_IND_ADDR))
NameError: global name 'Logger' is not defined
Commenting "Logger()" in "/usr/local/lib/python2.7/dist-packages/pyknyx/tools/deviceRunner.py" ends up in next error:
./admin.py checkdevice
MainThread::Logger level is 'info'
MainThread::Device path is './accture'
MainThread::Device name is 'accture'
MainThread::Device Individual Address is '1.1.1'
MainThread::Allocate ETS addr 1.1.1 to device
Traceback (most recent call last):
File "./admin.py", line 18, in <module>
main()
File "./admin.py", line 14, in main
AdminUtility().execute()
File "/usr/local/lib/python2.7/dist-packages/pyknyx/tools/adminUtility.py", line 205, in execute
args.func(args)
File "/usr/local/lib/python2.7/dist-packages/pyknyx/tools/adminUtility.py", line 147, in _checkDevice
runner.check(args.printGroat)
File "/usr/local/lib/python2.7/dist-packages/pyknyx/tools/deviceRunner.py", line 140, in check
from device import DEVICE
File "./accture/device.py", line 5, in <module>
from acctureFB import AcctureFB
File "./accture/acctureFB.py", line 4, in <module>
from pyknyx.api import logger, schedule, notify
ImportError: cannot import name logger
Tried PyKNyX on a debian 9 installation ends up in an error while creating a device:
Commenting "Logger()" in "/usr/local/lib/python2.7/dist-packages/pyknyx/tools/deviceRunner.py" ends up in next error:
Installed modules:
The text was updated successfully, but these errors were encountered: