could not connect to www.swissreg.ch: #<Net::HTTPInternalServerError:0x007f8a7d69bb58>
---
With the last BAG-update we got the error
ch.ODDB.org Report - Error: SL-Update (XML) - 05/2014 Plugin: ODDB::BsvXmlPlugin Error: NoMethodError Message: undefined method `active?' for "RangeError":String Backtrace: /var/www/oddb.org/src/model/package.rb:429:in `public?' /usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/stub.rb:112:in `method_missing' /var/www/oddb.org/src/plugin/bsv_xml.rb:157:in `block in initialize' /var/www/oddb.org/src/model/sequence.rb:175:in `each' /var/www/oddb.org/src/model/sequence.rb:175:in `each_package' /usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/stub.rb:112:in `method_missing' /var/www/oddb.org/src/model/registration.rb:149:in `block in each_package' /var/www/oddb.org/src/model/registration.rb:148:in `each_value' /var/www/oddb.org/src/model/registration.rb:148:in `each_package' /usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/stub.rb:112:in `method_missing' /var/www/oddb.org/src/util/oddbapp.rb:664:in `block in each_package' /var/www/oddb.org/src/util/oddbapp.rb:663:in `each_value' /var/www/oddb.org/src/util/oddbapp.rb:663:in `each_package' /var/www/oddb.org/src/plugin/bsv_xml.rb:156:in `initialize' /var/www/oddb.org/src/plugin/bsv_xml.rb:1006:in `new' /var/www/oddb.org/src/plugin/bsv_xml.rb:1006:in `update_preparations' /var/www/oddb.org/src/plugin/bsv_xml.rb:660:in `block (2 levels) in _update' /usr/local/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.9/lib/zip/zip_entry.rb:502:in `get_input_stream' /var/www/oddb.org/src/plugin/bsv_xml.rb:660:in `block in _update' /usr/local/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.9/lib/zip/zip_entry_set.rb:35:in `each' /usr/local/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.9/lib/zip/zip_entry_set.rb:35:in `each' /usr/local/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.9/lib/zip/zip_central_directory.rb:109:in `each' /usr/local/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.9/lib/zip/zip_file.rb:132:in `block in foreach' /usr/local/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.9/lib/zip/zip_file.rb:90:in `open' /usr/local/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.9/lib/zip/zip_file.rb:131: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:248:in `block in update_bsv' /var/www/oddb.org/src/util/updater.rb:500:in `call' /var/www/oddb.org/src/util/updater.rb:500:in `wrap_update' /var/www/oddb.org/src/util/updater.rb:246:in `update_bsv' /var/www/oddb.org/src/util/updater.rb:200:in `run' jobs/import_daily:13:in `block in <module:Util>' /var/www/oddb.org/src/util/job.rb:40:in `call' /var/www/oddb.org/src/util/job.rb:40:in `run' jobs/import_daily:12:in `<module:Util>' jobs/import_daily:11:in `<module:ODDB>' jobs/import_daily:10:in `<main>'
Added some debug output and started an import on my oddb-ci2 machine.
Trying to catch the error running the following statement under bin/admin each_package { |pack| $stdout.puts pack.oid; $stdout.puts "#{pack.registration.iksnr} #{pack.ikscd} #{pack.active?}" }
. And bingo! The Package with pack.oid 15221 generates the error.
Refining the search to each_package { |pack| $stdout.puts "bad pack: #{pack.oid} #{pack.ikscd} #{pack.pharmacode}" if pack.registration.is_a?(String) }
shows that pharmacodes 2348204 (POLVAC Gräser Roggen Fortsetzung' and 2348196 (POLVAC Gräser Roggen Basisbehand) have this error. Search on ch.oddb.org for these pharmacodes shows, that the same error NoMethodError undefined method `iksnr' for "RangeError":String
is shown. Now grepping for these codes in the AipsDownload_latest.xml.
The pharmacode 2348196 is found in the oddb2xml files swissindex_Pharma_DE|FR.xml,Preparations.xml, md_article.xml and oddb2xml_zurrose_transfer.dat
Banging my head whether I should simply delete these two parts and looking againg at my old questions under http://dev.ywesee.com/Niklaus/20140226-add-medical-products-4#principle-of-least-surprices
Looking whether we have duplicates via @nr = 0; each_package { |pack| begin @nr+=1; $stdout.puts "pack: #{pack.oid} #{pack.ikscd} #{pack.pharmacode} barcode #{pack.barcode.inspect}" end if pack.pharmacode=='2348196' }; @nr
Found registration 46489 Polvac Gräser+Roggen which contains both erroneus packs. Running jobs/update_textinfo_swissmedicinfo both 46489 54785
trying to fix the problem. Executed under bin/admin @seq = registration('46489').sequence('01'); @seq.packages.keys.each{ |key| @seq.delete_package(key) }
. Restarted all services and now I can access without problems http://oddb-ci2.dyndns.org/de/gcc/show/state_id/70073140473080/reg/46489/seq/01, where no packages is known now.
While running jobs/import_daily I got a Segmentation fault on my oddb-ci2. See Attach:bugreport_2014_05_02.txt. Rebooting and trying again. Got another segmentation fault. See Attach:bugreport_2014_05_02_2.txt.
While looking at the screen of import_bsv at thinpower I see a log of occurrences like
Could not create: :!registration,61393!sequence,02!003!sl_entry., reason: :!registration,61393!sequence,02!003!sl_entry. -> ODDB::Sequence::package(003) returned nil Could not create: :!registration,61393!sequence,02!004!sl_entry., reason: :!registration,61393!sequence,02!004!sl_entry. -> ODDB::Sequence::package(004) returned nil ODBA::Stub was unable to replace ODDB::SlEntry#27254585 from ODDB::Package:#26568354 ODBA::Stub was unable to replace ODDB::SlEntry#27254584 from ODDB::Package:#26568359 ODBA::Stub was unable to replace ODDB::SlEntry#27254587 from ODDB::Package:#26568372 ODBA::Stub was unable to replace ODDB::SlEntry#27254586 from ODDB::Package:#26568377 Could not create: :!registration,61393!sequence,03!005!sl_entry., reason: :!registration,61393!sequence,03!005!sl_entry. -> ODDB::Sequence::package(005) returned nil Could not create: :!registration,61393!sequence,03!006!sl_entry., reason: :!registration,61393!sequence,03!006!sl_entry. -> ODDB::Sequence::package(006) returned nil ODBA::Stub was unable to replace ODDB::SlEntry#27254587 from ODDB::Package:#26568372 ODBA::Stub was unable to replace ODDB::SlEntry#27254586 from ODDB::Package:#26568377 Could not create: :!registration,54047!sequence,02!030!sl_entry., reason: :!registration,54047!sequence,02!030!sl_entry. -> ODDB::Sequence::package(030) returned nil Could not create: :!registration,54047!sequence,02!031!sl_entry., reason: :!registration,54047!sequence,02!031!sl_entry. -> ODDB::Sequence::package(031) returned nil ODBA::Stub was unable to replace #13518833 from ODDB::Package:#11779044 ODBA::Stub was unable to replace #13542514 from ODDB::Package:#11779049
Also found the following error
0 is not a symbol /usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/stub.rb:122:in `respond_to?' /var/www/oddb.org/src/util/persistence.rb:284:in `block in resolve' /var/www/oddb.org/src/util/persistence.rb:278:in `each' /var/www/oddb.org/src/util/persistence.rb:278:in `resolve' /var/www/oddb.org/src/util/persistence.rb:208:in `issue_create' /var/www/oddb.org/src/util/oddbapp.rb:112:in `block in create' /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:111:in `create' /var/www/oddb.org/src/util/persistence.rb:288:in `block in resolve' /var/www/oddb.org/src/util/persistence.rb:278:in `each' /var/www/oddb.org/src/util/persistence.rb:278:in `resolve' /var/www/oddb.org/src/util/persistence.rb:256:in `issue_update' /var/www/oddb.org/src/util/oddbapp.rb:133: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:131:in `update' /var/www/oddb.org/src/util/oddbapp.rb:1575:in `update' /var/www/oddb.org/src/plugin/bsv_xml.rb:426:in `block in tag_end' /var/www/oddb.org/src/plugin/bsv_xml.rb:399:in `each' /var/www/oddb.org/src/plugin/bsv_xml.rb:399:in `tag_end' /usr/local/lib/ruby/1.9.1/rexml/parsers/streamparser.rb:26:in `parse' /usr/local/lib/ruby/1.9.1/rexml/document.rb:205:in `parse_stream' /var/www/oddb.org/src/plugin/bsv_xml.rb:1007:in `update_preparations' /var/www/oddb.org/src/plugin/bsv_xml.rb:660:in `block (2 levels) in _update' /usr/local/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.9/lib/zip/zip_entry.rb:502:in `get_input_stream' /var/www/oddb.org/src/plugin/bsv_xml.rb:660:in `block in _update' /usr/local/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.9/lib/zip/zip_entry_set.rb:35:in `each' /usr/local/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.9/lib/zip/zip_central_directory.rb:109:in `each' /usr/local/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.9/lib/zip/zip_file.rb:132:in `block in foreach' /usr/local/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.9/lib/zip/zip_file.rb:90:in `open' /usr/local/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.9/lib/zip/zip_file.rb:131: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:248:in `block in update_bsv' /var/www/oddb.org/src/util/updater.rb:500:in `call' /var/www/oddb.org/src/util/updater.rb:500:in `wrap_update' /var/www/oddb.org/src/util/updater.rb:246:in `update_bsv' jobs/import_bsv:14:in `block in <module:Util>' /var/www/oddb.org/src/util/job.rb:40:in `call' /var/www/oddb.org/src/util/job.rb:40:in `run' jobs/import_bsv:12:in `<module:Util>' jobs/import_bsv:11:in `<module:ODDB>' jobs/import_bsv:10:in `<main>'
Got the following error when running travis-ci for ruby-head
/home/travis/.rvm/gems/ruby-head/gems/spreadsheet-0.9.7/lib/spreadsheet/row.rb:25:in `alias_method': undefined method `height=' for class `Spreadsheet::Row' (NameError) from /home/travis/.rvm/gems/ruby-head/gems/spreadsheet-0.9.7/lib/spreadsheet/row.rb:25:in `block in format_updater' from /home/travis/.rvm/gems/ruby-head/gems/spreadsheet-0.9.7/lib/spreadsheet/row.rb:23:in `each' from /home/travis/.rvm/gems/ruby-head/gems/spreadsheet-0.9.7/lib/spreadsheet/row.rb:23:in `format_updater' from /home/travis/.rvm/gems/ruby-head/gems/spreadsheet-0.9.7/lib/spreadsheet/row.rb:58:in `<class:Row>' from /home/travis/.rvm/gems/ruby-head/gems/spreadsheet-0.9.7/lib/spreadsheet/row.rb:19:in `<module:Spreadsheet>' from /home/travis/.rvm/gems/ruby-head/gems/spreadsheet-0.9.7/lib/spreadsheet/row.rb:3:in `<top (required)>' from /home/travis/.rvm/gems/ruby-head/gems/spreadsheet-0.9.7/lib/spreadsheet/excel/row.rb:2:in `require' from /home/travis/.rvm/gems/ruby-head/gems/spreadsheet-0.9.7/lib/spreadsheet/excel/row.rb:2:in `<top (required)>' from /home/travis/.rvm/gems/ruby-head/gems/spreadsheet-0.9.7/lib/spreadsheet/excel/worksheet.rb:2:in `require' from /home/travis/.rvm/gems/ruby-head/gems/spreadsheet-0.9.7/lib/spreadsheet/excel/worksheet.rb:2:in `<top (required)>' from /home/travis/.rvm/gems/ruby-head/gems/spreadsheet-0.9.7/lib/spreadsheet/excel/reader.rb:10:in `require' from /home/travis/.rvm/gems/ruby-head/gems/spreadsheet-0.9.7/lib/spreadsheet/excel/reader.rb:10:in `<top (required)>' from /home/travis/.rvm/gems/ruby-head/gems/spreadsheet-0.9.7/lib/spreadsheet.rb:28:in `require' from /home/travis/.rvm/gems/ruby-head/gems/spreadsheet-0.9.7/lib/spreadsheet.rb:28:in `<top (required)>' from /home/travis/build/ngiger/oddb2xml/lib/oddb2xml/extractor.rb:4:in `require' from /home/travis/build/ngiger/oddb2xml/lib/oddb2xml/extractor.rb:4:in `<top (required)>' from /home/travis/build/ngiger/oddb2xml/lib/oddb2xml/cli.rb:6:in `require' from /home/travis/build/ngiger/oddb2xml/lib/oddb2xml/cli.rb:6:in `<top (required)>' from /home/travis/build/ngiger/oddb2xml/lib/oddb2xml.rb:2:in `require' from /home/travis/build/ngiger/oddb2xml/lib/oddb2xml.rb:2:in `<top (required)>' from /home/travis/.rvm/gems/ruby-head@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:76:in `require' from /home/travis/.rvm/gems/ruby-head@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:76:in `block (2 levels) in require' from /home/travis/.rvm/gems/ruby-head@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:72:in `each' from /home/travis/.rvm/gems/ruby-head@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:72:in `block in require' from /home/travis/.rvm/gems/ruby-head@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:61:in `each' from /home/travis/.rvm/gems/ruby-head@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:61:in `require' from /home/travis/.rvm/gems/ruby-head@global/gems/bundler-1.6.2/lib/bundler.rb:132:in `require' from /home/travis/build/ngiger/oddb2xml/spec/spec_helper.rb:12:in `<top (required)>' from /home/travis/build/ngiger/oddb2xml/spec/builder_spec.rb:3:in `require' from /home/travis/build/ngiger/oddb2xml/spec/builder_spec.rb:3:in `<top (required)>' from /home/travis/.rvm/gems/ruby-head/gems/rspec-core-2.14.8/lib/rspec/core/configuration.rb:896:in `load' from /home/travis/.rvm/gems/ruby-head/gems/rspec-core-2.14.8/lib/rspec/core/configuration.rb:896:in `block in load_spec_files' from /home/travis/.rvm/gems/ruby-head/gems/rspec-core-2.14.8/lib/rspec/core/configuration.rb:896:in `each' from /home/travis/.rvm/gems/ruby-head/gems/rspec-core-2.14.8/lib/rspec/core/configuration.rb:896:in `load_spec_files' from /home/travis/.rvm/gems/ruby-head/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb:22:in `run' from /home/travis/.rvm/gems/ruby-head/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:80:in `run' from /home/travis/.rvm/gems/ruby-head/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb:17:in `block in autorun' /home/travis/.rvm/rubies/ruby-head/bin/ruby -S rspec ./spec/builder_spec.rb ./spec/cli_spec.rb ./spec/compressor_spec.rb ./spec/downloader_spec.rb ./spec/extractor_spec.rb failed
Could reproduce this error locally. Running with Ruby 2.1.1 is okay. Will not fix this error for the moment as discussed with Zeno.
Pushed commits
Reported the issue via https://bugs.ruby-lang.org/issues/9795. After reporting the bug I changed the email of my ruby-lang username ngiger to ngiger@ywesee.com.
After an upgrade of the gem we got the following error report:
oddb2xml -a nonpharma (oder -e) C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:2010:in `raise_if_ conflicts': Unable to activate sax-machine-0.2.1, because nokogiri-1.5.10-x86-mi ngw32 conflicts with nokogiri (~> 1.6.0) (Gem::LoadError) from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1179: in `activate' from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1215: in `block in activate_dependencies' from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1201: in `each' from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1201: in `activate_dependencies' from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1183: in `activate' from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_gem.rb :48:in `gem' from C:/Ruby200/bin/oddb2xml:22:in `<main>'
Problem is that it uses sax-machine-0.2.1 from another gem whereas oddb2xml was tested with sax-machine-0.1.0.
Adding rake test to the .travis.yml to get better coverage of errors with all supported ruby versions.
Pushed commits Run rake test on travis-ci, Document supported Ruby versions and Make rake test fail if a command fails. Install gem To make tests fail on travis-ci. Nice, now build 44 fails with the error reported by Zeno
/home/travis/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/csv.rb:1940:in `block in shift': Unclosed quoted field on line 1. (CSV::MalformedCSVError) from /home/travis/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/csv.rb:1849:in `loop' from /home/travis/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/csv.rb:1849:in `shift' from /home/travis/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/csv.rb:1396:in `parse_line' from /home/travis/build/ngiger/oddb2xml/lib/oddb2xml/extractor.rb:371:in `block in to_arry' from /home/travis/build/ngiger/oddb2xml/lib/oddb2xml/extractor.rb:368:in `each' from /home/travis/build/ngiger/oddb2xml/lib/oddb2xml/extractor.rb:368:in `to_arry' from /home/travis/build/ngiger/oddb2xml/lib/oddb2xml/cli.rb:191:in `block (2 levels) in download' from <internal:prelude>:10:in `synchronize' from /home/travis/build/ngiger/oddb2xml/lib/oddb2xml/cli.rb:190:in `block in download' Running test_options.rb returned false. Output was redirected to test_options.log
Chasing the error showed that for some unkown reasons the the second line in the downloaded file was changed from ,"Keine Interaktion","Tizanidin
to ,"Keine Interaktion",""Tizanidin
.
This phenomena is a bug in mechanize. Submitted the issues via https://github.com/sparklemotion/mechanize/issues/378
Fixed the error locally and pushed the following commits
Under another user I installed rvm, ruby-2.1.1 and the locally built gem. Running oddb2xml -e
ran fine and produced
gem install /opt/src/oddb2xml/pkg/oddb2xml-1.8.2.gem Fetching: rubyzip-1.1.3.gem (100%) Successfully installed rubyzip-1.1.3 Fetching: archive-tar-minitar-0.5.2.gem (100%) Successfully installed archive-tar-minitar-0.5.2 Fetching: net-http-digest_auth-1.4.gem (100%) Successfully installed net-http-digest_auth-1.4 Fetching: net-http-persistent-2.9.4.gem (100%) Successfully installed net-http-persistent-2.9.4 Fetching: mime-types-1.25.1.gem (100%) Successfully installed mime-types-1.25.1 Fetching: nokogiri-1.5.11.gem (100%) Building native extensions. This could take a while... Successfully installed nokogiri-1.5.11 Fetching: ntlm-http-0.1.1.gem (100%) Successfully installed ntlm-http-0.1.1 Fetching: webrobots-0.1.1.gem (100%) Successfully installed webrobots-0.1.1 Fetching: unf_ext-0.0.6.gem (100%) Building native extensions. This could take a while... Successfully installed unf_ext-0.0.6 Fetching: unf-0.1.4.gem (100%) Successfully installed unf-0.1.4 Fetching: domain_name-0.5.18.gem (100%) Successfully installed domain_name-0.5.18 Fetching: mechanize-2.5.1.gem (100%) Successfully installed mechanize-2.5.1 Fetching: builder-3.2.2.gem (100%) Successfully installed builder-3.2.2 Fetching: gyoku-1.1.1.gem (100%) Successfully installed gyoku-1.1.1 Fetching: akami-1.2.2.gem (100%) Successfully installed akami-1.2.2 Fetching: rack-1.5.2.gem (100%) Successfully installed rack-1.5.2 Fetching: rubyntlm-0.3.4.gem (100%) Successfully installed rubyntlm-0.3.4 Fetching: httpi-2.1.0.gem (100%) Successfully installed httpi-2.1.0 Fetching: wasabi-3.2.3.gem (100%) Successfully installed wasabi-3.2.3 Fetching: nori-2.3.0.gem (100%) Successfully installed nori-2.3.0 Fetching: savon-2.4.0.gem (100%) Successfully installed savon-2.4.0 Fetching: ruby-ole-1.2.11.7.gem (100%) Successfully installed ruby-ole-1.2.11.7 Fetching: spreadsheet-0.9.7.gem (100%) Successfully installed spreadsheet-0.9.7 Fetching: rubyXL-2.5.1.gem (100%) Successfully installed rubyXL-2.5.1 Fetching: sax-machine-0.1.0.gem (100%) Successfully installed sax-machine-0.1.0 Successfully installed oddb2xml-1.8.2 Parsing documentation for akami-1.2.2 Installing ri documentation for akami-1.2.2 Parsing documentation for archive-tar-minitar-0.5.2 Installing ri documentation for archive-tar-minitar-0.5.2 Parsing documentation for builder-3.2.2 Installing ri documentation for builder-3.2.2 Parsing documentation for domain_name-0.5.18 Installing ri documentation for domain_name-0.5.18 Parsing documentation for gyoku-1.1.1 Installing ri documentation for gyoku-1.1.1 Parsing documentation for httpi-2.1.0 Installing ri documentation for httpi-2.1.0 Parsing documentation for mechanize-2.5.1 Installing ri documentation for mechanize-2.5.1 Parsing documentation for mime-types-1.25.1 Installing ri documentation for mime-types-1.25.1 Parsing documentation for net-http-digest_auth-1.4 Installing ri documentation for net-http-digest_auth-1.4 Parsing documentation for net-http-persistent-2.9.4 Installing ri documentation for net-http-persistent-2.9.4 Parsing documentation for nokogiri-1.5.11 Installing ri documentation for nokogiri-1.5.11 Parsing documentation for nori-2.3.0 Installing ri documentation for nori-2.3.0 Parsing documentation for ntlm-http-0.1.1 Installing ri documentation for ntlm-http-0.1.1 Parsing documentation for oddb2xml-1.8.2 Installing ri documentation for oddb2xml-1.8.2 Parsing documentation for rack-1.5.2 Installing ri documentation for rack-1.5.2 Parsing documentation for ruby-ole-1.2.11.7 Installing ri documentation for ruby-ole-1.2.11.7 Parsing documentation for rubyXL-2.5.1 Installing ri documentation for rubyXL-2.5.1 Parsing documentation for rubyntlm-0.3.4 Installing ri documentation for rubyntlm-0.3.4 Parsing documentation for rubyzip-1.1.3 Installing ri documentation for rubyzip-1.1.3 Parsing documentation for savon-2.4.0 Installing ri documentation for savon-2.4.0 Parsing documentation for sax-machine-0.1.0 Installing ri documentation for sax-machine-0.1.0 Parsing documentation for spreadsheet-0.9.7 Installing ri documentation for spreadsheet-0.9.7 Parsing documentation for unf-0.1.4 Installing ri documentation for unf-0.1.4 Parsing documentation for unf_ext-0.0.6 Installing ri documentation for unf_ext-0.0.6 Parsing documentation for wasabi-3.2.3 Installing ri documentation for wasabi-3.2.3 Parsing documentation for webrobots-0.1.1 Installing ri documentation for webrobots-0.1.1 Done installing documentation for akami, archive-tar-minitar, builder, domain_name, gyoku, httpi, mechanize, mime-types, net-http-digest_auth, net-http-persistent, nokogiri, nori, ntlm-http, oddb2xml, rack, ruby-ole, rubyXL, rubyntlm, rubyzip, savon, sax-machine, spreadsheet, unf, unf_ext, wasabi, webrobots after 14 seconds 26 gems installed oddb2xml -h /home/gabriel/.rvm/gems/ruby-2.1.1/bin/oddb2xml ver.1.8.2 Usage: <..> oddb2xml -e DE Pharma products: 15541 NonPharma products: 28950 FR Pharma products: 15541 NonPharma products: 28950 2014-05-02 14:49:48 +0200: 103 done. Took 1712 seconds Added 53224 via pharmacodes of 137236 items when extracting the transfer.dat from "Zur Rose" found 775 lines with duplicated ean13
Running the tests under travis-ci failed because we did not show any output for more than 10 minutes. Fixed with commit Use set -o pipefaill to catch errors from test_options.rb