[MMTK] The error about view module

khinsen at cea.fr khinsen at cea.fr
Tue Nov 22 12:46:28 CET 2005

On Nov 22, 2005, at 11:41, Bin Gu wrote:

>   File "C:\Python23\Lib\site-packages\MMTK\Visualization.py", line  
> 197, in
> genericViewConfiguration
>     win32api.ShellExecute(0, "open", filename, None, "", 1)
> error: (5, 'ShellExecute', '\xbe\xdc\xbe\xf8\xb7\xc3\xce\xca\xa1\xa3')
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Any clues as to how to rectify this problem would be greatly  
> appreciated.

Since I don't have Windows, I can only explain how this is supposed  
to work. Perhaps someone with practical experience can say more.

The call to view(universe) writes the universe to a temporary PDB  
file and then opens it using the Windows interface. This should have  
the same result as double-clicking on a PDB file in Windows, i.e.  
opening the file using a registered PDB viewer.

A first check would be double-clicking on a PDB file on your computer  
to see what happens.

Konrad Hinsen
Laboratoire Léon Brillouin, CEA Saclay,
91191 Gif-sur-Yvette Cedex, France
Tel.: +33-1 69 08 79 25
Fax: +33-1 69 08 82 61
E-Mail: khinsen at cea.fr

More information about the mmtk mailing list