New issue
Advanced search Search tips

Issue 896874 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Oct 18
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

servod: python exception: AttributeError: 'module' object has no attribute 'DoIf'

Project Member Reported by tbroch@chromium.org, Oct 18

Issue description

With servo V4 connected that I was using successfully yesterday I now see,


2018-10-18 14:25:55,312 - Servod - INFO - Initializing interface 26 to ec3po_uart
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/servod", line 9, in <module>
    load_entry_point('servo===0.0.1-043588e', 'console_scripts', 'servod')()
  File "/usr/lib64/python2.7/site-packages/servo/servod.py", line 747, in main
    starter = ServodStarter(cmdline)
  File "/usr/lib64/python2.7/site-packages/servo/servod.py", line 369, in __init__
    version=board_version, usbkm232=options.usbkm232)
  File "/usr/lib64/python2.7/site-packages/servo/servo_server.py", line 174, in __init__
    self.init_servo_interfaces(vendor, product, serialname, interfaces)
  File "/usr/lib64/python2.7/site-packages/servo/servo_server.py", line 118, in init_servo_interfaces
    result = func(vendor, product + product_increment, serialname, interface)
  File "/usr/lib64/python2.7/site-packages/servo/servo_server.py", line 472, in _init_ec3po_uart
    return ec3po_interface.EC3PO(raw_ec_uart, raw_uart_source)
  File "/usr/lib64/python2.7/site-packages/servo/ec3po_interface.py", line 122, in __init__
    threadproc_shim.DoIf(subprocs=self._itpr_shutdown_pipe_wr.close),
AttributeError: 'module' object has no attribute 'DoIf'


when starting w/ 'sudo servod' and using 

$ equery k ec-utils
* Checking chromeos-base/ec-utils-0.0.1-r5121 ...
   7 out of 7 files passed

$ equery k hdctools
* Checking dev-util/hdctools-0.0.1-r871 ...
   718 out of 718 files passed

Will try ToT next and look more deeply at the ec3po_interface.py file after that.
 
Cc: matth...@chromium.org
it may need an ec-devutils bump
Cc: tbroch@chromium.org
Owner: matth...@chromium.org
works fine w/ ToT on all packages ( hdctools ec-utils ec-devutils )
Works fine w/ me not having stale ec-devutils,

$ equery k hdctools ec-utils ec-devutils
* Checking dev-util/hdctools-0.0.1-r871 ...
   718 out of 718 files passed


* Checking chromeos-base/ec-utils-0.0.1-r5121 ...
   7 out of 7 files passed


* Checking chromeos-base/ec-devutils-0.0.2-r3195 ...
   125 out of 125 files passed

Sorry for the false alarm.
Status: WontFix (was: Untriaged)

Sign in to add a comment