8000 Remote server is not connected bug · Issue #1268 · pyscripter/pyscripter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remote server is not connected bug #1268

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

Closed
peetm opened this issue Oct 17, 2023 · 4 comments
Closed

Remote server is not connected bug #1268

peetm opened this issue Oct 17, 2023 · 4 comments

Comments

@peetm
Copy link
peetm commented Oct 17, 2023

#The following seems to Kill PyScripter.

import urllib.request

sherlock = urllib.request.urlopen('https://www.gutenberg.org/ebooks/1661.txt.utf-8')
text = sherlock.read()
text = text.decode('utf-8-sig')
print(text)

1

@pyscripter
Copy link
Owner

The following works:

import urllib.request

sherlock = urllib.request.urlopen('https://www.gutenberg.org/ebooks/1661.txt.utf-8')
text = sherlock.read()
text = text.decode('utf-8-sig')
for line in text.splitlines():
    print(line)

@pyscripter
Copy link
Owner

Fixed in version control. The fix will be included in the next release. In the meantime please use the workaround above.

@pyscripter
Copy link
Owner
pyscripter commented Oct 20, 2023

Please try v4.3.1 and confirm it fixes the issue. Just replace PyScripter.exe with the one in the zip file.

@peetm
Copy link
Author
peetm commented Oct 24, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0