cdist/doc/dev/logs/2011-10-16keyboardirqoutputs
Nico Schottelius 46fdc5ca6e ugly output on random ctrl-c actions
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-16 00:21:24 +02:00

76 lines
3.8 KiB
Text

1)
[0:19] brief:~% ./p/cdist/bin/cdist config -v localhost
INFO: localhost: Running global explorers
INFO: localhost: Running initial manifest /home/users/nico/oeffentlich/rechner/projekte/cdist/conf/manifest
^Chandling in config
Traceback (most recent call last):
File "/usr/lib/python3.2/functools.py", line 176, in wrapper
result = cache[key]
KeyError: (<class 'str'>, '[ \\f\\t]*(\\\\\\r?\\n[ \\f\\t]*)*(#[^\\r\\n]*)?((([0-9]+[jJ]|(([0-9]+\\.[0-9]*|\\.[0-9]+)([eE][-+]?[0-9]+)?|[0-9]+[eE][-+]?[0-9]+)[jJ])|(([0-9]+\\.[0-9]*|\\.[0-9]+)([eE][-+]?[0-9]+)?|[0-9]+[eE][-+]?[0-9]+)|(0[xX][0-9a-fA-F]+|0[bB][01]+|0[oO][0-7]+|(?:0+|[1-9][0-9]*)))|((\\*\\*=?|>>=?|<<=?|!=|//=?|->|[+\\-*/%&|^=<>]=?|~)|[][(){}]|(\\r?\\n|\\.\\.\\.|[:;.,@]))|([bB]?[rR]?\'[^\\n\'\\\\]*(?:\\\\.[^\\n\'\\\\]*)*\'|[bB]?[rR]?"[^\\n"\\\\]*(?:\\\\.[^\\n"\\\\]*)*")|\\w+)', 32)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.2/site.py", line 58, in <module>
import traceback
File "/usr/lib/python3.2/traceback.py", line 3, in <module>
import linecache
File "/usr/lib/python3.2/linecache.py", line 10, in <module>
import tokenize
File "/usr/lib/python3.2/tokenize.py", line 118, in <module>
_compile, (Token, PseudoToken, Single3, Double3))
File "/usr/lib/python3.2/tokenize.py", line 115, in _compile
return re.compile(expr, re.UNICODE)
File "/usr/lib/python3.2/re.py", line 206, in compile
return _compile(pattern, flags)
File "/usr/lib/python3.2/re.py", line 255, in _compile
return _compile_typed(type(pattern), pattern, flags)
File "/usr/lib/python3.2/functools.py", line 180, in wrapper
result = user_function(*args, **kwds)
File "/usr/lib/python3.2/re.py", line 267, in _compile_typed
return sre_compile.compile(pattern, flags)
File "/usr/lib/python3.2/sre_compile.py", line 495, in compile
code = _code(p, flags)
File "/usr/lib/python3.2/sre_compile.py", line 477, in _code
_compile_info(code, p, flags)
File "/usr/lib/python3.2/sre_compile.py", line 366, in _compile_info
[0:19] brief:~% lo, hi = pattern.getwidth()
File "/usr/lib/python3.2/sre_parse.py", line 163, in getwidth
i, j = av[1].getwidth()
File "/usr/lib/python3.2/sre_parse.py", line 153, in getwidth
l, h = av.getwidth()
File "/usr/lib/python3.2/sre_parse.py", line 163, in getwidth
i, j = av[1].getwidth()
File "/usr/lib/python3.2/sre_parse.py", line 153, in getwidth
l, h = av.getwidth()
File "/usr/lib/python3.2/sre_parse.py", line 163, in getwidth
i, j = av[1].getwidth()
File "/usr/lib/python3.2/sre_parse.py", line 153, in getwidth
l, h = av.getwidth()
File "/usr/lib/python3.2/sre_parse.py", line 163, in getwidth
i, j = av[1].getwidth()
File "/usr/lib/python3.2/sre_parse.py", line 153, in getwidth
l, h = av.getwidth()
File "/usr/lib/python3.2/sre_parse.py", line 163, in getwidth
i, j = av[1].getwidth()
File "/usr/lib/python3.2/sre_parse.py", line 148, in getwidth
for op, av in self.data:
KeyboardInterrupt
2)
[0:19] brief:~% ./p/cdist/bin/cdist config -v localhost
INFO: localhost: Running global explorers
INFO: localhost: Running initial manifest /home/users/nico/oeffentlich/rechner/projekte/cdist/conf/manifest
^CFatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "/usr/lib/python3.2/io.py", line 60, in <module>
handling in config
import _io
File "/usr/lib/python3.2/os.py", line 26, in <module>
[0:19] brief:~% import sys, errno
KeyboardInterrupt
/home/users/nico/oeffentlich/rechner/projekte/cdist/conf/manifest/init: line 6: 8370 Aborted __directory /tmp/foo/bar --parents yes --owner nico --group postdrop --recursive yes
[0:19] brief:~%