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

'Error: ENOENT: no such file or directory' on starting sleek #687

Open
mdbdb opened this issue Mar 23, 2024 · 5 comments
Open

'Error: ENOENT: no such file or directory' on starting sleek #687

mdbdb opened this issue Mar 23, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@mdbdb
Copy link

mdbdb commented Mar 23, 2024

'Error: ENOENT: no such file or directory' on starting sleek

App Version: 2.0.11

Platform: Linux

Installation Method: App Store (Flatpak)

Expected Behavior:
Sleek opens the last opened file when it starts. All tasks are displayed.

Actual Behavior:
Sleek opens the last opened file when it starts. Sometimes I get this message: ENOENT: no such file or directory

When I start sleek via the console, I get these messages:

flatpak run com.github.ransome1.sleek
[2:0323/064608.180261:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden`
Gtk-Message: 06:46:08.277: Failed to load module "canberra-gtk-module"
[2:0323/064608.298509:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
[2:0323/064608.298538:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
Styles injected found in CSS file: /home/rhs/.var/app/com.github.ransome1.sleek/config/sleek/userData/customStyles.css
[Error: ENOENT: no such file or directory, open '/run/user/1000/doc/8b60c039/todo.txt'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/run/user/1000/doc/8b60c039/todo.txt'
}
[Error: ENOENT: no such file or directory, open '/run/user/1000/doc/8b60c039/todo.txt'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/run/user/1000/doc/8b60c039/todo.txt'
}
[2:0323/064623.026280:ERROR:browser_main_loop.cc(276)] GLib-GObject: invalid cast from 'GtkFileChooserNative' to 'GtkWidget'
[2:0323/064626.041159:ERROR:browser_main_loop.cc(276)] GLib-GObject: ../gobject/gsignal.c:2778: instance '0x31ec019c02e0' has no handler with id '3194'

The tasks in my todo.txt are not displayed.

Steps to Reproduce:

The error occurs sporadically. I can't reproduce the error.

@mdbdb mdbdb added the bug Something isn't working label Mar 23, 2024
@ransome1
Copy link
Owner

@mdbdb thanks for reporting this. Can I ask you if you're using drag and drop in order to open the file in sleek? Or are you using the file chooser window?

@mdbdb
Copy link
Author

mdbdb commented Mar 23, 2024

@mdbdb thanks for reporting this. Can I ask you if you're using drag and drop in order to open the file in sleek? Or are you using the file chooser window?

I've never used drag and drop to open my todo.txt file. I'm using the chooser window.

@ransome1
Copy link
Owner

ransome1 commented Apr 6, 2024

It's really hard to say, it looks like something something sandbox. But I havn't able to reproduce this yet hence I cannot provide you solution at this point.

In the meantime, did you stumble upon anything else out of the ordinary which can help me reproducing this?

@mdbdb
Copy link
Author

mdbdb commented Apr 7, 2024

No, I'm sorry. I don't know what causes the error and unfortunately I can't reproduce it.
But it still happens at irregular intervals.

@mdbdb
Copy link
Author

mdbdb commented Apr 25, 2024

About two weeks ago, I swapped the Flatpak version of Sleek for the AppImage version.
Since this change, the error has no longer occurred. It seems to be related to the Flatpak version.

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
Status: Bugs
Development

No branches or pull requests

2 participants