jendrikseipp / rednotebook

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

cloud words and preview mode cannot be seen #755

Open LeoDariox opened 7 months ago

LeoDariox commented 7 months ago

The cloud words and preview mode cannot be seen

in RedNotebook version 2.31, Manjaro Gnu/Linux (using dark theme) Screenshot_20240308_200112

jendrikseipp commented 6 months ago

Thanks for the report! Could you please start RedNotebook from the terminal and paste the output here?

LeoDariox commented 6 months ago

Of course! `INFO Using GtkSourceView 4 Adding /usr/lib/python3.11/site-packages to sys.path INFO Available versions of the WebKit2 namespace: ['4.0', '4.1'] INFO Loaded version of the WebKit2 namespace: 4.1 INFO Locale path: /usr/share/locale 2024-03-11 15:12:42,142 INFO Writing log to file "/home/leo/.rednotebook/rednotebook.log" 2024-03-11 15:12:42,142 INFO System encoding: utf-8 2024-03-11 15:12:42,142 INFO Language code: es_AR

(rednotebook:83446): libenchant-WARNING **: 15:12:42.157: Error loading plugin: libhspell.so.0: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio

(rednotebook:83446): libenchant-WARNING **: 15:12:42.158: Error loading plugin: libnuspell.so.5: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio

(rednotebook:83446): libenchant-WARNING **: 15:12:42.158: Error loading plugin: libvoikko.so.1: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio

(rednotebook:83446): libenchant-WARNING **: 15:12:42.158: Error loading plugin: libaspell.so.15: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio

2024-03-11 15:12:42,159 INFO Spell checking languages: ['en_US', 'en_US-large', 'es_AR'] 2024-03-11 15:12:42,159 INFO Spell checking dictionaries: [('en_US', ), ('en_US-large', ), ('es_AR', )] 2024-03-11 15:12:42,301 INFO Using LibYAML 2024-03-11 15:12:42,302 INFO Connected Signals: [<Signals.SIGHUP: 1>, <Signals.SIGINT: 2>, <Signals.SIGQUIT: 3>, <Signals.SIGABRT: 6>, <Signals.SIGTERM: 15>, <Signals.SIGTSTP: 20>] 2024-03-11 15:12:42,305 INFO Peak memory: 118200204 KiB `

stevet11 commented 6 months ago

I had the same issue, here's the startup output:

INFO     Using GtkSourceView 4
Adding /usr/share/rednotebook to sys.path
INFO     Available versions of the WebKit2 namespace: ['4.0']
WARNING  WebKit2 4.1 not found. Trying to use arbitrary version. Error message: 'Namespace WebKit2 not available for version 4.1'
INFO     Loaded version of the WebKit2 namespace: 4.0
INFO     Locale path: /usr/share/locale
2024-04-02 01:16:11,692 INFO     Writing log to file "/home/thor/.rednotebook/rednotebook.log"
2024-04-02 01:16:11,692 INFO     System encoding: utf-8
2024-04-02 01:16:11,692 INFO     Language code: en_US
2024-04-02 01:16:11,706 INFO     Spell checking languages: ['en', 'en_AU', 'en_CA', 'en_GB', 'en_US', 'en_ZA']
2024-04-02 01:16:11,707 INFO     Spell checking dictionaries: [('en', <Enchant: Aspell Provider>), ('en_AU', <Enchant: Aspell Provider>), ('en_CA', <Enchant: Aspell Provider>), ('en_GB', <Enchant: Aspell Provider>), ('en_US', <Enchant: Aspell Provider>), ('en_ZA', <Enchant: Hunspell Provider>)]
2024-04-02 01:16:11,842 INFO     Using LibYAML
2024-04-02 01:16:11,844 INFO     Connected Signals: [<Signals.SIGHUP: 1>, <Signals.SIGINT: 2>, <Signals.SIGQUIT: 3>, <Signals.SIGABRT: 6>, <Signals.SIGTERM: 15>, <Signals.SIGTSTP: 20>]
2024-04-02 01:16:11,846 INFO     Running in portable mode: False
2024-04-02 01:16:11,846 INFO     First Start: False
2024-04-02 01:16:11,846 INFO     RedNotebook version: 2.32
2024-04-02 01:16:11,848 INFO     System info: machine: x86_64, platform: Linux-6.5.0-26-generic-x86_64-with-glibc2.35, processor: x86_64, python_version: 3.10.12, release: 6.5.0-26-generic, system: Linux, GTK: (3, 24, 33), Glib: (2, 71, 3), PyGObject: (3, 42, 1), YAML: 5.4.1, WebKit2: (2, 42, 5)
2024-04-02 01:16:12,095 DEBUG    Default font: Sans 10
2024-04-02 01:16:12,096 DEBUG    Default size: 10.0
2024-04-02 01:16:12,371 INFO     Cloud ignore list: ['filter', 'these', 'comma', 'separated', 'words', 'and', '#tags']
2024-04-02 01:16:12,372 INFO     Cloud include list: ['mtv', 'spam', 'work', 'job', 'play']
2024-04-02 01:16:12,372 DEBUG    Start compiling regexes
2024-04-02 01:16:12,372 DEBUG    Finished
2024-04-02 01:16:12,400 DEBUG    Tray icon visible: False
2024-04-02 01:16:12,401 INFO     Opening journal at '/home/thor/Documents/Journal'
2024-04-02 01:16:12,402 DEBUG    Starting to load files in dir "/home/thor/Documents/Journal"
2024-04-02 01:16:12,402 DEBUG    Loading file "/home/thor/Documents/Journal/2023-06.txt"
2024-04-02 01:16:12,403 DEBUG    Loading file "/home/thor/Documents/Journal/2023-07.txt"
2024-04-02 01:16:12,403 DEBUG    Loading file "/home/thor/Documents/Journal/2024-03.txt"
2024-04-02 01:16:12,403 DEBUG    Loading file "/home/thor/Documents/Journal/2024-04.txt"
2024-04-02 01:16:12,403 DEBUG    Finished loading files in dir "/home/thor/Documents/Journal"
2024-04-02 01:16:12,569 DEBUG    Update the cloud
2024-04-02 01:16:12,574 DEBUG    Background color: rgb(252,252,252)
2024-04-02 01:16:12,574 DEBUG    Foreground color: rgb(33,33,33)
2024-04-02 01:16:12,576 DEBUG    Cloud updated
2024-04-02 01:16:12,579 INFO     Last backup was made 6 days ago
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 263x392: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 263x392: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 263x392: Permission denied
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1
2024-04-02 01:16:15,167 DEBUG    Background color: rgb(252,252,252)
2024-04-02 01:16:15,167 DEBUG    Foreground color: rgb(33,33,33)
2024-04-02 01:16:15,167 DEBUG    Add mathjax code: False
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 760x578: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 760x578: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 760x578: Permission denied
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1
2024-04-02 01:16:19,133 DEBUG    Main frame destroyed
2024-04-02 01:16:19,136 INFO     Nothing to save
2024-04-02 01:16:19,136 INFO     Goodbye!
2024-04-02 01:16:19,162 INFO     Peak memory: 134606024 KiB

I found that using: env WEBKIT_DISABLE_COMPOSITING_MODE=1 rednotebook seems to work around the issue, and I'm able to see previews again.

LeoDariox commented 6 months ago

@stevet11 where should this command be entered?

jendrikseipp commented 6 months ago

@LeoDariox You can paste this command into a terminal window (Applications->Terminal).

@stevet11 Are you using the deb package or the flatpak version? Are you using Wayland?

stevet11 commented 6 months ago

I'm using the Ubuntu PPA deb package. I'm using x11.

LeoDariox commented 6 months ago

Thanks! work fine now!

Nick222 commented 1 month ago

I see the same Xubuntu 24.04 Rednotebook 2.33 deb from PPA

"env WEBKIT_DISABLE_COMPOSITING_MODE=1 rednotebook" work OK