Problem creating WAPT template

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
Geoffrey
Messages: 3
Registration: Oct 08, 2015 - 4:09 p.m.

October 14, 2015 - 2:25 PM

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.
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

October 14, 2015 - 3:29 PM

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.
Tranquil IT
Geoffrey
Messages: 3
Registration: Oct 08, 2015 - 4:09 p.m.

October 15, 2015 - 09:56

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.
User avatar
Yvan Karmouta
Messages: 34
Registration: June 18, 2014 - 10:09
Contact :

October 15, 2015 - 12:18

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.
Yvan Karmouta - Tranquil IT Systems
Feel free to leave us your opinion on Wapt in the forum, or to answer our questionnaires :).
Geoffrey
Messages: 3
Registration: Oct 08, 2015 - 4:09 p.m.

October 15, 2015 - 2:04 PM

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.
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

October 15, 2015 - 3:42 PM

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...
Tranquil IT
Locked