jmscslgroup / bagpy

Python package for reading, and extracting data from rosbag files and performing any analysis on it.
https://jmscslgroup.github.io/bagpy/
Other
207 stars 39 forks source link

Unable to init server: Could not connect: Connection refused #19

Closed liuxinxiao closed 2 years ago

liuxinxiao commented 2 years ago

Hello sir, I used script "python3 bagpy_example.py", script is erro. I modify script is : b = bagreader('/opt/module/data/HMB_4.bag'). Error information is : root@scnqtwprkzbrwe6t:/opt/software/bagpy-master/notebook# python3 bagpy_example.py Unable to init server: Could not connect: Connection refused Unable to init server: Could not connect: Connection refused

(bagpy_example.py:240255): Gdk-CRITICAL **: 18:29:50.317: gdk_cursor_new_for_display: assertion 'GDK_IS_DISPLAY (display)' failed [INFO] Data folder /opt/module/data/HMB_4 already exists. Not creating. Traceback (most recent call last): File "bagpy_example.py", line 16, in df = pd.read_csv(csv[0]) IndexError: list index out of range

rahulbhadani commented 2 years ago

Do you have a write permission for /opt/module/data/?

github-actions[bot] commented 2 years ago

Stale issue message