An unhandled exception has occurred - Packages

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
Floflobel
Messages: 135
Registration: Oct 15, 2015 - 5:32 p.m.

March 16, 2016 - 12:29

Good morning,

I'm having a problem with one of my packages. There are no problems or errors during the build and upload process.
But when I try to access my private repository, I get this message:

Code: Select all

An unhandled exception has occured
"3473373688" is an invilid integer
When I click OK and select another package there is no problem, but if I go back to my package I get the same message.

Control file:

Code: Select all

package      : programs
version      : 24.0.379.0-1
architecture : all
section      : base
priority     : optional
maintainer   : Dupond Dupond
description  : automatic package for Logiciel 2015 2 (Editeur A/S)
depends      : 
conflicts    : 
sources      : 
setup.py

Code: Select all

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

def install():
    print('installing program')
    run(r'\Program\Install.exe /qn /c\Program\My_administrative_settings.xml')
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

March 16, 2016 - 1:52 PM

Hello Floflobel

I have the same problem on a package
It would appear that the package size is the cause and is generating this error:

At home I have:

Code: Select all

An unhandled exception has occured
"3114555641" is an invilid integer
And when I look in the file http://wapt/wapt/Packages

The size of the package in question is:

size: 3114555641

My package is 2.9 gigabytes

Simon
Floflobel
Messages: 135
Registration: Oct 15, 2015 - 5:32 p.m.

March 16, 2016 - 2:19 PM

Hello Sfonteneau,

Thank you for your reply. Indeed, my package is 3.26GB.
We'll have to wait for a response from Tranquil It.
TISwapt-tester
Messages: 5
Registration: May 9, 2016 - 3:19 p.m.

May 30, 2016 - 2:54 PM

Indeed, if the size is of type integer, the 32-bit limit is 2147483647 bytes, or 1.99 GB.

They should correct this and use a "longer" type.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 30, 2016 - 3:10 PM

The problem will be fixed in the next version of wapt.

In the meantime, to fix the issue:
http://lists.tranquil.it/pipermail/wapt ... 01727.html
Locked