sh: test: argument expected and os.environ II

Jeff Epler jepler at unpythonic.net
Tue Nov 9 19:51:13 CET 2004


Please post your messages as replies, rather than as new threads.  When
I answered your question about SHELL, I had no idea you were trying to
solve some other problem.

> The message error 'sh: test: argument expected' comes from the sentence:  
> energy = atoms.GetPotentialEnergy()   
> in the python script I am running. Could be that this sentence is always 
> invoking somehow the Bourne shell?   

Since 'atoms.GetPotentialEnergy()' seems to refer to some class that is
not a part of Python itself, perhaps you should ask on a list for that
package.  If this is the package known as "ASE" (that's what a google
search gives me) then the mailing list you should try may be
    http://listserv.fysik.dtu.dk/mailman/listinfo/campos

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20041109/207beb60/attachment.pgp>


More information about the Python-list mailing list