mailRE: Relax installation question


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Dancheck, Barbara on January 08, 2007 - 17:37:
Thanks, Andrew, that did the trick!  (The last %* does not need to be in the 
quotation marks.)
 
Cheers-
Barbara

________________________________

From: andrewjamesperry@xxxxxxxxx on behalf of Andrew Perry
Sent: Sun 1/7/2007 23:46
To: relax-users@xxxxxxx
Cc: Dancheck, Barbara
Subject: Re: Relax installation question


I'm only guessing .. haven't booted into Windows to test it yet, but on a 
hunch, this may work:

Edit the file relax.bat (ie using Notepad) and add some double quotes around 
%~dp0%0 eg change:

python %~dp0%0 %* 

to

python "%~dp0%0" %*

You may need to do this for the %* argument too.

Tell me if it works :)

Cheers,

Andrew


On 1/8/07, Edward d'Auvergne <edward.dauvergne@xxxxxxxxx> wrote: 

        Hi Barbara,
        
        Welcome to the relax users mailing list.  The problem you're
        experiencing is an interesting one, I've not seen it before.  Under MS
        Windows, I run relax under GNU/Linux though, the program versions I 
        have which allow relax to run flawlessly are:
        
        Windows: XP
        Python: 2.4.3
        relax: 1.2.9
        
        The pyreadline, Numeric, and ScientificPython versions are
        inconsequential for your problem.  Which versions of the above 
        programs are you using?  I have a feeling though that this is a PATH
        issue.  Have you setup the Windows system path to include the full
        path of the relax installation directory?  This is described for
        Windows XP in the 'Installation on MS Windows' section of Chapter 1 
of 
        the relax user manual (Section 1.2.3 for relax version 1.2.9).  From
        the error message it appears as if the path is truncated.
        
        Cheers,
        
        Edward
        
        
        On 1/8/07, Dancheck, Barbara < Barbara_Dancheck@xxxxxxxxx 
<mailto:Barbara_Dancheck@xxxxxxxxx> > wrote:
        > Hi-
        >
        > I am trying to install Relax on a Windows PC, but I am having a 
problem getting it up and running.  At the command prompt, I can start Python 
by typing "python".  However, if I type relax, it tells me "python: can't 
open file 'C:\Program': [Errno 2] No such file or directory".  Any 
suggestions on how to get this working? 
        >
        > Thanks!
        > Barbara
        >
        > _______________________________________________
        > relax (http://nmr-relax.com <http://nmr-relax.com/> )
        >
        > This is the relax-users mailing list 
        > relax-users@xxxxxxx
        >
        > To unsubscribe from this list, get a password
        > reminder, or change your subscription options,
        > visit the list information page at 
        > https://mail.gna.org/listinfo/relax-users
        >
        
        _______________________________________________
        relax (http://nmr-relax.com <http://nmr-relax.com/> )
        
        This is the relax-users mailing list
        relax-users@xxxxxxx
        
        To unsubscribe from this list, get a password
        reminder, or change your subscription options,
        visit the list information page at 
        https://mail.gna.org/listinfo/relax-users
        




-- 
---------------------------------------------------------------------------------
 
Pre-Postdoc, Trevor Lithgow Lab
Department of Biochemistry and Molecular Biology and
Bio21 Molecular Science and Biotechnology Institute
30 Flemington Road, University of Melbourne
Parkville 3010, AUSTRALIA 
Ph: +61 3 834442298 || Email: ajperry@xxxxxxxxxxxxxx
---------------------------------------------------------------------------------
 



Related Messages


Powered by MHonArc, Updated Tue Jan 09 01:20:10 2007