view · edit · sidebar · attach · print · history

20130403-debug-swissreg-updater-and-import-bsv-job

<< | Index | >>


Summary

  • Debug jobs and extention.
    • import_bsv
    • update_textinfo_swissmedicinfo
    • swissregd

Commits

Index


Debug import_bsv

Plugin: ODDB::BsvXmlPlugin
Error: ODDB::Persistence::UninitializedPathError
Message: :!registration,55829!01!package,010!sl_entry!limitation_text. -> ODDB::Registration::sequence(01) returned nil
@report: {:name_base=>"Ebixa", :name_descr=>"Tropfen 10 mg/g ", :swissmedic_no5_bag=>"55829", :deductible=>:deductible_g, :generic_type=>:unknown, :atc_class=>"N06DX01", :pharmacode_bag=>"2732428", :swissmedic_no5_oddb=>"55829", :swissmedic_no8_bag=>"55829014", :pharmacode_oddb=>"2732428"}
Backtrace:
/var/www/oddb.org/src/util/persistence.rb:283:in `block in resolve'
/var/www/oddb.org/src/util/persistence.rb:278:in `each'
/var/www/oddb.org/src/util/persistence.rb:278:in `resolve'
/var/www/oddb.org/src/plugin/bsv_xml.rb:418:in `block in tag_end'
/var/www/oddb.org/src/plugin/bsv_xml.rb:399:in `each'
/var/www/oddb.org/src/plugin/bsv_xml.rb:399:in `tag_end'
/usr/local/lib/ruby/1.9.1/rexml/parsers/streamparser.rb:26:in `parse'
/usr/local/lib/ruby/1.9.1/rexml/document.rb:205:in `parse_stream'
/var/www/oddb.org/src/plugin/bsv_xml.rb:1003:in `update_preparations'
Plugin: ODDB::BsvXmlPlugin
Error: ODDB::Persistence::InvalidPathError
Message: :!registration,55829!!package,010!sl_entry!limitation_text. -> undefined Method ODDB::Registration::01()
@report: {:name_base=>"Ebixa", :name_descr=>"Tropfen 10 mg/g ", :swissmedic_no5_bag=>"55829", :deductible=>:deductible_g, :generic_type=>:unknown, :atc_class=>"N06DX01", :pharmacode_bag=>"2732428", :swissmedic_no5_oddb=>"55829", :swissmedic_no8_bag=>"55829014", :pharmacode_oddb=>"2732428"}
Backtrace:
/var/ch.oddb.org/src/util/persistence.rb:295:in `block in resolve'
/var/ch.oddb.org/src/util/persistence.rb:278:in `each'
/var/ch.oddb.org/src/util/persistence.rb:278:in `resolve'
/var/ch.oddb.org/src/plugin/bsv_xml.rb:420:in `block in tag_end'
/var/ch.oddb.org/src/plugin/bsv_xml.rb:399:in `each'
/var/ch.oddb.org/src/plugin/bsv_xml.rb:399:in `tag_end'
commits

Note

These are not probelm. (Old unused Objects)

ODBA::Stub was unable to replace ODDB::SlEntry#9640734 from ODDB::Package:#8436268
ODBA::Stub was unable to replace ODDB::SlEntry#9640735 from ODDB::Package:#8436271
Could not create: :!registration,58036!sequence,01!001!sl_entry., reason: :!registration,58036!sequence,01!001!sl_entry. -> ODDB::Sequence::package(001) returned nil
Could not create: :!registration,58036!sequence,01!002!sl_entry., reason: :!registration,58036!sequence,01!002!sl_entry. -> ODDB::Sequence::package(002) returned nil
ODBA::Stub was unable to replace ODDB::SlEntry#12796865 from ODDB::Package:#12793214
ODBA::Stub was unable to replace ODDB::SlEntry#12796864 from ODDB::Package:#12793219
Could not create: :!registration,58839!sequence,01!001!sl_entry., reason: :!registration,58839!sequence,01!001!sl_entry. -> ODDB::Sequence::package(001) returned nil
Could not create: :!registration,58839!sequence,01!002!sl_entry., reason: :!registration,58839!sequence,01!002!sl_entry. -> ODDB::Sequence::package(002) returned nil
...

Debug update_textinfo_swissmedicinfo

replace method can not handle de or fr only update.

    def replace text_info, container, type 
      old_ti = container.send type 
      @app.update container.pointer, type => text_info.pointer
      if old_ti && old_ti.empty?
        @app.delete old_ti.pointer
      end  
    end  
commit

Update swissregd

continue tomorrow.

view · edit · sidebar · attach · print · history
Page last modified on April 03, 2013, at 06:03 PM