[Halld-offline] rcdb v0.02 crashes at invocation
Richard Jones
richard.t.jones at uconn.edu
Wed Aug 30 07:44:43 EDT 2017
Hello Dmitry,
As has been reported earlier, rcdb v0.02 crashes at invocation on a
standard Centos 6 host.
[jonesrt at gluey rcdb]$ rcdb
Traceback (most recent call last):
File "/home/halld/rcdb/python/rcdb/cmd.py", line 65, in <module>
@pass_rcdb_context
File "/home/halld/rcdb/python/click/decorators.py", line 151, in decorator
_param_memo(f, ArgumentClass(param_decls, **attrs))
File "/home/halld/rcdb/python/click/core.py", line 1699, in __init__
Parameter.__init__(self, param_decls, required=required, **attrs)
TypeError: __init__() got an unexpected keyword argument 'help'
The error is in one of the decorators, where it gives a help="" argument
that is not supported by the Parameter class constructor. It is easy to fix
by adding a help=None to the end of the Parameter constructor argument list
in core.py. Would you like me to submit a pull request for this, or leave
it to you?
-Richard Jones
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20170830/fdb8b52c/attachment.html>
More information about the Halld-offline
mailing list