view · edit · sidebar · attach · print · history

20131105-Index-Indications

<< | Index | >>


Summary

  • Fix index indications

Commits

Index

---

Problems with yus under ruby 1.9

As I restartet my VM, puppet installed some gems and broke yus. Therefore I tried to run the yus unit tests under 1.8.3 (all okay), 2.0 and a recent 1.9.3 ruby (p448).

After adding a Gemfile with minitest in the development group for the platform mri_19 the unit tests started to work, but I got 10 errors NoMethodError: undefined method `critical=' for Thread:Class.

The DependencyInjection gem needle is very old (from 2004) and many argue the DI is not needed with Ruby. See e.g. https://www.ruby-forum.com/topic/149098. Therefore it might be a good idea to get rid of needle.

The Guide.txt is also not clearly order and therefore I am working on the following points

  1. let gemfile specify all needed gems to actually run yus
  2. Order guide.txt to put all steps in the right order, e.g.
    1. configure postgres db before
    2. starting bin/yusd
  3. requirement of "trust" for local user was not mentioned in the guide

Now yus seems to work quite find. yus_show ngiger@ywesee.com works.

Error: Fach- und Patienteninfo Updates (swissmedicinfo.ch)

Corrected logging to append, because we have two imports (FI/PI) each day!

Corrected error, because registration.expiration_date can be nil. Rerun import_daily.

Pushed commits Avoid nil error while importing FI/PI updates and Logging will append not overwrite the log file for textinfo

Fix index indications

Continuing work from last week.

Pushed some minor fixes Fix spelling and Remove no longer availabe proc u for UTF-8 conversion

Corrected unit tests for indications. Fixed test cases for indication tests

I think the error is simple. in src/util/language.rb the method to_s tests whether the object responds to empty instead of empty?. Added this change to my VM and rebuilding the indices.

Now I can search http://oddb-ci.dyndns.org/de/gcc?search_query=Reflux%C3%B6sophagitis&search_type=st_indication&flavor=gcc&language=de&event=search&state_id=69996969498440

view · edit · sidebar · attach · print · history
Page last modified on November 05, 2013, at 08:41 PM