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

Bug: Blank screen on startup and json parse error in console #685

Open
2 tasks done
szucsnandor opened this issue Feb 15, 2025 · 1 comment
Open
2 tasks done

Bug: Blank screen on startup and json parse error in console #685

szucsnandor opened this issue Feb 15, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@szucsnandor
Copy link

Describe the bug

Tried many versions of surrealist appimage under ubuntu, even installed deb but I get the same blank screen on startup.
Opening the inspector I see this:
[Error] Unhandled Promise Rejection: SyntaxError: JSON Parse error: Unexpected EOF (anonymous function) (index-MhKjna3N.js:2943:51466)
i see the following in the logs:

Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so 2025-02-15 10:53:48 [TRACE] async_io::block_on; 2025-02-15 10:53:48 [TRACE] notified 2025-02-15 10:53:48 [INFO] Launch args: Args { inner: ["surrealist"] } 2025-02-15 10:53:48 [TRACE] -> async_io::block_on; 2025-02-15 10:53:48 [TRACE] -> {}; 2025-02-15 10:53:48 [TRACE] waiting on I/O 2025-02-15 10:53:48 [TRACE] Sending message: Msg { type: MethodCall, sender: UniqueName(":1.178"), path: ObjectPath("/org/freedesktop/DBus"), iface: InterfaceName("org.freedesktop.DBus"), member: MemberName("RemoveMatch"), body: Signature("s"), fds: [] } 2025-02-15 10:53:48 [TRACE] react; 2025-02-15 10:53:48 [TRACE] -> react; 2025-02-15 10:53:48 [TRACE] Sent message with serial: 5 2025-02-15 10:53:48 [TRACE] process_timers; 2025-02-15 10:53:48 [TRACE] <- {}; 2025-02-15 10:53:48 [TRACE] -> process_timers; 2025-02-15 10:53:48 [TRACE] -> {}; 2025-02-15 10:53:48 [TRACE] 0 ready wakers 2025-02-15 10:53:48 [TRACE] <- {}; 2025-02-15 10:53:48 [TRACE] <- process_timers; 2025-02-15 10:53:48 [TRACE] sleep until notification 2025-02-15 10:53:48 [TRACE] -- process_timers; 2025-02-15 10:53:48 [TRACE] Poller::wait; timeout=None 2025-02-15 10:53:48 [TRACE] -> Poller::wait; 2025-02-15 10:53:48 [TRACE] wait; epoll_fd=14 timeout=None 2025-02-15 10:53:48 [TRACE] -> wait; 2025-02-15 10:53:48 [TRACE] modify; epoll_fd=14 fd=BorrowedFd { fd: 16 } ev=Event { key: 18446744073709551615, readable: true, writable: false, extra: EventExtra { flags: EventFlags(0x0) } } 2025-02-15 10:53:48 [TRACE] -> modify; 2025-02-15 10:53:48 [TRACE] <- modify; 2025-02-15 10:53:48 [TRACE] -- modify; 2025-02-15 10:53:48 [TRACE] new events epoll_fd=14 res=1 2025-02-15 10:53:48 [TRACE] modify; epoll_fd=14 fd=BorrowedFd { fd: 15 } ev=Event { key: 18446744073709551615, readable: true, writable: false, extra: EventExtra { flags: EventFlags(0x0) } } 2025-02-15 10:53:48 [TRACE] -> modify; 2025-02-15 10:53:48 [TRACE] <- modify; 2025-02-15 10:53:48 [TRACE] -- modify; 2025-02-15 10:53:48 [TRACE] <- wait; 2025-02-15 10:53:48 [TRACE] -- wait; 2025-02-15 10:53:48 [TRACE] <- Poller::wait; 2025-02-15 10:53:48 [TRACE] -- Poller::wait; 2025-02-15 10:53:48 [TRACE] 1 ready wakers 2025-02-15 10:53:48 [TRACE] <- react; 2025-02-15 10:53:48 [TRACE] -- react; 2025-02-15 10:53:48 [TRACE] sleeping for 50 us 2025-02-15 10:53:48 [TRACE] -- read_socket; 2025-02-15 10:53:48 [TRACE] Message received on the socket: Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 5, fds: [] } 2025-02-15 10:53:48 [TRACE] Error broadcasting message to stream for None: SendError(..) 2025-02-15 10:53:48 [TRACE] Broadcasted to all streams: Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 5, fds: [] }) 2025-02-15 10:53:48 [TRACE] Waiting for message on the socket.. 2025-02-15 10:53:48 [INFO] read_socket; self=SocketReader { socket: Async { source: Source { registration: 17, key: 0, state: Mutex { data: [Direction { tick: 11, ticks: Some((9, 9)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 17 }), local: (unnamed), peer: "/run/user/1000/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 5, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 4, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 5, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 4, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodCall), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 1, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::Unique("org.freedesktop.DBus")), interface: Some(InterfaceName("org.freedesktop.DBus")), member: Some(MemberName("NameAcquired")), path_spec: Some(Path(ObjectPath("/org/freedesktop/DBus"))), destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 1, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::Unique("org.freedesktop.DBus")), interface: Some(InterfaceName("org.freedesktop.DBus")), member: Some(MemberName("NameLost")), path_spec: Some(Path(ObjectPath("/org/freedesktop/DBus"))), destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 7, activity_event: Event(<uninitialized>) } 2025-02-15 10:53:48 [TRACE] waiting on I/O 2025-02-15 10:53:48 [TRACE] modify; epoll_fd=14 fd=BorrowedFd { fd: 17 } ev=Event { key: 0, readable: true, writable: false, extra: EventExtra { flags: EventFlags(0x0) } } 2025-02-15 10:53:48 [TRACE] -> modify; 2025-02-15 10:53:48 [TRACE] <- modify; 2025-02-15 10:53:48 [TRACE] react; 2025-02-15 10:53:48 [TRACE] -- modify; 2025-02-15 10:53:48 [TRACE] -> {}; 2025-02-15 10:53:48 [TRACE] -> react; 2025-02-15 10:53:48 [TRACE] process_timers; 2025-02-15 10:53:48 [TRACE] -> process_timers; 2025-02-15 10:53:48 [TRACE] <- {}; 2025-02-15 10:53:48 [TRACE] 0 ready wakers 2025-02-15 10:53:48 [TRACE] -> {}; 2025-02-15 10:53:48 [TRACE] <- process_timers; 2025-02-15 10:53:48 [TRACE] <- {}; 2025-02-15 10:53:48 [TRACE] -- process_timers; 2025-02-15 10:53:48 [TRACE] -- {}; 2025-02-15 10:53:48 [TRACE] Poller::wait; timeout=None 2025-02-15 10:53:48 [TRACE] -> {}; 2025-02-15 10:53:48 [TRACE] -> Poller::wait; 2025-02-15 10:53:48 [TRACE] wait; epoll_fd=14 timeout=None 2025-02-15 10:53:48 [TRACE] -> wait; 2025-02-15 10:53:48 [TRACE] modify; epoll_fd=14 fd=BorrowedFd { fd: 16 } ev=Event { key: 18446744073709551615, readable: true, writable: false, extra: EventExtra { flags: EventFlags(0x0) } } 2025-02-15 10:53:48 [TRACE] -> modify; 2025-02-15 10:53:48 [TRACE] Sending message: Msg { type: MethodCall, sender: UniqueName(":1.178"), path: ObjectPath("/org/freedesktop/DBus"), iface: InterfaceName("org.freedesktop.DBus"), member: MemberName("RemoveMatch"), body: Signature("s"), fds: [] } 2025-02-15 10:53:48 [TRACE] <- modify; 2025-02-15 10:53:48 [TRACE] -- modify; 2025-02-15 10:53:48 [TRACE] Sent message with serial: 6 2025-02-15 10:53:48 [TRACE] <- {}; 2025-02-15 10:53:48 [TRACE] sleep until notification 2025-02-15 10:53:48 [TRACE] new events epoll_fd=14 res=1 2025-02-15 10:53:48 [TRACE] modify; epoll_fd=14 fd=BorrowedFd { fd: 15 } ev=Event { key: 18446744073709551615, readable: true, writable: false, extra: EventExtra { flags: EventFlags(0x0) } } 2025-02-15 10:53:48 [TRACE] -> modify; 2025-02-15 10:53:48 [TRACE] <- modify; 2025-02-15 10:53:48 [TRACE] -- modify; 2025-02-15 10:53:48 [TRACE] <- wait; 2025-02-15 10:53:48 [TRACE] -- wait; 2025-02-15 10:53:48 [TRACE] <- Poller::wait; 2025-02-15 10:53:48 [TRACE] -- Poller::wait; 2025-02-15 10:53:48 [TRACE] 1 ready wakers 2025-02-15 10:53:48 [TRACE] <- react; 2025-02-15 10:53:48 [TRACE] -- react; 2025-02-15 10:53:48 [TRACE] sleeping for 50 us 2025-02-15 10:53:48 [TRACE] -- read_socket; 2025-02-15 10:53:48 [TRACE] Message received on the socket: Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 6, fds: [] } 2025-02-15 10:53:48 [TRACE] Error broadcasting message to stream for None: SendError(..) 2025-02-15 10:53:48 [TRACE] Broadcasted to all streams: Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 6, fds: [] }) 2025-02-15 10:53:48 [TRACE] Waiting for message on the socket.. 2025-02-15 10:53:48 [INFO] read_socket; self=SocketReader { socket: Async { source: Source { registration: 17, key: 0, state: Mutex { data: [Direction { tick: 12, ticks: Some((11, 11)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 17 }), local: (unnamed), peer: "/run/user/1000/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 6, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 5, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 6, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 5, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodCall), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 1, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::Unique("org.freedesktop.DBus")), interface: Some(InterfaceName("org.freedesktop.DBus")), member: Some(MemberName("NameAcquired")), path_spec: Some(Path(ObjectPath("/org/freedesktop/DBus"))), destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 1, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 8, activity_event: Event(<uninitialized>) } 2025-02-15 10:53:48 [TRACE] waiting on I/O 2025-02-15 10:53:48 [TRACE] react; 2025-02-15 10:53:48 [TRACE] -> react; 2025-02-15 10:53:48 [TRACE] process_timers; 2025-02-15 10:53:48 [TRACE] -> process_timers; 2025-02-15 10:53:48 [TRACE] 0 ready wakers 2025-02-15 10:53:48 [TRACE] <- process_timers; 2025-02-15 10:53:48 [TRACE] modify; epoll_fd=14 fd=BorrowedFd { fd: 17 } ev=Event { key: 0, readable: true, writable: false, extra: EventExtra { flags: EventFlags(0x0) } } 2025-02-15 10:53:48 [TRACE] -- process_timers; 2025-02-15 10:53:48 [TRACE] -> modify; 2025-02-15 10:53:48 [TRACE] Poller::wait; timeout=None 2025-02-15 10:53:48 [TRACE] <- modify; 2025-02-15 10:53:48 [TRACE] -> Poller::wait; 2025-02-15 10:53:48 [TRACE] -- modify; 2025-02-15 10:53:48 [TRACE] wait; epoll_fd=14 timeout=None 2025-02-15 10:53:48 [TRACE] -> {}; 2025-02-15 10:53:48 [TRACE] -> wait; 2025-02-15 10:53:48 [TRACE] <- {}; 2025-02-15 10:53:48 [TRACE] -> {}; 2025-02-15 10:53:48 [TRACE] modify; epoll_fd=14 fd=BorrowedFd { fd: 16 } ev=Event { key: 18446744073709551615, readable: true, writable: false, extra: EventExtra { flags: EventFlags(0x0) } } 2025-02-15 10:53:48 [TRACE] <- {}; 2025-02-15 10:53:48 [TRACE] -- {}; 2025-02-15 10:53:48 [TRACE] -> modify; 2025-02-15 10:53:48 [TRACE] sleep until notification 2025-02-15 10:53:48 [TRACE] <- modify; 2025-02-15 10:53:48 [TRACE] -- modify; /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so /lib/x86_64-linux-gnu/libcurl-gnutls.so.4: undefined symbol: nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so: undefined symbol: g_assertion_message_cmpint Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so

Steps to reproduce

Just start any version of the surrealist app except the browser.

Expected behaviour

See any content.

Surrealist Environment

I tried to reinstall libs but no luck.

Contact Details

[email protected]

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@szucsnandor szucsnandor added bug Something isn't working triage This issue is new labels Feb 15, 2025
@macjuul macjuul removed the triage This issue is new label Feb 21, 2025
@szucsnandor
Copy link
Author

It works now!
The steps that fixed it:

sudo apt update
sudo apt install --reinstall libglib2.0-0 gvfs libcurl4 nghttp2 libdconf1
sudo apt install libgtk-3-0 libwebkit2gtk-4.0-37

rm -rf ~/.config/SurrealDB/Surrealist

sudo apt install --reinstall libcurl4 nghttp2 libcurl3-gnutls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants