[SOLVED] Pyscripter - Unable to connect to remote Python engine

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
mviale
Messages: 25
Registration: Apr 4, 2019 - 11:03

July 12, 2021 - 3:29 PM

Good morning,

I get an error message every time I launch pyscripteur stating that "connection to the remote Python engine failed. The remote process console and debugger are not accessible."

I am on enterprise version 2.0.0.9428.
I installed pyscripteur via the package available on the WAPT self-service, version 4.0.
I already have:
  • Uninstall/delete the pyscripteur folder in %appdata%/reinstall: same result
  • Check that the "Always use sockets" box in the IDE options is checked.
  • and check the following lines in pyscripteur.local.ini:

[PythonVersions-x86\Custom Versions]
Path0=Python 3.8 (32bit)=C:\Program Files (x86)\wapt
Count=1

[PythonVersions-x86]
InstallPath=C:\Program Files (x86)\wapt


Does anyone have any ideas?

Mathieu
mviale
Messages: 25
Registration: Apr 4, 2019 - 11:03

July 16, 2021 - 12:25

The problem is solved...

Comparing it to another machine, the Python paths in Pyscripteur (Tools -> Python path) weren't identical.
I also didn't have the same files in C:\Program Files (x86)\wapt\Scripts.

So I uninstalled Pyscripteur, the Wapt agent, and the Wapt console, then reinstalled everything, and it works.

Mathieu
lfkl
Messages: 23
Registration: Apr 11, 2019 - 05:51

January 25, 2022 - 05:28

Hello,

I have the same problem, however your procedure did not allow me to solve it.

Furthermore, when I add the missing paths in PyScripter (Tools -> Python paths), after comparing them to a machine where it works correctly, they disappear...

Is there a configuration file where I can save them permanently?

Thank you for your help, sincerely.
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

March 1, 2022 - 2:38 PM

Same problem, I can't get PyScripter 4 to work.

A little help would be greatly appreciated!
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

March 2, 2022 - 4:15 PM

Hello,

the issue is fixed in version 2.1.2.10652.
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

March 16, 2022 - 2:56 PM

Absolutely not, it's not fixed with the latest version.

I have this problem on almost every machine where I try to install PyScripter 4.
I'm on Windows 10, and that's already the agent version installed on all the machines.
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

March 16, 2022 - 3:14 PM

Hello,

you need to use pyscripter3.

The best option is to use the waptdev package: https://wapt.tranquil.it/store/tis-waptdev
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

March 17, 2022 - 10:37

Yes, I confirm, I ended up going back to version 3. There are too many problems with 4.0 or 4.1.1.
Even when the Python engine is running, autocompletion isn't always available. When it is, there's also something strange happening when generating the package:
- Package generation: signature OK
- After generation and before requesting credentials for upload, a message appears saying there's a problem with the "CONTROL" file, which is open (indeed, it's open in PyScripter). So you have to close the "CONTROL" file before exporting.
That said, despite the two windows it opens saying something's wrong, it still works; the package is created and sent correctly.

Anyway! PyScripter 3 still has a bright future ahead of it with WAPT. :D :D
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

March 17, 2022 - 11:25

Great.

For uploading, I recommend the new method via the console: https://www.wapt.fr/fr/doc-2.1/wapt-cre ... apt-server

This reduces some inconveniences and simplifies operation.
Locked