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

Mark Ito marki at jlab.org
Wed Aug 30 15:56:12 EDT 2017


That fix should be on the master branch now.


On 08/30/2017 03:49 PM, Mark Ito wrote:
>
> Dmitry has a fix to the "rcdb" command in progress and it should 
> appear on the master branch presently.
>
> Word on the street says that a functional version of "rcdb" is 
> important for folks using HDPM. It appears that HDPM uses the command 
> as some sort of internal validation of the RCDB build. So another way 
> to do a quick fix would be to defeat the "rcdb" check in HDPM. I'm a 
> little nervous about trying to do that; there may be lots of things 
> for me to learn before releasing even a quick fix...
>
>
> On 08/30/2017 12:43 PM, Mark Ito wrote:
>>
>> 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
>>
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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/6c88621e/attachment-0002.html>


More information about the Halld-offline mailing list