When I look at http://oddb-ci2.dyndns.org/ I see that I have 15 Preissenkungen SL/LPPV Februar 2015
. Whereas on ch.oddb.org I have 35 Preissenkungen SL/LPPV Januar 2015
. Why?
Looking at bin/admin on ch.oddb.org shows
ch.oddb> rss_updates["price_cut.rss"] -> [#<Date: 2015-01-01 ((2457024j,0s,0n),+0s,2299161j)>, 35]
whereas on oddb-ci2.dyndns.org I get
ch.oddb> rss_updates["price_cut.rss"] -> [#<Date: 2015-02-03 ((2457057j,0s,0n),+0s,2299161j)>, 15]
Added new jobs/update_rss_feeds. Added some debug output when updating the price cut/rise and sl-introduction RSS feeds. Waiting for jobs/update_rss_feeds to finish on oddb-ci2.
Found in log/oddb/debug/2015/02.log
2015-02-18 15:22:17 UTCupdate_rss_feedsname : mont 2015-02-18 today 2015-02-18 with 19 entries 2015-02-18 15:22:22 UTCupdate_rss_feedsname : mont 2015-02-18 today 2015-02-18 with 15 entries 2015-02-18 15:22:24 UTCupdate_rss_feedsname : mont 2015-02-18 today 2015-02-18 with 4 entries
Pushed commit Added jobs/update_rss_feed
Pulled changes to oddb-ci2. After running the job I found in the log
2015-02-18 15:34:49 UTC update_rss_feeds : month 2015-02-18 today 2015-02-18 with 19 entries 2015-02-18 15:34:59 UTC update_rss_feeds : month 2015-02-18 today 2015-02-18 with 15 entries 2015-02-18 15:35:03 UTC update_rss_feeds : month 2015-02-18 today 2015-02-18 with 4 entries
But after reloading http://ch.oddb.org/ I still have 35 Preissenkungen SL/LPPV Januar 2015
. Restarting oddbd. Now I get the expected result of 15 Preissenkungen SL/LPPV Februar 2015
Should add into oddb2xml all entries from swissmedic-packages. Also when entries missing in swissindex.
Making some progress. But @packs has very different field names than objects coming from swissindex. Looks like we missed over 5400 entries! Verified that we really missed many items from packages, e.g. "Cardio-Pulmo-Rénal Sérocytol, suppositoire" or "DONEPEZIL Sandoz Filmtabl 5 mg 50 Stk".
Added a debug field REMARK only in Packages.xlsx, not in swissindex_Pharma_DE.xml in the generated oddb_product.xml. Zeno says, we don't need it. Rearranging builder to pass validation via XSD file, again.
Pushed the following commits:
Must remove all veterinary products and produce a file not_in_refdata.txt with EAN and name of product. This eliminates 1379 products. But we still have 19251-15126=4125 more products than before.
Found also some "ad us vet" in oddb_article.xml. Trying to eliminate them, too.
Pushed commit Added missing_in_refdata.txt. Skip veterinary
With the new combined search some items are displayed twice. Eg. http://oddb-ci2.dyndns.org/de/gcc/search/zone/drugs/search_query/Budesonid/search_type/st_combined?#best_result displays twice "Budesonid Sandoz 32". As the ATC code (R01AD05) appears twice. The filtering I introduced yesterday seems not to work correctly.
Fixed with commit Fix filtering in combined search