Symptom is like this, and I have found a way to fix this (patch included) import Geant4 as g4 In [1]: v = g4.G4VisManager.GetConcreteInstance() In [2]: v.GetVerbosity() --------------------------------------------------------------------------- ArgumentError Traceback (most recent call last) /gpfshome/home/benda/art/sim/<ipython console> in <module>() ArgumentError: Python argument types in G4VisManager.GetVerbosity(G4VisManager) did not match C++ signature: GetVerbosity(void) In [3]: v.SetVerboseLevel(1) --------------------------------------------------------------------------- ArgumentError Traceback (most recent call last) /gpfshome/home/benda/art/sim/<ipython console> in <module>() ArgumentError: Python argument types in G4VisManager.SetVerboseLevel(G4VisManager, int) did not match C++ signature: SetVerboseLevel(PyG4VisManager {lvalue}, G4VisManager::Verbosity) SetVerboseLevel(PyG4VisManager {lvalue}, G4String) SetVerboseLevel(PyG4VisManager {lvalue}, int)
Created attachment 165 [details] geant-python-4.9.5-vis-fix.patch
Thanks for pointing out the issue. They were fixed. Just comment that gVisManager is available as the pointer to VisManager, it works fine.