Troubleshooting

Below is the list of error messages you may encountered and how to solve the problem.

"No module named naoqi:"

>>> import naoqi File "<stdin>", line 1, in <module> ImportError: No module named naoqi

Solution:

Make sure PYTHONPATH environment variable is correctly defined.

"Failed to get module MyModule:"

RuntimeError: modulename: 'ALNetwork' method: 'getModuleByName' desc: 'failed to get module MyModule

Solution:

Make sure that MyModule is loaded in the NAOqi you wish to connect to (you can see this information on NAO web page)

Wrong ELF class

ImportError: _inaoqi.so: wrong ELF class: ELFCLASS32

Solution:

This error occurs because you are using a 64 bit version of Python.

Install a 32 bits python version. On Mac, configure Python to use the 32 bit libraries (see the required operating systems section)





Copyright © 2010 Aldebaran-Robotics - All rights reserved