Page 6 of 8
Re: [SOLVED] Creating Edt/Pronote package
Published: June 23, 2021 - 4:59 PM
by olaplanche
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.
Re: [SOLVED] Creating Edt/Pronote package update v2021
Published: June 24, 2021 - 09:14
by olaplanche
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
Re: [SOLVED] Creation of Edt v2021 / Pronote v2021 package
Published: July 8, 2021 - 3:32 PM
by olaplanche
Update to the first post:
- Added the (pre)version of Pronote 2021!
Re: [SOLVED] Creation of Edt v2021 / Pronote v2021 package
Published: July 16, 2021 - 10:19 AM
by laurent.bost
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.
Re: [SOLVED] Creation of Edt v2021 / Pronote v2021 package
Published: August 9, 2021 - 1:04 PM
by olaplanche
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,
Re: [SOLVED] Creation of Edt v2021 / Pronote v2021 package
Published: August 17, 2021 - 11:04 AM
by laurent.bost
Hello,
Thank you for your reply.
Indeed, using Update-package-source works perfectly.
Thanks again for the script.
Best regards,
Laurent.
Re: [SOLVED] Creation of Edt v2021 / Pronote v2021 package
Published: August 27, 2021 - 09:44
by chris2b
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.
Re: [SOLVED] Creation of Edt v2021 / Pronote v2021 package
Published: September 10, 2021 - 1:30 PM
by olaplanche
Good morning,
Can you post more of your code in a block?
in order to see where the syntax error is?
Sincerely,
Re: [SOLVED] Creation of Edt v2021 / Pronote v2021 package
Published: February 23, 2022 - 9:43 AM
by gly
FYI, I had to remove the https from your tele7.inde-education URL... otherwise I was getting an SSL error when updating_package.
Re: [SOLVED] Creation of Edt v2021 / Pronote v2021 package
Published: February 23, 2022 - 9:54 AM
by olaplanche
Hello,
everything is fine on my end with the https URL.
