Hello Sven! On mer, 2008-01-02 at 16:09 +0100, Sven Klemm wrote:
> >>>> Can you find an earlier error message in the logs? > >>>> Did you install the sql files bundled with momomoto? > >>>> Did you follow the instructions on http://pentabarf.org/Installation_0.3? > >>> I decided follow instalation instructions step by step. Thank you for > >>> updated docs! :) > >>> First of all i face problems when i tried to launch script/server. > >>> My current rails is 2.0.1 and certainly all fails with some wired > >>> error. > >>> > >>> I tried to define rails version with following constant in > >>> config/enviroment.rb: > >>> > >>> RAILS_GEM_VERSION = '1.1.6' > >>> > >> can you try with rails 1.2.6. I haven't tested any later versions but > >> 1.2.6 should work as I am using it myself. > >> > >>> But this time i got following error: > >>> > >>> $ script/server > >>> => Booting WEBrick... > >>> /usr/lib/ruby/gems/1.8/gems/momomoto-0.1.14/lib/momomoto/database.rb:121:in > >>> `fetch_table_columns': Table without columns (object_domain) > >>> (Momomoto::CriticalError) > >>> > >> uh this looks very strange? did you properly setup the database? It > >> couldn't find the table object_domain which should definitely be > >> there. Are your settings in database.yml correct? > > > > Ok. I purge my old installation and updated svn to HEAD. > > Set up fresh db as described in wiki and correct config/database.yml > > accordingly. > > > > Now i get following error : > > > > ActionController::ActionControllerError > > Filter object must respond to both before and after > > > > But according to the backtrace you are still using rails 1.1.6. Did > you change RAILS_GEM_VERSION in config/environment.rb to use Rails 1.2.6? I updatet rails gem version to 1.2.6 and got the same error as before: All the SQL installed. Postgres 8.2 from Debian sid. momomoto-0.1.14 ERROR: current transaction is aborted, commands ignored until end of transaction block : SELECT column_name,data_type FROM momomoto.fetch_procedure_columns(E'set_config'); RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace /usr/lib/ruby/gems/1.8/gems/momomoto-0.1.14/lib/momomoto/database.rb:91:in `execute' /usr/lib/ruby/gems/1.8/gems/momomoto-0.1.14/lib/momomoto/procedure.rb:100:in `call' /usr/lib/ruby/gems/1.8/gems/momomoto-0.1.14/lib/momomoto/database.rb:149:in `fetch_procedure_columns' /usr/lib/ruby/gems/1.8/gems/momomoto-0.1.14/lib/momomoto/procedure.rb:15:in `initialize_procedure' /usr/lib/ruby/gems/1.8/gems/momomoto-0.1.14/lib/momomoto/procedure.rb:92:in `call' /home/antono/kodo/ruby/debconf/rails/lib/pope.rb:110:in `flush' /home/antono/kodo/ruby/debconf/rails/lib/pope.rb:37:in `deauth' /home/antono/kodo/ruby/debconf/rails/app/controllers/application.rb:21:in `transaction_wrapper' /usr/lib/ruby/gems/1.8/gems/momomoto-0.1.14/lib/momomoto/database.rb:168:in `transaction' /home/antono/kodo/ruby/debconf/rails/app/controllers/application.rb:19:in `transaction_wrapper' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:469:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:469:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:719:in `run_before_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:694:in `call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:in `perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' -- Antono Vasiljev http://antono.info _______________________________________________ pentabarf mailing list pentabarf@mail.skyhub.de https://mail.skyhub.de/cgi-bin/mailman/listinfo/pentabarf