# Error code 500 when example B1 run

**URL:** <https://geant4-forum.web.cern.ch/t/error-code-500-when-example-b1-run/10223>\
**Category:** Particles, Track, Event, Run and Biasing\
**Created:** [March 11, 2023, 7:31pm UTC](https://geant4-forum.web.cern.ch/t/error-code-500-when-example-b1-run/10223 "2023-03-11T19:31:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mzaatreh-phs](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/mzaatreh-phs/32/6214_2.png) [@mzaatreh-phs](https://geant4-forum.web.cern.ch/u/mzaatreh-phs)\
**Post date:** [March 11, 2023, 7:31pm UTC](https://geant4-forum.web.cern.ch/t/error-code-500-when-example-b1-run/10223/1 "2023-03-11T19:31:06Z")

</div>

Dear All  
I install geant4 without any error but when I compile example B1 and run it the following massage come out:  
error code : 500  
\*\*\* This is just a warning message. \*\*\*  
-------- WWWW -------- G4Exception-END --------- WWWW -------

\*\*\*\*\* Illegal parameter (0) \</vis/open OGL 600x600-0+0\> \*\*\*\*\*

\*\*\*\*\* Batch is interrupted!! \*\*\*\*\*

-------- WWWW ------- G4Exception-START -------- WWWW -------  
\*\*\* G4Exception : UIMAN0123  
issued by : G4UImanager::ApplyCommand  
Command aborted (500)  
Error code : 500  
\*\*\* This is just a warning message. \*\*\*  
-------- WWWW -------- G4Exception-END --------- WWWW -------

\*\*\*\*\* Illegal parameter (0) \</control/execute vis.mac\> \*\*\*\*\*

\*\*\*\*\* Batch is interrupted!! \*\*\*\*\*

-------- WWWW ------- G4Exception-START -------- WWWW -------  
\*\*\* G4Exception : UIMAN0123  
issued by : G4UImanager::ApplyCommand  
Command aborted (500)  
Error code : 500  
\*\*\* This is just a warning message. \*\*\*  
-------- WWWW -------- G4Exception-END --------- WWWW -------

---

<div class="post-metadata">

**Author:** ![MaxLoep](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/maxloep/32/3595_2.png) [@MaxLoep](https://geant4-forum.web.cern.ch/u/MaxLoep)\
**Post date:** [March 12, 2023, 2:21am UTC](https://geant4-forum.web.cern.ch/t/error-code-500-when-example-b1-run/10223/2 "2023-03-12T02:21:51Z")

</div>

See here:

[Error 500 when compiling examples - Getting Started - Geant4 Forum (cern.ch)](https://geant4-forum.web.cern.ch/t/error-500-when-compiling-examples/10116)

Regards

---

<div class="post-metadata">

**Author:** ![mzaatreh-phs](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/mzaatreh-phs/32/6214_2.png) [@mzaatreh-phs](https://geant4-forum.web.cern.ch/u/mzaatreh-phs)\
**Post date:** [March 12, 2023, 4:22pm UTC](https://geant4-forum.web.cern.ch/t/error-code-500-when-example-b1-run/10223/3 "2023-03-12T16:22:38Z")

</div>

thank you  
but I install Geant4 in Ubuntu 22.04.2 LTS not in windows

---

<div class="post-metadata">

**Author:** ![mkelsey](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/mkelsey/32/49_2.png) [@mkelsey](https://geant4-forum.web.cern.ch/u/mkelsey)\
**Post date:** [March 12, 2023, 4:48pm UTC](https://geant4-forum.web.cern.ch/t/error-code-500-when-example-b1-run/10223/4 "2023-03-12T16:48:29Z")

</div>

Did you install Geant4 with OpenGL support?

---

<div class="post-metadata">

**Author:** ![mzaatreh-phs](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/mzaatreh-phs/32/6214_2.png) [@mzaatreh-phs](https://geant4-forum.web.cern.ch/u/mzaatreh-phs)\
**Post date:** [March 14, 2023, 2:39pm UTC](https://geant4-forum.web.cern.ch/t/error-code-500-when-example-b1-run/10223/5 "2023-03-14T14:39:32Z")

</div>

no I will give it try thank you
