[Halld-offline] rcdb v0.02 crashes at invocation

Mark Ito marki at jlab.org
Wed Aug 30 12:43:58 EDT 2017


As I understand it the "rcdb" command is still in quasi-beta mode. If 
you want to query the database from the command line, "rcnd" should work.


On 08/30/2017 07:44 AM, Richard Jones wrote:
> 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
>
>
>
>
> _______________________________________________
> Halld-offline mailing list
> Halld-offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-offline

-- 
Mark Ito, marki at jlab.org, (757)269-5295

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20170830/26cde074/attachment-0002.html>


More information about the Halld-offline mailing list