Thanks. Note my ISP's email system is broken, so replies will be late. On 2017-06-08 11:49 (-0400), Sam Ruby <[email protected]> wrote: > On Thu, Jun 8, 2017 at 10:54 AM, Shane Curcuru <[email protected]> wrote: > > Two questions: > > > > - Can someone test my new branch? I can't test locally, and I don't > > want it auto-deployed until we know it doesn't display any private data. > > > > https://github.com/apache/whimsy/blob/public-orgchart/www/docs/orgchart.cgi > > Not sure what you wanted tested, but when I click on Assistant Secretary, I > get:> > #<NoMethodError: undefined method `key?' for nil:NilClass> Fixed, I had copypasta errors with some variables cribbed from roster.
...snip... > > - My local SVN checkouts can no longer be accessed by whimsy. Going to > > http://whimsy.local/status/svn shows this error for all private repos: > > > > svn: E170001: OPTIONS of > > 'https://svn.apache.org/repos/infra/infrastructure/apmail/trunk/bin': > > authorization failed: Could not authenticate to server: rejected Basic > > challenge (https://svn.apache.org) > > > > I don't know what's changed; I certainly didn't change anything on > > purpose. > > Accessing (as in read) local checkouts should not require server > authentication. Sure, but the actual issue is I can't test anything locally anymore that uses ASF:SVN or ASF:GIT at all, and I'm not sure where to look to debug: http://whimsy.local/test/test * This works. http://whimsy.local/docs/orgchart * This gives an error: #<Exception: Unable to find svn checkout for https://svn.apache.org/repos/private/foundation/officers/personnel-duties> /Users/curcuru/src/g/whimsy/lib/whimsy/asf/svn.rb:60:in `find!' /Users/curcuru/src/g/whimsy/lib/whimsy/asf/svn.rb:35:in `[]' /Users/curcuru/src/g/whimsy/lib/whimsy/asf/orgchart.rb:12:in `load' /Users/curcuru/src/g/whimsy/www/docs/orgchart.cgi:158:in `block (3 levels) in <main>' /Users/curcuru/src/g/whimsy/lib/whimsy/asf/themes.rb:235:in `block (3 levels) in _whimsy_body' /Users/curcuru/src/g/whimsy/lib/whimsy/asf/themes.rb:234:in `block (2 levels) in _whimsy_body' /Users/curcuru/src/g/whimsy/lib/whimsy/asf/themes.rb:233:in `block in _whimsy_body' /Users/curcuru/src/g/whimsy/lib/whimsy/asf/themes.rb:192:in `_whimsy_body' /Users/curcuru/src/g/whimsy/www/docs/orgchart.cgi:137:in `block (2 levels) in <main>' /Users/curcuru/src/g/whimsy/www/docs/orgchart.cgi:136:in `block in <main>' http://whimsy.local/committers/tools * This gives error: (and I *know* this used to work fine) #<Exception: Cannot find Git: infrastructure-puppet> /Users/curcuru/src/g/whimsy/tools/wwwdocs.rb:46:in `get_auth' /Users/curcuru/src/g/whimsy/tools/wwwdocs.rb:75:in `get_annotated_scan' /Users/curcuru/src/g/whimsy/www/committers/tools.cgi:38:in `block (3 levels) in <main>' /Users/curcuru/src/g/whimsy/lib/whimsy/asf/themes.rb:235:in `block (3 levels) in _whimsy_body' /Users/curcuru/src/g/whimsy/lib/whimsy/asf/themes.rb:234:in `block (2 levels) in _whimsy_body' /Users/curcuru/src/g/whimsy/lib/whimsy/asf/themes.rb:233:in `block in _whimsy_body' /Users/curcuru/src/g/whimsy/lib/whimsy/asf/themes.rb:192:in `_whimsy_body' /Users/curcuru/src/g/whimsy/www/committers/tools.cgi:13:in `block (2 levels) in <main>' /Users/curcuru/src/g/whimsy/www/committers/tools.cgi:12:in `block in <main>' > > > The only unusual behavior was that recently when associating with new > > wifi APs, my OSX 10.11.6 would not be able to save the new password in > > the keychain because it couldn't access the "passenger" keychain. I'm > > wondering if some of the whimsy local server setup somehow mixed up my > > local keychains. > > I'm fairly ignorant on OS/X keychains, as in I haven't used them as of yet. The keychain issue might possibly be related to http://whimsy.local/status/svn giving the E170001 error. But it's not related to the fact that whimsy.local can't use ASF:SVN or ASF:GIT anymore. I haven't changed anything that I think would affect this, other than `rake update` which I suppose could have pulled down updated gems or something. I did add the whimsy/lib/asf/orgchart.rb file locally, but I didn't add it to asf.rb or the gem or anything. I edited ~/.whimsy to try to point to the personnel-duties directory, but I changed it back and the error still happens. So something broke locally, but I'm stuck for the moment figuring out where to look (although at the moment it's hard to concentrate working in the car at the barn). Thanks for any pointers, and if you have a chance, test the new orgchart which I'm pretty sure works, although I'm not happy with all of the layout. -- - Shane https://www.apache.org/foundation/marks/resources
