Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

modbus_sniffer run failed (1.0.3). #5

Open
cederom opened this issue Dec 19, 2024 · 0 comments
Open

modbus_sniffer run failed (1.0.3). #5

cederom opened this issue Dec 19, 2024 · 0 comments

Comments

@cederom
Copy link

cederom commented Dec 19, 2024

Hello world :-)

I am using ModbusSniffer git master (installs as 1.0.3) on FreeBSD 14.2 AMD64 with Python 3.11 and pymodbus-3.8.1.

Running modbus_sniffer fails with:

(venv3.11embedded) modbus_sniffer --help
Traceback (most recent call last):
  File "/XXX/.local/venv3.11embedded/bin/modbus_sniffer", line 33, in <module>
    sys.exit(load_entry_point('modbus-sniffer==1.0.3', 'console_scripts', 'modbus_sniffer')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/XXX/.local/venv3.11embedded/bin/modbus_sniffer", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/importlib/metadata/__init__.py", line 204, in load
    return functools.reduce(getattr, attrs, module)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'modbus_sniffer' has no attribute 'main'
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant