view · edit · sidebar · attach · print · history

<< FachinfoYamlExportError | Index | GrantDownload >>

Fachinfo Export

  • ch.oddb> YamlExporter.new(self).export_fachinfos

Debug

Error Email ch.ODDB.org Report - Error Export: fachinfo.yaml - 23/11/2011

Error: DRb::DRbConnError
Message: connection closed
Backtrace:
/usr/lib64/ruby/1.8/drb/drb.rb:570:in `load'
/usr/lib64/ruby/1.8/drb/drb.rb:632:in `recv_reply'
/usr/lib64/ruby/1.8/drb/drb.rb:921:in `recv_reply'
/usr/lib64/ruby/1.8/drb/drb.rb:1195:in `send_message'
/usr/lib64/ruby/1.8/drb/drb.rb:1086:in `method_missing'
/usr/lib64/ruby/1.8/drb/drb.rb:1170:in `open'
/usr/lib64/ruby/1.8/drb/drb.rb:1085:in `method_missing'
/usr/lib64/ruby/1.8/drb/drb.rb:1103:in `with_friend'
/usr/lib64/ruby/1.8/drb/drb.rb:1084:in `method_missing'
/var/www/oddb.org/src/plugin/yaml.rb:17:in `export_array'
/var/www/oddb.org/src/plugin/yaml.rb:65:in `export_fachinfos'
/var/www/oddb.org/src/util/exporter.rb:241:in `export_fachinfo_yaml'
/var/www/oddb.org/src/util/exporter.rb:315:in `call'
/var/www/oddb.org/src/util/exporter.rb:315:in `safe_export'
/var/www/oddb.org/src/util/exporter.rb:240:in `export_fachinfo_yaml'
jobs/export_fachinfo_yaml:14
/var/www/oddb.org/src/util/job.rb:17:in `call'
/var/www/oddb.org/src/util/job.rb:17:in `run'
jobs/export_fachinfo_yaml:13

Connection Test

$ bin/admin
ch.oddb> DRbObject.new_with_uri('druby://localhost:10005').respond_to?(:export_yaml)
-> true

Note

  • DRb::DRbConnError happens when exportd process stops and the other process tries to access to exportd
  • Every export method kills exportd process after the method (EXPORT_SERVER.clear method kills exportd process in src/util/exporter.rb)
  • It could be a case to make a DRbConnError where more than two export job processes are running at the same time
  • Otherwise, exportd might die in some reason, for example, segmentation fault.
view · edit · sidebar · attach · print · history
Page last modified on February 27, 2012, at 08:47 AM