Opened 3 months ago
Closed 3 months ago
#70538 closed defect (fixed)
catgirl-downloader @0.2.6: missing dependencies
Reported by: | akierig (akierig) | Owned by: | barracuda156 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | catgirl-downloader |
Description
Traceback (most recent call last): File "/opt/local/bin/catgirldownloader", line 39, in <module> import gi ModuleNotFoundError: No module named 'gi'
I can't remember what python's gi
module is but that appears to be missing. libadwaita
might also be needed.
system:
macOS 14.6.1 23G93 arm64 Xcode 15.4 15F31d MacPorts 2.10.0
Change History (5)
comment:1 Changed 3 months ago by barracuda156
comment:2 follow-up: 3 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)
gi
makes me thing gobject introspection. Maybe it needs py312-gobject3?
comment:3 Changed 3 months ago by barracuda156
Replying to ryandesign:
gi
makes me think of gobject introspection. Maybe it needs py312-gobject3?
I will try deactivating everything on Sonoma and then I can figure out. I think you are right, it should gobject
-related.
comment:4 Changed 3 months ago by barracuda156
Upon installing py312-gobject3
:
svacchanda@43-200 ~ % catgirldownloader Traceback (most recent call last): File "/opt/local/bin/catgirldownloader", line 45, in <module> from catgirldownloader import main File "/opt/local/share/catgirldownloader/catgirldownloader/main.py", line 24, in <module> gi.require_version('Adw', '1') File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/gi/__init__.py", line 126, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Adw not available
With libadwaita
installed:
svacchanda@43-200 ~ % catgirldownloader Traceback (most recent call last): File "/opt/local/bin/catgirldownloader", line 45, in <module> from catgirldownloader import main File "/opt/local/share/catgirldownloader/catgirldownloader/main.py", line 27, in <module> from .window import CatgirldownloaderWindow File "/opt/local/share/catgirldownloader/catgirldownloader/window.py", line 21, in <module> from .catgirl import CatgirlDownloaderAPI File "/opt/local/share/catgirldownloader/catgirldownloader/catgirl.py", line 1, in <module> import requests ModuleNotFoundError: No module named 'requests'
With py312-requests
installed, dependencies are satisfied.
Apparently needs a manual env setting, like other GTK4 ports, since upstream is not interested to fix their bug.
No provider of glGenSamplers found. Requires one of: Desktop OpenGL 3.3 GL_ARB_sampler_objects OpenGL ES 3.0
(This is on 14.5 arm64, not on powerpc.)
comment:5 Changed 3 months ago by Sergey Fedorov <barracuda@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Ah, this nasty Python thing not to check dependencies when building… I will try to figure out what is needed. Since the app works locally, we have everything in MacPorts.