ROOT GUI scaling

And I just tried to copy the rootlogon.py script to $(HOME)/.rootlogon.py (thanks @etejedor) and it works out of the box:

[bellenot@bbcc7x64 rootdev]$ python
Python 2.7.5 (default, Apr  9 2019, 14:30:50)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ROOT
>>> c = ROOT.TCanvas()
aaa
xrandr: Failed to get size of gamma for output default
>>>

I am using ROOT 6.14, where the problem occurs. I’ve tried 6.16 and there everything is working OK. Unfortunatelly, my pyROOT code is not working on 6.16:

fov_convex.DistFromOutside_v(origin.ravel(), direction.ravel(), dist1, len(dist1), steps)
SystemError: void TGeoCompositeShape::DistFromOutside_v(const double* points, const double* dirs, double* dists, int vecsize, double* step) =>
    problem in C++; program state has been reset

It is fine on ROOT 5.38 and 6.14. However, I know I need to create a working example, etc. I will revisit with a separate topic when I have it (unless one of you has a clue just seeing this error). So I think this topic can be closed as solved.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.