Cannot start on non-SteamOS
Closed this issue · 1 comments
Describe the bug
This likely is not a bug with Junk Store, it's probably me using an unsupported system. Skip to Additional context.
To Reproduce
Steps to reproduce the behavior:
- Go to Decky
- Click on Junk Store
- Click Games
- See error
ActionSet: EpicActions
ActionName: GetContent
MessageL Error parsing json result Expecting valueL line 1 column 1 (char 0)
Expected behavior
Work
Screenshots
No need
Desktop (please complete the following information):
- OS: NixOS
- Version Unstable
Additional context
Installed the extension, running "Install dependencies" failed (NixOS thing).
Downloaded the repo into ~/homebrew/data/Junk-Store
(note: I have no homebrew installed) and ran bash ./scripts/install_deps.sh
. All fine.
Trying to run Junk Store gives me an error suggesting it was unable to load json. Running ./scripts/get-json.py epic-actions
from the project directory returns data.
My guess is something is not on the right location. Browsing through get-json.py
I noticed this line: queue = ['../../data/Junk-Store/scripts/Extensions', './scripts/Extensions']
. Changing it to expanduser('~/homebrew/data/Junk-Store/scripts/Extensions')
didn't resolve the issue. Maybe I am not editing the correct file?
For the sake of completeness:
python --version
Python 3.11.9
install_deps.sh
response:
Installing dependencies
===================================
Dependecy installation starting
Do not navigate away please...
===================================
Installing dependencies: Epic extension
legendary flatpak is installed, removing and reinstalling
ID Branch Op
1. [-] com.github.derrod.legendary master r
Uninstall complete.
Looking for matches…
Skipping: org.gnome.Platform/x86_64/45 is already installed
Looking for matches…
Skipping: com.github.Matoking.protontricks/x86_64/stable is already installed
--2024-06-20 12:33:02-- https://github.com/ebenbruyns/legendary-flatpak/releases/latest/download/legendary.flatpak
Resolving github.com (github.com)... 20.205.243.166
Connecting to github.com (github.com)|20.205.243.166|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/ebenbruyns/legendary-flatpak/releases/download/0.20.23-2/legendary.flatpak [following]
--2024-06-20 12:33:03-- https://github.com/ebenbruyns/legendary-flatpak/releases/download/0.20.23-2/legendary.flatpak
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/723800801/68983591-16e5-4599-a1cb-14e43f54cdee?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240620%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240620T053303Z&X-Amz-Expires=300&X-Amz-Signature=031fef04ce0b2385c7220ed4aa3441bebec9ba39d279da84138ce9c881aa0f15&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=723800801&response-content-disposition=attachment%3B%20filename%3Dlegendary.flatpak&response-content-type=application%2Foctet-stream [following]
--2024-06-20 12:33:03-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/723800801/68983591-16e5-4599-a1cb-14e43f54cdee?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240620%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240620T053303Z&X-Amz-Expires=300&X-Amz-Signature=031fef04ce0b2385c7220ed4aa3441bebec9ba39d279da84138ce9c881aa0f15&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=723800801&response-content-disposition=attachment%3B%20filename%3Dlegendary.flatpak&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.111.133, 185.199.109.133, 185.199.108.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1501144 (1.4M) [application/octet-stream]
Saving to: ‘legendary.flatpak’
legendary.flatpak 100%[=========================================>] 1.43M 444KB/s in 3.3s
2024-06-20 12:33:07 (444 KB/s) - ‘legendary.flatpak’ saved [1501144/1501144]
com.github.derrod.legendary permissions:
ipc network pulseaudio wayland x11
devices file access [1] dbus access [2]
[1] /run/media, home, xdg-desktop, xdg-documents
[2] org.freedesktop.Notifications, org.kde.StatusNotifierWatcher
ID Branch Op Remote Download
1. [✓] com.github.derrod.legendary master i legendary-origin 0 bytes
Installation complete.
Installing dependencies: Epic extension
legendary flatpak is installed, removing and reinstalling
ID Branch Op
1. [-] com.github.derrod.legendary master r
Uninstall complete.
Looking for matches…
Skipping: org.gnome.Platform/x86_64/45 is already installed
Looking for matches…
Skipping: com.github.Matoking.protontricks/x86_64/stable is already installed
--2024-06-20 12:33:17-- https://github.com/ebenbruyns/legendary-flatpak/releases/latest/download/legendary.flatpak
Resolving github.com (github.com)... 20.205.243.166
Connecting to github.com (github.com)|20.205.243.166|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/ebenbruyns/legendary-flatpak/releases/download/0.20.23-2/legendary.flatpak [following]
--2024-06-20 12:33:17-- https://github.com/ebenbruyns/legendary-flatpak/releases/download/0.20.23-2/legendary.flatpak
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/723800801/68983591-16e5-4599-a1cb-14e43f54cdee?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240620%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240620T053303Z&X-Amz-Expires=300&X-Amz-Signature=031fef04ce0b2385c7220ed4aa3441bebec9ba39d279da84138ce9c881aa0f15&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=723800801&response-content-disposition=attachment%3B%20filename%3Dlegendary.flatpak&response-content-type=application%2Foctet-stream [following]
--2024-06-20 12:33:17-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/723800801/68983591-16e5-4599-a1cb-14e43f54cdee?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240620%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240620T053303Z&X-Amz-Expires=300&X-Amz-Signature=031fef04ce0b2385c7220ed4aa3441bebec9ba39d279da84138ce9c881aa0f15&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=723800801&response-content-disposition=attachment%3B%20filename%3Dlegendary.flatpak&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1501144 (1.4M) [application/octet-stream]
Saving to: ‘legendary.flatpak’
legendary.flatpak 100%[=========================================>] 1.43M 443KB/s in 3.3s
2024-06-20 12:33:21 (443 KB/s) - ‘legendary.flatpak’ saved [1501144/1501144]
com.github.derrod.legendary permissions:
ipc network pulseaudio wayland x11
devices file access [1] dbus access [2]
[1] /run/media, home, xdg-desktop, xdg-documents
[2] org.freedesktop.Notifications, org.kde.StatusNotifierWatcher
ID Branch Op Remote Download
1. [✓] com.github.derrod.legendary master i legendary-origin 0 bytes
Installation complete.
===================================
Dependecy installation complete
===================================
./scripts/get-json.py epic-actions
response:
{"Type": "ActionSet", "Content": {"SetName": "EpicActions", "Actions": [{"Id": "GetContent", "Title": "Get Epic games list", "Type": "GameGrid", "Command": "./scripts/junk-store.sh Epic getgames"}, {"Id": "GetGameSize", "Title": "Get game size", "Type": "GameSize", "Command": "./scripts/junk-store.sh Epic getgamesize"}, {"Id": "GetDetails", "Title": "Get game details", "Type": "GameDetails", "Command": "./scripts/junk-store.sh Epic getgamedetails"}, {"Id": "GetJsonImages", "Title": "Get game images as json", "Type": "GameImages", "Command": "./scripts/junk-store.sh Epic getjsonimages"}, {"Id": "Install", "Title": "Install game", "Type": "Install", "Command": "./scripts/junk-store.sh Epic install"}, {"Id": "Download", "Title": "Download game", "Type": "Download", "Command": "./scripts/junk-store.sh Epic download"}, {"Id": "DownloadSaves", "Title": "Download saves", "Type": "DownloadSaves", "Command": "./scripts/junk-store.sh Epic download-saves"}, {"Id": "Update", "Title": "Update game", "Type": "Update", "Command": "./scripts/junk-store.sh Epic update"}, {"Id": "Repair", "Title": "Repair game", "Type": "Update", "Command": "./scripts/junk-store.sh Epic repair"}, {"Id": "RepairUpdate", "Title": "Repair and Update game", "Type": "Update", "Command": "./scripts/junk-store.sh Epic repair_and_update"}, {"Id": "Verify", "Title": "Veirfy game", "Type": "Verify", "Command": "./scripts/junk-store.sh Epic verify"}, {"Id": "Import", "Title": "Import game", "Type": "Import", "Command": "./scripts/junk-store.sh Epic import"}, {"Id": "Uninstall", "Title": "Uninstall game", "Type": "Uninstall", "Command": "./scripts/junk-store.sh Epic uninstall"}, {"Id": "Move", "Title": "Move game", "Type": "Move", "Command": "./scripts/junk-store.sh Epic move"}, {"Id": "EnableEOSoverlay", "Title": "Enable EOS overlay", "Type": "Executable", "Command": "./scripts/junk-store.sh Epic enable-eos-overlay"}, {"Id": "DisableEOSoverlay", "Title": "Disable EOS overlay", "Type": "Executable", "Command": "./scripts/junk-store.sh Epic disable-eos-overlay"}, {"Id": "InstallOverlay", "Title": "Install EOS overlay", "Type": "Executable", "Command": "./scripts/junk-store.sh Epic install-overlay"}, {"Id": "UpdateOverlay", "Title": "Install EOS overlay", "Type": "Executable", "Command": "./scripts/junk-store.sh Epic update-overlay"}, {"Id": "RemoveOverlay", "Title": "Install EOS overlay", "Type": "Executable", "Command": "./scripts/junk-store.sh Epic remove-overlay"}, {"Id": "ProtonTricks", "Title": "Proton Tricks", "Type": "Executable", "Command": "./scripts/junk-store.sh Epic protontricks"}, {"Id": "GetProgress", "Title": "Get install progress", "Type": "GetProgress", "Command": "./scripts/junk-store.sh Epic getprogress"}, {"Id": "CancelInstall", "Title": "Cancel install", "Type": "CancelInstall", "Command": "./scripts/junk-store.sh Epic cancelinstall"}, {"Id": "GetLoginActions", "Title": "Get login status", "Type": "Init", "Command": "./scripts/get-json.py epic-games-login-actions"}, {"Id": "GetLaunchOptions", "Title": "Get launch options", "Type": "GetLaunchOptions", "Command": "./scripts/junk-store.sh Epic getlaunchoptions"}, {"Id": "GetExeActions", "Title": "Get executable action set to run exe's in game dir", "Type": "Init", "Command": "./scripts/get-json.py epic-exe-actions"}, {"Id": "GetGameScriptActions", "Title": "", "Type": "ScriptActions", "Command": "./scripts/get-json.py epic-game-script-actions"}, {"Id": "GetScriptActions", "Title": "", "Type": "ScriptActions", "Command": "./scripts/get-json.py epic-script-actions"}, {"Id": "GetPlatformConfigFileActions", "Title": "Get dosbox config file actions", "Type": "Init", "Command": "./scripts/get-json.py epic-config-actions"}, {"Id": "GetTabConfigActions", "Title": "Get epic tab config file actions", "Type": "Init", "Command": "./scripts/get-json.py epic-tab-config-actions"}, {"Id": "Refresh", "Title": "Refresh Games List", "Type": "Refresh", "Command": "./scripts/junk-store.sh Epic refresh"}, {"Id": "RegistryFix", "Title": "Registry Fix", "Type": "Executable", "Command": "./scripts/junk-store.sh Epic registry-fix"}, {"Id": "UmuIdUpdate", "Title": "Update UMU Id", "Type": "Executable", "Command": "./scripts/junk-store.sh Epic update-umu-id"}]}}
Since this was (rightfully) marked "out of scope," I'll close it to keep the list of open issues clean. If I find a solution, I'll share my findings here.