From 46fdc5ca6e63a5c641393091ea5fca5f74948a48 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 16 Oct 2011 00:21:24 +0200 Subject: [PATCH] ugly output on random ctrl-c actions Signed-off-by: Nico Schottelius --- doc/dev/logs/2011-10-16keyboardirqoutputs | 76 +++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 doc/dev/logs/2011-10-16keyboardirqoutputs diff --git a/doc/dev/logs/2011-10-16keyboardirqoutputs b/doc/dev/logs/2011-10-16keyboardirqoutputs new file mode 100644 index 00000000..187487de --- /dev/null +++ b/doc/dev/logs/2011-10-16keyboardirqoutputs @@ -0,0 +1,76 @@ +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: (, '[ \\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 + import traceback + File "/usr/lib/python3.2/traceback.py", line 3, in + import linecache + File "/usr/lib/python3.2/linecache.py", line 10, in + import tokenize + File "/usr/lib/python3.2/tokenize.py", line 118, in + _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 +handling in config + import _io + File "/usr/lib/python3.2/os.py", line 26, in +[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:~% +