Closed emilic14 closed 6 years ago
Hi, having the following issue:
`
C:\Pogo\PokemonGo-CalcyIV-Renamer-master>python ivcheck.py 2018-09-24 14:04:19,243 - PokemonGo - DEBUG - Running ['adb', 'devices'] 2018-09-24 14:04:19,502 - PokemonGo - DEBUG - Return code 0 2018-09-24 14:04:19,504 - PokemonGo - DEBUG - Starting logcat ['adb', '-s', '58b 9997e', 'logcat', '-T', '1'] Traceback (most recent call last): File "ivcheck.py", line 111, in <module> asyncio.run(Main(args).start()) File "C:\Python37\lib\asyncio\runners.py", line 43, in run return loop.run_until_complete(main) File "C:\Python37\lib\asyncio\base_events.py", line 568, in run_until_complete return future.result() File "ivcheck.py", line 45, in start await self.p.start_logcat() File "C:\Pogo\PokemonGo-CalcyIV-Renamer-master\pokemonlib.py", line 66, in sta rt_logcat stderr=asyncio.subprocess.PIPE, File "C:\Python37\lib\asyncio\subprocess.py", line 217, in create_subprocess_e xec stderr=stderr, **kwds) File "C:\Python37\lib\asyncio\base_events.py", line 1516, in subprocess_exec bufsize, **kwargs) File "C:\Python37\lib\asyncio\base_events.py", line 444, in _make_subprocess_t ransport raise NotImplementedError NotImplementedError C:\Pogo\PokemonGo-CalcyIV-Renamer-master>
It seems Asyncio not good for Windows python. I've added a first line with asyncio.set_event_loop_policy(asyncio.WindowsProactorEventLoopPolicy())
asyncio.set_event_loop_policy(asyncio.WindowsProactorEventLoopPolicy())
This seems to work as getting the script to run but then nothing is actually happening... Help? :D
Actually never mind... I tested a previous verison and it works, so it is not Asyncio... I think it is more a case of the intents not beeing read so no action is being done...
Hi, having the following issue:
`
`
It seems Asyncio not good for Windows python. I've added a first line with
asyncio.set_event_loop_policy(asyncio.WindowsProactorEventLoopPolicy())
This seems to work as getting the script to run but then nothing is actually happening... Help? :D