view · edit · sidebar · attach · print · history

20130408-debug-odba-terminated-objects

<< | Index | >>


Summary

  • Debug terminated objects.

Commits

Index


Debug odba terminated object error

Plugin: ODDB::SwissmedicPlugin
Error: NotImplementedError
Message: method `method_missing' called on terminated object (0x0000001dcb50a8 flags=0x0 klass=0x0)
Backtrace:
/var/www/oddb.org/src/model/registration.rb:91:in `atc_classes'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/stub.rb:112:in `method_missing'
/var/www/oddb.org/src/model/company.rb:49:in `block in atc_classes'
/var/www/oddb.org/src/model/company.rb:48:in `each'
/var/www/oddb.org/src/model/company.rb:48:in `inject'
/var/www/oddb.org/src/model/company.rb:48:in `atc_classes'
(eval):2:in `block in proc_instance_target'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/index.rb:249:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/index.rb:249:in `update_origin'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/index.rb:163:in `update'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/stub.rb:112:in `method_missing'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/cache.rb:590:in `block in update_indices'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/cache.rb:589:in `each'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/cache.rb:589:in `update_indices'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/cache.rb:515:in `store'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/persistable.rb:274:in `odba_isolated_store'
/var/www/oddb.org/src/model/registration_observer.rb:18:in `add_registration'
/var/www/oddb.org/src/model/registration.rb:312:in `replace_observer'
Plugin: ODDB::TextInfoPlugin
Error: NotImplementedError
Message: method `method_missing' called on unexpected T_NODE object (0x007fcbbdaee328 flags=0x21c klass=0x0)
Backtrace:
/var/www/oddb.org/src/view/chapter.rb:160:in `to_html'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/divcomposite.rb:42:in `block (3 levels) in to_html'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/divcomposite.rb:40:in `each'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/divcomposite.rb:40:in `inject'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/divcomposite.rb:40:in `block (2 levels) in to_html'
(eval):373:in `div'
/usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/divcomposite.rb:39:in `block in to_html'

GC collects these objects.

prevent unexpected garbage collection in iteration.
Maybe ODBA has too many ruby objects.

Let's try this commits.

commis

Update swissregd

swissreg.ch returns 500 Internal Server erorr.
I could not update a job for new form :(

tried verbose mode

[2] 1.9.3-p194(#<ODDB::Swissreg::Session>)> 
opening connection to www.swissreg.ch...
opened
Conn close because of connect error SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
...

Certifications.

[2] 2.0.0-p-1(main)> require 'openssl'
true
[3] 2.0.0-p-1(main)> OpenSSL::SSL::SSLContext::METHODS
[
    [ 0] :TLSv1,
    [ 1] :TLSv1_server,
    [ 2] :TLSv1_client,
    [ 3] :TLSv1_2,
    [ 4] :TLSv1_2_server,
    [ 5] :TLSv1_2_client,
    [ 6] :TLSv1_1,
    [ 7] :TLSv1_1_server,
    [ 8] :TLSv1_1_client,
    [ 9] :SSLv2,
    [10] :SSLv2_server,
    [11] :SSLv2_client,
    [12] :SSLv3,
    [13] :SSLv3_server,
    [14] :SSLv3_client,
    [15] :SSLv23,
    [16] :SSLv23_server,
    [17] :SSLv23_client
]

Debug swissmedic and followers job

view · edit · sidebar · attach · print · history
Page last modified on April 08, 2013, at 10:38 AM