view · edit · sidebar · attach · print · history

<< BlutprodukteUpdater | Index | Bsvfollowers >>

Sometimes you can get an error like this

9.2.2012

The following error is connected to the Pharmacode not being found in our database, but still existing in the BAG-XML and still being listed in Refdata's swissINDEX. That package information was deleted by the Swissmedic update but still remains in BAG-XML and in swissINDEX. Also see: 20120210-fix-errors-oddbOrg#FixIOErr?

Plugin: ODDB::BsvXmlPlugin
Error: NoMethodError
Message: undefined method `diff' for #<ODDB::Persistence::UninitializedPathError:0x00000005d4ef18>
@report: {:name_base=>"Amoxi Mepha", :name_descr=>"Gran 100 mg/4ml f Susp", :swissmedic_no5_bag=>"49929", :deductible=>:deductible_g, :generic_type=>:generic, :atc_class=>"J01CA04", :pharmacode_bag=>"2504360", :swissmedic_no5_oddb=>"49929", :swissmedic_no8_bag=>"49929048", :pharmacode_oddb=>"2504360"}
Backtrace:
/var/www/oddb.org/src/util/persistence.rb:234:in `issue_update'
/var/www/oddb.org/src/util/oddbapp.rb:121:in `block in update'
/var/www/oddb.org/src/util/failsafe.rb:10:in `call'
/var/www/oddb.org/src/util/failsafe.rb:10:in `failsafe'
/var/www/oddb.org/src/util/oddbapp.rb:120:in `update'
/var/www/oddb.org/src/util/oddbapp.rb:1470:in `update'
/var/www/oddb.org/src/plugin/bsv_xml.rb:385:in `block in tag_end'
/var/www/oddb.org/src/plugin/bsv_xml.rb:366:in `each'
/var/www/oddb.org/src/plugin/bsv_xml.rb:366:in `tag_end'
/usr/lib64/ruby/1.9.1/rexml/parsers/streamparser.rb:26:in `parse'
/usr/lib64/ruby/1.9.1/rexml/document.rb:205:in `parse_stream'
/var/www/oddb.org/src/plugin/bsv_xml.rb:968:in `update_preparations'
/var/www/oddb.org/src/plugin/bsv_xml.rb:644:in `block (2 levels) in _update'
/usr/local/lib64/ruby/gems/1.9.1/gems/rubyzip-0.9.5/lib/zip/zip_entry.rb:503:in `get_input_stream'
/var/www/oddb.org/src/plugin/bsv_xml.rb:644:in `block in _update'
/usr/local/lib64/ruby/gems/1.9.1/gems/rubyzip-0.9.5/lib/zip/zip_entry_set.rb:30:in `each'
/usr/local/lib64/ruby/gems/1.9.1/gems/rubyzip-0.9.5/lib/zip/zip_entry_set.rb:30:in `each'
/usr/local/lib64/ruby/gems/1.9.1/gems/rubyzip-0.9.5/lib/zip/zip_central_directory.rb:113:in `each'
/usr/local/lib64/ruby/gems/1.9.1/gems/rubyzip-0.9.5/lib/zip/zip_file.rb:118:in `block in foreach'
/usr/local/lib64/ruby/gems/1.9.1/gems/rubyzip-0.9.5/lib/zip/zip_file.rb:86:in `open'
/usr/local/lib64/ruby/gems/1.9.1/gems/rubyzip-0.9.5/lib/zip/zip_file.rb:116:in `foreach'
/var/www/oddb.org/src/plugin/bsv_xml.rb:639:in `_update'
/var/www/oddb.org/src/plugin/bsv_xml.rb:634:in `update'
/var/www/oddb.org/src/util/updater.rb:216:in `block in update_bsv'
/var/www/oddb.org/src/util/updater.rb:397:in `call'
/var/www/oddb.org/src/util/updater.rb:397:in `wrap_update'
/var/www/oddb.org/src/util/updater.rb:214:in `update_bsv'
jobs/import_bsv:14:in `block in <module:Util>'
/var/www/oddb.org/src/util/job.rb:18:in `call'
/var/www/oddb.org/src/util/job.rb:18:in `run'
jobs/import_bsv:12:in `<module:Util>'
jobs/import_bsv:11:in `<module:ODDB>'
jobs/import_bsv:10:in `<main>'
]

2nd of Juni

Plugin: ODDB::BsvXmlPlugin
Error: NoMethodError
Message: undefined method `diff' for #<ODDB::Persistence::UninitializedPathError:0x7f4bb854e3d0>
@report: {:generic_type=>:unknown, :name_base=>"Conbriza", :swissmedic_no5_bag=>"58732", :pharmacode_oddb=>"4773242", :swissmedic_no8_bag=>"58732002", :name_descr=>"Filmtabl 20 mg ", :swissmedic_no5_oddb=>"58732", :atc_class=>"G03XC02", :deductible=>:deductible_g, :pharmacode_bag=>"4773242"}
Backtrace:
/var/www/oddb.org/src/util/persistence.rb:273:in `issue_update'
/var/www/oddb.org/src/util/oddbapp.rb:119:in `update'
/var/www/oddb.org/src/util/failsafe.rb:9:in `call'
/var/www/oddb.org/src/util/failsafe.rb:9:in `failsafe'
/var/www/oddb.org/src/util/oddbapp.rb:118:in `update'
/var/www/oddb.org/src/util/oddbapp.rb:1408:in `update'
/var/www/oddb.org/src/plugin/bsv_xml.rb:430:in `tag_end'
/var/www/oddb.org/src/plugin/bsv_xml.rb:407:in `each'
/var/www/oddb.org/src/plugin/bsv_xml.rb:407:in `tag_end'
/usr/lib64/ruby/1.8/rexml/parsers/streamparser.rb:26:in `parse'
/usr/lib64/ruby/1.8/rexml/document.rb:200:in `parse_stream'
/var/www/oddb.org/src/plugin/bsv_xml.rb:978:in `update_preparations'
/var/www/oddb.org/src/plugin/bsv_xml.rb:659:in `send'
/var/www/oddb.org/src/plugin/bsv_xml.rb:659:in `_update'
/usr/lib64/ruby/gems/1.8/gems/rubyzip-0.9.1/lib/zip/zip.rb:761:in `get_input_stream'
/var/www/oddb.org/src/plugin/bsv_xml.rb:659:in `_update'
/usr/lib64/ruby/gems/1.8/gems/rubyzip-0.9.1/lib/zip/zip.rb:1123:in `each'
/usr/lib64/ruby/gems/1.8/gems/rubyzip-0.9.1/lib/zip/zip.rb:1123:in `each'
/usr/lib64/ruby/gems/1.8/gems/rubyzip-0.9.1/lib/zip/zip.rb:1266:in `each'
/usr/lib64/ruby/gems/1.8/gems/rubyzip-0.9.1/lib/zip/zip.rb:1403:in `foreach'
/usr/lib64/ruby/gems/1.8/gems/rubyzip-0.9.1/lib/zip/zip.rb:1382:in `open'
/usr/lib64/ruby/gems/1.8/gems/rubyzip-0.9.1/lib/zip/zip.rb:1401:in `foreach'
/var/www/oddb.org/src/plugin/bsv_xml.rb:655:in `_update'
/var/www/oddb.org/src/plugin/bsv_xml.rb:650:in `update'
/var/www/oddb.org/src/util/updater.rb:251:in `update_bsv'
/var/www/oddb.org/src/util/updater.rb:473:in `call'
/var/www/oddb.org/src/util/updater.rb:473:in `wrap_update'
/var/www/oddb.org/src/util/updater.rb:249:in `update_bsv'
(eval):1:in `_admin'
/var/www/oddb.org/src/util/failsafe.rb:9:in `call'
/var/www/oddb.org/src/util/failsafe.rb:9:in `failsafe'
/var/www/oddb.org/src/util/oddbapp.rb:1426:in `_admin'
/var/www/oddb.org/src/util/oddbapp.rb:1424:in `initialize'
/var/www/oddb.org/src/util/oddbapp.rb:1424:in `new'
/var/www/oddb.org/src/util/oddbapp.rb:1424:in `_admin'
/usr/lib64/ruby/1.8/drb/drb.rb:1555:in `__send__'
/usr/lib64/ruby/1.8/drb/drb.rb:1555:in `perform_without_block'
/usr/lib64/ruby/1.8/drb/drb.rb:1515:in `perform'
/usr/lib64/ruby/1.8/drb/drb.rb:1589:in `main_loop'
/usr/lib64/ruby/1.8/drb/drb.rb:1585:in `loop'
/usr/lib64/ruby/1.8/drb/drb.rb:1585:in `main_loop'
/usr/lib64/ruby/1.8/drb/drb.rb:1581:in `start'
/usr/lib64/ruby/1.8/drb/drb.rb:1581:in `main_loop'
/usr/lib64/ruby/1.8/drb/drb.rb:1430:in `run'
/usr/lib64/ruby/1.8/drb/drb.rb:1427:in `start'
/usr/lib64/ruby/1.8/drb/drb.rb:1427:in `run'
/usr/lib64/ruby/1.8/drb/drb.rb:1347:in `initialize'
/usr/lib64/ruby/1.8/drb/drb.rb:1627:in `new'
/usr/lib64/ruby/1.8/drb/drb.rb:1627:in `start_service'
/var/www/oddb.org/bin/oddbd:38

9th of May

Plugin: ODDB::BsvXmlPlugin
Error: RuntimeError
Message: could not connect to www.medwin.ch: #<Net::HTTPInternalServerError:0x7f54e1c50980>
@report: {:name_descr=>"Inf Konz 25 mg/50ml ", :pharmacode_bag=>"1696966", :deductible=>:deductible_g, :atc_class=>"L01XA01", :generic_type=>:generic, :swissmedic_no5_bag=>"51077", :name_base=>"Cisplatin Ebewe"}
Backtrace:
(druby://localhost:10006) /var/www/oddb.org/src/util/http.rb:82:in `post'
(druby://localhost:10006) /var/www/oddb.org/ext/meddata/src/session.rb:68:in `detail_html'
(druby://localhost:10006) /var/www/oddb.org/ext/meddata/src/drbsession.rb:17:in `detail'
(druby://localhost:10000) /var/www/oddb.org/src/plugin/bsv_xml.rb:246:in `load_ikskey'
(druby://localhost:10000) /usr/lib64/ruby/1.8/drb/drb.rb:1555:in `call'
(druby://localhost:10006) /usr/lib64/ruby/1.8/drb/invokemethod.rb:10:in `block_yield'
(druby://localhost:10006) /usr/lib64/ruby/1.8/drb/invokemethod.rb:17:in `perform_with_block'
(druby://localhost:10006) /var/www/oddb.org/ext/meddata/src/meddata.rb:15:in `session'
/var/www/oddb.org/src/plugin/bsv_xml.rb:243:in `load_ikskey'
/var/www/oddb.org/src/plugin/bsv_xml.rb:286:in `tag_start'
/usr/lib64/ruby/1.8/rexml/parsers/streamparser.rb:24:in `parse'
/usr/lib64/ruby/1.8/rexml/document.rb:200:in `parse_stream'
/var/www/oddb.org/src/plugin/bsv_xml.rb:978:in `update_preparations'
/var/www/oddb.org/src/plugin/bsv_xml.rb:659:in `send'
/var/www/oddb.org/src/plugin/bsv_xml.rb:659:in `_update'
/usr/lib64/ruby/gems/1.8/gems/rubyzip-0.9.1/lib/zip/zip.rb:761:in `get_input_stream'
/var/www/oddb.org/src/plugin/bsv_xml.rb:659:in `_update'
/usr/lib64/ruby/gems/1.8/gems/rubyzip-0.9.1/lib/zip/zip.rb:1123:in `each'
/usr/lib64/ruby/gems/1.8/gems/rubyzip-0.9.1/lib/zip/zip.rb:1123:in `each'
/usr/lib64/ruby/gems/1.8/gems/rubyzip-0.9.1/lib/zip/zip.rb:1266:in `each'
/usr/lib64/ruby/gems/1.8/gems/rubyzip-0.9.1/lib/zip/zip.rb:1403:in `foreach'
/usr/lib64/ruby/gems/1.8/gems/rubyzip-0.9.1/lib/zip/zip.rb:1382:in `open'
/usr/lib64/ruby/gems/1.8/gems/rubyzip-0.9.1/lib/zip/zip.rb:1401:in `foreach'
/var/www/oddb.org/src/plugin/bsv_xml.rb:655:in `_update'
/var/www/oddb.org/src/util/updater.rb:176:in `reconsider_bsv'
/var/www/oddb.org/src/util/updater.rb:461:in `call'
/var/www/oddb.org/src/util/updater.rb:461:in `wrap_update'
/var/www/oddb.org/src/util/updater.rb:175:in `reconsider_bsv'
(eval):1:in `_admin'
/var/www/oddb.org/src/util/failsafe.rb:9:in `call'
/var/www/oddb.org/src/util/failsafe.rb:9:in `failsafe'
/var/www/oddb.org/src/util/oddbapp.rb:1417:in `_admin'
/var/www/oddb.org/src/util/oddbapp.rb:1415:in `initialize'
/var/www/oddb.org/src/util/oddbapp.rb:1415:in `new'
/var/www/oddb.org/src/util/oddbapp.rb:1415:in `_admin'
/usr/lib64/ruby/1.8/drb/drb.rb:1555:in `__send__'
/usr/lib64/ruby/1.8/drb/drb.rb:1555:in `perform_without_block'
/usr/lib64/ruby/1.8/drb/drb.rb:1515:in `perform'
/usr/lib64/ruby/1.8/drb/drb.rb:1589:in `main_loop'
/usr/lib64/ruby/1.8/drb/drb.rb:1585:in `loop'
/usr/lib64/ruby/1.8/drb/drb.rb:1585:in `main_loop'
/usr/lib64/ruby/1.8/drb/drb.rb:1581:in `start'
/usr/lib64/ruby/1.8/drb/drb.rb:1581:in `main_loop'
/usr/lib64/ruby/1.8/drb/drb.rb:1430:in `run'
/usr/lib64/ruby/1.8/drb/drb.rb:1427:in `start'
/usr/lib64/ruby/1.8/drb/drb.rb:1427:in `run'
/usr/lib64/ruby/1.8/drb/drb.rb:1347:in `initialize'
/usr/lib64/ruby/1.8/drb/drb.rb:1627:in `new'
/usr/lib64/ruby/1.8/drb/drb.rb:1627:in `start_service'
/var/www/oddb.org/bin/oddbd:38
view · edit · sidebar · attach · print · history
Page last modified on February 27, 2012, at 08:48 AM