crate/crash

Download Crash bundle parse error

yuchen99 opened this issue · 2 comments

[/opt/crate/bin]./crash_standalone_latest 
./crash_standalone_latest/crate/client/http.py:315: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
cr> 
cr> 
cr> 
cr> \connect 127.0.0.1:4200;
./crash_standalone_latest/crate/crash/command.py:457: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
Failed to parse: 127.0.0.1:4200;
cr> \connect 127.0.0.1:4200;
Failed to parse: 127.0.0.1:4200;

uname -a

Linux dbproxy 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

python -V
Python 2.6.6

seut commented

The problem is, that a semicolon ; is not wanted (and seems to lead to parsing errors) for all internal (non-sql) crash commands.
This will work:
cr> \connect 127.0.0.1:4200

Anyway we'll put a task on our backlog to just ignore the last semicolon in such a case.
Or maybe you want to contribute? ;)

Closing this as it has been fixed with d6386eb

The fix will be part of the next crash release.