[RESOLVED] Empty private repository and error message

Share your tips or issues concerning the WAPT Console or WAPT Agent here
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
ryoken95
Messages: 28
Registered: December 23, 2015 - 11:09

July 10, 2018 - 2:24 PM

Hello,

when I open the wapt console (version 1.5.24) and navigate to the private repository, it's empty and displays the following error message:

An unhandled exception has occurred
. Exceptions.ValueError: invalid literal for int() with base 10: '1399a27'

Debian server,

Windows 7 client.

Can you help me, please?

Regards
Last edited by ryoken95 on Jul 12, 2018 - 4:22 PM, edited 1 time.
ryoken95
Messages: 28
Registered: December 23, 2015 - 11:09

July 11, 2018 - 2:43 PM

Does anyone have any ideas?

I can no longer deploy packages. :(
Last edited by ryoken95 on Jul 11, 2018 - 3:59 PM, edited 1 time.
User avatar
vcardon
WAPT Expert
Messages: 278
Registration: Oct 06, 2017 - 10:55 p.m.
Location: Nantes, France

July 11, 2018 - 2:49 PM

ryoken95 wrote: July 11, 2018 - 2:43 PM I can no longer deploy parquet flooring :(
If you can no longer lay parquet flooring, you will need to go to Leroy Merlin or a similar store to purchase more parquet flooring ;)

Vincent
Vincent CARDON
Tranquil IT
ryoken95
Messages: 28
Registered: December 23, 2015 - 11:09

July 11, 2018 - 3:59 PM

Hello,

oops, I messed up, but unfortunately that doesn't solve my problem :p

Regards
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

July 11, 2018 - 5:55 PM

Hello,

is this a "fresh" installation or an update of WAPT from a previous version?

Alexandre
ryoken95
Messages: 28
Registered: December 23, 2015 - 11:09

July 12, 2018 - 09:17

agauvrit wrote: July 11, 2018 - 5:55 PM Hello, Is

this a "fresh" installation or an update of WAPT from a previous version?

Alexandre
Good morning,

I installed a fresh version when version 1.5 was released
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

July 12, 2018 - 09:32

I suspect one of your packages has a non-canonical version... the console isn't tolerant.

Package versions must follow the format "1.2.3.4-5".

Check your repository directory on the WAPT server (c:\wapt\waptserver\repository\wapt on Windows) to see if a file is named with a version number of 1399a27.

If so, set that package aside and rescan for packages manually (wapt-scanpackages c:\wapt\waptserver\repository\wapt or wapt-get update-packages c:\wapt\waptserver\repository\wapt on Windows).
Tranquil IT
ryoken95
Messages: 28
Registered: December 23, 2015 - 11:09

July 12, 2018 - 10:55

htouvet wrote: Jul 12, 2018 - 9:32 AM I think one of your packages has a non-canonical version... the console isn't tolerant.

Package versions must follow the format "1.2.3.4-5".

Check in your repository directory on the WAPT server (c:\wapt\waptserver\repository\wapt on Windows) if a file is named with a version number of 1399a27.

If so, set that package aside and restart the package scan manually (wapt-scanpackages c:\wapt\waptserver\repository\wapt or wapt-get update-packages c:\wapt\waptserver\repository\wapt on Windows).
Thank you for this information, but the server is running Debian, could you please provide me with the commands? :)
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

July 12, 2018 - 10:58

on the server:

Code: Select all

ls /var/www/wapt/*1399a27*
mv /var/www/wapt/*1399a27* /root/
wapt-scanpackages  /var/www/wapt
Tranquil IT
ryoken95
Messages: 28
Registered: December 23, 2015 - 11:09

July 12, 2018 - 11:11

Problem solved!

I found the package in question, removed it, and ran the following commands:

/opt/wapt/wapt-scanpackages.py /var/www/wapt/
/opt/wapt/wapt-scanpackages.py /var/www/wapt-host/
/opt/wapt/wapt-scanpackages.py /var/www/wapt-group/

Thanks again for your help!
Locked