Message: Re: error using basic terminal UI Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: error using basic terminal UI 

Forum: (Graphical) User Interfaces
Re: None error using basic terminal UI (Jeremy McCormick)
Date: 13 Sep, 2017
From: Makoto Asai <Makoto Asai>

Hi Jeremy,
Could you please check if there is any user-defined command or directory
that contains a space?
Makoto

On 9/13/17, 6:41 PM, "Jeremy McCormick" <jeremym@slac.stanford.edu> wrote:

>
>*** Discussion title: (Graphical) User Interfaces
>
>I am getting an error when using basic functionality from the Geant4
>terminal:
>
>Starting interactive session ...
>PreInit> ls
>terminate called after throwing an instance of 'std::out_of_range'
>  what():  basic_string::substr
>Aborted
>
>Traceback indicates some problem within the Geant4 terminal code:
>
>#7  0x00007ffff68bed18 in G4VBasicShell::ModifyPath(G4String const&)
>const ()
>    at 
>/nfs/slac/g/hps/hps_soft/gcc/gcc-4.8.5/include/c++/4.8.5/bits/basic_string
>.h:324
>#8  0x00007ffff68bf0a2 in G4VBasicShell::FindDirectory(char const*) const
>()
>    at 
>/u/ey/jeremym/hps-dev/geant4/geant4.10.03.p02/source/interfaces/common/src
>/G4VBasicShell.cc:92
>#9  0x00007ffff68c17bd in G4VBasicShell::ListDirectory(G4String const&)
>const ()
>    at 
>/u/ey/jeremym/hps-dev/geant4/geant4.10.03.p02/source/interfaces/common/src
>/G4VBasicShell.cc:344
>#10 0x00007ffff68b1828 in G4UIterminal::GetCommand(char const*) ()
>    at 
>/u/ey/jeremym/hps-dev/geant4/geant4.10.03.p02/source/interfaces/basic/src/
>G4UIterminal.cc:229
>#11 0x00007ffff68b26df in G4UIterminal::SessionStart() () at
>/u/ey/jeremym/hps-dev/geant4/geant4.10.03.p02/source/interfaces/basic/src/
>G4UIterminal.cc:139
>
>I'm setting up my UI session in the typical way:
>
>UIExec = new G4UIExecutive(argc, argv); UIExec->SessionStart();
>
>This is using Geant4 10.3.p02 with gcc 4.8.
>
>Any idea about why this is happening?
>
>-------------------------------------------------------------
>Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or
>unsubscribe) at: 
>http://hypernews.slac.stanford.edu/HyperNews/geant4/get/userinterface/133.
>html 


 [ MIME part of type application/ms-tnef stripped ]

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: error using basic terminal UI   (Jeremy McCormick - 13 Sep, 2017)
 Add Message Add Message
to: "Re: error using basic terminal UI"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]