<< | Index | >>
Updater (export)job.
ch.oddb> Updater.new(self).export_oddb_csv -> ["yasaka@ywesee.com"]
CsvExportPlugin#export_drugs
$ oddb2tdat oddb.csv(input) oddb.dat(output)
checked oddb.dat file for broken "double quotation marks".
but no error.
exported file and received mail.
error in SBSM::Session#http_headers: /fr/gcc/search/search_query/Minirin,+Nasaltropfen/currency/EUR FloatDomainError Infinity /var/www/oddb.org/src/util/money.rb:19:in `round' /var/www/oddb.org/src/util/money.rb:19:in `amount=' /var/www/oddb.org/src/util/money.rb:12:in `initialize' /var/www/oddb.org/src/util/money.rb:47:in `new' /var/www/oddb.org/src/util/money.rb:47:in `/'
atc_code A06, c10a
ZeroDivisionError divided by 0 /var/www/oddb.org/src/util/quanty/main.rb:134:in `/' /var/www/oddb.org/src/util/quanty/main.rb:134:in `/' /var/www/oddb.org/src/model/dose.rb:113:in `/' /var/www/oddb.org/src/model/package.rb:239:in `ddd_price' /usr/local/lib/ruby/gems/1.9.1/gems/odba-1.0.8/lib/odba/stub.rb:112:in `method_missing'
elements for calculation.
ch.oddb> registration('53699').package('030').size -> 100 ml ch.oddb> registration('53699').package('030').ddd.dose -> 1 g ch.oddb> registration('53699').package('030').dose -> 10 g ch.oddb> registration('53699').package('030').price_public -> 99.40 ch.oddb> registration('47338').package('018').dose -> 350 mg ch.oddb> registration('53699').package('030').dose -> 10 g ch.oddb> registration('53699').package('030').size -> 100 ml ch.oddb> registration('53699').package('030').ddd.dose -> 1 g
fixed commit.
http://scm.ywesee.com/?p=oddb.org/.git;a=commit;h=a9b33dd6b3722202cd433ea3a87a72e909cf2aae
updated to save unit values from admin form.
commit
http://scm.ywesee.com/?p=oddb.org/.git;a=commit;h=f4ceefe40dd19d9b67c1afe54b803c28d93541ba
1. connect to drbprocess(es) for multi hosts
2. connect to drbprocess(es) with request parameter parsing.
begin request = SBSM::Request.new(ODDB::SERVER_URI) if request.unparsed_uri =~ /gcc/ request.process else SBSM::Request.new('druby://localhost:22222').process end rescue Exception => e $stderr << "ODDB-Client-Error: " << e.message << "\n" $stderr << e.class << "\n" $stderr << e.backtrace.join("\n") << "\n" end
TO CHECK using of SERVER_URI IN APPLICATION SRC