AREPL stops refreshing on MacOS
See original GitHub issueDescribe the bug Installed the AREPL extension. trying it out with.py files, seems to work fine until I start to do anything that is not basic variables/lists etc.
To Reproduce Steps to reproduce the behavior:
- Install AREPL on VSCode for Mac OS
- create a test.py
- add
import requests
- add
a = 1
- add
r = requests.get('<url>')
- start typing in the placeholder to replace with say
https://randomuser.me/api
- AREPL crashes with
Traceback (most recent call last): line 5, in <module> File "/Users/bubble/.pyenv/versions/venv/lib/python3.8/site-packages/requests/api.py", line 76, in get return request('get', url, params=params, **kwargs) File "/Users/bubble/.pyenv/versions/venv/lib/python3.8/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/Users/bubble/.pyenv/versions/venv/lib/python3.8/site-packages/requests/sessions.py", line 528, in request prep = self.prepare_request(req) File "/Users/bubble/.pyenv/versions/venv/lib/python3.8/site-packages/requests/sessions.py", line 456, in prepare_request p.prepare( File "/Users/bubble/.pyenv/versions/venv/lib/python3.8/site-packages/requests/models.py", line 316, in prepare self.prepare_url(url, params) File "/Users/bubble/.pyenv/versions/venv/lib/python3.8/site-packages/requests/models.py", line 393, in prepare_url raise InvalidURL("Invalid URL %r: No host supplied" % url) requests.exceptions.InvalidURL: Invalid URL 'https://': No host supplied
and doesn’t update until I click on the AREPL icon to turn it off/on
Expected behavior
expected it to just keep updating through any incomplete lines.
Other Information (please complete the following information):
- OS: Mac OS Mojave 10.14.6
- Python Version 3.8.7
Additional context
I’ve tried older versions and it is the same situation. With or without venv. Same problem when increasing the delays or changing it to onSave etc.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
arepl/Lobby - Gitter
if you're on a Mac it might be the same problem this guy had (in that the user-sites directory did not exist): Almenon/AREPL-vscode#81....
Read more >AREPL and console showing different working directories ...
The reason is that the precise locations of the startup paths displayed by default on the two terminals are different.
Read more >AREPL for python - Visual Studio Marketplace
AREPL automatically evaluates python code in real-time as you type. ... Code after #$end will not be executed in real-time.
Read more >macOS Monterey: "This app will not… | Apple Developer Forums
framework/Versions/2.7/Python]. I am searching for solutions but could not find any. Hope this will be fixed soon by developer updating it. —.
Read more >Top 10 Python Extensions for Visual Studio Code
AREPL automatically evaluates Python code in real time as you type. ... This extension is not just a code snippet, it will also...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@shakir544
yep working here, thank you!