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

COMMAND NOT FOUND #79

Open
adavizehameed opened this issue Nov 1, 2023 · 1 comment
Open

COMMAND NOT FOUND #79

adavizehameed opened this issue Nov 1, 2023 · 1 comment

Comments

@adavizehameed
Copy link

Hello,
I am new learner of geant4 GATE. I just started to follow the GATE users Guide V8.0. The PET example therein is what i am trying to replicate as a first time learner but got this error messages at the Fifth Stage of command:

#Fifth step: Setting-up the digitizer

/gate/digitizer/Singles/insert adder
/gate/digitizer/Singles/insert readout
/gate/digitizer/Singles/readout/setDepth 1

E N E R G Y B L U R R I N G

#/gate/digitizer/Singles/insert blurring
/gate/digitizer/Singles/blurring/setResolution 0.19
/gate/digitizer/Singles/blurring/setEnergyOfReference 511. keV

E N E R G Y W I N D O W

/gate/digitizer/Singles/insert thresholder
/gate/digitizer/Singles/thresholder/setThreshold 350. keV
/gate/digitizer/Singles/insert upholder
/gate/digitizer/Singles/upholder/setUphold 650. keV

ERROR MESSAGES

ERROR: G4VisCommandsViewerZoom::SetNewValue: no current viewer.
ERROR: G4VisCommandsViewerPan::SetNewValue: no current viewer.
ERROR: G4VisCommandsViewerZoom::SetNewValue: no current viewer.
ERROR: G4VisCommandsViewerPan::SetNewValue: no current viewer.
***** COMMAND NOT FOUND </gate/digitizer/Singles/insert adder> *****

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

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

***** COMMAND NOT FOUND </control/execute mac/geometry.mac> *****

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

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

[Core-0] End of macro mac/main.mac

Please help me out, the above command was written in geometry.mac file of the mac folder.
Thanks in anticipation

@VictorSanchz
Copy link

What version of Gate are you using? Because the definition of the digitizer have been modified in modern versions. You can check the documentation.

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