<< Masa.20111214-fix-new_slentry-setup-ruby193-online-oddb_org | 2011 | Masa.20111212-fix-file-lock-odba-ydim-inject-ruby193 >>
Error: NoMethodError Message: undefined method `active_agents' for #<ODDB::LimitationText:0x7f7a8adb34c0> Backtrace: /var/www/oddb.org/src/util/language.rb:44:in `method_missing' /usr/lib64/ruby/site_ruby/1.8/odba/stub.rb:112:in `send' /usr/lib64/ruby/site_ruby/1.8/odba/stub.rb:112:in `method_missing' /var/www/oddb.org/src/model/sequence.rb:67:in `active_agents' /usr/lib64/ruby/1.8/delegate.rb:136:in `inject' /usr/lib64/ruby/site_ruby/1.8/odba/stub.rb:112:in `each' /usr/lib64/ruby/site_ruby/1.8/odba/stub.rb:112:in `inject' /usr/lib64/ruby/site_ruby/1.8/odba/stub.rb:112:in `send' /usr/lib64/ruby/site_ruby/1.8/odba/stub.rb:112:in `method_missing' ...
Check data
ch.oddb> registration('61482').sequence('01').active_agents -> undefined method `active_agents' for #<ODDB::LimitationText:0x7fecd62b5b18> ch.oddb> registration('61482').sequence('01').compositions.first.class -> ODDB::Composition ch.oddb> registration('61482').sequence('01').compositions.first.active_agents -> undefined method `active_agents' for #<ODDB::LimitationText:0x7fecd62b5b18> ch.oddb> registration('61482').sequence('01').compositions.first.odba_id -> 27751086 ch.oddb> ODBA.cache.fetch('27751086').class -> ODDB::LimitationText
Note
Delete the problem sequences
ch.oddb> delete(registration('61482').sequence('01').pointer) -> ch.oddb> delete(registration('61482').sequence('02').pointer) -> ch.oddb> delete(registration('61648').sequence('01').pointer) -> ch.oddb> delete(registration('61649').sequence('01').pointer) ->
Note
/var/www/oddb.org/doc/resources/patinfo $ ls -l|sort -k 6 -rw-r--r-- 1 apache apache 55823 2011-10-13 13:27 47721_01_1318505247.19203.pdf -rw-r--r-- 1 apache apache 133834 2011-11-11 10:53 15855_01_1321005217.48475.pdf -rw-r--r-- 1 apache apache 3271765 2011-11-15 16:18 39828_02_1321370293.35523.pdf
Problem
Note
Commit
Problem
Note
Commit
Problem
suspend
Log
ch.oddb> registration('61648').sequence('01') -> Renvela, Filmtabletten ch.oddb> registration('61648').sequence('01').compositions.length -> 0 ch.oddb> substances.values.select{|sub| sub.is_a?(ODDB::LimitationText)}.length -> 1 ch.oddb> substances.values.select{|sub| sub.is_a?(ODDB::LimitationText)}.first.odba_id -> 27751094 ch.oddb> substances.values.select{|sub| sub.is_a?(ODDB::LimitationText)}.first.oid -> 27751094 ch.oddb> delete_substance('27751094') -> 07.13.30.: Desensibilisierungslösungen Kostenübernahme nur nach vorgängiger allergologischer Abklärung. ch.oddb> substances.values.select{|sub| sub.is_a?(ODDB::LimitationText)}.length -> 0 ch.oddb> rebuild_indices('substance_index') -> ch.oddb> registration('61648').sequence('01').compositions.length -> 1
ch.oddb> registration('61649').sequence('01').compositions.length -> 1 ch.oddb> registration('61649').sequence('01').compositions.first.odba_id -> 27762176 ch.oddb> ODBA.cache.fetch('27762176').class -> ODDB::Composition ch.oddb> registration('61649').sequences.length -> 1 ch.oddb> registration('61649').sequence('01').compositions.delete_at(0) -> Pulver: 07.13.30.: Desensibilisierungslösungen Kostenübernahme nur nach vorgängiger allergologischer Abklärung. 2.4 g ch.oddb>