ratt-ru / pyxis

Python Extensions for Interferometry Scripting
3 stars 5 forks source link

when LOG is not set, error reporting in per_ms produces its own error #26

Closed o-smirnov closed 9 years ago

o-smirnov commented 9 years ago
2015/02/18 12:33:37 [3] ERROR: Exception raised, aborting
Traceback (most recent call last):
  File "/home/oms/pyxis/Pyxis/bin/pyxis", line 281, in <module>
    Pyxis.Internals.run(*commands);
  File "/home/oms/pyxis/Pyxis/Internals.py", line 1083, in run
    result = comcall(*args,**kws);
  File "/home/oms/pyxis/Pyxis/Commands.py", line 381, in per_ms
    _per("MS",True,*commands);
  File "/home/oms/pyxis/Pyxis/Commands.py", line 320, in _per
    _verbose(2,"log is",Pyxis.Context['LOG'],sync=True);
KeyError: 'LOG'