Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError when using remote #278

Open
fgolemo opened this issue Mar 8, 2018 · 0 comments
Open

AttributeError when using remote #278

fgolemo opened this issue Mar 8, 2018 · 0 comments

Comments

@fgolemo
Copy link
Contributor

fgolemo commented Mar 8, 2018

Hey I'm using the Poppy remotely and randomly every once in a while I get this error (but nothing bad seems to happen otherwise):

poppy@flogo4:~/ $ poppy-services --remote poppy-ergo-jr                                                                                           
Attempt 1 to start the robot...        
Robot created and running!             

Traceback (most recent call last):     
  File "/home/poppy/miniconda/lib/python2.7/site-packages/zerorpc/core.py", line 153, in _async_task                                                        
    functor.pattern.process_call(self._context, bufchan, event, functor)      
  File "/home/poppy/miniconda/lib/python2.7/site-packages/zerorpc/patterns.py", line 30, in process_call                                                    
    result = functor(*req_event.args)  
  File "/home/poppy/miniconda/lib/python2.7/site-packages/zerorpc/decorators.py", line 44, in __call__                                                      
    return self._functor(*args, **kargs)                                      
  File "/home/poppy/miniconda/lib/python2.7/site-packages/pypot/server/rest.py", line 44, in get_register_value                                             
    return self.get_motor_register_value(motor, register)                     
  File "/home/poppy/miniconda/lib/python2.7/site-packages/pypot/server/rest.py", line 40, in get_motor_register_value                                       
    return self._get_register_value(motor, register)                          
  File "/home/poppy/miniconda/lib/python2.7/site-packages/pypot/server/rest.py", line 114, in _get_register_value                                           
    return attrgetter('{}.{}'.format(object, register))(self.robot)           
AttributeError: 'DxlXL320Motor' object has no attribute 'safe_compliant'

Any ideas how to fix this, or what's causing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant