Description of problem: ROOT Python bindings are defective Version-Release number of selected component (if applicable): root-python-6.06.04-1.el7.x86_64 Steps to Reproduce: $ python >>> import ROOT >>> ROOT.kKey_Shift Actual results: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/ROOT.py", line 410, in __getattr1 return getattr( self, name ) File "/usr/lib64/python2.7/site-packages/ROOT.py", line 449, in __getattr2 raise AttributeError( name ) AttributeError: kKey_Shift Expected results: 4128
Forwarded upstream: https://sft.its.cern.ch/jira/browse/ROOT-8221
Upstream's reply to the bug report so far: "KeySymbols.h is not in the PCH; I'd like to hear Bertrand's opinion whether it should be." So this change in behaviour between root 5 and root 6 could be intentional, or not. So applying a patch to change the behaviour in Fedora might not be a good idea before upstream makes a decision. The following works though: $ python Python 2.7.11 (default, Feb 5 2016, 01:53:41) [GCC 6.0.0 20160201 (Red Hat 6.0.0-0.9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ROOT >>> ROOT.gROOT.ProcessLine('#include "KeySymbols.h"') 0L >>> ROOT.kKey_Shift 4128 >>>
We do have an in-house application that bases heavily on ROOT/PyROOT. The entire GUI is written using ROOT's primitives. So for us it is vital to have those symbols exported in PyROOT. However, I do think that this is related to a change in the build-system. If I compile the current release 6.06.04 via the configure script it works.
root-6.06.04-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-0bc674d384
root-6.06.04-4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f5dc66d209
root-6.06.04-4.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-0bc674d384
root-6.06.04-4.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f5dc66d209
The new package does fix the bug for me. Thank You.
root-6.06.04-4.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
root-6.06.04-4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.