Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICOc: Crash on Data Acquisition Start #29

Open
sanssecours opened this issue May 16, 2022 · 2 comments
Open

ICOc: Crash on Data Acquisition Start #29

sanssecours opened this issue May 16, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@sanssecours
Copy link
Member

Description

Sometimes ICOc crashes when starting the data acquisition. This bug seems to only happen sporadically and depends on (the configuration of) the hardware. Most of the time a reset of the ICOtronic system seems to fix the problem.

Steps to Reproduce

  1. Start ICOc

    icoc
  2. Select the sensor device using its number in the user interface e.g. 1

  3. Press

  4. Press s to start the data acquisition

  5. The user interface displays the text “Collecting measurement data…”

Expected Result

ICOc opens a plotter window that displays the measured sensor values

Actual Result

ICOc prints the following error message:

Process Process-1: Traceback (most recent call last): self.run…

Note: Some text of the error message is not visible on the screen.

@sanssecours sanssecours added the bug Something isn't working label May 16, 2022
@sanssecours sanssecours changed the title ICOc: Fix Crash on Data Acquisition Start ICOc: Crash on Data Acquisition Start May 16, 2022
@thirschbuechler
Copy link

  • how often (1/10, 1/100)?
  • who?

I did not encounter this (yet) - maybe some issue w specific OS dependency (neither had issues on windows / linux with my little use recently)

will be interesting to see if the plotter or the can asyncio freaks out

@sanssecours
Copy link
Member Author

how often (1/10, 1/100)?

The problem seems to happen quite often on some of the affected systems. Unfortunately I do not have concrete numbers for you, since I am not able to reproduce the issue on my machine.

who?

The problem was once reported by @CWiedermann (via @LoydIrrving) and also by a third party company that uses ICOc in the field.

will be interesting to see if the plotter or the can asyncio freaks out

Since ICOc (the command line tool) still uses the old Network class it should not be a problem with the async interface (of the new Network class). I suspect there is a problem when establishing the connection between ICOc and the plotter process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants