Here’s the error log from commit with the pending.yml that I sent earlier.

/Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, referer: 
http://whimsy.local/secretary/workbench/file.cgi
[Mon Aug 22 19:53:53.207352 2016] [cgi:error] [pid 12884] [client ::1:49514] 
AH01215: _ERROR #<Errno::ECONNREFUSED: Connection refused - connect(2) for 
"localhost" port 25>: 
/Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, referer: 
http://whimsy.local/secretary/workbench/file.cgi
[Mon Aug 22 19:53:53.207546 2016] [cgi:error] [pid 12884] [client ::1:49514] 
AH01215: _WARN   /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/net/smtp.rb:542:in 
`initialize': /Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, 
referer: http://whimsy.local/secretary/workbench/file.cgi
[Mon Aug 22 19:53:53.207607 2016] [cgi:error] [pid 12884] [client ::1:49514] 
AH01215: _WARN   /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/net/smtp.rb:542:in 
`open': /Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, referer: 
http://whimsy.local/secretary/workbench/file.cgi
[Mon Aug 22 19:53:53.207644 2016] [cgi:error] [pid 12884] [client ::1:49514] 
AH01215: _WARN   /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/net/smtp.rb:542:in 
`tcp_socket': /Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, 
referer: http://whimsy.local/secretary/workbench/file.cgi
[Mon Aug 22 19:53:53.207682 2016] [cgi:error] [pid 12884] [client ::1:49514] 
AH01215: _WARN   /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/net/smtp.rb:552:in 
`block in do_start': 
/Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, referer: 
http://whimsy.local/secretary/workbench/file.cgi
[Mon Aug 22 19:53:53.207718 2016] [cgi:error] [pid 12884] [client ::1:49514] 
AH01215: _WARN   /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/timeout.rb:91:in 
`block in timeout': 
/Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, referer: 
http://whimsy.local/secretary/workbench/file.cgi
[Mon Aug 22 19:53:53.207751 2016] [cgi:error] [pid 12884] [client ::1:49514] 
AH01215: _WARN   /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/timeout.rb:101:in 
`timeout': /Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, 
referer: http://whimsy.local/secretary/workbench/file.cgi
[Mon Aug 22 19:53:53.207785 2016] [cgi:error] [pid 12884] [client ::1:49514] 
AH01215: _WARN   /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/net/smtp.rb:551:in 
`do_start': /Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, 
referer: http://whimsy.local/secretary/workbench/file.cgi
[Mon Aug 22 19:53:53.207817 2016] [cgi:error] [pid 12884] [client ::1:49514] 
AH01215: _WARN   /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/net/smtp.rb:521:in 
`start': /Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, 
referer: http://whimsy.local/secretary/workbench/file.cgi
[Mon Aug 22 19:53:53.207877 2016] [cgi:error] [pid 12884] [client ::1:49514] 
AH01215: _WARN   
/usr/local/lib/ruby/gems/2.3.0/gems/mail-2.6.4/lib/mail/network/delivery_methods/smtp.rb:113:in
 `deliver!': /Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, 
referer: http://whimsy.local/secretary/workbench/file.cgi
[Mon Aug 22 19:53:53.207912 2016] [cgi:error] [pid 12884] [client ::1:49514] 
AH01215: _WARN   
/usr/local/lib/ruby/gems/2.3.0/gems/mail-2.6.4/lib/mail/message.rb:253:in 
`deliver!': /Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, 
referer: http://whimsy.local/secretary/workbench/file.cgi
[Mon Aug 22 19:53:53.207959 2016] [cgi:error] [pid 12884] [client ::1:49514] 
AH01215: _WARN   
/Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi:317:in `block in 
send_email': /Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, 
referer: http://whimsy.local/secretary/workbench/file.cgi
[Mon Aug 22 19:53:53.207991 2016] [cgi:error] [pid 12884] [client ::1:49514] 
AH01215: _WARN   
/Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi:215:in `each': 
/Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, referer: 
http://whimsy.local/secretary/workbench/file.cgi
[Mon Aug 22 19:53:53.208025 2016] [cgi:error] [pid 12884] [client ::1:49514] 
AH01215: _WARN   
/Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi:215:in 
`send_email': /Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, 
referer: http://whimsy.local/secretary/workbench/file.cgi
[Mon Aug 22 19:53:53.208061 2016] [cgi:error] [pid 12884] [client ::1:49514] 
AH01215: _WARN   
/Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi:358:in `block in 
<main>': /Users/clr/apache/git/whimsy/www/secretary/workbench/file.cgi, 
referer: http://whimsy.local/secretary/workbench/file.cgi

Any ideas?

Thanks,

Craig

> On Aug 22, 2016, at 6:25 PM, Sam Ruby <[email protected]> wrote:
> 
> On Mon, Aug 22, 2016 at 9:03 PM, Craig Russell <[email protected]> 
> wrote:
>> This last has me wondering.
>> 
>>> On Aug 22, 2016, at 8:18 AM, Sam Ruby <[email protected]> wrote:
>>> 
>>>> Then I want to see the email template for incomplete and unsigned filled 
>>>> from the form.
>>> 
>>> Fair to assume that this should appear on the right pane?  If so, that
>>> code would go here:
>>> 
>>> https://github.com/apache/whimsy/blob/d186820f9d2e61ae81bd406b2fae8feca17c4d69/www/secretary/workbench/file.cgi#L783
>> 
>> I don’t see anything about sending email here. Is it in the ajax part?
> 
> Indeed.  What the workbench does is show you what will be done (and
> that is here) and hidden in the display is a number of "data_"
> attributes containing parameters.  Once that is shown, the "AJAX part"
> looks for todos and iterates over then, sending the parameters that
> are hidden.  So define what you want to do here and it will be
> processed along with the other steps.
> 
>> Anyway, I have this pending:
>> ---
>> - doctype: icla
>>  source: apache-icla-prajwal.pdf
>>  realname: Prajwal Rao
>>  pubname: Prajwal Rao
>>  email: [email protected]
>>  filename: prajwal-rao.pdf
>>  nname: Prajwal Rao
>>  nemail: [email protected]
>>  iname: Prajwal Rao
>>  iemail: [email protected]
>>  uname: Prajwal Rao
>>  uemail: [email protected]
>>  pname: Prajwal Rao
>>  pemail: [email protected]
>>  memail: [email protected]
>>  gname: Prajwal Rao
>>  gemail: [email protected]
>>  contact: Prajwal Rao
>>  cemail: [email protected]
>>  ipodling: " "
>>  email:addr: [email protected]
>>  email:id: 
>> "<CAAyEJ9o=MjPX8sLVQO2Ud21CCMb=v4crqBLJD+a=fkdnl1e...@mail.gmail.com>"
>>  email:name: Prajwal Rao
>>  email:subject: Signed Individual Contributor License Agreement - Prajwal Rao
>>  svn:mime-type: application/pdf
>> 
>> It’s failing with a 500 in file.cgi, I assume in the sending mail part.
>> 
>> How do I debug this?
> 
> Generally, when you see a 500, look in the logs:
> 
> https://github.com/apache/whimsy/blob/master/MACOSX.md#debugging
> 
>> Thanks,
>> 
>> Craig
>> 
>> Craig L Russell
>> Architect
>> [email protected]
>> P.S. A good JDO? O, Gasp!
> 
> - Sam Ruby

Craig L Russell
Architect
[email protected]
P.S. A good JDO? O, Gasp!





Reply via email to