| Summary: | dev-lang/python with USE="tk" missing a dependency | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | regomodo <regomodo> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
You would need dev-python/pyopengl with USE="tk". |
When in the python interactive shell run "help()" then "modules spam". 'spam' can be anything. An exception will occur along with a small tk window appearing. The exception is: No handlers could be found for logger "OpenGL.Tk" Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.6/site.py", line 430, in __call__ return pydoc.help(*args, **kwds) File "/usr/lib64/python2.6/pydoc.py", line 1723, in __call__ self.interact() File "/usr/lib64/python2.6/pydoc.py", line 1741, in interact self.help(request) File "/usr/lib64/python2.6/pydoc.py", line 1761, in help self.listmodules(split(request)[1]) File "/usr/lib64/python2.6/pydoc.py", line 1866, in listmodules apropos(key) File "/usr/lib64/python2.6/pydoc.py", line 1966, in apropos ModuleScanner().run(callback, key) File "/usr/lib64/python2.6/pydoc.py", line 1931, in run for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror): File "/usr/lib64/python2.6/pkgutil.py", line 125, in walk_packages for item in walk_packages(path, name+'.', onerror): File "/usr/lib64/python2.6/pkgutil.py", line 110, in walk_packages __import__(name) File "/usr/lib64/python2.6/site-packages/OpenGL/Tk/__init__.py", line 114, in <module> _default_root.tk.call('package', 'require', 'Togl') _tkinter.TclError: can't find package Togl Installing dev-tcltk/togl solves the issue. Reproducible: Always Steps to Reproduce: 1. Install dev-lang/python with USE="tk" 2. Run the aforementioned steps 3. Actual Results: Exception and small Tk window. Expected Results: The module search results.