Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.
This repository was archived by the owner on Sep 15, 2024. It is now read-only.

Setup Instructions #3

Description

@DeastinY

Having some issues to even get this running.
Thought it was GTK3 missing, but installing it did not fix the error. Maybe you can have a look? Not sure it is not my system though haha

(potato:32841): WARNING **: 12:23:09.976: Failed to load shared library 'libgtk-3.so.0' referenced by the typelib: /opt/miniconda3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/libicuuc.so.75)
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/richard/.config/potato/__main__.py", line 1, in <module>
    from PotatoWidgets import PotatoLoop, DIR_CONFIG_POTATO
  File "/home/richard/.local/lib/python3.12/site-packages/PotatoWidgets/__init__.py", line 23, in <module>
    from . import Widget
  File "/home/richard/.local/lib/python3.12/site-packages/PotatoWidgets/Widget/__init__.py", line 54, in <module>
    from .Box import Box
  File "/home/richard/.local/lib/python3.12/site-packages/PotatoWidgets/Widget/Box.py", line 1, in <module>
    from ..Imports import *
  File "/home/richard/.local/lib/python3.12/site-packages/PotatoWidgets/Imports.py", line 98, in <module>
    from gi.repository import (Gdk, GdkPixbuf, Gio, GLib, GObject, Gtk,
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 921, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 813, in module_from_spec
  File "/home/richard/.local/lib/python3.12/site-packages/gi/importer.py", line 147, in create_module
    dynamic_module = load_overrides(introspection_module)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/richard/.local/lib/python3.12/site-packages/gi/overrides/__init__.py", line 112, in load_overrides
    override_mod = importlib.import_module(override_package_name)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/richard/.local/lib/python3.12/site-packages/gi/overrides/Gtk.py", line 100, in <module>
    class Widget(Gtk.Widget):
                 ^^^^^^^^^^
  File "/home/richard/.local/lib/python3.12/site-packages/gi/module.py", line 177, in __getattr__
    interfaces = tuple(interface for interface in get_interfaces_for_object(info)
                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/richard/.local/lib/python3.12/site-packages/gi/module.py", line 99, in get_interfaces_for_object
    interfaces.append(getattr(module, name))
                      ^^^^^^^^^^^^^^^^^^^^^
  File "/home/richard/.local/lib/python3.12/site-packages/gi/overrides/__init__.py", line 31, in __getattr__
    return getattr(self._introspection_module, name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/richard/.local/lib/python3.12/site-packages/gi/module.py", line 217, in __getattr__
    wrapper = metaclass(name, bases, dict_)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/richard/.local/lib/python3.12/site-packages/gi/types.py", line 247, in __init__
    register_interface_info(cls.__info__.get_g_type())
TypeError: must be an interface

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions