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

ValueError: Namespace NM not available #350

Closed
jardon opened this issue Oct 21, 2024 · 4 comments · Fixed by #355
Closed

ValueError: Namespace NM not available #350

jardon opened this issue Oct 21, 2024 · 4 comments · Fixed by #355

Comments

@jardon
Copy link
Member

jardon commented Oct 21, 2024

vanilla-first-setup
Traceback (most recent call last):
  File "/usr/bin/vanilla-first-setup", line 42, in <module>
    from vanilla_first_setup import main
  File "/usr/share/org.vanillaos.FirstSetup/vanilla_first_setup/main.py", line 23, in <module>
    gi.require_version("NM", "1.0")
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 122, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace NM not available
@jardon
Copy link
Member Author

jardon commented Oct 21, 2024

needs gir1.2-nm-1.0

@mirkobrombin
Copy link
Member

It is supposed to be installed b those who need to build it, no? Maybe I do not understand the issue

@axtloss
Copy link
Member

axtloss commented Oct 21, 2024

This should be listed as an optional dependency only needed when the recipe uses the network page

@axtloss
Copy link
Member

axtloss commented Oct 21, 2024

also shouldn't be imported by main.py, but in the network source file

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

Successfully merging a pull request may close this issue.

3 participants