Packaged randomly builds non working executables
Packaged randomly builds non working executables
As of the latest versions of Primalforms the packager randomly builds non working executables.Starting with a working script/Project, it somtimes works after packaging, sometimes it does not.The error is not in the code, simply retrying to package (4-10) times works eventually,restarting Primalforms and repackagings helps.The error shows when trying to start the packaged application, Windows (7, 64bit, Server 2008 64bit) says: "Ther is a problem with the application, blabla" This is simply annoying. Furthermore, the signing of the executable stopped working completely, PF says "An exception occurred while signing the fileERROR: Unable to sign executable file" Nothing changed, exept the installed PF version.
Packaged randomly builds non working executables
What version of PrimalForms are you using? David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Packaged randomly builds non working executables
Version 2.0.20. Problems started about some minor builds earlier, the "unable to sign" error is new to version 2.0.20. The faulty executable problem is not specific to a project, even unchanged project sometimes do not run after repackaging.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Packaged randomly builds non working executables
Please zip and email one of these faulty executables to support@sapien.com
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Packaged randomly builds non working executables
Do you get any error messages when a non-working executable is produced? Are you packaging on a network drive or a local disk?
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Packaged randomly builds non working executables
Everything looks normal, there are no error messages.The Project dir is on a network drive.
Packaged randomly builds non working executables
NB: Signing works perfectly with primalscript using the same certificate, both signing the script itself or the executable after packaging
Packaged randomly builds non working executables
I have been experiencing the same issues with packaging.
(building non-working executables, not cert issues)
This happens on ~4 out of 5 attempts. Retrying (repeatedly) without changing any code or packaging preferences typically works. Same error returned every time.
"Error: Saving updated resources failed: 5"
Possibly related to the export issues where occasionally (most of the time) a new line is not inserted between 2 lines (typically in the "generated form code" region) causing errors when the script runs?
(building non-working executables, not cert issues)
This happens on ~4 out of 5 attempts. Retrying (repeatedly) without changing any code or packaging preferences typically works. Same error returned every time.
"Error: Saving updated resources failed: 5"
Possibly related to the export issues where occasionally (most of the time) a new line is not inserted between 2 lines (typically in the "generated form code" region) causing errors when the script runs?
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Packaged randomly builds non working executables
Is this on a network or on a local drive?
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Packaged randomly builds non working executables
All files are stored locally.
On the export issue, it seems to appear most often with datagridview controls.
That same issue (2 lines in 1) with the middle line comes up 3 times for 1 control.wlewis2012-03-19 16:32:54
On the export issue, it seems to appear most often with datagridview controls.
Code: Select all
$gap_dgv_Results.AutoSizeColumnsMode = 'AllCells'
$System_Windows_Forms_DataGridViewCellStyle_1 = New-Object 'System.Windows.Forms.DataGridViewCellStyle'
$System_Windows_Forms_DataGridViewCellStyle_1.Alignment = 'MiddleLeft'
$System_Windows_Forms_DataGridViewCellStyle_1.BackColor = 'Control'