Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin won't start, Result::unwrap() panick #16

Closed
hardtopnet opened this issue Nov 13, 2024 · 5 comments
Closed

Plugin won't start, Result::unwrap() panick #16

hardtopnet opened this issue Nov 13, 2024 · 5 comments

Comments

@hardtopnet
Copy link

hardtopnet commented Nov 13, 2024

I tried using the latest release on the Decky store (0.2.0), I get the infinite loading animation.

The watchdog log seems to be reporting a syncthing config deserialization issue

SerdeJson(Error("invalid type: string \"8384\", expected u32", line: 1, column: 211))

8384 seemingly being the port to the HTML Web UI.

Full logs: decky-syncthing.zip

Versions

Soft Version
OS SteamOS v3.6.20
Decky Loader v3.0.4
Syncthing GTK me.kozec.syncthingtk v0.9.4.5

Just in case, has there been an unreleased fix on this repo for this issue ?

@hardtopnet
Copy link
Author

excerpt from my syncthing config file (\home\deck.var\app\me.kozec.syncthingtk\config\syncthing\config.xml)

image

@theCapypara
Copy link
Owner

Hi! This is really odd. This is actually about the configuration file of the plugin itself.
You can find this file at homebrew/settings/decky-syncthing/decky-syncthing.json. Change port to have the value 8384 instead of "8384" to resolve this.

Now weirdly, this shouldn't be an issue, the UI should save this as an integer. I used to have a fallback in the backend, I might add this back in...

@hardtopnet
Copy link
Author

Yep, that did the trick...

I just noticed something else, but it's unrelated. Tell me if it's worth opening a new issue.

I had already installed SyncThing GTK (me.kozec.syncthingtk) as a Flatpak, and upon Decky SyncThing startup I specified me.kozec.flatpak is already installed.

  • I got an error stating said package wasn't installed, and Decky SyncThing couldn't start it (when it's installed and already running)
  • I selected the first option SyncThing is installed as a service from pacman which worked.

note: I had registered syncthing as a service that starts on boot before installing Decky SyncThing.

@1337Anarchist
Copy link

Had this exact issue, changing the port value in the .json file fixed it. I also had to restart the syncthings plugin in decky, then it gave me the setup process screen.

Thanks for the fast fix @theCapypara

@theCapypara
Copy link
Owner

The underlying issue should be fixed now.
See this PR of the pending plugin update submission: SteamDeckHomebrew/decky-plugin-database#727
(always looking for test reports there to get it released sooner :) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants