view · edit · sidebar · attach · print · history

20130402-debug-broken-data-and-connection

<< | Index | >>


Summary

Commits

Index


Debug broken objects and connections

@40000000515adb010a1565e4 error in SBSM::Session#process: /de/gcc/fachinfo/reg/56976
@40000000515adb010a1565e4 NoMethodError
@40000000515adb010a1565e4 undefined method `localized_name' for nil:NilClass
@40000000515adb010a1569cc /usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/stub.rb:112:in `method_missing'
@40000000515adb010a1569cc /var/www/oddb.org/src/state/drugs/fachinfo.rb:29:in `init'
@40000000515adb010a156db4 /usr/local/lib/ruby/gems/1.9.1/gems/sbsm-1.2.3/lib/sbsm/session.rb:367:in `process'
@40000000515adb010a157d54 /var/www/oddb.org/src/util/session.rb:117:in `process'
@40000000515adb010a157d54 /usr/local/lib/ruby/gems/1.9.1/gems/sbsm-1.2.3/lib/sbsm/session.rb:172:in `block in drb_process'
@40000000515adb010a6de624 ODBA::Stub was unable to replace ODDB::Fachinfo#29677333 from ODDB::Registration:#687378
@40000000515adb010a792cdc ODBA::Stub was unable to replace ODDB::Fachinfo#29677333 from ODDB::Registration:#687378
@40000000515adb010a7d43bc error in SBSM::Session#to_html: /de/gcc/fachinfo/reg/56976
@40000000515adb010a7d43bc NoMethodError
@40000000515adb010a7d43bc undefined method `de' for #<ODDB::State::Drugs::Fachinfo::FachinfoWrapper:0x000000196dae70>
@40000000515adb010a7d47a4 /var/www/oddb.org/src/view/drugs/fachinfo.rb:276:in `init'
@40000000515adb010a7d47a4 /usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/component.rb:139:in `initialize'
@40000000515adb010a7d4b8c /var/www/oddb.org/src/view/publictemplate.rb:63:in `new'
@40000000515adb010a7d5744 /var/www/oddb.org/src/view/publictemplate.rb:63:in `content'
@40000000515adb010a7d5b2c /usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:68:in `create'
@40000000515adb010a7d5b2c /usr/local/lib/ruby/gems/1.9.1/gems/htmlgrid-1.0.6/lib/htmlgrid/composite.rb:286:in `compose_component'
@40000000515aa761069d0fd4 comparison of String with nil failed
@40000000515aa761069d0fd4 /var/www/oddb.org/src/model/search_result.rb:85:in `sort_by'
@40000000515aa761069d0fd4 /var/www/oddb.org/src/model/search_result.rb:85:in `atc_sorted'
@40000000515aa761069d1f74 /var/www/oddb.org/src/model/search_result.rb:128:in `each'
@40000000515aa761069d1f74 /var/www/oddb.org/src/state/drugs/result.rb:39:in `init'
@40000000515aa761069d235c /usr/local/lib/ruby/gems/1.9.1/gems/sbsm-1.2.3/lib/sbsm/session.rb:367:in `process'
@40000000515aa761069d235c /var/www/oddb.org/src/util/session.rb:117:in `process'
@40000000515aa761069d2744 /usr/local/lib/ruby/gems/1.9.1/gems/sbsm-1.2.3/lib/sbsm/session.rb:172:in `block in drb_process'
@40000000515aa761069d2744 <internal:prelude>:10:in `synchronize'
@40000000515aa761069d429c /usr/local/lib/ruby/gems/1.9.1/gems/sbsm-1.2.3/lib/sbsm/session.rb:171:in `drb_process'
@40000000515aa761069d4684 /usr/local/lib/ruby/1.9.1/drb/drb.rb:1548:in `perform_without_block'
@40000000515aa761069d4684 /usr/local/lib/ruby/1.9.1/drb/drb.rb:1508:in `perform'
@40000000515aa761069d4a6c /usr/local/lib/ruby/1.9.1/drb/drb.rb:1586:in `block (2 levels) in main_loop'

Connection and Data are already fine.

ch.oddb> registrations.length
-> 10883
ch.oddb> fachinfos.length
-> 5084
ch.oddb> patinfos.length
-> 4744
ch.oddb> fachinfos.values.first.descriptions['de'].name
-> Gyno-Terazol®/- P
ch.oddb> fachinfos.values.last.descriptions['de'].name
-> Froben® Retard
ch.oddb> registration('31706').fachinfo['de']
-> #<ODDB::FachinfoDocument2001:0x0000000a9adad0>
ch.oddb> registration('31706').fachinfo['de'].name
-> Inderal®
ch.oddb> effective_fachinfos.length
-> 3669
ch.oddb> effective_patinfos.length
-> 3101
commit
view · edit · sidebar · attach · print · history
Page last modified on April 02, 2013, at 06:55 PM