view · edit · sidebar · attach · print · history

< Niklaus.20220330-ruby-311-on-thinpower | Index | Niklaus.20220124-ruby-31-part-two >>

20220309-refdata-update

Summary

Commits

oddb.org:

Update of refdata_nat/jur fails

Zeno reported the following issue 151

 
    Import Swissmedic Job has a follower job for Refdata companies update
    This results in

Backtrace:
/var/www/oddb.org/vendor/bundle/ruby/3.0.0/gems/savon-2.12.1/lib/savon/operation.rb:27:in `rescue in ensure_exists!'
/var/www/oddb.org/vendor/bundle/ruby/3.0.0/gems/savon-2.12.1/lib/savon/operation.rb:21:in `ensure_exists!'
/var/www/oddb.org/vendor/bundle/ruby/3.0.0/gems/savon-2.12.1/lib/savon/operation.rb:15:in `create'
/var/www/oddb.org/vendor/bundle/ruby/3.0.0/gems/savon-2.12.1/lib/savon/client.rb:32:in `operation'
/var/www/oddb.org/vendor/bundle/ruby/3.0.0/gems/savon-2.12.1/lib/savon/client.rb:36:in `call'
/var/www/oddb.org/src/plugin/refdata_jur.rb:56:in `download_partners_xml'
/var/www/oddb.org/src/plugin/refdata_jur.rb:199:in `get_latest_file'
/var/www/oddb.org/src/plugin/refdata_jur.rb:117:in `update'
/var/www/oddb.org/src/util/updater.rb:237:in `block in update_refdata_jur'
/var/www/oddb.org/src/util/updater.rb:493:in `wrap_update'
/var/www/oddb.org/src/util/updater.rb:235:in `update_refdata_jur'
/var/www/oddb.org/src/util/updater.rb:409:in `update_swissmedic_followers'
jobs/import_swissmedic:15:in `block in <module:Util>'
/var/www/oddb.org/src/util/job.rb:41:in `run'
jobs/import_swissmedic:12:in `<module:Util>'
jobs/import_swissmedic:11:in `<module:ODDB>'
jobs/import_swissmedic:10:in `<main>'


Refdata is mixing HTTP with HTTPS requests oddb2xml#55

As I was already work on the port of the master branch to ruby 3.1 I opened the branch ruby30. With the two commits

I was able to run (with Ruby 3.0) the following to imports

  • sudo -u apache bundle-300 exec ruby-300 jobs/import_refdata_jur
  • sudo -u apache bundle-300 exec ruby-300 jobs/import_refdata_nat

Both completed without problem. Refdat_nat reported a very high number of changed doctors. I do not know why. Found in my inbox

Update of doctors

Number of doctors: 102479
Number of new doctors: 3912
Number of updated doctors: 15631
Number of inactive doctors: 3067

Details of new doctors are: 3912
7601000223692: Silvia Jäggi
7601000335579: Thomas Pechacek
7601000528506: Marco Cordova
<..>
view · edit · sidebar · attach · print · history
Page last modified on February 09, 2022, at 05:25 PM