💾 Archived View for bbs.geminispace.org › u › lufte › 12190 captured on 2024-05-10 at 12:53:50. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-03-21)
-=-=-=-=-=-=-
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2023-12-03 · 5 months ago
🛰️ lufte [OP] · Dec 03 at 15:39:
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/tmp/gemgemgem/env/lib/python3.11/site-packages/gemalaya/__init__.py", line 24, in <module> from gemalaya import rc_gemalaya # noqa ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: cannot import name 'rc_gemalaya' from partially initialized module 'gemalaya' (most likely due to a circular import) (/tmp/gemgemgem/env/lib/python3.11/site-packages/gemalaya/__init__.py)
😺 gemalaya [mod] · Dec 03 at 16:14:
@lufte You need to run the "build_gemalaya" setuptools command first via setup.py:
python setup.py build_gemalaya install
This will use 'pyside6-rcc' to build the rc_gemalaya module.
🛰️ lufte [OP] · Dec 03 at 18:17:
Yes, that's what I meant when I said that it succeeds to build. I ran that command as explained in the repository, but then running "gemalaya" results in the previous error.
😺 gemalaya [mod] · Dec 03 at 19:16:
@lufte Ok. So, given that "build_gemalaya" doesn't show errors if pyside6-rcc fails or if it's not found, it's likely that it didn't work. You could edit "setup.py", and in the "run_rcc()" function, add a print(stdout, err) statement. What's the result of "which pyside6-rcc" ?
🛰️ lufte [OP] · Dec 03 at 19:33:
Oh, I am just now reading what pyside is exactly, I definitely don't have that installed 😅. Yeah, the output from that print statement is simply `b'' None`.
😺 gemalaya [mod] · Dec 03 at 20:07:
@lufte But, if you ran "pip install '.[gemalaya]'", it will install Pyside6-essentials which provides "pyside6-rcc". Are you sure that you're running all of these commands from within the virtualenv ?
🛰️ lufte [OP] · Dec 03 at 23:43:
Oh man, I'm sure I was, and it happend multiple times, but now I can't reproduce it so I'm not so sure... :/ Anyway, forget about this haha.
Thoughts on Gemalaya — Writing my thoughts here, about the Gemalaya browser and *from* the Gemalaya browser. Running it and setting up my certificate was dead simple, that's important! I wasn't able to build it with pip though, it complained about a circular import (I can give you more details if you want). I find the UI very peculiar, it sure has its own identity and style. I like the "Gemalaya!" popup when selecting a link, hah. The TTS is a killer feature, gemtext is such an accessible...