view · edit · sidebar · attach · print · history

20130325-debug-swissmedicinfo-production-error-pi-updater

<< | Index | >>


Summary

  • Update swissmedicinfo Updater

Commits

Index


Debug swissmedicnifo Updater error on production

Plugin: ODDB::TextInfoPlugin
Error: NoMethodError
Message: undefined method `empty?' for nil:NilClass
Backtrace:
/var/www/oddb.org/src/plugin/text_info.rb:1101:in `import_swissmedicinfo'
/var/www/oddb.org/src/util/updater.rb:500:in `block in update_notify_simple'
/var/www/oddb.org/src/util/updater.rb:476:in `call'
/var/www/oddb.org/src/util/updater.rb:476:in `wrap_update'
/var/www/oddb.org/src/util/updater.rb:494:in `update_notify_simple'
/var/www/oddb.org/src/util/updater.rb:303:in `update_textinfo_swissmedicinfo'

This was buf for addition of iksnrs option.

commit

Create swissmedicinfo PI Updater

Debug with some iregular cases.

  • Neupro® and Neupro (Both are in swissmedicinfo)
  • CoAmox-Acino (62848)
  • Apotheke zur Eiche Antitussif, Sirop (63101)
  • Ropinirol Sandoz® Retard
  • Peru-Stick
not found
  • Franzbranntwein-Gel Klosterfrau® (DE)
  • Franzbranntwein Klosterfrau® mit Menthol (DE)
  • Eau-de-vie de France Klosterfrau® au menthol (FR)
commit

Debug Error on production

Error at RSS file creation.

Plugin: ODDB::TextInfoPlugin
Error: NotImplementedError
Message: method `method_missing' called on terminated object (0x00000037993090 flags=0x0 klass=0x0)
Backtrace:
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/persistable.rb:588:in `block in odba_unsaved?'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/persistable.rb:587:in `each'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/persistable.rb:587:in `any?'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/persistable.rb:587:in `odba_unsaved?'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/cache_entry.rb:37:in `object_id2ref'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/cache_entry.rb:72:in `_odba_object'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/cache.rb:309:in `fetch_or_do'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/cache.rb:225:in `fetch'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/stub.rb:49:in `odba_receiver'
/usr/local/lib/ruby/gems/1.9.1/gems/odba-1.1.0/lib/odba/stub.rb:27:in `is_a?'
/var/www/oddb.org/src/util/language.rb:30:in `description'
/var/www/oddb.org/src/util/language.rb:48:in `method_missing'
/var/www/oddb.org/src/view/rss/fachinfo.rb:52:in `block (2 levels) in to_html'
/var/www/oddb.org/src/view/rss/fachinfo.rb:50:in `each'
/var/www/oddb.org/src/view/rss/fachinfo.rb:50:in `block in to_html'
/usr/local/lib/ruby/1.9.1/rss/maker/base.rb:438:in `make'
/usr/local/lib/ruby/1.9.1/rss/maker/base.rb:402:in `make'
/usr/local/lib/ruby/1.9.1/rss/maker.rb:9:in `make'
/var/www/oddb.org/src/view/rss/fachinfo.rb:40:in `to_html'
/var/www/oddb.org/src/plugin/plugin.rb:86:in `block (2 levels) in update_rss_feeds'
/var/www/oddb.org/src/plugin/plugin.rb:85:in `open'
/var/www/oddb.org/src/plugin/plugin.rb:85:in `block in update_rss_feeds'
/var/www/oddb.org/src/plugin/plugin.rb:49:in `call'
/var/www/oddb.org/src/plugin/plugin.rb:49:in `block in l10n_sessions'
/var/www/oddb.org/src/plugin/plugin.rb:46:in `each_key'
/var/www/oddb.org/src/plugin/plugin.rb:46:in `l10n_sessions'
/var/www/oddb.org/src/plugin/plugin.rb:77:in `update_rss_feeds'

related issue.

view · edit · sidebar · attach · print · history
Page last modified on March 25, 2013, at 07:57 PM