I'm just confused why the password is needed, since the "_" contains user and 
password.

Where does the password go when using multiUpdate? It's in the "_" that's 
passed in. Where is the password missing?

Thanks,
Craig

> On Jun 29, 2020, at 3:56 PM, sebb <seb...@gmail.com> wrote:
> 
> On Mon, 29 Jun 2020 at 23:31, Craig Russell <apache....@gmail.com> wrote:
>> 
>> I'm testing the "move to emeritus" function with the changes that will move 
>> emeritus-requests-received/member.txt to emeritus.
>> 
>> All the code is in branch roster-emeritus. I'm getting this error from 
>> memstat.json.rb when processing the move to  emeritus. I don't know if it's 
>> really a credentials issue or not. The transcript messages are not very 
>> helpful...
>> 
>> Any help?
> 
> Try putting some debug into the code, e.g. at memstat.json.rb:21 add:
> 
> raise RuntimeError.new("No password") unless env.password
> 
> You should also be able to add items to the transcript using
> 
> Wunderbar.warn
> or perhaps
> _.system('echo',...)
> 
>> Thanks,
>> Craig
>> 
>> {
>>  "transcript": [
>>    "$ svn checkout --non-interactive --depth empty -- 
>> https://svn.apache.org/repos/private/foundation 
>> /var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/d20200629-3669-14icn6l",
>>    " U   
>> /var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/d20200629-3669-14icn6l",
>>    "Checked out revision 97873.",
>>    "",
>>    "$ svn update --non-interactive -- 
>> /var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/d20200629-3669-14icn6l/members.txt",
>>    "Updating 
>> '/var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/d20200629-3669-14icn6l/members.txt':",
>>    "A    
>> /var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/d20200629-3669-14icn6l/members.txt",
>>    "Updated to revision 97873.",
>>    "",
>>    "$ svnmucc --non-interactive --extra-args 
>> /var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/d20200629-3669-14icn6l/svnmucc_input20200629-3669-1pq2n8h
>>  --message Action\\ emeritus\\ for\\ sanjiva --no-auth-cache --revision 
>> 97873",
>>    "svnmucc: missing argument: --password",
>>    "Type 'svnmucc --help' for usage."
>>  ],
>>  "exception": "#<RuntimeError: svnmucc failure 1 committing>",
>>  "backtrace": [
>>    "/Users/clr/apache/git/whimsy/lib/whimsy/asf/svn.rb:768:in 
>> `multiUpdate_'",
>>    
>> "/Users/clr/apache/git/whimsy/www/roster/views/actions/memstat.json.rb:22:in 
>> `_evaluate'",
>>    "/Users/clr/apache/git/whimsy/www/roster/main.rb:204:in `block in <top 
>> (required)>'",
>>    "/Users/clr/apache/git/whimsy/lib/whimsy/asf/rack.rb:223:in `call'",
>>    "/Users/clr/apache/git/whimsy/lib/whimsy/asf/rack.rb:48:in `call'",
>>    "/Users/clr/apache/git/whimsy/lib/whimsy/asf/rack.rb:200:in `call'",
>>    "/Users/clr/apache/git/whimsy/lib/whimsy/asf/rack.rb:254:in `call'"
>>  ]
>> }
>> Craig L Russell
>> c...@apache.org
>> 

Craig L Russell
c...@apache.org

Reply via email to