-
Notifications
You must be signed in to change notification settings - Fork 92
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
Python & Critical Link GenTL (XML parser error) #368
Comments
This appears to be an issue between our (Critical Link) camera and the genicam 1.2.0 release. The latest genapi release must have changed something in the producer XML requirements. Sticking with genicam==1.1.0 until we figure this out should help. |
I'm having a hard time tracking this down as the exception is being thrown from genapi xmlparser.cpp _genapi.NodeMap_load_xml_from_file Though I can't tell what the syntax error is. It passes XML validation. Here is a picture of the debugger right before the exception is thrown: And the error
Attached the XML. Note I zipped it to appease the github file restrictions but it is sent uncompressed from the camera. |
Just to be thorough Configuration
|
@jcormier Hi, I have just confirmed that the provided XML can reproduce the phenomenon on my side. As far as I check your XML file, the @vmazlin Please wait for a while until the issue is resolved. Thanks. |
Thanks for checking it out. I already made that change but its possible I didn't update my gentl.dll when testing. hmm. Is there a easier way to test the xml without having to connect to a camera? |
With the release of GenTLViewer 2.7.2, the latest harvesters 1.4.0 and genicam 1.2.0 python packages now work. I've updated the wiki https://support.criticallink.com/redmine/projects/gentl_apps/wiki/Using_Python_With_Critical_Link_GenTL_Producer Relevant changes:
|
Describe the Issue
Parsing XML file throws a syntax error in the same line (1720) as in [https://github.com//issues/207].
This error was supposed to be fixed in harvester version 1.3.2 ...
To Reproduce
We followed the steps to control Critical Link GenTL camera with Python (https://support.criticallink.com/redmine/projects/gentl_apps/wiki/Using_Python_With_Critical_Link_GenTL_Producer) and (https://support.criticallink.com/redmine/boards/21/topics/6147?r=6148).
Device and GenTL producer were found without a problem.
Environment variable was created for XML camera file.
Configuration
Reproducibility
This phenomenon can be stably reproduced:
Thank you in advance for any ideas
The text was updated successfully, but these errors were encountered: