<< Masa.20120117-update-sbsm-update-narcotics-data-importer-fix-small-bugs-oddb_org | Index | Masa.20120113-fix-migel-link-errros-update-oddb2tdat-check-sbsm-rockit >>
Error (mail_download_invoices)
Error: TypeError Message: can't iterate from Time Backtrace: /var/www/oddb.org/src/plugin/download_invoicer.rb:63:in `each' /var/www/oddb.org/src/plugin/download_invoicer.rb:63:in `include?' /var/www/oddb.org/src/plugin/download_invoicer.rb:63:in `include?' /var/www/oddb.org/src/plugin/download_invoicer.rb:63:in `block in recent_items'
Commit
Error (mail_patinfo_invoices)
Error: ArgumentError Message: invalid byte sequence in UTF-8 Backtrace: /usr/local/lib/ruby/gems/1.9.1/gems/mail-2.3.0/lib/mail/core_extensions/string.rb:12:in `=~' /usr/local/lib/ruby/gems/1.9.1/gems/mail-2.3.0/lib/mail/core_extensions/string.rb:12:in `!~' /usr/local/lib/ruby/gems/1.9.1/gems/mail-2.3.0/lib/mail/core_extensions/string.rb:12:in `blank?' /usr/local/lib/ruby/gems/1.9.1/gems/mail-2.3.0/lib/mail/body.rb:36:in `initialize'
Temporary solution
def blank? self !~ /\S/rescue
self.force_encoding("UTF-8")
self.encode!("UTF-16BE", :invalid => :replace, :undef => :replace, :replace => '?')
self.encode!("UTF-8")
self !~ /\S/
end
Note
Error (update_textinfo_news)
Plugin: ODDB::TextInfoPlugin Error: NoMethodError Message: undefined method `to_html' for nil:NilClass Backtrace: /home/masa/ywesee/oddb.org/src/plugin/text_info.rb:107:in `fachinfo_news' /home/masa/ywesee/oddb.org/src/plugin/text_info.rb:159:in `import_news' /home/masa/ywesee/oddb.org/src/util/updater.rb:409:in `block in update_notify_simple' /home/masa/ywesee/oddb.org/src/util/updater.rb:389:in `call'
Commit
Current status
Goal
Algorithm
Commit
Note (for future development
)
Refer
Commit
Note