BIND 10 #1740: bindctl crash on stats set
BIND 10 Development
do-not-reply at isc.org
Thu Mar 1 22:23:40 UTC 2012
#1740: bindctl crash on stats set
---------------------------------+-----------------------------------------
Reporter: jreed | Owner:
Type: defect | Status: new
Priority: major | Milestone: New Tasks
Component: bind-ctl | Keywords:
Sensitive: 0 | Defect Severity: N/A
Sub-Project: Core | Feature Depending on Ticket:
Estimated Difficulty: 0 | Add Hours to Ticket: 0
Total Hours: 0 | Internal?: 0
---------------------------------+-----------------------------------------
{{{
> Stats set Boss boot_time 2012-02-03T22:49:49Z
Traceback (most recent call last):
File "/usr/pkg/lib/python3.1/cmd.py", line 213, in onecmd
func = getattr(self, 'do_' + cmd)
AttributeError: 'BindCmdInterpreter' object has no attribute 'do_Stats'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/reed/opt/bind10/bin/bindctl", line 149, in <module>
result = tool.run()
File "/home/reed/opt/bind10/lib/python3.1/site-
packages/bindctl/bindcmd.py", line 138, in run
self.cmdloop()
File "/usr/pkg/lib/python3.1/cmd.py", line 139, in cmdloop
stop = self.onecmd(line)
File "/home/reed/opt/bind10/lib/python3.1/site-
packages/bindctl/bindcmd.py", line 466, in onecmd
Cmd.onecmd(self, line)
File "/usr/pkg/lib/python3.1/cmd.py", line 215, in onecmd
return self.default(line)
File "/home/reed/opt/bind10/lib/python3.1/site-
packages/bindctl/bindcmd.py", line 432, in default
self._parse_cmd(line)
File "/home/reed/opt/bind10/lib/python3.1/site-
packages/bindctl/bindcmd.py", line 568, in _parse_cmd
self._validate_cmd(cmd)
File "/home/reed/opt/bind10/lib/python3.1/site-
packages/bindctl/bindcmd.py", line 399, in _validate_cmd
cmd.params[param_name] =
isc.config.config_data.convert_type(param_spec, cmd.params[param_name])
File "/home/reed/opt/bind10/lib/python3.1/site-
packages/isc/config/config_data.py", line 112, in convert_type
map = ast.literal_eval(value)
File "/usr/pkg/lib/python3.1/ast.py", line 49, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "/usr/pkg/lib/python3.1/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 1
boot_time2012-02-03T22:49:49Z
^
SyntaxError: invalid token
}}}
Here is another different example:
{{{
...
File "<unknown>", line 1
last_update_time"2012-03-01T22:21:42Z"
^
SyntaxError: invalid syntax
}}}
--
Ticket URL: <https://bind10.isc.org/ticket/1740>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list