openrave icon indicating copy to clipboard operation
openrave copied to clipboard

mac osx builds cannot open zae files (collada-dom 2.4.0)

Open rdiankov opened this issue 12 years ago • 6 comments

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 

rdiankov avatar Dec 19 '12 11:12 rdiankov

How do I even get a build running on Mac OS X?

fatuhoku avatar Jun 25 '13 04:06 fatuhoku

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 :/

fatuhoku avatar Jun 25 '13 04:06 fatuhoku

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.

rdiankov avatar Jun 25 '13 07:06 rdiankov

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 :)

kb0n avatar Feb 06 '14 23:02 kb0n

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 :)

kb0n avatar Feb 07 '14 00:02 kb0n

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

jgvictores avatar Jan 25 '20 16:01 jgvictores