<< | Index | >>
On my local server cipralex has the correct order of Zusammensetzung and Galenische Form. Running a reimport. After running the import Galenische Form comes before Zusammensetzung.
For the space problem I am running the following unit tests
As the are many unit tests for doctors, I run the manually, e.g.
test/test_plugin/csv_export.rb: No problems test/test_plugin/doctors.rb : No problems test/test_view/address.rb: No problems test/test_util/exporter.rb has one error of type connect(2) and 6 failures test/test_util/updater.rb takes a long time. 2 failures (oddb2dat, migel) test/test_state/doctors/doctorlist.rb: No problems test/test_state/doctors/doctor.rb: No problems test/test_state/doctors/global.rb: No problems test/test_state/doctors/vcard.rb: No problems test/test_state/global.rb: 7 failures and 15 errors (I am not interested in them at the moment) test/test_state/admin/admin.rb: No problems test/test_state/admin/root.rb: Login failure and 1 error galenic form test/test_state/admin/address_suggestion.rb: has failure with Flexmock address test/test_plugin/yaml.rb: No problems test/test_plugin/zdoctor.rb: 6 NameError: uninitialized constant Mock::RUNIT test/test_view/doctors/centeredsearchform.rb NoMethodError: undefined method `sort_by' for "zones":String test/test_view/doctors/doctorlist.rb NoMethodError: undefined method `event' for <FlexMock:session>:FlexMock test/test_view/doctors/doctor.rb NoMethodError: undefined method `addresses' for <FlexMock:model>:FlexMock test/test_view/doctors/vcard.rb: No problem
The error connect(2)
appeared lately in various error reports. Will look at the cause of
ruby test/test_util/exporter.rb <..> 3) Error: test_export_yaml__on_tuesday(ODDB::TestExporter): Errno::ECONNREFUSED: Connection refused - connect(2) /opt/src/oddb.org/src/util/log.rb:119:in `send_mail' /opt/src/oddb.org/src/util/log.rb:85:in `notify' /opt/src/oddb.org/src/util/exporter.rb:445:in `rescue in safe_export' /opt/src/oddb.org/src/util/exporter.rb:435:in `safe_export' /opt/src/oddb.org/src/util/exporter.rb:283:in `block in export_yaml' /opt/src/oddb.org/src/util/schedule.rb:15:in `call' /opt/src/oddb.org/src/util/schedule.rb:15:in `run_on_weekday' /opt/src/oddb.org/src/util/exporter.rb:281:in `export_yaml' test/test_util/exporter.rb:328:in `test_export_yaml__on_tuesday' <..>
After some work I was able to commit Fix running exporter tests. It gave me insight into how the exporter worked, but no real error popped up.
Running exportd in console and running under bin/admin the export job like Exporter.new(self).export_doc_csv
ch.oddb> Exporter.new(self).export_doc_csv -> 30
But I received no e-Mail. Process /var/www/oddb.org/ext/export/bin/exportd
finished silently.
Restarted /var/www/oddb.org/ext/export/bin/exportd
. Then ran ruby jobs/mail_index_therapeuticus_csv
Analysing ch.ODDB.org Report - Download-Statistics - 07/2013
I saw an error that the directory /var/www/oddb.org/log/download/2013/
did not exists. Same for /var/www/oddb.org/log/feedback/2013
Took me some time to figure out, that each time a key was written, the CSV-file was created now. Changing the mode from 'w' to 'a+' fixed the problem. Commit Fix CSV-export
The travis-CI works but the rake test command is dummy. We will attack this problem once we fixed the space problem