tl;dr secretary workbench now works on whimsy.local

I have verified that _a also accepts target: "_self" for normal operation and 
"_blank" to open the link in a separate window which is what we (actually, I) 
want to do for :emeritusReady status. And maybe for :emeritusPending status. 
Discuss else thread.

But if I process a document, what happens? Does it actually change the real 
remote repositories? I'm still unclear on how the repositories work in both 
whimsyvm6 in production and my whimsy.local. Is there a HOWITWORKS.md 
explaining it?

Thanks,
Craig

> On Jul 17, 2020, at 4:01 PM, Sam Ruby <ru...@intertwingly.net> wrote:
> 
> On Fri, Jul 17, 2020 at 6:05 PM Craig Russell <apache....@gmail.com 
> <mailto:apache....@gmail.com>> wrote:
>> 
>> On Jul 16, 2020, at 5:51 PM, Sam Ruby <ru...@intertwingly.net> wrote:
>>> 
>>> On Thu, Jul 16, 2020 at 8:22 PM Dave Fisher <wave4d...@comcast.net> wrote:
>>>> 
>>>> Latest versions of Catalina have locked up permissions.
>>> 
>>> Yea, you will find that your /srv directory has been relocated.
>>> Figure out where they put it[1], and see if there is anything in there
>>> you need.  Otherwise, delete it.
>>> 
>>> Then brew uninstall ruby and close the window.
>>> 
>>> Open a new command window, and verify that you are running ruby from
>>> /usr/bin, and that it is version 2.6.  Here's what I see:
>>> 
>>> rubys@sams-air ~ % which ruby
>>> /usr/bin/ruby
>>> rubys@sams-air ~ % ruby -v
>>> ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
>>> 
>>> If you don't see similar values do not proceed to the next step.
>>> 
>>> Finally, execute
>>> 
>>>  whimsy/config/setupmymac --all
>>> 
>>> Be sure to specify --all, otherwise there are a number of things that
>>> will be left pointing to the now uninstalled Ruby.  In order to
>>> address the locked up permissions issue that Dave alluded to, this
>>> will require a reboot.  Once that is done, rerun
>>> whimsy/config/setupmymac --all again.
>> 
>> My ruby:
>> ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
>> 
>> I did setupmymac three times and rebooted twice. Now whimsy.local:80 works 
>> for the "home" page.
>> 
>> The last time I did setupmymac I got a few hundred errors [1]
> 
> Feel free to ignore those warnings.
> 
>> Roster works,
>> board agenda works,
>> secretary workbench has no documents to process and (check for new mail) 
>> gives me:
>> Exception: #<Errno::EACCES: Permission denied @ dir_s_mkdir - 
>> officers-secretary>
>> 
>> I'm still not clear on which svn repository and mailboxes are used by the 
>> local tool here.
> 
> setupmymac didn't create the necessary directories.
> 
> Fetching the directories will either require you setting up ssh for
> the _www user OR for you to change ownership of these directories
> temporarily to you, fetching the contents, and then changing ownership
> back.  For now, do the latter.  Pull the latest whimsy code to get my
> changes, then:
> 
> cd /srv/whimsy
> ./config/setupmymac --user
> cd www/secretary/workbench
> rake sync
> cd -
> ./config/setupmymac
> 
>> Thanks,
>> Craig
> 
> - Sam Ruby
> 
>> [1] ...
>> $ tools/collate_minutes.rb
>> _INFO 2020-07-17 14:47:54 -0700 Starting tools/collate_minutes.rb
>> _INFO 2020-07-17 14:47:54 -0700 Processing minutes matching 
>> board_minutes_20*.txt
>> _INFO 2020-07-17 14:47:54 -0700 Most recent update: 2020-07-17 20:58:24 UTC
>> _INFO 2020-07-17 14:47:54 -0700 Index file update:  2020-06-17 09:44:30 
>> -0700 Diff: -2607234.670521082
>> _INFO 2020-07-17 14:47:54 -0700 Updating files
>> _INFO 2020-07-17 14:47:54 -0700 Fetching remote copy of committee-info.json
>> 2020_07_15
>> element h2: validity error : ID 2017-12-20 already defined
>> element a: validity error : ID minutes_2017_12_20 already defined
>> _INFO 2020-07-17 14:47:58 -0700 Writing AGE.html
>> element h2: validity error : ID 2010-10-20 already defined
>> element a: validity error : ID minutes_2010_10_20 already defined
>> _INFO 2020-07-17 14:47:58 -0700 Writing APISIX.html
>> element h2: validity error : ID 2012-07-25 already defined
>> element a: validity error : ID minutes_2012_07_25 already defined
>> element h2: validity error : ID 2012-04-18 already defined
>> element a: validity error : ID minutes_2012_04_18 already defined
>> element h2: validity error : ID 2012-01-24 already defined
>> 
>>> 
>>> - Sam Ruby
>>> 
>>> [1] 
>>> https://support.apple.com/guide/mac-help/a-relocated-items-folder-upgrading-macos-mac-mchl8ae423a3/mac
>>> 
>>> 
>>> 
>>>> Sent from my iPhone
>>>> 
>>>>> On Jul 16, 2020, at 4:41 PM, Craig Russell <apache....@gmail.com> wrote:
>>>>> 
>>>>> I upgraded to Catalina and tried setupmymac [1]
>>>>> 
>>>>> Anything that is obvious?
>>>>> 
>>>>> Thanks,
>>>>> Craig
>>>>> 
>>>>> [1] Bundler::PermissionError (Bundler::PermissionError)
>>>>> /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/shared_helpers.rb:105:in
>>>>>  `rescue in filesystem_access'
>>>>> /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/shared_helpers.rb:102:in
>>>>>  `filesystem_access'
>>>>> /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/definition.rb:353:in
>>>>>  `lock'
>>>>> /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/runtime.rb:114:in 
>>>>> `lock'
>>>>> /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/runtime.rb:41:in 
>>>>> `setup'
>>>>> /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler.rb:149:in `setup'
>>>>> /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/setup.rb:20:in 
>>>>> `block in <top (required)>'
>>>>> /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/ui/shell.rb:136:in 
>>>>> `with_level'
>>>>> /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/ui/shell.rb:88:in 
>>>>> `silence'
>>>>> /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/bundler/setup.rb:20:in 
>>>>> `<top (required)>'
>>>>> /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
>>>>>  `require'
>>>>> /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
>>>>>  `require'
>>>>> /usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:361:in
>>>>>  `activate_gem'
>>>>> /usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:221:in
>>>>>  `block in run_load_path_setup_code'
>>>>> /usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:525:in
>>>>>  `running_bundler'
>>>>> /usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:220:in
>>>>>  `run_load_path_setup_code'
>>>>> /usr/local/Cellar/passenger/6.0.5/libexec/src/helper-scripts/rack-preloader.rb:91:in
>>>>>  `preload_app'
>>>>> /usr/local/Cellar/passenger/6.0.5/libexec/src/helper-scripts/rack-preloader.rb:189:in
>>>>>  `block in <module:App>'
>>>>> /usr/local/Cellar/passenger/6.0.5/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:378:in
>>>>>  `run_block_and_record_step_progress'
>>>>> /usr/local/Cellar/passenger/6.0.5/libexec/src/helper-scripts/rack-preloader.rb:188:in
>>>>>  `<module:App>'
>>>>> /usr/local/Cellar/passenger/6.0.5/libexec/src/helper-scripts/rack-preloader.rb:30:in
>>>>>  `<module:PhusionPassenger>'
>>>>> /usr/local/Cellar/passenger/6.0.5/libexec/src/helper-scripts/rack-preloader.rb:29:in
>>>>>  `<main>'
>>>>> Craig L Russell
>>>>> c...@apache.org
>>>>> 
>>>> 
>> 
>> Craig L Russell
>> c...@apache.org

Craig L Russell
c...@apache.org

Reply via email to