Page 1 of 1

Cannot load scenes of 236MB

Posted: 21 May 2018, 15:38
by spaceman
Hello,

I have created a scene that contains a textured room and a textured person,
The scene weight is 230MB, when trying to load the scene using python :vrep.simxLoadScene I get error:

ERROR:root:error loading scene
Traceback (most recent call last):
File "D:\Program Files\JetBrains\PyCharm Community Edition 2018.1\helpers\pydev\pydevd.py", line 1664, in <module>
main()
File "D:\Program Files\JetBrains\PyCharm Community Edition 2018.1\helpers\pydev\pydevd.py", line 1658, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "D:\Program Files\JetBrains\PyCharm Community Edition 2018.1\helpers\pydev\pydevd.py", line 1068, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "D:\Program Files\JetBrains\PyCharm Community Edition 2018.1\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "E:/MyDocuments/VREP Simulation/main.py", line 103, in <module>
sim = Simulator(calibrationFilePath, objects=objects, scene=scenePath, port=19997)
File "E:\MyDocuments\VREP Simulation\simulation.py", line 35, in __init__
raise RuntimeError(msg)
RuntimeError: error loading scene

I am able to load light weight scenes.
Any suggestion how to solve it?

Thanks,
Tamir

Re: Cannot load scenes of 236MB

Posted: 24 May 2018, 12:53
by coppelia
Hello Tamir,

can you load the scene manually? i.e. not from a remote API client?

Cheers

Re: Cannot load scenes of 236MB

Posted: 25 Jun 2018, 15:03
by spaceman
Hello,

Yes, I am able to open it using the GUI : File --> Open Scene --> Select file.

Any suggestion what to do?

Thanks!
Tamir

Re: Cannot load scenes of 236MB

Posted: 27 Jun 2018, 10:41
by coppelia
The error seems to happen on the Python side... you need to check what the problem is there.

Cheers