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

terminate called after throwing an instance of 'rv::XmlError' #3

Closed
hunkyu opened this issue Jul 28, 2018 · 7 comments
Closed

terminate called after throwing an instance of 'rv::XmlError' #3

hunkyu opened this issue Jul 28, 2018 · 7 comments

Comments

@hunkyu
Copy link

hunkyu commented Jul 28, 2018

OpenGL Context Version 4.5 core profile
GLEW initialized.
OpenGL context version: 4.5
OpenGL vendor string : NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1060/PCIe/SSE2
terminate called after throwing an instance of 'rv::XmlError'
what(): Error while parsing in line 1

@jbehley
Copy link
Owner

jbehley commented Jul 30, 2018

This usually happens when the XML configuration file is malformed. Ensure that the xml files are well formed.

Try a validation tool, like https://www.xmlvalidation.com/, to validate the xml.

If the error is still thrown, even with a valid xml file, let me know and I will try to figure out what's the reason.

@hunkyu
Copy link
Author

hunkyu commented Aug 1, 2018

@jbehley I checked the XML file without a problem
I execute./visualizer directly in the bin directory

@jbehley
Copy link
Owner

jbehley commented Aug 1, 2018

Hmmm, it's hard to guess what might be the problem.

Either you try to directly call the visualizer with the path to the configuration file, i.e.,

./visualizer /path/to/config/default.xml

if this does not help, could you start the visualizer with gdb and report the backtrace, i.e.,

  1. gdb ./visualizer
    This opens the debugger, then
  2. (gdb) run
    To start the program, then
  3. (gdb) bt
    To get the backtrace, which gives us an indication where the problem originated.

It seems that there is some problem with parsing the ../config/default.xml. But I unfortunately have no clue where the problem lies.

@hunkyu
Copy link
Author

hunkyu commented Aug 2, 2018

@jbehley According to what you say, I can use it already.
Can this map be saved to PCD or ply file?

@jbehley
Copy link
Owner

jbehley commented Aug 2, 2018

This is currently not supported.

How did you solve the problem with the xml? Did you start the visualizer explicitly with the path to the configuration xml?

@hunkyu
Copy link
Author

hunkyu commented Aug 2, 2018

yes ! I use directly ./visualizer /path/to/config/default.xml

Is there any way I can export 3D map model?

@jbehley
Copy link
Owner

jbehley commented Aug 2, 2018

As mentioned earlier.

We do not support exporting of the map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants