[Nitro] "babel": new translation system - suggestions&help wanted

Stephan Walter news at stephan.walter.name
Tue Apr 4 05:47:25 EDT 2006


On Mon, 03 Apr 2006 17:17:26 -0700, Bryan Soto wrote:

> The problem was that Sqlite3 wasn't using the stock fields_for_class
> method in SqlStore that accounted for STI. I've fixed in the darcs repo.
> 
> Many thanks for reporting.

I tried it with the repo but it still does not work (or maybe it wasn't
this error you were talking about. Evolving the schema works now):


D, [2006-04-04T11:41:20.713415 #9158] DEBUG -- : Rendering '/admin/babel__model_translations/edit/1'.
D, [2006-04-04T11:41:20.723878 #9158] DEBUG -- : SELECT * FROM ogbabel_translation WHERE oid=1 AND ogtype='Babel::ModelTranslation'
E, [2006-04-04T11:41:20.725516 #9158] ERROR -- : Error while handling '/admin/babel__model_translations/edit/1'.
E, [2006-04-04T11:41:20.725889 #9158] ERROR -- : undefined method `result' for #<Array:0xb5c05adc>
  /home/i/ruby/nitro/nitrohq/og/lib/og/store/sql.rb:1092:in `read_one'
  /home/i/ruby/nitro/nitrohq/og/lib/og/store/sql.rb:389:in `load'
  /home/i/ruby/nitro/nitrohq/og/lib/og/entity.rb:149:in `[]'
  (eval):6:in `babel__model_translations__edit'
  (eval):15:in `babel__model_translations__edit_action'
  /home/i/ruby/nitro/nitrohq/nitro/lib/nitro/render.rb:126:in `render'
  /home/i/ruby/nitro/nitrohq/nitro/lib/nitro/adapter/webrick.rb:149:in `do_GET'
  /usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'
  /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
  /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
  /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
  /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
  /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
  /home/i/ruby/nitro/nitrohq/nitro/lib/nitro/adapter/webrick.rb:54:in `start'
  /home/i/ruby/nitro/nitrohq/nitro/lib/nitro/server/runner.rb:333:in `invoke_server'
  /home/i/ruby/nitro/nitrohq/nitro/lib/nitro/server/runner.rb:295:in `invoke'
  /home/i/ruby/nitro/nitrohq/nitro/lib/nitro/server.rb:134:in `run'
  /home/i/ruby/nitro/nitrohq/nitro/lib/nitro.rb:77:in `run'
  ./run.rb:24
  LOGGED FROM: /home/i/ruby/nitro/nitrohq/nitro/lib/nitro/render.rb:244:in `log_error'


-Stephan




More information about the Nitro-general mailing list