An error when trying ORK demo

asked 2022-03-01 03:06:16 -0500

I am trying an ORK demo in my computer. I download the source code from github and compiled successfully.

Then I installed the Couch DB:

sudo apt-get install couchdb

And I installed it successful. Next step I added the can of coke and could be seen in chrome:

rosrun object_recognition_core object_add.py -n "coke " -d "A universal can of coke " --commit

I downloaded the model of coke.stl :

rosrun object_recognition_core mesh_add.py 49cce25ad1745bc78d8c16a90200008e [path]/ork_tutorials/data/coke.stl --commit

I wanted to check the model, so:

sudo pip install git+https://github.com/couchapp/couch...

There are some yellow words when I executed the "pip install" step, like this:

The directory '/home/nick/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/nick/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.Collecting git+https://github.com/couchapp/couch... ( ......) You are using pip version 8.1.1, however version 22.0.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command.

I ignored it and executed the next step:

rosrun object_recognition_core push.sh

An error occurred:

Traceback (most recent call last): File "/usr/local/bin/couchapp", line 7, in <module> from couchapp.dispatch import run File "/usr/local/lib/python3.5/dist-packages/couchapp/dispatch.py", line 10, in <module> import couchapp.commands as commands File "/usr/local/lib/python3.5/dist-packages/couchapp/commands.py", line 215 except BulkSaveError, e: ^ SyntaxError: invalid syntax

I tried to search it in google, but still error. Is it error in python path? The OS is Ubuntu 16.04 LTS on X86, and the ROS is Kinetic. thanks a lot.`

edit retag flag offensive close merge delete