You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.
Windows 10x64 (2004, Build 19041.450), Python 3.8.5
Testing within (and outside) a venv
Repro steps:
Install hmt: pip install hmt
run tutorial: hmt tutorial
Press Enter at start of tutorial
Press Enter to continue after checking __hmt__ exists
Press Enter after checking contents of api_calls.py to launch the script
Expected Result
Tutorial to make API calls and continue to the next step
Actual Result
Traceback:
After you've checked out `__hmt__/api_calls.py`, press ENTER
to launch the proxy and execute the script!
Starting proxy◒proxy
←[?25hTraceback (most recent call last):
File "C:\Users\mrowan\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\mrowan\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\mrowan\hmt-test\Scripts\hmt.exe\__main__.py", line 7, in <module>
File "c:\users\mrowan\hmt-test\lib\site-packages\click\core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "c:\users\mrowan\hmt-test\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "c:\users\mrowan\hmt-test\lib\site-packages\click\core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\mrowan\hmt-test\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\mrowan\hmt-test\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "c:\users\mrowan\hmt-test\lib\site-packages\hmt\__main__.py", line 163, in tutorial
run_tutorial()
File "c:\users\mrowan\hmt-test\lib\site-packages\hmt\tutorial\__init__.py", line 479, in run_tutorial
loop.run_until_complete(CLI(loop).run())
File "C:\Users\mrowan\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 616, in run_until_complete
return future.result()
File "c:\users\mrowan\hmt-test\lib\site-packages\hmt\tutorial\__init__.py", line 209, in run
await self._server_starting("Starting proxy", p)
File "c:\users\mrowan\hmt-test\lib\site-packages\hmt\tutorial\__init__.py", line 468, in _server_starting
raise Exception(
Exception: Unable to start Meeshkan. Please, check logs at ~/.hmt/logs for details.
Additional Context
Error logged:
2020-08-20 14:46:55,222 - hmt.serve.record.proxy - INFO - Starting Meeshkan record on http://localhost:8000
2020-08-20 14:46:55,222 - hmt.serve.record.proxy - INFO - Spec generation mode is disabled
2020-08-20 14:46:55,236 - hmt.serve.commands - ERROR -
Traceback (most recent call last):
File "c:\users\mrowan\hmt-test\lib\site-packages\hmt\serve\commands.py", line 29, in wrapper
return func(*args, **kwargs)
File "c:\users\mrowan\hmt-test\lib\site-packages\hmt\serve\commands.py", line 195, in start_record
proxy_runner.run()
File "c:\users\mrowan\hmt-test\lib\site-packages\hmt\serve\record\proxy.py", line 76, in run
server.listen(self._port)
File "c:\users\mrowan\hmt-test\lib\site-packages\tornado\tcpserver.py", line 144, in listen
self.add_sockets(sockets)
File "c:\users\mrowan\hmt-test\lib\site-packages\tornado\tcpserver.py", line 157, in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
File "c:\users\mrowan\hmt-test\lib\site-packages\tornado\netutil.py", line 268, in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
File "c:\users\mrowan\hmt-test\lib\site-packages\tornado\platform\asyncio.py", line 79, in add_handler
self.asyncio_loop.add_reader(
File "C:\Users\mrowan\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 501, in add_reader
raise NotImplementedError
NotImplementedError
i am also irretate, some modules just dont work like pyinputplus, pyautogui, ERROR is modules not found,
i installed them using pip command in win 10, pandas & numpy work perfectly. i am new to python, any help out there?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Trying to run the tutorial and it fails when attempting to make the web requests. Also fails if attempting to start record
hmt record
Might be related to this issue: tornadoweb/tornado#2608
Steps to Reproduce
Environment:
Repro steps:
pip install hmt
hmt tutorial
__hmt__
existsapi_calls.py
to launch the scriptExpected Result
Tutorial to make API calls and continue to the next step
Actual Result
Traceback:
Additional Context
Error logged:
Modules installed:
The text was updated successfully, but these errors were encountered: