could not connect to www.swissreg.ch: #<Net::HTTPInternalServerError:0x007f8a7d69bb58>
---
The following links must be added to the ch.oddb.org Home below the Android link
Updated also readme for watir tests. Pushed the following commits
Remaining problem is that the links legal and donate are no longer centered. Found the reason: constants in components for paypal and legal_note were moved by the inseration of the new links and I forgot to change them in other places of the code. Fixed with commit Fixed centering of legal_note and paypal
Today I have a very bad day and my eyes don't catch errors! Therefore I needed yet another patch Fix nr2 for centering of legal_note and paypal. But not at least the legal_note and donate are correctly center. .
Xeljanz has IKSNR 62630. And has three entries under http://ch.oddb.org/de/gcc/search/zone/drugs/search_query/Xeljanz/search_type/st_oddb#best_result. One with prices and two without prices.
On my server I only have sequences 01 and 02 (both without prices).
@res = registrations.find_all{|id, reg| reg.sequences and reg.sequences.first and reg.sequences.first[0].eql?('00') }; @res.size -> 33 @res[1] -> ["00041", #<ODBA::Stub:70132263563860#709533 @odba_class= @odba_container=70132265028620#22>]
@res2 = registrations.find_all{|id, reg| reg.sequences and reg.sequences.first and reg.sequences.first[0].eql?('00') and reg.sequences.size > 1}; @res2.size -> 2 @res2[0] -> ["62781", #<ODBA::Stub:70132253953960#31074562 @odba_class= @odba_container=70132265028620#22>] @res2[1] -> ["62969", #<ODBA::Stub:70132254882420#31063552 @odba_class= @odba_container=70132265028620#22>]
Now the question is, why were this errors not corrected when running the last swissmedic import?
Next steps: reload recent dump of thinpower, add more debug info for swissmedic/bag import. Run swissmedic (after forcing latest) and bag import. Diff for debugging price info is
index fd7b063..9f4c6c2 100644 --- a/src/plugin/bsv_xml.rb +++ b/src/plugin/bsv_xml.rb @@ -314,6 +314,11 @@ module ODDB def tag_end name case name when 'Pack' + unless @pack.nil? + msg = " #{@iksnr} #{@ikscd} price_public #{@pack.price_public.inspect} -> #{@data[:price_public].inspect}" + $stdout.puts msg; $stdout.flush + LogFile.append('oddb/debug', msg) + end if @pack.nil? && @completed_registrations[@iksnr] && !@out_of_trade @deferred_packages.push({ :ikscd => @ikscd,
Todo:
Remarked that the link to http://epha.ch/de/community created an error message.
Sent an email to support@epha.ch.
Made the changes. Changed page looks like Pushed commit https://github.com/ngiger/oddb.org/commit/bf575e845dfcc3df36e8a611304adeb4327f829e Added link to epha.ch/community.
Must also remove button with link to "Wechselwirkungen auf Epha 3D". Done with commits Remove epha 3d link and Corrected interaction tests. Added test for absence of 3D