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

BUG: Can't install UI or go through Guided-Setup #206

Open
Z3r0shin opened this issue Nov 20, 2024 · 1 comment
Open

BUG: Can't install UI or go through Guided-Setup #206

Z3r0shin opened this issue Nov 20, 2024 · 1 comment

Comments

@Z3r0shin
Copy link

The commands mmpm ui install -y and mmpm guided-setup return this

usage: mmpm [option(s)]
mmpm: error: argument subcmd: invalid choice: 'ui' (choose from 'search', 'install', 'remove', 'update', 'upgrade', 'db', 'list', 'open', 'show', 'add-ext-pkg', 'log', 'mm-ctl', 'env')

and

usage: mmpm [option(s)]
mmpm: error: argument subcmd: invalid choice: 'guided-setup' (choose from 'search', 'install', 'remove', 'update', 'upgrade', 'db', 'list', 'open', 'show', 'add-ext-pkg', 'log', 'mm-ctl', 'env')

respectively.

Is this an issue with the CLI or GUI?
CLI

Is this something that should be put in the Wiki?
I guess since I followed the installation wiki to the letter but can't proceed further.

Operating System, Python3 Version, and Web Browser
(Please complete the following information)

  • output from cat /etc/os-release
    PRETTY_NAME="Debian GNU/Linux 10 (buster)"
    NAME="Debian GNU/Linux"
    VERSION_ID="10"
    VERSION="10 (buster)"
    VERSION_CODENAME=buster
    ID=debian
    HOME_URL="https://www.debian.org/"
    SUPPORT_URL="https://www.debian.org/support"
    BUG_REPORT_URL="https://bugs.debian.org/"

  • output from python3 --version
    Python 3.7.3

  • Web Browser (firefox, chrome, safari, chromium, etc)
    chrome, but through Portainer and TrueNAS Scale, both latest versions

MMPM Environment Settings

  • output from mmpm env
  • Initializing MagicMirror 3rd party packages database Traceback (most recent call last):
    File "/usr/local/bin/mmpm", line 10, in
    sys.exit(main())
    File "/usr/local/lib/python3.7/dist-packages/mmpm/entrypoint.py", line 12, in main
    main(args)
    File "/usr/local/lib/python3.7/dist-packages/mmpm/mmpm.py", line 51, in main
    packages: Dict[str, List[MagicMirrorPackage]] = mmpm.core.load_packages(force_refresh=should_refresh)
    File "/usr/local/lib/python3.7/dist-packages/mmpm/core.py", line 1054, in load_packages
    packages = retrieve_packages()
    File "/usr/local/lib/python3.7/dist-packages/mmpm/core.py", line 1135, in retrieve_packages
    categories: list = [category.contents[-1].contents[0] for category in categories_soup][2:]
    File "/usr/local/lib/python3.7/dist-packages/mmpm/core.py", line 1135, in
    categories: list = [category.contents[-1].contents[0] for category in categories_soup][2:]
    File "/usr/local/lib/python3.7/dist-packages/bs4/element.py", line 986, in getattr
    self.class.name, attr))
    AttributeError: 'NavigableString' object has no attribute 'contents'

MMPM Log Files

  • Attach the file produced Download MMPM log files within the Control Center of the GUI or from the mmpm logs --zip
    usage: mmpm [option(s)]
    mmpm: error: argument subcmd: invalid choice: 'logs' (choose from 'search', 'install', 'remove', 'update', 'upgrade', 'db', 'list', 'open', 'show', 'add-ext-pkg', 'log', 'mm-ctl', 'env')

MagicMirror Config

  • your MagicMirror config.js
    Its the same as the default one, I haven't messed with it yet.
@Bee-Mar
Copy link
Owner

Bee-Mar commented Nov 20, 2024

You're using Python 3.7.3, and the latest version of MMPM doesn't support anything below Python 3.8 (soon to be Python 3.9 as the minimum). I'm not sure which version of MMPM you have installed, but Pip probably resolved your installation to an older version of MMPM

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

No branches or pull requests

2 participants