dB-SPL / meshtasTAK

A Python script to enable limited interoperability between Meshtastic devices and TAK servers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting AttributeError: module 'meshtastic' has no attribute 'StreamInterface'

lonewaffle opened this issue · comments

After running the install command, manually installing the meshtastic module for python and trying to run the command to start meshtasTAK, I get the following:

$ python3 -m meshtasTAK
Opening TAK Server

send a connect
Flush the server response
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/freetak/.local/lib/python3.8/site-packages/meshtasTAK/__main__.py", line 164, in <module>
    interface = meshtastic.StreamInterface()
AttributeError: module 'meshtastic' has no attribute 'StreamInterface'
send ping
read the ping response

Then I'm dumped back to the command prompt. I'm wondering if an update to the meshtastic python module no longer supports this way of using the StreamInterface. No clue, just speculating.

Is there anything I can do to correct this?