flathub / flathub/com.logseq.Logseq
Unable to select a folder for creating the very first graph
- Dominant language
- Shell
- Stars
- 22
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
On launching LogSeq it shows a tutorial graph. It then asks to select a folder to create a new graph at the end of the tutorial.
However I am unable to select a folder to start a new graph. The application does nothing and takes me back to the select folder screen.
Relevant Logs:
```
flatpak run com.logseq.Logseq
F: Can't get document portal: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Remote peer disconnected
[3 zypak-helper] Wait found events, but sd-event found none
LaunchProcess: failed to execvp:
xdg-settings
[3:1129/120207.159028:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:1129/120207.159072:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
LaunchProcess: failed to execvp:
xdg-settings
12:02:07.192 › Logseq App(0.8.11) Starting...
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[52:1129/120208.750948:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
12:02:09.023 › :electron.handler/watch-dir {:path "/home/udit/.logseq/config"}
12:02:09.067 › :electron.handler/unwatch-dir {:path "/local"}
12:02:09.068 › :electron.handler/watch-dir {:path "/local"}
[3:1129/120210.117186:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:1129/120210.117222:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:1129/120210.117258:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:1129/120210.117280:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:1129/120210.117299:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
12:02:11.382 › :electron.handler/open-dir open folder selection dialog
12:02:13.357 › :electron.handler/open-dir {:path nil}
Error occurred in handler for 'main': Error: path empty
at /app/logseq/resources/app/electron.js:14111:334
at Function.$G__96157__1$$ [as $cljs$core$IFn$_invoke$arity$1$] (/app/logseq/resources/app/electron.js:4013:173)
at /app/logseq/resources/app/electron.js:13161:80
at async node:electron/js2c/browser_init:189:563
```
This issue only occurs if I install logseq via flatpak. I compiled the application from source and it was able to access disk for creating a new graph.
Also worth noting that once it worked with the compiled app, it started working with the flatpak installed app as well.
I added an [issue on the logseq repo](https://github.com/logseq/logseq/issues/7507), I was redirected here. It seems like flatpak installation is not getting correct permissions.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.