Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Unable to select a folder for creating the very first graph

Đang mở
#33 11 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
electron, linux
Lĩnh vực
desktop

Hướng nghiên cứu

Tái hiện lỗi bằng flatpak run com.logseq.Logseq và theo dõi handler open-dir được báo cáo trong electron.js quanh dòng 14111. Kiểm tra lý do hộp thoại thư mục trả về path nil trong bản cài đặt Flatpak, sau đó xác minh rằng việc chọn một thư mục sẽ tạo graph đầu tiên mà không có lỗi path empty.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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, I was redirected here. It seems like flatpak installation is not getting correct permissions.

Ngôn ngữ chính
Shell
Star
23
Fork
17
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của flathub/com.logseq.Logseq

Tất cả issue của flathub/com.logseq.Logseq

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.