openrave
openrave copied to clipboard
mac osx builds cannot open zae files (collada-dom 2.4.0)
get the following error
[environment-core.h:97] setting openrave home directory to /Users/ceppelli/.openrave
[odecollision.h:119] ode will be slow in multi-threaded environments
[environment-core.h:173] using ode collision checker
[environment-core.h:786] setting ode collision checker
[odespace.h:244] init ode collision environment
[textserver.h:323] logging network to /Users/ceppelli/.openrave/textserver.log.txt
[textserver.h:403] text server listening on port 4765
2012-12-02 20:19:04.566 openrave[70064:707] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
[plugindatabase.h:574] Failed to create name viewerrecorder, interface module
[openrave.cpp:318] using qtcoin viewer
[colladareader.cpp:309] init COLLADA reader version: 1.5.0, namespace: http://www.collada.org/2008/03/COLLADASchema
[colladareader.cpp:3213] COLLADA error: Error creating tmp dir in daeZAEUncompressHandler::obtainRootFilePath
I/O error : Is a directory
[colladareader.cpp:3213] COLLADA error: Extra content at the end of the document
[colladareader.cpp:3213] COLLADA error: Failed to load file:/opt/local/share/openrave-0.9/robots/pumaarm.zae
[xmlreaders-core.cpp:1734] Failed to load filename pumaarm.zae
How do I even get a build running on Mac OS X?
If the answer is 'install it by source after installing all of OpenRave's dependencies by source' I want to express that that is too high a barrier for entry for many users, never mind potential contributors, to work on improving the project :/
unfortunately no one on the dev team has mac osx. in the past people have used Ubuntu Linux VMs on windows and mac osx to get over this barrier.
I have a similar error, so I won't open a new ticket. Running Fedora19 (or Fedora20) with collada-dom-2.4.0, for example opening "neuronics-katana.zae":
$ openrave neuronics-katana.zae
[textserver.h:403] text server listening on port 4765
[plugindatabase.h:577] Failed to create name viewerrecorder, interface module
[colladareader.cpp:3259] COLLADA error: Error creating tmp dir in daeZAEUncompressHandler::obtainRootFilePath
I/O error : Is a directory
[colladareader.cpp:3259] COLLADA error: Extra content at the end of the document
[colladareader.cpp:3259] COLLADA error: Failed to load file:/usr/share/openrave/robots/neuronics-katana.zae
[xmlreaders-core.cpp:389] XML Parse error: Start tag expected, '<' not found
[xmlreaders-core.cpp:528] xmlSAXUserParseFile: error parsing /usr/share/openrave/robots/neuronics-katana.zae (error 4)
[environment-core.h:432] load failed on file neuronics-katana.zae
[colladareader.cpp:3259] COLLADA error: Error creating tmp dir in daeZAEUncompressHandler::obtainRootFilePath
I/O error : Is a directory
[colladareader.cpp:3259] COLLADA error: Extra content at the end of the document
[colladareader.cpp:3259] COLLADA error: Failed to load file:/usr/share/openrave/robots/neuronics-katana.zae
[qtcoinrave.cpp:80] SoQt releasing all memory
For us this is actually a crucial issue. Luckily we still have an xml-formatted robot-file that we can use, but it would be nice if we could rely on the "officially" provided robot models :)
Just installed collada-dom-2.4.2 from you github repo and the problem seems to be resolved. Didn't know there was a github repo, I just saw the 2.4.0 files from sourceforge :)
On Ubuntu 16.04 I've tried multiple versions of https://github.com/rdiankov/collada-dom with no result. Looks more related to https://github.com/rdiankov/openrave/issues/435. Proposed experiment:
openrave robots/neuronics-katana.zae # fails
openrave.py robots/neuronics-katana.zae # works