Hello,
Important change to the first post: code for the EDT 2021 version has been added.
This new code automatically handles the possible presence of the 2020 version if installed.
The `def update_package()` function has also been added so that everyone can independently update the package.
[SOLVED] Edt Package v2022 build 0.3.0 / Pronote v2022 build 0.3.0
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
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
-
olaplanche
- Messages: 178
- Registration: January 26, 2017 - 11:11
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
-
olaplanche
- Messages: 178
- Registration: January 26, 2017 - 11:11
Update to the first post:
- Code cleanup
- Added comments
- Added the required section of the control file for proper operation
- Changed the server FQDN, port, and desktop shortcut name to variables to simplify customization
- Code cleanup
- Added comments
- Added the required section of the control file for proper operation
- Changed the server FQDN, port, and desktop shortcut name to variables to simplify customization
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
-
olaplanche
- Messages: 178
- Registration: January 26, 2017 - 11:11
Update to the first post:
- Added the (pre)version of Pronote 2021!
- Added the (pre)version of Pronote 2021!
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
-
laurent.bost
- Messages: 4
- Registration: July 16, 2021 - 10:15
Hello,
I have just tested the installation of the Wapt package of pronote 2021, and I get the following error during the installation:
Traceback (most recent call last):
File "C:\wapt\common.py", line 3877, in install_wapt
exitstatus = setup.install()
File "c:\waptdev\wapt-install_prnclient_fr_2021.0.1.1_win64-wapt\setup.py", line 95, in install
install_exe_if_needed(bin_name,silentflags='-s -f1%s' % pathinstallfile,key=app_uninstallkey,min_version=package_version[0:5],killbefore='Client PRONOTE.exe')
File "C:\wapt\common.py", line 3831, in new_func
return func(*args,**kwargs)
File "C:\wapt\setuphelpers_windows.py", line 1157, in install_exe_if_needed
error('setup exe file %s not found in package' % exe)
File "C:\wapt\waptutils.py", line 1698, in error
raise EWaptSetupException(u'Fatal error: %s' % reason)
EWaptSetupException: Fatal error: setup exe file Install_PRNclient_FR_2021.0.1.1.0_win64.exe not found in package
FATAL ERROR: EWaptSetupException: Fatal error: setup exe file Install_PRNclient_FR_2021.0.1.1.0_win64.exe not found in package
Exit code: 3
Where do you think the error could come from?
Kind regards,
Laurent.
I have just tested the installation of the Wapt package of pronote 2021, and I get the following error during the installation:
Traceback (most recent call last):
File "C:\wapt\common.py", line 3877, in install_wapt
exitstatus = setup.install()
File "c:\waptdev\wapt-install_prnclient_fr_2021.0.1.1_win64-wapt\setup.py", line 95, in install
install_exe_if_needed(bin_name,silentflags='-s -f1%s' % pathinstallfile,key=app_uninstallkey,min_version=package_version[0:5],killbefore='Client PRONOTE.exe')
File "C:\wapt\common.py", line 3831, in new_func
return func(*args,**kwargs)
File "C:\wapt\setuphelpers_windows.py", line 1157, in install_exe_if_needed
error('setup exe file %s not found in package' % exe)
File "C:\wapt\waptutils.py", line 1698, in error
raise EWaptSetupException(u'Fatal error: %s' % reason)
EWaptSetupException: Fatal error: setup exe file Install_PRNclient_FR_2021.0.1.1.0_win64.exe not found in package
FATAL ERROR: EWaptSetupException: Fatal error: setup exe file Install_PRNclient_FR_2021.0.1.1.0_win64.exe not found in package
Exit code: 3
Where do you think the error could come from?
Kind regards,
Laurent.
-
olaplanche
- Messages: 178
- Registration: January 26, 2017 - 11:11
Hello,
It seems the file Install_PRNclient_FR_2021.0.1.1.0_win64.exe is not found!
Could you please verify that it is indeed present in your package?
Based on my code, you should simply need to execute the function def update_package(): to download the binary and name it correctly.
Regards,
It seems the file Install_PRNclient_FR_2021.0.1.1.0_win64.exe is not found!
Could you please verify that it is indeed present in your package?
Based on my code, you should simply need to execute the function def update_package(): to download the binary and name it correctly.
Regards,
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
-
laurent.bost
- Messages: 4
- Registration: July 16, 2021 - 10:15
Hello,
Thank you for your reply.
Indeed, using Update-package-source works perfectly.
Thanks again for the script.
Best regards,
Laurent.
Thank you for your reply.
Indeed, using Update-package-source works perfectly.
Thanks again for the script.
Best regards,
Laurent.
Hello,
I'm brand new and a complete novice at this.
I tried creating the package using your code, but when I run the installation, I get an error:
bOpt2=0
"""
^
SyntaxError: invalid syntax
SyntaxError: invalid syntax (setup.py, line 59)
and I don't know what to do.
Do you have any ideas?
Thanks in advance.
I'm brand new and a complete novice at this.
I tried creating the package using your code, but when I run the installation, I get an error:
bOpt2=0
"""
^
SyntaxError: invalid syntax
SyntaxError: invalid syntax (setup.py, line 59)
and I don't know what to do.
Do you have any ideas?
Thanks in advance.
-
olaplanche
- Messages: 178
- Registration: January 26, 2017 - 11:11
Good morning,
Can you post more of your code in a block? in order to see where the syntax error is?
Sincerely,
Can you post more of your code in a block?
Code: Select all
codeSincerely,
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
-
olaplanche
- Messages: 178
- Registration: January 26, 2017 - 11:11
Hello,
everything is fine on my end with the https URL.
everything is fine on my end with the https URL.
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
