Page 8 of 8
Re: [SOLVED] Edt v2021 / Pronote v2021 build 0.2.10 package
Published: June 9, 2022 - 1:29 PM
by olaplanche
Delete the binary file "Install_PRNclient_FR_2021.0.2.10_win64.exe".
Can you also test on a Windows 10 x64 PC?
Re: [SOLVED] Edt v2021 / Pronote v2021 build 0.2.10 package
Published: June 9, 2022 - 1:35 PM
by SebAranel
So I see, I delete the .exe file from waptdev and then update-package, is that right?
If so, I get this error during the update
Code: Select all
*** Remote Interpreter Reinitialized ***
Ligne de Commande : update-package-sources "c:\waptdev\gmwapt-client-pronote-2021-0210_0.2.10-1_x64_windows_PROD-wapt\WAPT\.."
Using config file: C:\Users\winadmin\AppData\Local\waptconsole\waptconsole.ini
Downloading/Updating package content from upstream binary sources
2022-06-09 13:33:16,528 CRITICAL Fatal error in update_package function: None : None:
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\waptpackage.py", line 2974, in call_setup_hook
hookdata = hook_func()
File "c:\waptdev\gmwapt-client-pronote-2021-0210_0.2.10-1_x64_windows_PROD-wapt\setup.py", line 119, in update_package
page = wgets(control.sources,proxies=proxies)
File "C:\Program Files (x86)\wapt\waptutils.py", line 1130, in wgets
r = session.get(url, timeout=timeout, allow_redirects=True)
File "C:\Program Files (x86)\wapt\Scripts\lib\site-packages\requests\sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "C:\Program Files (x86)\wapt\Scripts\lib\site-packages\requests\sessions.py", line 528, in request
prep = self.prepare_request(req)
File "C:\Program Files (x86)\wapt\Scripts\lib\site-packages\requests\sessions.py", line 456, in prepare_request
p.prepare(
File "C:\Program Files (x86)\wapt\Scripts\lib\site-packages\requests\models.py", line 316, in prepare
self.prepare_url(url, params)
File "C:\Program Files (x86)\wapt\Scripts\lib\site-packages\requests\models.py", line 390, in prepare_url
raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL '': No schema supplied. Perhaps you meant http://?
FATAL ERROR : None : None
Exit code: 3
>>>
Re: [SOLVED] Edt v2021 / Pronote v2021 build 0.2.10 package
Published: June 9, 2022 - 1:39 PM
by olaplanche
Argh, I forgot to update the source URL on the first post!
The correct address is:
Re: [SOLVED] Edt v2021 / Pronote v2021 build 0.2.10 package
Published: June 9, 2022 - 1:49 PM
by SebAranel
Pronote is really complicated to package.
I keep getting a series of errors when changing the source
I then use the update-package (I don't have the update-package sources)
and I'm still getting this series of errors
Code: Select all
*** Remote Interpreter Reinitialized ***
Ligne de Commande : update-package-sources "c:\waptdev\gmwapt-client-pronote-2021-0210_0.2.10-1_x64_windows_PROD-wapt\WAPT\.."
Using config file: C:\Users\winadmin\AppData\Local\waptconsole\waptconsole.ini
Downloading/Updating package content from upstream binary sources
2022-06-09 13:44:43,438 CRITICAL Fatal error in update_package function: None : None:
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\waptpackage.py", line 2974, in call_setup_hook
hookdata = hook_func()
File "c:\waptdev\gmwapt-client-pronote-2021-0210_0.2.10-1_x64_windows_PROD-wapt\setup.py", line 119, in update_package
page = wgets(control.sources,proxies=proxies)
File "C:\Program Files (x86)\wapt\waptutils.py", line 1130, in wgets
r = session.get(url, timeout=timeout, allow_redirects=True)
File "C:\Program Files (x86)\wapt\Scripts\lib\site-packages\requests\sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "C:\Program Files (x86)\wapt\Scripts\lib\site-packages\requests\sessions.py", line 528, in request
prep = self.prepare_request(req)
File "C:\Program Files (x86)\wapt\Scripts\lib\site-packages\requests\sessions.py", line 456, in prepare_request
p.prepare(
File "C:\Program Files (x86)\wapt\Scripts\lib\site-packages\requests\models.py", line 316, in prepare
self.prepare_url(url, params)
File "C:\Program Files (x86)\wapt\Scripts\lib\site-packages\requests\models.py", line 390, in prepare_url
raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL '': No schema supplied. Perhaps you meant http://?
FATAL ERROR : None : None
Exit code: 3
>>>
Re: [SOLVED] Edt v2021 / Pronote v2021 build 0.2.10 package
Published: June 9, 2022 - 1:57 PM
by olaplanche
Ah, in my opinion there's a problem with the development PC.
Can you confirm the following points:
- Is the tis-waptdev package properly installed on the development machine?
- Is Pyscripter running as administrator?
Re: [SOLVED] Edt v2021 / Pronote v2021 build 0.2.10 package
Published: June 9, 2022 - 2:16 PM
by SebAranel
Yes, waptdev is installed on my machine, which is the one I use to manage the wapt console and package deployment.
And yes, pyscripter is running as administrator.
Re: [SOLVED] Creation of Edt v2021 / Pronote v2021 package
Published: June 13, 2022 - 2:32 PM
by dcardon
Hello SebAranel,
SebAranel wrote: ↑June 8, 2022 - 8:17 AM
Excuse me for the rather long reply. I just checked and I'm apparently on a discovery version of wapt, 2.2.1.11949, and for pyscripter I'm on version 3.6. I've attached a screenshot.
I don't know if it makes a difference, but my console shows discovery.
Since version 2.2, the binary is the same for both the Discovery and Enterprise editions; only the presence of a license changes how it works. In your case, the number of licenses is -1, so no license is present.
There are features that are only available in the Enterprise version, so to avoid misleading people regarding their answer, it is better to specify the edition (see your post footer).
Sincerely,
Denis
Re: [SOLVED] Edt v2021 / Pronote v2021 build 0.2.10 package
Published: June 13, 2022 - 2:45 PM
by SebAranel
Hello
, yes indeed, I was supposed to modify it, but I haven't had the chance.
Regarding the functionality, we agree that this only concerns the use of the console and not the deployment of packages to workstations?
Regards,
SebAranel