Cannot load scenes of 236MB

Report crashes, strange behaviour, or apparent bugs
Post Reply
spaceman
Posts: 6
Joined: 09 May 2018, 15:18

Cannot load scenes of 236MB

Post by spaceman » 21 May 2018, 15:38

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: 6675
Joined: 14 Dec 2012, 00:25

Re: Cannot load scenes of 236MB

Post by coppelia » 24 May 2018, 12:53

Hello Tamir,

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

Cheers

spaceman
Posts: 6
Joined: 09 May 2018, 15:18

Re: Cannot load scenes of 236MB

Post by spaceman » 25 Jun 2018, 15:03

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: 6675
Joined: 14 Dec 2012, 00:25

Re: Cannot load scenes of 236MB

Post by coppelia » 27 Jun 2018, 10:41

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

Cheers

Post Reply