Skip to content

missing error handling #2

@trondhindenes

Description

@trondhindenes

I'm trying to install openplotter on a jetson device, and noticed that the signalk installation is failing:

Image

Looking in the source code, I see a lot of subprocess.call statements in a try block and there does seem to be some error handling but it always writes "DONE" even if an exception happened.

IMHO this can be made more robust by testing that "npm" is available after having set up packages, parsing the apt log etc to give clearer detailed errors

In the installer script I can see nodejs is being installed/reinstalled, but I don't see "npm" being reinstalled. Wondering if that's why I'm having issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions