Hello Joachim
Test machine
MacBook Pro running
OSX 10.11.6
Anaconda version is:
conda 4.2.9
Python version is
Python 3.5.2
Device used is
/dev/tty.usbserial-FTFSPEHU
Pil-Box firmware version is:
2.1
pyILPER has been manually installed into
/Users/sycote/Applications/pyilper-1.3.5.dev/
First test, the application refuse to start if the PIL-Box in plugged into a USB port
Code:
python start.py
Traceback (most recent call last):
File "start.py", line 14, in <module>
main()
File "/Users/sycote/Applications/pyilper-1.3.5.dev/pyilper/pyilpermain.py", line 545, in main
pyilper= cls_pyilper(args)
File "/Users/sycote/Applications/pyilper-1.3.5.dev/pyilper/pyilpermain.py", line 269, in __init__
self.enable()
File "/Users/sycote/Applications/pyilper-1.3.5.dev/pyilper/pyilpermain.py", line 322, in enable
obj.enable()
File "/Users/sycote/Applications/pyilper-1.3.5.dev/pyilper/pilwidgets.py", line 433, in enable
self.parent.commobject.register(self.pildevice,self.name)
TypeError: register() takes 2 positional arguments but 3 were given
Second test, the application start without PIL-Box
Code:
python start.py
2016-10-04 07:33:04.349 python[92162:4269295] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
Third test, connect PIL-Box while application running, go into pyILPER configuration box, select device and press OK
Code:
2016-10-04 07:34:33.345 python[92162:4269295] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
2016-10-04 07:34:34.567 python[92162:4269295] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
Traceback (most recent call last):
File "/Users/sycote/Applications/pyilper-1.3.5.dev/pyilper/pyilpermain.py", line 416, in do_pyilperConfig
self.enable()
File "/Users/sycote/Applications/pyilper-1.3.5.dev/pyilper/pyilpermain.py", line 322, in enable
obj.enable()
File "/Users/sycote/Applications/pyilper-1.3.5.dev/pyilper/pilwidgets.py", line 433, in enable
self.parent.commobject.register(self.pildevice,self.name)
TypeError: register() takes 2 positional arguments but 3 were given
Sylvain