<< | Index | >>
I restarted the daily_import jobs and found the 8 errors in the log which looked like
NoMethodError: undefined method `fachinfo' for nil:NilClass when updating index 'interactions_index_de' with a ODDB::Sequence ["(eval):2:in `block in proc_instance_origin'", "/usr/local/lib64/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/index.rb:202:in `call'", "/usr/local/lib64/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/index.rb:202:in `update_target'", "/usr/local/lib64/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/index.rb:161:in `update'"] [...]
I am not sure, whether these lines are errors
Skipped PI form swissmedicinfo.ch NEW : Patinfo - DE - Coop Vitality Cetirizin - 27.03.2013 NEW : Patinfo - FR - LatanoTim-Vision® - 30.04.2013 NEW : Patinfo - FR - Gouttes Dr. Reckeweg® R1 Anginacid - 06.04.2013 NEW : Patinfo - FR - Coop Vitality Cétirizine - 27.03.2013 Invalid PI from swissmedicXML Not found PI in swissmedicXML
After achinfo_2013_06_10_3.txtI clicked Ctrl-C into the console instead of Ctrl-Shift-Click and the script terminated. Restarted the script.
Received the following errors from the previous run (by mail at 10.35:14)
Plugin: ODDB::TextInfoPlugin Error: DRb::DRbConnError Message: druby://localhost:10002 - #<Errno::ECONNREFUSED: Connection refused - connect(2)> Backtrace: /usr/lib64/ruby/1.9.1/drb/drb.rb:736:in `rescue in block in open' /usr/lib64/ruby/1.9.1/drb/drb.rb:730:in `block in open' /usr/lib64/ruby/1.9.1/drb/drb.rb:729:in `each' /usr/lib64/ruby/1.9.1/drb/drb.rb:729:in `open' /usr/lib64/ruby/1.9.1/drb/drb.rb:1191:in `initialize' /usr/lib64/ruby/1.9.1/drb/drb.rb:1171:in `new' /usr/lib64/ruby/1.9.1/drb/drb.rb:1171:in `open' /usr/lib64/ruby/1.9.1/drb/drb.rb:1087:in `block in method_missing' /usr/lib64/ruby/1.9.1/drb/drb.rb:1105:in `with_friend' /usr/lib64/ruby/1.9.1/drb/drb.rb:1086:in `method_missing' /var/www/oddb.org/src/plugin/text_info.rb:82:in `parse_fachinfo' /var/www/oddb.org/src/plugin/text_info.rb:1057:in `block in parse_and_update' /var/www/oddb.org/src/plugin/text_info.rb:1029:in `each' /var/www/oddb.org/src/plugin/text_info.rb:1029:in `parse_and_update' /var/www/oddb.org/src/plugin/text_info.rb:1080:in `block (3 levels) in import_info' /var/www/oddb.org/src/plugin/text_info.rb:1079:in `each' /var/www/oddb.org/src/plugin/text_info.rb:1079:in `block (2 levels) in import_info' /var/www/oddb.org/src/plugin/text_info.rb:1078:in `each_pair' /var/www/oddb.org/src/plugin/text_info.rb:1078:in `block in import_info' /var/www/oddb.org/src/plugin/text_info.rb:1075:in `each_pair' /var/www/oddb.org/src/plugin/text_info.rb:1075:in `import_info' /var/www/oddb.org/src/plugin/text_info.rb:1136:in `block in import_swissmedicinfo_by_index' /var/www/oddb.org/src/plugin/text_info.rb:1135:in `each_pair' /var/www/oddb.org/src/plugin/text_info.rb:1135:in `import_swissmedicinfo_by_index' /var/www/oddb.org/src/plugin/text_info.rb:1169:in `import_swissmedicinfo' /var/www/oddb.org/src/util/updater.rb:500:in `block in update_notify_simple' /var/www/oddb.org/src/util/updater.rb:476:in `call' /var/www/oddb.org/src/util/updater.rb:476:in `wrap_update' /var/www/oddb.org/src/util/updater.rb:494:in `update_notify_simple' /var/www/oddb.org/src/util/updater.rb:303:in `update_textinfo_swissmedicinfo' /var/www/oddb.org/src/util/updater.rb:191:in `run' jobs/import_daily:13:in `block in <module:Util>' /var/www/oddb.org/src/util/job.rb:40:in `call' /var/www/oddb.org/src/util/job.rb:40:in `run' jobs/import_daily:12:in `<module:Util>' jobs/import_daily:11:in `<module:ODDB>' jobs/import_daily:10:in `<main>'
and at 10.36:28
Plugin: ODDB::TextInfoPlugin Error: NoMemoryError Message: failed to allocate memory Backtrace: /usr/local/lib64/ruby/gems/1.9.1/gems/nokogiri-1.5.9/lib/nokogiri/xml/document.rb:54:in `read_memory' /usr/local/lib64/ruby/gems/1.9.1/gems/nokogiri-1.5.9/lib/nokogiri/xml/document.rb:54:in `parse' /usr/local/lib64/ruby/gems/1.9.1/gems/nokogiri-1.5.9/lib/nokogiri/xml.rb:33:in `XML' /var/www/oddb.org/src/plugin/text_info.rb:1126:in `swissmedicinfo_xml' /var/www/oddb.org/src/plugin/text_info.rb:1134:in `import_swissmedicinfo_by_index' /var/www/oddb.org/src/plugin/text_info.rb:1169:in `import_swissmedicinfo' /var/www/oddb.org/src/util/updater.rb:500:in `block in update_notify_simple' /var/www/oddb.org/src/util/updater.rb:476:in `call' /var/www/oddb.org/src/util/updater.rb:476:in `wrap_update' /var/www/oddb.org/src/util/updater.rb:494:in `update_notify_simple' /var/www/oddb.org/src/util/updater.rb:303:in `update_textinfo_swissmedicinfo' /var/www/oddb.org/src/util/updater.rb:192:in `run' jobs/import_daily:13:in `block in <module:Util>' /var/www/oddb.org/src/util/job.rb:40:in `call' /var/www/oddb.org/src/util/job.rb:40:in `run' jobs/import_daily:12:in `<module:Util>' jobs/import_daily:11:in `<module:ODDB>' jobs/import_daily:10:in `<main>'