Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ culebra -U -o mytest.py
Traceback (most recent call last):
File "/usr/local/bin/culebra", line 5, in <module>
pkg_resources.run_script('androidviewclient==8.13.1', 'culebra')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 489, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1207, in run_script
execfile(script_filename, namespace, namespace)
File "/Library/Python/2.7/site-packages/androidviewclient-8.13.1-py2.7.egg/EGG-INFO/scripts/culebra", line 620, in <module>
device, serialno = ViewClient.connectToDeviceOrExit(**kwargs1)
File "/Library/Python/2.7/site-packages/androidviewclient-8.13.1-py2.7.egg/com/dtmilano/android/viewclient.py", line 1500, in connectToDeviceOrExit
device = adbclient.AdbClient(serialno, ignoreversioncheck=ignoreversioncheck)
File "/Library/Python/2.7/site-packages/androidviewclient-8.13.1-py2.7.egg/com/dtmilano/android/adb/adbclient.py", line 109, in __init__
self.display['width'] = self.getProperty('display.width')
File "/Library/Python/2.7/site-packages/androidviewclient-8.13.1-py2.7.egg/com/dtmilano/android/adb/adbclient.py", line 460, in getProperty
return MAP_PROPS[kre](key=key, strip=strip)
File "/Library/Python/2.7/site-packages/androidviewclient-8.13.1-py2.7.egg/com/dtmilano/android/adb/adbclient.py", line 416, in __getDisplayWidth
return self.getDisplayInfo()['width']
File "/Library/Python/2.7/site-packages/androidviewclient-8.13.1-py2.7.egg/com/dtmilano/android/adb/adbclient.py", line 328, in getDisplayInfo
displayInfo = self.getPhyisicalDisplay()
AttributeError: AdbClient instance has no attribute 'getPhyisicalDisplay'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment