DreamVu / PAL-SDK

SDK for DreamVu Cameras
https://dreamvu.com/shop/
9 stars 7 forks source link

Assertion error in GET_URL.cpp #28

Open atokagzx opened 10 months ago

atokagzx commented 10 months ago

Hi guys, I have problem with my PAL-USB when trying to use any of provided *.so libs. When I'm running Explorer there are some windows about mounting camera and after them app crashes with

Explorer: ./GET_URL.cpp:81: bool Init(): Assertion `m_pModule != NULL' failed.
Aborted (core dumped)

And it's not only about Explorer. When I'm running any of python examples, them fails on the following line with the same error:

res_init = PAL_PYTHON.InitP(camera_index)

I can't find any information about GET_URL.cpp file and can't understand what does m_pModule != NULL mean, so please help me to fix an issue. You can find my Dockerfile at https://github.com/atokagzx/pal_camera , there is PAL-SDK installation provided via apt without TensorRT. But with TensorRT nv-tensorrt-repo-ubuntu1804-cuda10.2-trt7.0.0.11-ga-20191216_1-1_amd64.deb and including *.so files it doesn't work too.

rajat974 commented 10 months ago

The error comes when the dreamvu_ws python workspace is not activated or installed properly. So I would like to confirm if the dreamvu_ws is installed and activated in your docker using these two commands.

ls ~/DreamVu/dreamvu_ws which python