Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when DISPLAY not set #285

Closed
steob92 opened this issue Dec 12, 2024 · 3 comments
Closed

Error when DISPLAY not set #285

steob92 opened this issue Dec 12, 2024 · 3 comments

Comments

@steob92
Copy link
Contributor

steob92 commented Dec 12, 2024

I'm not sure if this is an ED issue or a ROOT issue. Nonetheless its worth report at least as a known issue.

We've (@leandrorizk) been debugging issues at McGill when running evndisp, not finding dictionaries, for example:

Warning in <UnknownClass::SetDisplay>: DISPLAY not set, setting it to IP:0.0
Error in <TCling::RegisterModule>: Cannot open shared library /raid/reedbuck/lrizk/Eventdisplay/EventDisplay_v4/bin/evndisp for dictionary VPlotUtilities_Dict:
  /raid/reedbuck/lrizk/Eventdisplay/EventDisplay_v4/bin/evndisp: cannot dynamically load position-independent executable
Error in <TCling::RegisterModule>: Cannot open shared library /raid/reedbuck/lrizk/Eventdisplay/EventDisplay_v4/bin/evndisp for dictionary VEvndispRunParameter_Dict:
  /raid/reedbuck/lrizk/Eventdisplay/EventDisplay_v4/bin/evndisp: cannot dynamically load position-independent executable
Error in <TCling::RegisterModule>: Cannot open shared library /raid/reedbuck/lrizk/Eventdisplay/EventDisplay_v4/bin/evndisp for dictionary VGlobalRunParameter_Dict:
  /raid/reedbuck/lrizk/Eventdisplay/EventDisplay_v4/bin/evndisp: cannot dynamically load position-independent executable
Error in <TCling::RegisterModule>: Cannot open shared library /raid/reedbuck/lrizk/Eventdisplay/EventDisplay_v4/bin/evndisp for dictionary VEvndispReconstructionParameter_Dict:
  /raid/reedbuck/lrizk/Eventdisplay/EventDisplay_v4/bin/evndisp: cannot dynamically load position-independent executable
Error in <TCling::RegisterModule>: Cannot open shared library /raid/reedbuck/lrizk/Eventdisplay/EventDisplay_v4/bin/evndisp for dictionary VImageCleaningRunParameter_Dict:
  /raid/reedbuck/lrizk/Eventdisplay/EventDisplay_v4/bin/evndisp: cannot dynamically load position-independent executable
Error in <TCling::RegisterModule>: Cannot open shared library /raid/reedbuck/lrizk/Eventdisplay/EventDisplay_v4/bin/evndisp for dictionary VEffectiveAreaCalculatorMCHistograms_Dict:
  /raid/reedbuck/lrizk/Eventdisplay/EventDisplay_v4/bin/evndisp: cannot dynamically load position-independent executable

The Error in <TCling::RegisterModule>: Cannot open shared library appears to be misleading, the error is related to the first line:

Warning in <UnknownClass::SetDisplay>: DISPLAY not set, setting it to IP:0.0

I've removed the IP form above. After some tireless debugging from our sysadmin, setting DISPLAY to anything, even an empty string, resolves the issue.

@GernotMaier
Copy link
Member

Sorry for not replying earlier. Not sure what I can do. The issue with display/root/xwindows being difficult to set is around for a while. root has an option to display in a browser without using xwindows, but I never tried it.

@steob92
Copy link
Contributor Author

steob92 commented Dec 20, 2024

No worries.

Yeah I suspect its mostly a ROOT issue, but it was non-trivial to debug so worth reporting for future debuggers. I've used the web browser for TBrowsers but I think this is related to just graphics in general. Some maybe anything that uses a ROOT-based GUI or TCanvas for plotting might see a similar issue.

@GernotMaier
Copy link
Member

Thanks. Do we want to close this issue then? Open issues make me nervous, at it usually means that I have to do something...

@GernotMaier GernotMaier closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants