-
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
XML parser error #207
Comments
Did you get any solution? I am facing same kind of issue. |
hi
once i installed the genicam module it solved my issues
…On Fri, Feb 12, 2021 at 9:27 PM Divya Saxena ***@***.***> wrote:
Did you get any solution? I am facing same kind of issue.
Error while parsing XML stream at line 1 and column 2 : 'not well-formed
(invalid token)' : RuntimeException thrown (file 'XmlParser.cpp', line 1720)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#207 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARR3J4KUZNROGF2MHHQRIGTS6V6K7ANCNFSM4TDTLUPQ>
.
|
I have already installed genicam. I think in my case it’s not reading xml file from one of the zip folder. |
Describe the bug: XML parser issue due to "-en" token in XML file. Likely the genicam XML parser needs some error handling for unknown tokens or the XML files need correcting to remove the token. Not sure who the maintainer for the genicam module is as I could not find it on GitHub to post the issue there. The other thing is the camera seems to use custom tl_type but is connected with a U3V interface, is there away to force the tl_type not sure if it would load different XML files then. (id_='MQ042MG-CM-TG (37060850)', vendor='XIMEA GmbH.', model='MQ042MG-CM-TG', tl_type='Custom', user_defined_name=None, serial_number='37060850', version='V4.21.20.00') To Reproduce: _harvester = Harvester() ia = _harvester.create_image_acquirer(serial_number='37060850') This is the console output: Desktop (please complete the following information): OS: MacOS 11.1 |
I suspect the root cause being discussed here under the topic must be the same as ticket #226. Nothing has been concluded yet but this issue could turn out an issue that needs to be discussed by the GenICam committee. I will try to keep you all up to date. Thanks, Kazunari. |
Thanks!
…On Thu, Apr 22, 2021, 10:33 Kazunari Kudo ***@***.***> wrote:
I suspect the root cause being discussed here under the topic must be the
same as ticket #226 <#226>.
Nothing has been concluded yet but this issue could turn out an issue that
needs to be discussed by the GenICam committee. I will try to keep you all
up to date. Thanks, Kazunari.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#207 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARR3J4K2QJOMN3MFLPFMFADTJ7GK5ANCNFSM4TDTLUPQ>
.
|
@superted6851, @divyasaxenaa, and @Impstar314 Hi, probably the latest commit at 5d1e5f0 should fix the issue. I would highly appreciate it if you could try it out when you can. Thank you. Best regards, Kazunari. |
@kazunarikudo I still get the same error but now it returns an image acquirer so I am able to capture one frame but then it throws an error message when I try to close the stream. OS: MacOS 11.3.1 Console Output Test image output |
@superted6851 Thank you for giving it a try. Could you give me the |
@kazunarikudo Here it is |
@superted6851 Hi, could you give it a try for the latest commit in the master? I have added a feature to the
The |
@kazunarikudo Still getting the same error seems file_dict is not working as expected. OS: MacOS 11.3.1 |
@superted6851 Hi. Your case needs to have |
setup description:
Matrox Rapixo frame grabber card (dual input not quad).
Adimec TMX74 Coaxpress camera.
installed on computer Matrox MIL 10, SP4, update 87. when checked - the firmwareupdater states that the frame grabber is up to date. Continuous acquisition is possible using Matrox's intellicam app (certain that the camera is fine and works properly)
i'm using the Spyder IDE through anaconda, running on python 3.7.6 (conda base).
problem statement:
Whenever I try to run my code (attached below) I keep getting a RuntimeException from an XmlParser.cpp file. I think it fails reading the ® symbol somewhere. The error:
when i go to the relevant place in the XML file i see:

I expected from my code to grab and save 10 images from the camera. instead, it saves 10 completely black images.
I can't seem to understand if the problem is somewhere in the harvesters module, the Matrox environment (the .cti file) or something else entirely.
Would greatly appreciate some help. thanks in advance :)
my code:
temp.txt
The text was updated successfully, but these errors were encountered: