Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

get network vomits #635

Open
zl3ag opened this issue Jul 8, 2024 · 2 comments
Open

get network vomits #635

zl3ag opened this issue Jul 8, 2024 · 2 comments

Comments

@zl3ag
Copy link

zl3ag commented Jul 8, 2024

Running latest 2.3.14 version (thanks for fixing that other problem in .13 BTW!

meshtastic --port /dev/ttyACM0 --dest '!25c2f43c' --get network
Connected to radio
Requesting current config from remote node (this can take a while).

ERROR file:stream_interface.py __reader line:175 Error while handling message from radio Assignment not allowed to message, map, or repeated field "ipv4_config" in protocol message object.
Traceback (most recent call last):
File "/root/.local/pipx/venvs/meshtastic/lib/python3.11/site-packages/meshtastic/stream_interface.py", line 173, in __reader
self._handleFromRadio(self._rxBuf[HEADER_LEN:])
File "/root/.local/pipx/venvs/meshtastic/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 926, in _handleFromRadio
self._handlePacketFromRadio(fromRadio.packet)
File "/root/.local/pipx/venvs/meshtastic/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1186, in _handlePacketFromRadio
handler.callback(asDict)
File "/root/.local/pipx/venvs/meshtastic/lib/python3.11/site-packages/meshtastic/node.py", line 119, in onResponseRequestSettings
setattr(config_values, camel_to_snake(key), value)
AttributeError: Assignment not allowed to message, map, or repeated field "ipv4_config" in protocol message object.
Completed getting preferences

@ianmcorvidae
Copy link
Contributor

Ah, looks like there's some issues with the nested field there; I suspect without stuff in ipv4_config it still works. We should figure out how to extract that information from the protobuf classes to handle this sort of thing automatically; hopefully that's possible.

@ianmcorvidae
Copy link
Contributor

It will need testing, but this is probably fixed with 2.5 (which I am about to go click the button to release), made some changes to how this handler works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants