Skip to content
Discussion options

You must be logged in to vote

for me this works:

$ python3 -m snap7.server --port 102
[INFO]: creating server
[INFO]: setting event callback
[INFO]: registering area 5, index 1, size 100
[INFO]: registering area 1, index 1, size 100
[INFO]: registering area 4, index 1, size 100
[INFO]: registering area 3, index 1, size 100
[INFO]: registering area 5, index 0, size 976
[INFO]: starting server on 0.0.0.0:102
[INFO]: callback event: 2023-11-27 19:01:05 Server started
[INFO]: callback event: 2023-11-27 19:01:05 Server started
[INFO]: 2023-11-27 19:01:05 Server started

I think this might be related to the runpy.py script you have as an alias for your python interpreter, you have a manual PYTHONPATH environment variable th…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gijzelaerr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants