Page 1 of 1

An unhandled exception has occurred - Packages

Published: March 16, 2016 - 12:29
by Floflobel
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')

Re: An unhandled exception has occurred - Packages

Published: March 16, 2016 - 1:52 PM
by sfonteneau
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

Re: An unhandled exception has occurred - Packages

Published: March 16, 2016 - 2:19 PM
by Floflobel
Hello Sfonteneau,

Thank you for your reply. Indeed, my package is 3.26GB.
We'll have to wait for a response from Tranquil It.

Re: An unhandled exception has occurred - Packages

Published: May 30, 2016 - 2:54 PM
by TISwapt-tester
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.

Re: An unhandled exception has occurred - Packages

Published: May 30, 2016 - 3:10 PM
by sfonteneau
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