Rina Watanabe

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Custom-application fails to restart #33014
    Rina Watanabe
    Participant

    Thanks Jeff,

    I followed your instructions to check the behavior of the custom application and found files that the custom application was unable to access when the conduit restarted.

    The custom application I created was created with reference to app-connect.py (https://github.com/MultiTechSystems/lorawan-app-connect).
    In app-connect.py run “query = os.popen(‘lora-query -x session list json file /tmp/sessions.json’)” on L330.
    The custom application does the same thing.
    The inability to access ‘/tmp/sessions.json’ was causing problems when the conduit was restarted.
    After adding “query.readlines()” before opening the file (L331), the custom application worked fine after restarting the conduit.

    in reply to: Custom-application fails to restart #33013
    Rina Watanabe
    Participant

    Thanks Bart,

    I follow Reference (https://www.multitech.net/developer/software/aep/creating-a-custom-application/) to create a tar.gz file and install the custom application from the [Apps] tab on the Conduit website.
    After following Jeff’s instructions and checking the application’s behavior, I found a file that the custom application application was unable to access. By modifying the source code, the custom application works fine even after restarting conduit.

Viewing 2 posts - 1 through 2 (of 2 total)