Hi,
I’m trying to use the TGeomPainter in ROOT, but it crash with a segmentation violation. I copy below some lines to reproduce the error. I find the same error in all lxplus machines I tried.
Any idea what is happening?
Thank you and best regards,
José
Thanks Sergey for checking this. I get (const TString &) "/usr/share/root"[15] when running GetEtcDir():
jsotooto@lxplus914 newtest]$ root -l
root [0] TROOT::GetEtcDir()
(const TString &) "/usr/share/root"[15]
root [1] gSystem->Load("libGeom");
root [2] TGeoMaterial *mat = new TGeoMaterial("Vacuum",0,0,0);
Info in <TGeoManager::TGeoManager>: Geometry Geometry, default geometry created
root [3] TGeoMedium *med = new TGeoMedium("Vacuum",1,mat);
root [4] TGeoVolume *top=gGeoManager->MakeBox("Top",med,10.,10.,10.);
root [5] gGeoManager->SetTopVolume(top);
Info in <TGeoManager::SetTopVolume>: Top volume is Top. Master volume is Top
Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100
root [6] gGeoManager->CloseGeometry();
Info in <TGeoManager::CheckGeometry>: Fixing runtime shapes...
Info in <TGeoManager::CheckGeometry>: ...Nothing to fix
Info in <TGeoManager::CloseGeometry>: Counting nodes...
Info in <TGeoManager::Voxelize>: Voxelizing...
Info in <TGeoManager::CloseGeometry>: Building cache...
Info in <TGeoManager::CountLevels>: max level = 1, max placements = 0
Info in <TGeoManager::CloseGeometry>: 1 nodes/ 1 volume UID's in default geometry
Info in <TGeoManager::CloseGeometry>: ----------------modeler ready----------------
root [7] top->SetLineColor(kMagenta);
root [8] gGeoManager->SetTopVisible();
Error in <TGeoManager::GetGeomPainter>: not found plugin root for geo_painter
I’m using a VNC server, might be related to that? However I can open the TBrowser without problems.