pymodbus-dev / modbus-simulator

Modbus simulator based on modbus-tk and kivy
Apache License 2.0
164 stars 55 forks source link

unable to get the simulator to work #13

Open patrickdej opened 3 years ago

patrickdej commented 3 years ago

Hello,

I have tried to get this running on a Rpi3, but fail... I have already fixed a lot of issues, but not sure how to approach this. I get some wornings, but don't see how to fix this.

pi@ProTracDemo01:~/modbus-simulator $ ./tools/launcher ./tools/launcher [INFO ] [Logger ] Record log in /home/pi/.kivy/logs/kivy_21-02-04_6.txt [INFO ] [Kivy ] v1.10.1 [INFO ] [Python ] v2.7.16 (default, Oct 10 2019, 22:02:15) [GCC 8.3.0] [INFO ] [Factory ] 194 symbols loaded pygame 1.9.4 Hello from the pygame community. https://www.pygame.org/contribute.html [INFO ] [Image ] Providers: img_tex, img_dds, img_pygame, img_pil, img_gif (img_ffpyplayer ignored) [INFO ] [Text ] Provider: pygame [INFO ] [Window ] Provider: egl_rpi [INFO ] [GL ] Using the "OpenGL ES 2" graphics system [INFO ] [GL ] Backend used [INFO ] [GL ] OpenGL version <OpenGL ES 2.0> [INFO ] [GL ] OpenGL vendor [INFO ] [GL ] OpenGL renderer [INFO ] [GL ] OpenGL parsed version: 2, 0 [INFO ] [GL ] Shading version <OpenGL ES GLSL ES 1.00> [INFO ] [GL ] Texture max size <2048> [INFO ] [GL ] Texture max units <8> [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked [INFO ] [Clipboard ] Provider: xsel(['clipboard_xclip'] ignored) [INFO ] [CutBuffer ] cut buffer support enabled [WARNING] Call to deprecated function init in /usr/local/lib/python2.7/dist-packages/kivy/uix/listview.py line 845.Called from /usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py line 582 by _apply_rule(). [WARNING] Call to deprecated function init in /usr/local/lib/python2.7/dist-packages/kivy/adapters/simplelistadapter.py line 49.Called from /usr/local/lib/python2.7/dist-packages/kivy/uix/listview.py line 859 by init(). [WARNING] Call to deprecated function init in /usr/local/lib/python2.7/dist-packages/kivy/adapters/adapter.py line 111.Called from /usr/local/lib/python2.7/dist-packages/kivy/adapters/simplelistadapter.py line 55 by init(). [WARNING] Call to deprecated function init in /usr/local/lib/python2.7/dist-packages/kivy/uix/abstractview.py line 42.Called from /usr/local/lib/python2.7/dist-packages/kivy/uix/listview.py line 865 by init(). [WARNING] Call to deprecated function init in /usr/local/lib/python2.7/dist-packages/kivy/adapters/dictadapter.py line 59.Called from /home/pi/modbus-simulator/modbus_simulator/ui/datamodel.py line 235 by init(). [WARNING] Call to deprecated function init in /usr/local/lib/python2.7/dist-packages/kivy/adapters/listadapter.py line 185.Called from /usr/local/lib/python2.7/dist-packages/kivy/adapters/dictadapter.py line 67 by init(). [WARNING] Call to deprecated function init in /usr/local/lib/python2.7/dist-packages/kivy/adapters/adapter.py line 111.Called from /usr/local/lib/python2.7/dist-packages/kivy/adapters/listadapter.py line 186 by init(). [WARNING] Call to deprecated function init in /usr/local/lib/python2.7/dist-packages/kivy/uix/listview.py line 845.Called from /home/pi/modbus-simulator/modbus_simulator/ui/datamodel.py line 239 by init(). [INFO ] [GL ] NPOT texture support is available [WARNING] Call to deprecated function init in /usr/local/lib/python2.7/dist-packages/kivy/adapters/listadapter.py line 185.Called from /home/pi/modbus-simulator/modbus_simulator/templates/modbussimu.kv line 213 by (). [INFO ] [ProbeSysfs ] device match: /dev/input/event3 [INFO ] [HIDInput ] Read event from </dev/input/event3> [INFO ] [ProbeSysfs ] device match: /dev/input/event1 [INFO ] [HIDInput ] Read event from </dev/input/event1> [INFO ] [ProbeSysfs ] device match: /dev/input/event2 [INFO ] [HIDInput ] Read event from </dev/input/event2> [INFO ] [ProbeSysfs ] device match: /dev/input/event0 [INFO ] [HIDInput ] Read event from </dev/input/event0> [INFO ] [Base ] Start application main loop

Thanks,

Patrick

dhoomakethu commented 3 years ago

I don't see any errors in the logs. Is the application launching ? Is there a display connected to RPI3?

patrickdej commented 3 years ago

Hello, There is indeed no display connected, I'll connect the display tomorrow.

Regards, Patrick De Jaeger

Op 5 feb. 2021 05:04 schreef dhoomakethu notifications@github.com:

I don't see any errors in the logs. Is the application launching ? Is there a display connected to RPI3?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/riptideio/modbus-simulator/issues/13#issuecomment-773772231, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOW7AVPRHTWE7IGKVCN4JKDS5NU5VANCNFSM4XDQQFSQ.