-
Notifications
You must be signed in to change notification settings - Fork 12
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: 'TuyaScanner' object has no attribute 'transport' #12
Comments
zeroand1
changed the title
AttributeError: 'TuyaScanner' object has no attribute 'close'
AttributeError: 'TuyaScanner' object has no attribute 'transport'
Sep 21, 2020
Just getting the same Exception myself. |
Ran into the same issue, fixed it by adding: on aiotuya.py line 768 |
Hi,
Siorry for the delay in responding.... I was not getting my github emails
I am not getting that problem.. so...
What version of the package do you use? Pip? Github?
What platform? I only test Linux myself.
Regards.
François
…On Monday, 21 September 2020 16:40:07 +07 Samarth Kapuria wrote:
>python -m aiotuya -e ***@***.*** -p ********** -s Meepo -P
>********** -d
DEBUG: Using selector: SelectSelector
Hit "Enter" to start
Use Ctrl-C to quit
Traceback (most recent call last):
File
"C:\Users\samar\AppData\Local\Programs\Python\Python37-32\lib\runpy.py",
line 193, in _run_module_as_main "__main__", mod_spec)
File
"C:\Users\samar\AppData\Local\Programs\Python\Python37-32\lib\runpy.py",
line 85, in _run_code exec(code, run_globals)
File "D:\Study
Work\Story\Valorant\new_env\lib\site-packages\aiotuya\__main__.py", line
240, in <module> scanner.close()
File "D:\Study
Work\Story\Valorant\new_env\lib\site-packages\aiotuya\aiotuya.py", line
794, in close if self.transport:
AttributeError: 'TuyaScanner' object has no attribute 'transport'
'
Is this an handled exception? Pls guide me.
|
I used the pip package and i am on win32. Not sure what @zeroand1 was using |
Pip install and win64 |
Hi,
I don't have a Windows machine, so I never tested it on that platform.
Somebody can issue a PR and I'll check merge it if it does not affect Linux.
Cheers,
François
…On Wednesday, 20 January 2021 19:57:13 +07 Cain Ashmore wrote:
Pip install and win64
|
I created PR #16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "C:\Users\samar\AppData\Local\Programs\Python\Python37-32\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\samar\AppData\Local\Programs\Python\Python37-32\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\Study Work\Story\Valorant\new_env\lib\site-packages\aiotuya_main.py", line 240, in
scanner.close()
File "D:\Study Work\Story\Valorant\new_env\lib\site-packages\aiotuya\aiotuya.py", line 794, in close
if self.transport:
AttributeError: 'TuyaScanner' object has no attribute 'transport'
'
Is this an handled exception? Pls guide me.
The text was updated successfully, but these errors were encountered: