Skip to main content

View Post [edit]

Poster: amidabutsu677 Date: Jan 12, 2024 9:06am
Forum: forums Subject: Error 400: "encrypted" file

Hello. I tried for long time to upload some file. It's not an archive, just .BIN image.

However, I always get:
Upload Error: 400
and an order to resume uploading. But after the resume it happens again.

I thought it's the matter of the file's volume (2.3 GB), but even after splitting it with Winrar it happened again. I didn't use password.

The file itself isn't corrupted, it's a part of a game, alongside EXE file. The game installs and runs properly. And EXE file was uploaded without any problem.
Moreover, the other language versions of the software were uploaded without any trouble either, both BIN and EXE. It's just this single file.

The details of the error:

<?xml version='1.0' encoding='UTF-8'?>
BadContentUploaded content is unacceptable.Traceback (most recent call last):
File "/petabox/sw/ias3/deploy/check_file.py", line 123, in check_encrypted_archive
t = subprocess.check_output(command).decode("utf-8")
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['7z', 'l', '-slt', '-p', '', '--', '/3/incoming/REMOTE_SUBMIT/s3-c05b98bc-b823-48d2-97ea-d587a288722c- [*file name*] ']' returned non-zero exit status 2.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/petabox/sw/ias3/deploy/check_file.py", line 229, in main
problems = do_checks(name, path)
File "/petabox/sw/ias3/deploy/check_file.py", line 187, in do_checks
r = check(name, path)
File "/petabox/sw/ias3/deploy/check_file.py", line 125, in check_encrypted_archive
if 'Can not open encrypted archive' in e.output:
TypeError: a bytes-like object is required, not 'str'

13d9833a-7d28-4668-9692-d34807279029

I don't know Python or any other programming language. What all of this means?
This post was modified by amidabutsu677 on 2024-01-12 16:21:41
This post was modified by amidabutsu677 on 2024-01-12 16:31:30
This post was modified by amidabutsu677 on 2024-01-12 17:05:43
This post was modified by amidabutsu677 on 2024-01-12 17:06:30

Reply [edit]

Poster: amidabutsu677 Date: Jan 13, 2024 5:10am
Forum: forums Subject: Re: Error 400: 'encrypted' file

And today, yet another error of a kind.

There is a network problem
Resume Uploading
400Bad Data(details)
<?xml version='1.0' encoding='UTF-8'?>
BadContentUploaded content is unacceptable.Traceback (most recent call last):
File "/petabox/sw/ias3/deploy/check_file.py", line 123, in check_encrypted_archive
t = subprocess.check_output(command).decode("utf-8")
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['7z', 'l', '-slt', '-p', '', '--', '/2/incoming/REMOTE_SUBMIT/s3-2654314d-3a4a-450c-adfa-5e25774acefc-*filename*/__ia_spool/*filename*']' returned non-zero exit status 2.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/petabox/sw/ias3/deploy/check_file.py", line 229, in main
problems = do_checks(name, path)
File "/petabox/sw/ias3/deploy/check_file.py", line 187, in do_checks
r = check(name, path)
File "/petabox/sw/ias3/deploy/check_file.py", line 125, in check_encrypted_archive
if 'Can not open encrypted archive' in e.output:
TypeError: a bytes-like object is required, not 'str'

122663e5-76e1-49cd-910e-ee45135d4d68

Both errors concern only French version of the game, and only .BIN files. Why?

Reply [edit]

Poster: amidabutsu677 Date: Feb 3, 2024 11:19pm
Forum: forums Subject: Re: Error 400: 'encrypted' file

Oh, and another.

<?xml version='1.0' encoding='UTF-8'?>
BadContentUploaded content is unacceptable.Traceback (most recent call last):
File "/petabox/sw/ias3/deploy/check_file.py", line 123, in check_encrypted_archive
t = subprocess.check_output(command).decode("utf-8")
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['7z', 'l', '-slt', '-p', '', '--', '/1/incoming/REMOTE_SUBMIT/s3-ecc5db21-1555-4164-afcc-9743834f6fa4-[file address]/__ia_spool/[file name]']' returned non-zero exit status 2.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/petabox/sw/ias3/deploy/check_file.py", line 229, in main
problems = do_checks(name, path)
File "/petabox/sw/ias3/deploy/check_file.py", line 187, in do_checks
r = check(name, path)
File "/petabox/sw/ias3/deploy/check_file.py", line 125, in check_encrypted_archive
if 'Can not open encrypted archive' in e.output:
TypeError: a bytes-like object is required, not 'str'

cc1e4d3f-5ec7-43b1-ab07-a37d46521f67

Let me say it loud and clear:
I. DON'T. KNOW. PYTHON.
Can anyone translate it to human language?
What's with this "str" and "encrypted"?
Seriously, nobody here can help?