View Post [edit]
Poster: | Frank'sPlace | Date: | May 7, 2024 6:44pm |
Forum: | forums | Subject: | Uploading Problem |
New to uploading here and I'm encountering a few problems.
The large PDFs that I'm uploading are going through just fine but I'm having trouble with smaller ones such as this one (which was only 10 MB). I tried it a second time with the same result and gave up:
"There is a network problem
400Bad Data(details)
<?xml version='1.0' encoding='UTF-8'?>
BadContent
Uploaded content is unacceptable.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 167, in check_pdf
t = subprocess.check_output(command, stderr=subprocess.STDOUT).decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfe in position 347: invalid start byte
93b726a6-b145-46c4-bb3e-c3395e9c55e7"
Reply [edit]
Poster: | Frank'sPlace | Date: | May 29, 2024 9:42am |
Forum: | forums | Subject: | Re: Uploading Problem |
This error message was for an 81.5 MB pdf of an 1833 public domain book on Mississippi River navigation and travel which contains a gazetteer of the towns and settlements along the river.
There are already copies of various other editions of the book already on IA but not of the 1833 edition.
How could it be that the "Uploaded content is unacceptable" for such a book?
Any help/suggestions would be appreciated!
"There is a network problem
400Bad Data(details)
<?xml version='1.0' encoding='UTF-8'?>
BadContent
Uploaded content is unacceptable.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 167, in check_pdf
t = subprocess.check_output(command, stderr=subprocess.STDOUT).decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfe in position 454: invalid start byte
fafe7939-b210-4e1c-98b1-fcd69f26a6d5"