genicam / harvesters_gui

Harvester-based GUI
Apache License 2.0
59 stars 25 forks source link

Crash on start acquisition #22

Closed EnricoBeltramo closed 2 years ago

EnricoBeltramo commented 3 years ago

Describe the bug Starting progran, load a ctl file for a basler cam, start acquisition the program crash with follow error: PermissionError: [Errno 13] Permission denied: 'C:///GenTLSystem.xml'. The issue disappears if I run in administration user

To Reproduce Steps to reproduce the behavior:

  1. load ctl file
  2. connect
  3. start acquisition
  4. Scharsh

Expected behavior Not crash

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Is it possible to configure the place where GenTLSystem.xml is stored in order to set a folder that should be not write protected?

EnricoBeltramo commented 3 years ago

The issue is due to a bug in win10 already fixed in harvester package: https://github.com/genicam/harvesters/issues/126 Is it planned to upgrade harvester gui to a newest version of harvester?

kazunarikudo commented 3 years ago

@EnricoBeltramo Hi, thank you for the bug report. I am about to push a fix. Please feel free to let me know if it did not work for you. Thanks, Kazunari.

kazunarikudo commented 3 years ago

If it worked for you, then I will upload the package to PyPI.