Cannot load scenes of 236MB

Report crashes, strange behaviour, or apparent bugs
Post Reply
spaceman

Cannot load scenes of 236MB

Post 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

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Cannot load scenes of 236MB

Post by coppelia »

Hello Tamir,

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

Cheers

spaceman

Re: Cannot load scenes of 236MB

Post 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

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Cannot load scenes of 236MB

Post by coppelia »

The error seems to happen on the Python side... you need to check what the problem is there.

Cheers

Post Reply