Edupython 3

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
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
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

November 9, 2020 - 2:47 PM

Hello,
I'm trying to create a package to deploy the portable version of Edupython 3. It works on some machines, but others display "Pyscripter couldn't load engine..."
Picture
On the machines where it works, I haven't installed Python, and on the machines where it doesn't, I tried sending the "tis-python27" or "tis-python3" package, but it doesn't change anything, even when manually adding the path in pyscripter. There's nothing special in my setup.py file, just a copytree to copy the Edupython folder to Program Files and the creation of shortcuts.
I tested installing Edupython using setup.exe, but it didn't add the Python engine either, if I'm not mistaken.
Valentin Ficis
Messages: 14
Registration: Oct 27, 2020 - 2:32 p.m.
Location: Metropolitan France
Contact :

November 9, 2020 - 6:13 PM

Hello,

what are the Windows versions/architectures on the machines where it doesn't work? And on those where it does work?
Installed WAPT version: WAPT Starter (WAPT Self-service Community 1.8.2.7267)

Client machine OS: Windows 7 Home Premium
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

November 11, 2020 - 10:01

The error seems to occur on both my Windows 7 Pro 64-bit and Windows 10 Pro 64-bit machines, but there's no pattern; it seems random. I'm currently recreating the package using a freshly downloaded zip file from the edupython website, and I'll be sending it out to the affected PCs one by one. I launched the installation of this 2.3GB unzipped package on 316 machines simultaneously, which is enough to make the server struggle... Even just the wake-on-LAN command on those 316 PCs crashes the console (I have to restart nginx to get it working again). So, some machines might not have received the complete folder... The shortcuts were definitely there, though.
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

November 12, 2020 - 8:23 AM

I'm managing to install the package little by little, running the update on a maximum of 10-20 machines at a time. And often the package throws an error with:

File "C:\wapt\common.py", line 3825, in install_wapt
logger.critical(u'Fatal error in install script: %s:\n%s' % (ensure_unicode(e),ensure_unicode(traceback.format_exc())))
File "C:\wapt\waptutils.py", line 435, in ensure_unicode
return u"%s : %s" % (data.args[0], data.args[1].decode('cp850'))
IndexError: tuple index out of range
IndexError: tuple index out of range.


After restarting the installation 2 or 3 times, it eventually works.
Locked