TypeError: __init__() got an unexpected keyword argument 'default_timeout_s'
jfkimmes opened this issue · 3 comments
jfkimmes commented
Hi,
I tried to setup a quick PoC but I couldn't get very far.
I always get TypeError: __init__() got an unexpected keyword argument 'default_timeout_s'
import androidtv
from androidtv.androidtv import AndroidTV
if __name__ == '__main__':
atv = AndroidTV('HOST', 5555)
atv.adb_connect()
I couldn't find any code snippets so I just went with the submodule reference.
Any ideas what I'm doing wrong?
JeffLIrion commented
I'm pretty sure it's because I changed some arguments in the adb-shell
package. I'll fix this in the next androidtv
release, but I need another package to get updated first.
In the meantime, pip install adb-shell==0.1.5
should fix the problem for you.
jfkimmes commented
Do you want this issue closed or open to track the regression?
JeffLIrion commented
Let's leave it open in case someone else runs into this issue. I'll close this when I release the next version.