Page 1 of 1
[RESOLVED] Empty private repository and error message
Published: July 10, 2018 - 2:24 PM
by ryoken95
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
Re: Empty private repository and error message
Published: July 11, 2018 - 2:43 PM
by ryoken95
Does anyone have any ideas?
I can no longer deploy packages.

Re: Empty private repository and error message
Published: July 11, 2018 - 2:49 PM
by vcardon
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
Re: Empty private repository and error message
Published: July 11, 2018 - 3:59 PM
by ryoken95
Hello,
oops, I messed up, but unfortunately that doesn't solve my problem :p
Regards
Re: Empty private repository and error message
Published: July 11, 2018 - 5:55 PM
by agauvrit
Hello,
is this a "fresh" installation or an update of WAPT from a previous version?
Alexandre
Re: Empty private repository and error message
Published: July 12, 2018 - 09:17
by ryoken95
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
Re: Empty private repository and error message
Published: July 12, 2018 - 09:32
by htouvet
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).
Re: Empty private repository and error message
Published: July 12, 2018 - 10:55 AM
by ryoken95
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?

Re: Empty private repository and error message
Published: July 12, 2018 - 10:58 AM
by htouvet
on the server:
Code: Select all
ls /var/www/wapt/*1399a27*
mv /var/www/wapt/*1399a27* /root/
wapt-scanpackages /var/www/wapt
Re: Empty private repository and error message
Published: July 12, 2018 - 11:11
by ryoken95
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!