Ticket #134 (new defect)

Opened 11 months ago

Non standard module handling

Reported by: stefan Assigned to: andrew
Priority: major Milestone:
Component: client Version:
Keywords: Cc:

Description

It is possible to start programs that are not Earthworm modules from startstop, such as Guralp's Scream, or the Java Winston Wave Server and Import EW. Maybe down the road we can bring up the configuration files for Winston since it's so frequently used with Earthworm (WWS.config, ImportEW.config), or even switch to the Scream program, but for now it would probably just be acceptable for programs that don't have a corresponding dot d file to do nothing when clicked on -- and not spit out this traceback:

Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\ogl\_canvas.py", line 219, in OnMouseEvent
    nearest_object.GetEventHandler().OnLeftClick(x, y, keys, attachment)
  File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\ogl\_basic.py", line 994, in OnLeftClick
    self._parent.GetEventHandler().OnLeftClick(x, y, keys, attachment)
  File "C:\isti\src\ewfe\ewfe\src\ewfe_pro\client\gui\views\graph.py", line 514, in OnLeftClick
    self.__left_click()
  File "C:\isti\src\ewfe\ewfe\src\ewfe_pro\client\gui\views\graph.py", line 291, in <lambda>
    self.__server_callbacks.display_module_config(module)
  File "C:\isti\src\ewfe\ewfe\src\ewfe\client\gui\controllers\server.py", line 220, in display_module_config
    self.__installation.connxn.get_module_config(module),
  File "C:\isti\src\ewfe\ewfe\src\ewfe\client\core\installation.py", line 194, in get_module_config
    return self.__server.get_module_config(module)
  File "C:\Python26\lib\xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "C:\Python26\lib\xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "C:\Python26\lib\xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "C:\Python26\lib\xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "C:\Python26\lib\xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: "<type 'exceptions.IOError'>:[Errno 2] No such file or directory: 'c:\\\\earthworm\\\\run_working\\\\params\\\\scream.d'">
Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\ogl\_canvas.py", line 219, in OnMouseEvent
    nearest_object.GetEventHandler().OnLeftClick(x, y, keys, attachment)
  File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\ogl\_basic.py", line 994, in OnLeftClick
    self._parent.GetEventHandler().OnLeftClick(x, y, keys, attachment)
  File "C:\isti\src\ewfe\ewfe\src\ewfe_pro\client\gui\views\graph.py", line 514, in OnLeftClick
    self.__left_click()
  File "C:\isti\src\ewfe\ewfe\src\ewfe_pro\client\gui\views\graph.py", line 291, in <lambda>
    self.__server_callbacks.display_module_config(module)
  File "C:\isti\src\ewfe\ewfe\src\ewfe\client\gui\controllers\server.py", line 220, in display_module_config
    self.__installation.connxn.get_module_config(module),
  File "C:\isti\src\ewfe\ewfe\src\ewfe\client\core\installation.py", line 194, in get_module_config
    return self.__server.get_module_config(module)
  File "C:\Python26\lib\xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "C:\Python26\lib\xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "C:\Python26\lib\xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "C:\Python26\lib\xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "C:\Python26\lib\xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: "<type 'exceptions.IOError'>:[Errno 2] No such file or directory: 'c:\\\\earthworm\\\\run_working\\\\params\\\\java.d'">