poestack-sage icon indicating copy to clipboard operation
poestack-sage copied to clipboard

Error while going through Development Getting Started "error while loading shared libraries: libatk-1.0.so.0"

Open lukethomas1 opened this issue 10 months ago • 2 comments

Note: I'm using Ubuntu on WSL2, OS is Windows 10.

I was following the steps described here https://poestack.github.io/poestack-sage/development-getting-started.html#project-setup.

No issues until the npm run start step. Got this error when running that command: electron: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory.

I fixed the issue by running sudo apt install libnss3-dev libgdk-pixbuf2.0-dev libgtk-3-dev libxss-dev. Just wanted to call this out, maybe worth adding to the guide.

Afterwards when running npm run start, the electron app loads but I see these error messages:

start electron app...

[11910:0406/134947.845597:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[11910:0406/134947.845684:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[11910:0406/134947.845753:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[11910:0406/134947.845801:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[11910:0406/134948.049665:ERROR:connection.cc(579)] Cannot send request of length 56337872
[11910:0406/134948.060228:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[11910:0406/134948.078761:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: unknown error type:

Edit: The electron app doesn't seem to work. When I click the action.syncAuth button, I get the error at the bottom. Attaching screenshot: Capture

lukethomas1 avatar Apr 06 '24 20:04 lukethomas1