Page 1 of 1

Problem creating WAPT template

Published: October 14, 2015 - 2:25 PM
by Geoffrey
Hello, I'm using the WAPT package deployment software for an IT project.
I'm encountering a problem when creating the package (in this case, with SyncBack Free), specifically when using the `wapt-get build-upload`.

Here's the error message that appears when I run the command:

• FATAL ERROR: ValueError: SyncBackSE V5.0.0.13-0 is not valid SemVer string.

I don't know what the problem might be.

Here are the commands I've run previously:

• `wapt-get make-template C:\Users\Administrator\Desktop\Test\SyncBack.exe`

• `wapt-get install C:\waptdev\tis-syncbackse-wapt`


Thank you in advance for your help.

Re: Problem creating WAPT template

Published: October 14, 2015 - 3:29 PM
by htouvet
The installer must have incorrect information in the FileVersion attribute...
[Dbg]>>> (win32api.GetFileVersionInfo(fname,u'\\StringFileInfo\\%04X%04X\\%s' % (lang, codepage, 'FileVersion') ) or '').strip()
u'SyncBackSE V7.3.10.0'


Therefore, the version attribute of the control file must be manually modified.

Open
C:\waptdev\tis-syncbackse-wapt\WAPT\control
with a text editor and modify version.

Re: Problem creating WAPT template

Published: October 15, 2015 - 09:56
by Geoffrey
Thank you for your reply, but I don't think that's the problem. I've checked the different versions of SyncBack, and they're all identical (see attached file).

I didn't need to modify the "control" file because it was consistent with the other versions.

I can't see where the problem could be coming from.

Re: Problem creating WAPT template

Published: October 15, 2015 - 12:18 PM
by Yvan Karmouta
Hello,
Hubert is the lead developer of the Wapt software. He took the time to test the creation of this package and to reply to you.
Please modify your control file before giving your opinion and requesting another solution.

Re: Problem creating WAPT template

Published: October 15, 2015 - 2:04 PM
by Geoffrey
I'm not questioning htouvet's answer, far from it. I'm simply noting that the versions match, both in the "tis-SyncBack" folder and in the Control file. Therefore, I don't see what I need to modify in that file.

Re: Problem creating WAPT template

Published: October 15, 2015 - 3:42 PM
by htouvet
If you open the "control" file with a text editor, you should currently see:

Code: Select all

package: tis-syncbackse
version: SyncBackSE V5.0.0.13-0 
maintainer: ...
etc...
"version: .." needs to be corrected to match the pattern "0.0.0-0" (version.subversion.build-package_version)

Code: Select all

package: tis-syncbackse
version: 5.0.0.13-0 
maintainer: ...
etc...