Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Hard to start local kuksa_viss client when an older version is installed in system #255

Closed
@SebastianSchildt

Description

@SebastianSchildt

If a system has an installed version of kuksa_viss_client, and in a source directory you try to start it amnually doing

python3 __main__.py

You get (partially) the system installed version. I think this is due to to the search paths defaulting to system first.

A fix seems to be to replace

https://github.com/eclipse/kuksa.val/blob/c3739d5c6f1ef68a16cebca52c14670858ec48a8/kuksa_viss_client/__main__.py#L23

with

sys.path.insert(0,os.path.join(scriptDir, ".."))

Not sure this has negative implications when isntalled system wide

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