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

Type checking error #17

jihoonl opened this issue May 14, 2014 · 0 comments


Copy link

commented May 14, 2014

Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/lib/python2.7/", line 551, in __bootstrap_inner
  File "/usr/lib/python2.7/", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/yujin/demos/rocon_demo_201405/src/rocon_devices/rocon_hue/scripts/", line 57, in hue_checker
  File "/home/yujin/demos/rocon_demo_201405/src/rocon_devices/rocon_hue/scripts/", line 88, in bulb_checker
    if light.reachable:
  File "/home/yujin/demos/rocon_demo_201405/src/rocon_devices/rocon_hue/src/rocon_hue/", line 276, in reachable
    self._reachable = self._get('reachable')
  File "/home/yujin/demos/rocon_demo_201405/src/rocon_devices/rocon_hue/src/rocon_hue/", line 87, in _get
    return self.bridge.get_light(self.light_id, *args, **kwargs)
  File "/home/yujin/demos/rocon_demo_201405/src/rocon_devices/rocon_hue/src/rocon_hue/", line 627, in get_light
    return state['state'][parameter]
TypeError: string indices must be integers, not str
@jihoonl jihoonl added the bug label May 14, 2014
@dwlee dwlee closed this in 6a546e3 May 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.