BUG: pylon/pypylon breaks Linux PATH
mahiuchun opened this issue · comments
Hill Ma commented
Describe the issue:
pypylon alters the PATH
environment variable and does it in an incorrect way (using ;
instead :
as separator)
Essential the same issue as #646
Reproduce the code example:
import os
import pypylon.pylon as pylon
if __name__ == '__main__':
transport_layer = pylon.TlFactory.GetInstance()
print(os.popen("echo $PATH").read())
devices = transport_layer.EnumerateDevices()
print(os.popen("echo $PATH").read())
Error message:
No response
Is your camera operational in Basler pylon viewer on your platform
Yes
Hardware setup & camera model(s) used
The issue would reproduce with or without a camera.
We use camera models acA4112-20uc, acA2440-75uc, acA2440-35uc, etc.
Runtime information:
python: 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 06:04:10)
[GCC 10.3.0]
platform: linux/x86_64/6.5.0-17-generic
pypylon: 3.0.1 / 7.4.0.38864
SMA2016a commented
can you work with the workaround that is written in thread 646?