Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-4901

python-kit/3.6-prime breaks ego {query,doc,kit}

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Expected Behavior
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • CatPkg:
      app-admin/ego
    • Kit/Branch:
      python-kit/3.6-prime

      Description

      After upgrading to python-kit/3.6-prime:

      funtoo /home/rj # ego query
      Traceback (most recent call last):
      File "/usr/bin/ego", line 96, in <module>
      EgoModule.run_ego_module(action, econfig, args, VERSION)
      File "/usr/share/ego/python/ego/module.py", line 75, in run_ego_module
      mod = loader.load_module()
      File "<frozen importlib._bootstrap>", line 539, in _check_name_wrapper
      File "<frozen importlib._bootstrap>", line 1614, in load_module
      File "<frozen importlib._bootstrap>", line 596, in _load_module_shim
      File "<frozen importlib._bootstrap>", line 1220, in load
      File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
      File "<frozen importlib._bootstrap>", line 1129, in _exec
      File "<frozen importlib._bootstrap>", line 1471, in exec_module
      File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
      File "/usr/share/ego/modules/query.ego", line 8, in <module>
      import appi
      ImportError: No module named 'appi'

      funtoo /home/rj # ego doc
      Traceback (most recent call last):
      File "/usr/bin/ego", line 96, in <module>
      EgoModule.run_ego_module(action, econfig, args, VERSION)
      File "/usr/share/ego/python/ego/module.py", line 75, in run_ego_module
      mod = loader.load_module()
      File "<frozen importlib._bootstrap>", line 539, in _check_name_wrapper
      File "<frozen importlib._bootstrap>", line 1614, in load_module
      File "<frozen importlib._bootstrap>", line 596, in _load_module_shim
      File "<frozen importlib._bootstrap>", line 1220, in load
      File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
      File "<frozen importlib._bootstrap>", line 1129, in _exec
      File "<frozen importlib._bootstrap>", line 1471, in exec_module
      File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
      File "/usr/share/ego/modules/doc.ego", line 6, in <module>
      from mediawiki.api import Wiki
      File "/usr/share/ego/python/mediawiki/api.py", line 3, in <module>
      import requests
      ImportError: No module named 'requests'

      funtoo /home/rj # ego kit
      Traceback (most recent call last):
      File "/usr/bin/ego", line 96, in <module>
      EgoModule.run_ego_module(action, econfig, args, VERSION)
      File "/usr/share/ego/python/ego/module.py", line 75, in run_ego_module
      mod = loader.load_module()
      File "<frozen importlib._bootstrap>", line 539, in _check_name_wrapper
      File "<frozen importlib._bootstrap>", line 1614, in load_module
      File "<frozen importlib._bootstrap>", line 596, in _load_module_shim
      File "<frozen importlib._bootstrap>", line 1220, in load
      File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
      File "<frozen importlib._bootstrap>", line 1129, in _exec
      File "<frozen importlib._bootstrap>", line 1471, in exec_module
      File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
      File "/usr/share/ego/modules/kit.ego", line 10, in <module>
      from mediawiki.cli_parser import wikitext_parse
      File "/usr/share/ego/python/mediawiki/cli_parser.py", line 13, in <module>
      import mwparserfromhell
      ImportError: No module named 'mwparserfromhell'

      No module named status:

      rj@funtoo ~ $ eix -I appi
      [I] dev-python/appi [1]
      Available versions: ()0.0.4(0/0.0) **0.0.9999(0/0.0) ()0.1.7(0/0.1) **0.1.9999(0/0.1) **0.2.9999(0/0.2) {PYTHON_TARGETS="python3_4 python3_5 python3_6"}
      Installed versions: 0.1.7(0/0.1)(04:02:41 AM 03/18/2018)(PYTHON_TARGETS="python3_6 -python3_4 -python3_5")
      Homepage: https://gitlab.com/apinsard/appi/
      Description: Another Portage Python Interface

      [1] "python-kit" /var/git/meta-repo/kits/python-kit

      rj@funtoo ~ $ eix -I requests
      [I] dev-python/requests [1]
      Available versions: (~)2.18.4^t {socks5 +ssl PYTHON_TARGETS="pypy pypy3 python2_7 python3_4 python3_5 python3_6"}
      Installed versions: 2.18.4^t(03:58:55 AM 03/18/2018)(ssl -socks5 PYTHON_TARGETS="python2_7 python3_6 -pypy -pypy3 -python3_4 -python3_5")
      Homepage: http://python-requests.org/
      Description: HTTP library for human beings

      [1] "python-kit" /var/git/meta-repo/kits/python-kit

      rj@funtoo ~ $ eix -I mwparserfromhell
      [I] dev-python/mwparserfromhell [1]
      Available versions: 0.5 {PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6"}
      Installed versions: 0.5(03:24:31 AM 03/18/2018)(PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5")
      Homepage: https://github.com/earwig/mwparserfromhell/
      Description: Python MediaWiki parser

      [1] "python-kit" /var/git/meta-repo/kits/python-kit

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cardinal cardinal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: