Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 698642

Summary: sci-chemistry/avogadro2-1.90.0_p20180211 - avogadro2: ModuleNotFoundError: No module named 'cclib'
Product: Gentoo Linux Reporter: Petr F. Kartsev <petr.kartsev>
Component: Current packagesAssignee: Gentoo Chemistry-Related Packages <sci-chemistry>
Status: RESOLVED OBSOLETE    
Severity: normal CC: andrewammerlaan
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: https://github.com/cclib/cclib
See Also: https://bugs.gentoo.org/show_bug.cgi?id=834325
Whiteboard:
Package list:
Runtime testing required: ---

Description Petr F. Kartsev 2019-10-27 10:18:49 UTC
Hi, avogadro2 gives error message (while working though)

....
Checking for generator scripts in "/usr/local/share/OpenChemistry/Avogadro/dev/inputGenerators"
Checking for generator scripts in "/usr/share/OpenChemistry/Avogadro/dev/inputGenerators"
Checking for file format scripts in "/usr/bin/../lib64/avogadro2/scripts/formatScripts"
Error retrieving metadata for file format script: "/usr/lib64/avogadro2/scripts/formatScripts/cclibScript.py" 
 ("Error running script '/usr/bin/python /usr/lib64/avogadro2/scripts/formatScripts/cclibScript.py --metadata': Abnormal exit status 1 (Unknown error.: Unknown error)\n\nOutput:\nTraceback (most recent call last):\n  File \"/usr/lib64/avogadro2/scripts/formatScripts/cclibScript.py\", line 22, in <module>\n    from cclib.io.ccio import ccopen\nModuleNotFoundError: No module named 'cclib'\n")

(https://cclib.github.io/: 
cclib is an open source library, written in Python, for parsing 
and interpreting the results of computational chemistry packages)

But it is not present in portage and not sure if we could use pip to install outside python packages.

Reproducible: Always

Steps to Reproduce:
1. emerge avogadro2
2. start terminal (e.g. Konsole)
3. run avogadro2
4. see text output in terminal
Actual Results:  
Error retrieving metadata for file format script: "/usr/lib64/avogadro2/scripts/formatScripts/cclibScript.py" 
 ("Error running script '/usr/bin/python /usr/lib64/avogadro2/scripts/formatScripts/cclibScript.py --metadata': Abnormal exit status 1 (Unknown error.: Unknown error)\n\nOutput:\nTraceback (most recent call last):\n  File \"/usr/lib64/avogadro2/scripts/formatScripts/cclibScript.py\", line 22, in <module>\n    from cclib.io.ccio import ccopen\nModuleNotFoundError: No module named 'cclib'\n")

Expected Results:  
something without error messages

Not sure which one:
1. not need cclib at all?
2. using USE flag for switching cclib on or off?
3. have documentation about requirement of cclib
4. ask corresponding maintainers to add cclib python package into portage?

I can add more information if needed - sorry for inconsistencies, this is my first bug report!