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

Rednotebook Flatpak #763

Open
lesdelc opened this issue Jul 2, 2024 · 2 comments
Open

Rednotebook Flatpak #763

lesdelc opened this issue Jul 2, 2024 · 2 comments
Labels

Comments

@lesdelc
Copy link

lesdelc commented Jul 2, 2024

Describe the bug

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

Versions:

  • RedNotebook version :
  • Operating system and version:

Log output when reproducing bug

@lesdelc lesdelc added the bug label Jul 2, 2024
@lesdelc
Copy link
Author

lesdelc commented Jul 2, 2024

Describe the bug
Rednotebook was installed with Flatpak from Archlinux. After the install Rednotebook was run and loaded. The app was poorly displayed by Wayland. I tried running under X.org and the program displayed with a clear font that was readable.

To Reproduce
See command line from running Flatpak: .
(rednotebook:2): Gtk-CRITICAL **: 09:52:40.413: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

1. Go to '...'

I ran RedNoteBook from flatpak run app.rednotebook.RedNotebook after the Flatpak install. Here is the error I discovered:
from the command line:

  1. See error
    (rednotebook:2): Gtk-CRITICAL **: 09:52:40.413: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Expected behavior

Screenshots
RednoteBook

Versions:

* RedNotebook version : 2.33

* Operating system and version: Linux -  Archlinux

Log output when reproducing bug

(rednotebook:2): Gtk-CRITICAL **: 09:52:40.413: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Log output when reproducing bug:

flatpak run app.rednotebook.RedNotebook:

bash: Flatpak: command not found
[lesdelc@boo ~]$ Flatpak run app.rednotebook.RedNotebook
bash: Flatpak: command not found
[lesdelc@boo ~]$ flatpak run app.rednotebook.RedNotebook
INFO Using GtkSourceView 3.0
Adding /app/lib/python3.11/site-packages to sys.path
INFO Available versions of the WebKit2 namespace: ['4.1']
INFO Loaded version of the WebKit2 namespace: 4.1
INFO Locale path: /usr/share/locale
2024-07-02 13:02:39,025 INFO Writing log to file "/home/lesdelc/.rednotebook/rednotebook.log"
2024-07-02 13:02:39,025 INFO System encoding: utf-8
2024-07-02 13:02:39,025 INFO Language code: en_CA
2024-07-02 13:02:39,046 INFO Spell checking languages: ['en_AU', 'en_BS', 'en_BZ', 'en_CA', 'en_GB', 'en_GH', 'en_IE', 'en_IL', 'en_IN', 'en_JM', 'en_MW', 'en_NA', 'en_NZ', 'en_PH', 'en_TT', 'en_US', 'en_ZA', 'en_ZW']
2024-07-02 13:02:39,048 INFO Spell checking dictionaries: [('en_AU', <Enchant: Hunspell Provider>), ('en_BS', <Enchant: Hunspell Provider>), ('en_BZ', <Enchant: Hunspell Provider>), ('en_CA', <Enchant: Hunspell Provider>), ('en_GB', <Enchant: Hunspell Provider>), ('en_GH', <Enchant: Hunspell Provider>), ('en_IE', <Enchant: Hunspell Provider>), ('en_IL', <Enchant: Hunspell Provider>), ('en_IN', <Enchant: Hunspell Provider>), ('en_JM', <Enchant: Hunspell Provider>), ('en_MW', <Enchant: Hunspell Provider>), ('en_NA', <Enchant: Hunspell Provider>), ('en_NZ', <Enchant: Hunspell Provider>), ('en_PH', <Enchant: Hunspell Provider>), ('en_TT', <Enchant: Hunspell Provider>), ('en_US', <Enchant: Hunspell Provider>), ('en_ZA', <Enchant: Hunspell Provider>), ('en_ZW', <Enchant: Hunspell Provider>)]
2024-07-02 13:02:39,268 INFO Using LibYAML
2024-07-02 13:02:39,269 INFO Connected Signals: [<Signals.SIGHUP: 1>, <Signals.SIGINT: 2>, <Signals.SIGQUIT: 3>, <Signals.SIGABRT: 6>, <Signals.SIGTERM: 15>, <Signals.SIGTSTP: 20>]
2024-07-02 13:02:39,273 INFO Running in portable mode: False
2024-07-02 13:02:39,273 INFO First Start: False
2024-07-02 13:02:39,273 INFO RedNotebook version: 2.33
2024-07-02 13:02:39,276 INFO System info: machine: x86_64, platform: Linux-6.9.4-1-cachyos-x86_64-with-glibc2.38, processor: , python_version: 3.11.9, release: 6.9.4-1-cachyos, system: Linux, GTK: (3, 24, 42), Glib: (2, 80, 2), PyGObject: (3, 48, 2), YAML: 6.0, WebKit2: (2, 44, 2)
2024-07-02 13:02:39,366 DEBUG Default font: Cantarell 11
2024-07-02 13:02:39,366 DEBUG Default size: 11.0
libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (No such file or directory)
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
2024-07-02 13:02:39,495 INFO Cloud ignore list: ['filter', 'these', 'comma', 'separated', 'words', 'and', '#tags']
2024-07-02 13:02:39,495 INFO Cloud include list: ['mtv', 'spam', 'work', 'job', 'play']
2024-07-02 13:02:39,495 INFO Cloud special ignore regexes: ('file://.', 'https?://.')
2024-07-02 13:02:39,495 DEBUG Start compiling regexes: ignore, include and special
2024-07-02 13:02:39,495 DEBUG Finished compiling
2024-07-02 13:02:39,499 DEBUG Tray icon visible: False

(rednotebook:2): Gtk-CRITICAL **: 13:02:39.499: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
2024-07-02 13:02:39,500 INFO Opening journal at '/home/lesdelc/.rednotebook/data'
2024-07-02 13:02:39,500 DEBUG Starting to load files in dir "/home/lesdelc/.rednotebook/data"
2024-07-02 13:02:39,500 DEBUG Loading file "/home/lesdelc/.rednotebook/data/2023-10.txt"
2024-07-02 13:02:39,500 DEBUG Loading file "/home/lesdelc/.rednotebook/data/2023-11.txt"
2024-07-02 13:02:39,500 DEBUG Loading file "/home/lesdelc/.rednotebook/data/2024-06.txt"
2024-07-02 13:02:39,501 DEBUG Loading file "/home/lesdelc/.rednotebook/data/2024-07.txt"
2024-07-02 13:02:39,501 DEBUG Finished loading files in dir "/home/lesdelc/.rednotebook/data"
2024-07-02 13:02:39,533 DEBUG Update the cloud
2024-07-02 13:02:39,533 DEBUG Background color: rgb(255,255,255)
2024-07-02 13:02:39,533 DEBUG Foreground color: rgb(0,0,0)
2024-07-02 13:02:39,534 DEBUG Cloud updated
2024-07-02 13:02:39,535 INFO Last backup was made 2 days ago

-Les-

@jendrikseipp
Copy link
Owner

Thanks for the logs! Not much to act on unfortunately, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants