Message: Re: How to enable Qt (OGLIQt) in GATE (Mac OS X)? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: How to enable Qt (OGLIQt) in GATE (Mac OS X)? 

Forum: (Graphical) User Interfaces
Re: Question How to enable Qt (OGLIQt) in GATE (Mac OS X)? (Mojca Miklavec)
Date: 05 Jul, 2013
From: Mojca Miklavec <Mojca Miklavec>

On Fri, 08 Apr 2011 00:21:27 GMT, Mojca Miklavec wrote:
> When I compile Geant4 applications, I get Qt viewer launched by default
> (OGLIQt).
> 
> However when I try to run Gate, Gate will open in Terminal (with OGLIX
> working just fine, but very inconvenient to work with), but when I try
> to run
> 
>     /vis/open OGLIQt
> 
> it will start misbehaving heavily:
> 
>         [G4-cerr] 
> !!! GateMDBFile:   
>         The definition of the element/material 'Air' is incorrect: 
>         The unit found for the density field ('.29 mg/cm3')
>         is not in the list of autorised units ('g/cm3','g/m3','g/mm3','kg/cm3','kg/m3','kg/mm3','mg/cm3','mg/m3','mg/mm3') for this field.
>         You should check this definition in the database file.
>         Computation aborted!!!
> 
>         [G4-cerr] 
>         [G4-cerr] *** G4Exception: Aborting execution ***
> ^CAbort trap

I have just found this old thread while experiencing the same problems again. The problem seems to be that Qt somehow reads the locale and starts misbehaving when parsing numbers (it expects comma instead of the dot for decimal separator). If I change the locale, everything starts working. I'm not sure whether this is something that Geant4 or Gate should fix though.

Mojca

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

1 Note: Re: How to enable Qt (OGLIQt) in GATE (Mac OS X)?   (Mojca Miklavec - 05 Jul, 2013)
 Add Message Add Message
to: "Re: How to enable Qt (OGLIQt) in GATE (Mac OS X)?"

 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 ]