duckietown / duckietown-cslam

Other
1 stars 0 forks source link

Debug no exceptions #13

Closed surirohit closed 5 years ago

surirohit commented 5 years ago

@AleksandarPetrov this is the log when I try to run the acquisition node on the pi

Image and odometry acquision, processing and publishing setting up
[INFO/deviceSideProcess] child process calling self.run()
[INFO/serverSideProcess] child process calling self.run()
[WARNING/deviceSideProcess] deviceSideProcessor process failed: : NULL pointer access
[WARNING/deviceSideProcess] acquisitionProcessor update failed: : 'NoneType' object has no attribute '__getitem__'
[INFO/deviceSideProcess] process shutting down
Process deviceSideProcess:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "acquire_and_publish.py", line 43, in runDeviceSideProcess
    ap.update(quitEvent)
  File "/acquisition_node/acquisitionProcessor.py", line 123, in update
    raise Exception("acquisitionProcessor update failed: : %s" % str(e))
Exception: acquisitionProcessor update failed: : 'NoneType' object has no attribute '__getitem__'
[INFO/deviceSideProcess] process exiting with exitcode 1
The device side process exited. Stopping everything.
[INFO/MainProcess] process shutting down
[INFO/MainProcess] calling join() for process serverSideProcess
[INFO/serverSideProcess] process shutting down
[INFO/serverSideProcess] process exiting with exitcode 0

I googled the error "NULL pointer access" and it seems to have something to do with ctypes.

AleksandarPetrov commented 5 years ago

@surirohit, you are right, this should come from the AT3 bindings. So, this happens only on the RPi? In that case, it could be that you are building the AT3 library for x86 architecture instead of arm?