Hello, great work:
I'm using HTTPie to query the API, and I am getting the following when trying to install a package
$ http 192.168.0.105:12800/api/install type=direct packages:='["http://192.168.0.107:8000/CUSA07402_00_Crash_Bandicoot_N.Sane_Trilogy.pkg"]'
HTTP/1.1 500 Internal server error
Access-Control-Allow-Origin: *
Connection: close
Content-Type: application/json
{
"error": "Unable to load system file object for package 'http://192.168.0.107:8000/CUSA07402_00_Crash_Bandicoot_N.Sane_Trilogy.pkg'.",
"status": "fail"
}
Context
My Setup:
- PS4 PRO
- Firmware 5.05
- Hen 2.0+
- More than 100 GB available on PS4 storage
- Ubuntu 18.04
python3 -m http.server 8000 for serving pkg files
The error is thrown on server.c > handle_api_install_direct(...):
...
if (!sfo_load_from_file(sfo, param_sfo_path)) {
THROW_ERROR("Unable to load system file object for package '%s'.", piece_urls[0]);
}
...
but when looking inside sfo_load_from_file(...) I found there is many reasons for this to happen. I could not go any further because I'm new to all this.
Thanks in advance.
Abraham
tags: @flatz
Hello, great work:
I'm using HTTPie to query the API, and I am getting the following when trying to install a package
Context
My Setup:
python3 -m http.server 8000for serving pkg filesThe error is thrown on server.c > handle_api_install_direct(...):
... if (!sfo_load_from_file(sfo, param_sfo_path)) { THROW_ERROR("Unable to load system file object for package '%s'.", piece_urls[0]); } ...but when looking inside
sfo_load_from_file(...)I found there is many reasons for this to happen. I could not go any further because I'm new to all this.Thanks in advance.
Abraham
tags: @flatz