Skip to content

BugΒ #812

@bakhrudin-cpu

Description

@bakhrudin-cpu

Bug Report: No module named 'pynmea2' (When running GPS VK-162 Plugin)Dear Technical Support Team,I am encountering a persistent bug when attempting to run the new GPS VK-162 plugin. This error persists even after performing thorough Python environment cleanup steps.1. Issue SummaryWhen I run the runtime with the new configuration, the program halts and reports the error No module named 'pynmea2', indicating that the pynmea2 library cannot be found in the virtual environment's Python Path.2. Project Information and Execution CommandEnvironment: OM1 CanvasExecution Command:python src/run.py gps_vk126

Error Log (Output):(.venv) om1@om1-H110:~/OM1$ python src/run.py gps_vk126
... (Robot IP WARNINGs are normal)
2025-12-06 03:13:45 - ERROR - Error loading configuration: Could not import input module 'gps_vk126': No module named 'pynmea2'

  1. Required File SetupI have set up the files according to the instructions:Updated: src/providers/gps_provider.py (Passive Mode fields added)New Plugin Created: src/inputs/plugins/gps_vk126.py (Contains the pynmea2 import logic)New Configuration Created: config/gps_vk126.json5 (Contains the Serial port configuration: /dev/ttyACM0)Request for SupportThis error is blocking the plugin module loading, preventing the program from reading the configuration file. Please assist in diagnosing why the pynmea2 library is not being recognized in the Canvas virtual environment's Python Path, or if a special initialization step for pip is required in this environment.Thank you.

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