-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
Cant start gaphor on Ubuntu 22 VM #3226
Comments
Hi @DirtyStreetCoder, Gaphor depends on libadwaita 1.4.0 or newer. If you want to run it in a VM or on any Linux outside of Flatpak, you'll need to have a very new distribution version. For example, Ubuntu 2023.10, openSUSE Tumbleweed, or Fedora 39. I also checked and this is mentioned in the docs rights under this section: https://docs.gaphor.org/en/latest/linux.html#a-local-environment. It does say latest Ubuntu LTS or newer, in the case you need "or newer" because the next LTS will be released next month. 😄 If you think the docs could be more clear, maybe we should just say the latest release of Ubuntu instead of latest LTS, we would be glad for a PR. Thanks! |
Hi @danyeaw , thanks for the quick reply. I did indeed not see that hint :-) Ok, so i tried it again with ubuntu 23.10.1 Did all the flatpak steps... but the when i enter "gaphor" I get Running the make... steps again tells me What am i doing wrong this time? Sorry to bother you again. |
Hi @DirtyStreetCoder, it sounds like you are successfully building the flatpak, which is great! To run a flatpak, you'll need to give the full name like |
Describe the bug
Hi, I was interested in your project and set up a clean new Ubuntu 22.04.4 VM.
To Reproduce
After installing python 3.10.12 i tried your install documentation
https://docs.gaphor.org/en/latest/linux.html
Install Flatpak
Install flatpak-builder
sudo apt-get install flatpak-builder
Install the GNOME SDK
flatpak install flathub org.gnome.Sdk 43
Clone the Flathub repository and install the necessary SDK:
git clone https://github.com/flathub/org.gaphor.Gaphor.git
cd org.gaphor.Gaphor
make setup
Build Gaphor Flatpak
make
Install the Flatpak
make install
When i run
gaphor
I get a bunch of errors
Settings schema not found and settings won't be saved, run
poe install-schemas`Traceback (most recent call last):
File "/home/jr/gaphor_venv/gaphor_venv/lib/python3.10/site-packages/gaphor/ui/init.py", line 67, in app_startup
File "/home/jr/gaphor_venv/gaphor_venv/lib/python3.10/site-packages/gaphor/application.py", line 63, in init
File "/home/jr/gaphor_venv/gaphor_venv/lib/python3.10/site-packages/gaphor/entrypoint.py", line 13, in initialize
File "/home/jr/gaphor_venv/gaphor_venv/lib/python3.10/site-packages/gaphor/entrypoint.py", line 25, in load_entry_points
File "/usr/lib/python3.10/importlib/metadata/init.py", line 171, in load
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/jr/gaphor_venv/gaphor_venv/lib/python3.10/site-packages/gaphor/ui/help/init.py", line 26, in
File "/home/jr/gaphor_venv/gaphor_venv/lib/python3.10/site-packages/gaphor/ui/help/init.py", line 75, in HelpService
File "/home/jr/gaphor_venv/gaphor_venv/lib/python3.10/site-packages/gi/module.py", line 130, in getattr
AttributeError: 'gi.repository.Adw' object has no attribute 'SwitchRow'
Traceback (most recent call last):
File "/home/jr/gaphor_venv/gaphor_venv/lib/python3.10/site-packages/gaphor/ui/init.py", line 81, in app_activate
AssertionError`
I tried some approaches from you latest video with the same result...
https://www.youtube.com/watch?v=9BYgI1nJCBA
Expected behavior
gaphor GUI opens
Screenshots
n.a.
OS
Version
Version of Gaphor: latest (i assume, don't know how to verify)
Additional information
A video from scratch would be nice. I may be able to do that once it works.
The text was updated successfully, but these errors were encountered: