Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.66k stars 1.96k forks source link

Snap package fails due to missing dependency #7106

Open lelecanfora opened 8 months ago

lelecanfora commented 8 months ago

Expected Behavior

Trying to run this Version: 8.6.1 Rev: 246 Tracking: latest/stable it fails at startup

Actual Behavior

/snap/insomnia/246/insomnia: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

No response

Insomnia Version

8.6.1

What operating system are you using?

Ubuntu

Operating System Version

23.10

Installation method

snap

Last Known Working Insomnia version

8.4.5

Martin-Office commented 7 months ago

Similar issue here, fail to load workspace, Ubuntu 22.04.4 LTS updated with snap.

Application start but fail to load workspace.

Got application error: Error: EACCES: permission denied, open '/home/username/snap/insomnia/245/.config/Insomnia/insomnia.WorkspaceMeta.db'

Version: Insomnia 8.6.0 Build date: 1/18/2024 OS: Linux x64 6.5.0-14-generic Electron: 28.0.0 Node: 18.18.2 Node ABI: 119 V8: 12.0.267.8-electron.0 Architecture: x64

filfreire commented 3 weeks ago

@lelecanfora are you by any chance still facing this issue with Insomnia 10 ?

filfreire commented 1 week ago

For anyone hitting this issue on latest versions, try to run sudo ldconfig and see if it works.

Otherwise we need to wait until https://github.com/electron-userland/electron-builder/pull/8549/ is fixed and merged.