AMBER Archive (2002)

Subject: Re: xleap XENVIRONMENT

From: Mark C. Ballew (ballew_at_chem.unr.edu)
Date: Thu Oct 03 2002 - 16:09:25 CDT


On Wed, Oct 02, 2002 at 04:55:31PM -0700, David A. Case wrote:
> On Wed, Oct 02, 2002, Mark C. Ballew wrote:
>
> > I'm having a problem getting xleap to run (Amber 7). When I run xleap, I get
> > the following error:
> >
> > walnut-0:1010 /home/local/amber7/exe> xleap
>
> > Wcl Error: WcWidgetCreation(xaLeap) - Failed
> > Problem: No children could be created from Xrm database.
> > Possible: Resource file not found
> > user environment:
> > XENVIRONMENT is not set,
> > XAPPLRESDIR not terminated with '/'
> > user environment or installation:
> > $XENVIRONMENT/XaLeap does not exist.
> > Possible: top level widget in resource file not named 'xaLeap'
> > Error: Shell widget xaLeap has zero width and/or height
> >
> > Any ideas? Sounds like something to do with .Xdefaults. I am running Redhat
> > 7.2 on a i386.
> >
>
> It's hard to know what is wrong. Here's some things to check:
>
> 1. Do you have a file called XaLeap_wcl (of non-zero length) in
> $AMBERHOME/dat. Is your $AMBERHOME environment variable set?
>
> 2. You can manually "setenv XENVIRONMENT $AMBERHOME/dat/XaLeap_wcl" and
> then run "xaLeap" (this is what the xleap script does for you). Does this
> help?
>
> 3. You could reinstall leap and look carefully at the log file to see if
> there were any errors in the installation step.

I figured it out. The installer, by default, sets ./dat/XaLeap_wcl to be owner readable only (same for ./dat/pixmaps/*). Setting the correct permissions fixed the problem.

Of course, a simple "permission denied" error from the program would have prompted me to check this, but oh well :-)

Thanks for your help everyone!

Mark

-- 
Mark Ballew				ballew_at_chem.unr.edu
University of Nevada, Reno		775-784-4523 ICQ# 6364644
Chemistry Department Systems and Network Administrator