jendrikseipp / rednotebook

RedNotebook is a cross-platform journal
https://rednotebook.app
GNU General Public License v2.0
488 stars 110 forks source link

Rednotebook crashes shortly after opening, #725

Closed James822 closed 11 months ago

James822 commented 11 months ago

Recently (only a few days ago) rednotebook has been crashing around a few seconds after startup. This problem is happening both on my laptop and main desktop (both of which are running Debian, my laptop is Linux Mint, and my Desktop is a community Debian distro, output of uname -a is: "Linux reflection 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux") I tried reinstalling and deleting the ~/.rednotebook/ directory to see if the issue was corrupted journal files but that doesn't seem to be the case. When running it from the terminal, I get this log:

Adding /usr/share/rednotebook to sys.path
2023-10-17 14:01:13,973 INFO     Writing log to file "/home/james/.rednotebook/rednotebook.log"
2023-10-17 14:01:13,973 INFO     System encoding: utf-8
2023-10-17 14:01:13,973 INFO     Language code: en_US
2023-10-17 14:01:14,244 INFO     Running in portable mode: False
2023-10-17 14:01:14,244 INFO     First Start: True
2023-10-17 14:01:14,244 INFO     RedNotebook version: 2.21
2023-10-17 14:01:14,248 INFO     System info: machine: x86_64, platform: Linux-5.10.0-26-amd64-x86_64-with-glibc2.31, processor: , python_version: 3.9.2, release: 5.10.0-26-amd64, system: Linux, GTK: (3, 24, 24), Glib: (2, 66, 2), PyGObject: (3, 38, 0), YAML: 5.3.1
2023-10-17 14:01:14,413 DEBUG    Default font: Noto Sans 10
2023-10-17 14:01:14,413 DEBUG    Default size: 10.0
2023-10-17 14:01:14,552 INFO     Cloud ignore list: ['filter', 'these', 'comma', 'separated', 'words', 'and', '#tags']
2023-10-17 14:01:14,553 INFO     Cloud include list: ['mtv', 'spam', 'work', 'job', 'play']
2023-10-17 14:01:14,553 DEBUG    Start compiling regexes
2023-10-17 14:01:14,553 DEBUG    Finished
2023-10-17 14:01:14,562 DEBUG    Tray icon visible: False
2023-10-17 14:01:14,562 INFO     Opening journal at '/home/james/.rednotebook/data'
2023-10-17 14:01:14,563 DEBUG    Starting to load files in dir "/home/james/.rednotebook/data"
2023-10-17 14:01:14,563 DEBUG    Finished loading files in dir "/home/james/.rednotebook/data"
2023-10-17 14:01:14,576 INFO     Adding example content on 2023-10-17
2023-10-17 14:01:14,577 INFO     Connected Signals: [<Signals.SIGHUP: 1>, <Signals.SIGINT: 2>, <Signals.SIGQUIT: 3>, <Signals.SIGABRT: 6>, <Signals.SIGTERM: 15>, <Signals.SIGTSTP: 20>]
2023-10-17 14:01:14,577 DEBUG    Start took 0.3331775665283203 seconds
2023-10-17 14:01:14,577 DEBUG    Trying to enter the gtk main loop
2023-10-17 14:01:14,600 DEBUG    Update the cloud
2023-10-17 14:01:14,602 DEBUG    Background color: rgb(35,38,41)
2023-10-17 14:01:14,602 DEBUG    Foreground color: rgb(239,240,241)
2023-10-17 14:01:14,607 DEBUG    Cloud updated
2023-10-17 14:01:14,609 INFO     Last backup was made 0 days ago
No provider of eglCreateImage found.  Requires one of:
    EGL 15
Aborted

It seems like this line:

No provider of eglCreateImage found.  Requires one of:
    EGL 15
Aborted

Is most relevant, I tried looking up this error and couldn't find anything useful.

Version: RedNotebook 2.21

jendrikseipp commented 11 months ago

Thanks for the report! Maybe the solution here helps? https://github.com/tauri-apps/tauri/issues/8013

James822 commented 11 months ago

Yeah that worked! I suppose the issue is with the latest Debian release? Or maybe it's a driver issue, either way I'll mark this as closed, thanks for helping me out.