Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#60420 - [gnuradio] Missing package dependency for gr_modtool
Attached to Project:
Community Packages
Opened by Dan Bryant (dicta) - Tuesday, 16 October 2018, 02:20 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 14 May 2019, 20:09 GMT
Opened by Dan Bryant (dicta) - Tuesday, 16 October 2018, 02:20 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 14 May 2019, 20:09 GMT
|
DetailsDescription:
gnuradio appears to be missing a dependency on python2-cheetah for the CLI gr_modtool program. Additional info: [dan@vpn01 ~]$ gr_modtool Traceback (most recent call last): File "/usr/bin/gr_modtool", line 24, in <module> from gnuradio.modtool import * File "/usr/lib/python2.7/site-packages/gnuradio/modtool/__init__.py", line 23, in <module> from code_generator import GRMTemplate File "/usr/lib/python2.7/site-packages/gnuradio/modtool/code_generator.py", line 24, in <module> import Cheetah.Template ImportError: No module named Cheetah.Template [dan@vpn01 ~]$ pacman -Ss cheetah community/python2-cheetah 2.4.4-7 A Python-powered template engine and code generator [dan@vpn01 ~]$ sudo pacman -S python2-cheetah resolving dependencies... looking for conflicting packages... Packages (2) python2-markdown-2.6.11-2 python2-cheetah-2.4.4-7 Total Download Size: 0.35 MiB Total Installed Size: 1.76 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... python2-markdown-2.6.11-2-any 103.4 KiB 393K/s 00:00 [#######################################################################################################################] 100% python2-cheetah-2.4.4-7-x86_64 253.4 KiB 2.75M/s 00:00 [#######################################################################################################################] 100% (2/2) checking keys in keyring [#######################################################################################################################] 100% (2/2) checking package integrity [#######################################################################################################################] 100% (2/2) loading package files [#######################################################################################################################] 100% (2/2) checking for file conflicts [#######################################################################################################################] 100% (2/2) checking available disk space [#######################################################################################################################] 100% :: Processing package changes... (1/2) installing python2-markdown [#######################################################################################################################] 100% (2/2) installing python2-cheetah [#######################################################################################################################] 100% Optional dependencies for python2-cheetah python2-pygments: for the CodeHighlighter filter :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [dan@vpn01 ~]$ gr_modtool Usage: gr_modtool <command> [options] -- Run <command> with the given options. gr_modtool help -- Show a list of commands. gr_modtool help <command> -- Shows the help for a given command. Steps to reproduce: - Install the community/gnuradio package. Do not install gnuradio-companion. - Attempt to run the gr_modtool binary. |
This task depends upon
It's minimal effort while hiding the program from the eyes of people who try installing the base package and then think the program is supposed to work. It would make it easier for users to not report erroneous bugs, and make it easier for *us* to figure out whether a bug report is valid.
(I encouraged the OP via IRC to report the bug, but only after I initially got confused and recommended installing the GUI dummy package.)
Most of those gr-companion dependencies are optional, depending on which parts of gnuradio-companion you are using. Moving the binary would cripple gr-companion for the people who know what they are doing.
I opened a dupe of this task here on accident (didn't know search only searches title and not contents) https://bugs.archlinux.org/task/60593
```
Traceback (most recent call last):
File "/usr/bin/gnuradio-companion", line 99, in <module>
run_main()
File "/usr/bin/gnuradio-companion", line 87, in run_main
from gnuradio.grc.main import main
File "/usr/lib/python2.7/site-packages/gnuradio/grc/main.py", line 23, in <module>
from .gui.Platform import Platform
File "/usr/lib/python2.7/site-packages/gnuradio/grc/gui/Platform.py", line 23, in <module>
from ..core.Platform import Platform as _Platform
File "/usr/lib/python2.7/site-packages/gnuradio/grc/core/Platform.py", line 23, in <module>
from . import ParseXML, Messages, Constants
File "/usr/lib/python2.7/site-packages/gnuradio/grc/core/ParseXML.py", line 20, in <module>
from lxml import etree
ImportError: No module named lxml
```
```
Traceback (most recent call last):
File "/usr/bin/gnuradio-companion", line 99, in <module>
run_main()
File "/usr/bin/gnuradio-companion", line 87, in run_main
from gnuradio.grc.main import main
File "/usr/lib/python2.7/site-packages/gnuradio/grc/main.py", line 23, in <module>
from .gui.Platform import Platform
File "/usr/lib/python2.7/site-packages/gnuradio/grc/gui/Platform.py", line 23, in <module>
from ..core.Platform import Platform as _Platform
File "/usr/lib/python2.7/site-packages/gnuradio/grc/core/Platform.py", line 27, in <module>
from .generator import Generator
File "/usr/lib/python2.7/site-packages/gnuradio/grc/core/generator/__init__.py", line 18, in <module>
from Generator import Generator
File "/usr/lib/python2.7/site-packages/gnuradio/grc/core/generator/Generator.py", line 23, in <module>
from Cheetah.Template import Template
ImportError: No module named Cheetah.Template
```