Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885775 - sci-physics/root-6.24.06-r2: rootbrowse: ModuleNotFoundError: No module named 'cmdLineUtils'
Summary: sci-physics/root-6.24.06-r2: rootbrowse: ModuleNotFoundError: No module named...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-13 11:57 UTC by APN-Pucky
Modified: 2023-02-13 20:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description APN-Pucky 2022-12-13 11:57:56 UTC
rootbrowse any.root gives

Traceback (most recent call last):
  File "/usr/lib/root/6.24/bin/rootbrowse", line 10, in <module>
    import cmdLineUtils
ModuleNotFoundError: No module named 'cmdLineUtils'

The cmdLineUtils.py is actually installed in /usr/lib/root/6.24/lib on my system.

From the github of root (https://github.com/root-project/root/tree/master/main/python) it looks like rootbrowse.py and cmdLineUtils.py are in the same directory.

I am using the recent root 6.24 with USE="python".



Reproducible: Always

Steps to Reproduce:
1. rootbrowse any.root
Actual Results:  
Traceback (most recent call last):
  File "/usr/lib/root/6.24/bin/rootbrowse", line 10, in <module>
    import cmdLineUtils
ModuleNotFoundError: No module named 'cmdLineUtils'

Expected Results:  
open window or browser.

[I] sci-physics/root
     Available versions:  
     (6.24) (~)6.24.06-r2(6.24/06)^t
     (6.26) ~6.26.08(6.26/08)^t **6.26.9999(6.26/9999)*l^t
     (0)    **9999*l^t
       {R +X aqua +asimage c++11 c++14 +c++17 cuda cudnn +davix debug emacs +examples fftw fits fortran +gdml graphviz +gsl http libcxx +minuit mpi mysql odbc +opengl oracle postgres prefix pythia6 pythia8 +python qt5 +roofit +root7 shadow sqlite +ssl +tbb test +tmva +unuran uring vc vmc +xml xrootd PYTHON_SINGLE_TARGET="python3_8 python3_9 python3_10"}
     Installed versions:  6.24.06-r2(6.24/06)^t(17:34:01 09/23/22)(X asimage c++17 cuda davix examples fortran gdml gsl minuit opengl python roofit root7 ssl tbb tmva unuran xml -R -aqua -c++11 -c++14 -cudnn -debug -emacs -fftw -fits -graphviz -http -libcxx -mpi -mysql -odbc -oracle -postgres -prefix -pythia6 -pythia8 -qt5 -shadow -sqlite -test -uring -vc -vmc -xrootd PYTHON_SINGLE_TARGET="python3_9 -python3_8")
     Homepage:            https://root.cern
     Description:         C++ data analysis framework and interpreter from CERN
Comment 1 Guilherme Amadio gentoo-dev 2023-02-13 20:14:47 UTC
Current versions in the tree are not affected by this problem as far as I can tell.