http://localhost:9292

TypeError at /
no implicit conversion of nil into String
        • file: mailbox.rb
 
        • location: basename 
        • line: 40


        • /Users/clr/apache/git/whimsy/www/secmail/models/mailbox.rb in basename
        •
                •     name = File.basename(name, '.yml')
        • /Users/clr/apache/git/whimsy/www/secmail/models/mailbox.rb in 
initialize
        •
                •     name = File.basename(name, '.yml')
        • /Users/clr/apache/git/whimsy/www/secmail/server.rb in new
        •
                •   @messages = Mailbox.new(@mbox).client_headers.select do 
|message|
        • /Users/clr/apache/git/whimsy/www/secmail/server.rb in block in <top 
(required)>
        •
                •   @messages = Mailbox.new(@mbox).client_headers.select do 
|message|
        • /usr/local/lib/ruby/gems/2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb 
in call
        •
                •           proc { |a,p| unbound_method.bind(a).call }
        • /usr/local/lib/ruby/gems/2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb 
in block in compile!



Variable        Value
GATEWAY_INTERFACE       
CGI/1.2
HTTP_ACCEPT     
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING    
gzip, deflate
HTTP_ACCEPT_LANGUAGE    
en-us
HTTP_CONNECTION 
keep-alive
HTTP_DNT        
1
HTTP_HOST       
localhost:9292
HTTP_UPGRADE_INSECURE_REQUESTS  
1
HTTP_USER_AGENT 
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/603.1.30 (KHTML, 
like Gecko) Version/10.1 Safari/603.1.30
HTTP_VERSION    
HTTP/1.1
PATH_INFO       
/
QUERY_STRING    
REMOTE_ADDR     
127.0.0.1
REMOTE_USER     
clr
REQUEST_METHOD  
GET
REQUEST_PATH    
/
REQUEST_URI     
/
SCRIPT_NAME     
SERVER_NAME     
localhost
SERVER_PORT     
9292
SERVER_PROTOCOL 
HTTP/1.1
SERVER_SOFTWARE 
2.15.3
puma.config     
#<Puma::Configuration:0x007ff2e4892e00 @cli_options={:quiet=>true, 
:config_file=>nil}, @conf={:mode=>:http, :binds=>["tcp://0.0.0.0:9292"], 
:on_restart=>[], :before_fork=>[], :before_worker_shutdown=>[], 
:before_worker_boot=>[], :before_worker_fork=>[], :after_worker_boot=>[], 
:worker_timeout=>60, :worker_boot_timeout=>60, :worker_shutdown_timeout=>30}, 
@options={:min_threads=>0, :max_threads=>16, :quiet=>true, :debug=>false, 
:binds=>["tcp://0.0.0.0:9292"], :workers=>0, :daemon=>false, :mode=>:http, 
:on_restart=>[], :before_fork=>[], :before_worker_shutdown=>[], 
:before_worker_boot=>[], :before_worker_fork=>[], :after_worker_boot=>[], 
:worker_timeout=>60, :worker_boot_timeout=>60, :worker_shutdown_timeout=>30, 
:config_file=>nil, :control_auth_token=>"a8a8d7139ef226748d865f9789b10e9", 
:tag=>"secmail", :environment=>"development"}>
puma.socket     
#<TCPSocket:fd 12>
rack.after_reply        
[]
rack.errors     
#<Object:0x007ff2e293e7e8>
rack.hijack     
#<Puma::Client:0x3ff9716c6740 @ready=true>
rack.hijack?    
true
rack.input      
#<Puma::NullIO:0x007ff2e29947b0>
rack.logger     
#<Logger:0x007ff2e2c9e190 @progname=nil, @level=1, 
@default_formatter=#<Logger::Formatter:0x007ff2e2c9e168 @datetime_format=nil>, 
@formatter=nil, @logdev=#<Logger::LogDevice:0x007ff2e2c9e118 @shift_size=nil, 
@shift_age=nil, @filename=nil, @dev=#<IO:<STDERR>>, @mon_owner=nil, 
@mon_count=0, @mon_mutex=#<Thread::Mutex:0x007ff2e2c9e0f0>>>
rack.multiprocess       
false
rack.multithread        
true
rack.request.cookie_hash        
{}
rack.request.query_hash 
{}
rack.request.query_string       
rack.run_once   
false
rack.url_scheme 
http
rack.version    
[1, 3]
sinatra.accept  
[#<Sinatra::Request::AcceptEntry:0x007ff2e2c975e8 @entry="text/html", 
@type="text/html", @params={}, @q=1.0>, 
#<Sinatra::Request::AcceptEntry:0x007ff2e2c97408 
@entry="application/xhtml+xml", @type="application/xhtml+xml", @params={}, 
@q=1.0>, #<Sinatra::Request::AcceptEntry:0x007ff2e2c97278 
@entry="application/xml;q=0.9", @type="application/xml", @params={}, @q=0.9>, 
#<Sinatra::Request::AcceptEntry:0x007ff2e2c96f08 @entry="*/*;q=0.8", 
@type="*/*", @params={}, @q=0.8>]
sinatra.commonlogger    
true
sinatra.error   
#<TypeError: no implicit conversion of nil into String>
sinatra.route   
GET /

> On Apr 8, 2017, at 10:36 AM, Sam Ruby (JIRA) <[email protected]> wrote:
> 
> 
>    [ 
> https://issues.apache.org/jira/browse/WHIMSY-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961903#comment-15961903
>  ] 
> 
> Sam Ruby commented on WHIMSY-83:
> --------------------------------
> 
> I've posted a screenshot.
> 
> Much better would be to get you to the point where you can develop and test 
> locally.  To do so, pull the latest code from github (I made a small fix); 
> make a directory named /srv/mail/secretary (we will populate that later), cd 
> to the www/secmail directory and run: 'rake server'.
> 
> You should see lines like the following:
> 
> Puma starting in single mode...
> * Version 3.8.2 (ruby 2.4.0-p0), codename: Sassy Salamander
> * Min threads: 0, max threads: 16
> * Environment: development
> * Inherited tcp://0.0.0.0:9292
> Use Ctrl-C to stop
> 
> You should then be able to visit the secmail tool in your browser as 
> http://localhost:9292/.  All you would need is some test data.  To do that, I 
> need to get you shell access to whimsy-vm3.apache.org so that you can rsync 
> the contents of the /srv/mail/secretary directory from whimsy-vm3 to your 
> machine so that you have live data to play with.
> 
>> Secmail incomplete, unsigned, and upload should have project field
>> ------------------------------------------------------------------
>> 
>>                Key: WHIMSY-83
>>                URL: https://issues.apache.org/jira/browse/WHIMSY-83
>>            Project: Whimsy
>>         Issue Type: Improvement
>>         Components: SecMail
>>           Reporter: Craig L Russell
>>           Priority: Minor
>>        Attachments: screenshot-1.png, unsigned.patch
>> 
>> 
>> When an invited committer submits an icla that cannot be processed 
>> immediately, the project pmc should be notified by cc: in the email. 
>> There should be a form field to capture the project so pmc (ppmc) can be 
>> copied.
> 
> 
> 
> --
> This message was sent by Atlassian JIRA
> (v6.3.15#6346)

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





Reply via email to