Page 1 of 1

[RESOLVED] SHA not matching

Published: June 20, 2023 - 11:33
by Geoffroy
Good morning,

Debian server WAPT2.4.14058
WAPT2.4.14058 Windows Console

Since update 2.4.14058, an error message appears on most packages during a new installation.


Code: Select all

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 3959, in install_wapt
    packagetempdir = entry.unzip_package(cabundle=self.cabundle, target_dir = tempfile.mkdtemp(prefix='wapt',dir=self.wapt_temp_dir))
  File "C:\Program Files (x86)\wapt\waptpackage.py", line 2612, in unzip_package
    raise e
  File "C:\Program Files (x86)\wapt\waptpackage.py", line 2604, in unzip_package
    verified_by = self.check_package_signature(cabundle,ignore_missing_files=ignore_missing_files)
  File "C:\Program Files (x86)\wapt\waptpackage.py", line 2557, in check_package_signature
    raise EWaptCorruptedFiles('Error in package %s in %s, files corrupted, SHA not matching for %s' % (self.asrequirement(), self.sourcespath, errors,))
waptpackage.EWaptCorruptedFiles: Error in package questeducation-chrome(=114.0.5735.134-42) in C:\windows\TEMP\wapts58twrhj, files corrupted, SHA not matching for ['C:\\windows\\TEMP\\wapts58twrhj\\__pycache__\\setup.cpython-38.pyc']

EWaptCorruptedFiles: Error in package questeducation-chrome(=114.0.5735.134-42) in C:\windows\TEMP\wapts58twrhj, files corrupted, SHA not matching for ['C:\\windows\\TEMP\\wapts58twrhj\\__pycache__\\setup.cpython-38.pyc']

Re: SHA not matching

Published: June 20, 2023 - 5:09 PM
by dcardon
Hi Geoffroy,
the problem seems to occur when uploading the package via PyScripter instead of the console. A patch has been released for this, and a nightly build will be pushed very soon. I'll discuss this with Simon and Hubert.
In the meantime, you can re-upload your package via the WAPT console (import from a file in the private repository tab).
Best regards,
Denis

Re: SHA not matching

Published: June 21, 2023 - 11:50 AM
by Geoffroy
Hi Denis,

thanks so much for the feedback.

Have a good rest of the day

Re: SHA not matching

Published: June 22, 2023 - 12:26
by sfonteneau
Hello

viewtopic.php?p=12412#p12412

Problem solved, thanks for reporting it, ;)

Simon