[SOLVED] Edt Package v2022 build 0.3.0 / Pronote v2022 build 0.3.0

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
olaplanche
Messages: 178
Registration: January 26, 2017 - 11:11

June 9, 2022 - 1:29 PM

Delete the binary file "Install_PRNclient_FR_2021.0.2.10_win64.exe".

Can you also test on a Windows 10 x64 PC?
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
SebAranel
Messages: 9
Registration: June 2, 2022 - 1:55 PM

June 9, 2022 - 1:35 PM

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
>>> 
- Installed WAPT version: 2.2.1.11949 Discovery
- Server OS: Linux / Debian 11
- Administration/package creation machine OS: Windows 7
olaplanche
Messages: 178
Registration: January 26, 2017 - 11:11

June 9, 2022 - 1:39 PM

Argh, I forgot to update the source URL on the first post!
The correct address is:
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
SebAranel
Messages: 9
Registration: June 2, 2022 - 1:55 PM

June 9, 2022 - 1:49 PM

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
>>> 
- Installed WAPT version: 2.2.1.11949 Discovery
- Server OS: Linux / Debian 11
- Administration/package creation machine OS: Windows 7
olaplanche
Messages: 178
Registration: January 26, 2017 - 11:11

June 9, 2022 - 1:57 PM

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?
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
SebAranel
Messages: 9
Registration: June 2, 2022 - 1:55 PM

June 9, 2022 - 2:16 PM

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.
- Installed WAPT version: 2.2.1.11949 Discovery
- Server OS: Linux / Debian 11
- Administration/package creation machine OS: Windows 7
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

June 13, 2022 - 2:32 PM

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.

Picture

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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
SebAranel
Messages: 9
Registration: June 2, 2022 - 1:55 PM

June 13, 2022 - 2:45 PM

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
- Installed WAPT version: 2.2.1.11949 Discovery
- Server OS: Linux / Debian 11
- Administration/package creation machine OS: Windows 7
Locked