[MMTK] The error about view module

Bin Gu gubit at 163.com
Tue Nov 22 11:41:10 CET 2005


Hi
I am a green hand of MMTK. When I use the view module in a simple test which
contains:
~~~~~~~~~~~~~~~~~~~~~
from MMTK.Visualization import view
view(universe) 
~~~~~~~~~~~~~~~~~~~~~

there is always the following error:

~~~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
  File "E:\gubin\exampl\uracil.py", line 17, in ?
    view(universe)
  File "C:\Python23\Lib\site-packages\MMTK\Visualization.py", line 157, in
view
    apply(object.view, parameters)
  File "C:\Python23\Lib\site-packages\MMTK\Collection.py", line 366, in view
    Visualization.viewConfiguration(self, configuration, format)
  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.

Gu Bin





More information about the mmtk mailing list