How to remove traces of a packet that is causing errors

Questions about WAPT Server / Requests and help related to the WAPT server
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
lemarec
Messages: 4
Registration: January 25, 2021 - 6:53 PM

January 25, 2021 - 7:00 PM

Good evening

I tried to create a 'Livecode V8.2' package and I've been getting errors ever since.

I have several questions

How do I remove traces of a packet that is causing errors?

Which log files are accessible?

Here is the error message displayed below

Thank you in advance for any help

WAPT Community 1.8.2 on Windows 10

Code: Select all

Get packages index


Traceback (most recent call last):
  File "c:\wapt\waptservice\service.py", line 1892, in run
    self.running_task.run()
  File "c:\wapt\waptservice\waptservice_common.py", line 653, in run
    self._run()
  File "c:\wapt\waptservice\waptservice_common.py", line 806, in _run
    self.result = self.wapt.update(force=self.force,register=self.notify_server_on_finish)
  File "c:\wapt\common.py", line 4463, in update
    "upgrades": self.list_upgrade(),
  File "c:\wapt\common.py", line 5466, in list_upgrade
    depends = self.check_depends(result['install']+result['upgrade']+result['additional'])
  File "c:\wapt\common.py", line 4607, in check_depends
    old_matches = self.waptdb.installed_matching(package_request)
  File "c:\wapt\common.py", line 1330, in installed_matching
    return q[0] if q and package_cond.is_matched_by(q[0]) else None
  File "c:\wapt\waptpackage.py", line 640, in is_matched_by
    self._is_matched_version(package_entry.version) and
  File "c:\wapt\waptpackage.py", line 568, in _is_matched_version
    version = PackageVersion(version)
  File "c:\wapt\waptpackage.py", line 427, in PackageVersion
    return (Version(version_build[0],4),int(version_build[1]))
ValueError: invalid literal for int() with base 10: 'dp-2-0'

ValueError: invalid literal for int() with base 10: 'dp-2-0'
Traceback (most recent call last):
  File "c:\wapt\waptservice\service.py", line 1892, in run
    self.running_task.run()
  File "c:\wapt\waptservice\waptservice_common.py", line 653, in run
    self._run()
  File "c:\wapt\waptservice\waptservice_common.py", line 806, in _run
    self.result = self.wapt.update(force=self.force,register=self.notify_server_on_finish)
  File "c:\wapt\common.py", line 4463, in update
    "upgrades": self.list_upgrade(),
  File "c:\wapt\common.py", line 5466, in list_upgrade
    depends = self.check_depends(result['install']+result['upgrade']+result['additional'])
  File "c:\wapt\common.py", line 4607, in check_depends
    old_matches = self.waptdb.installed_matching(package_request)
  File "c:\wapt\common.py", line 1330, in installed_matching
    return q[0] if q and package_cond.is_matched_by(q[0]) else None
  File "c:\wapt\waptpackage.py", line 640, in is_matched_by
    self._is_matched_version(package_entry.version) and
  File "c:\wapt\waptpackage.py", line 568, in _is_matched_version
    version = PackageVersion(version)
  File "c:\wapt\waptpackage.py", line 427, in PackageVersion
    return (Version(version_build[0],4),int(version_build[1]))
ValueError: invalid literal for int() with base 10: 'dp-2-0'
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

January 27, 2021 - 12:46

The software version in the control file is incorrect. It must be in xyz-a format, where x, y, z, and a are numbers
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Locked