[openstreetmap-website] Installation issues (#685)

Peter notifications at github.com
Wed Jan 22 20:51:19 UTC 2014


I installed and all looks good so far. But in some test script there is an absolute path:

    psql:/home/user/openstreetmap-website/db/structure.sql:129: ERROR:  could not access file "/srv/www/master.osm.compton.nu/db/functions/libpgosm.so"

Also some other tests are failing but not sure if that is important (e.g.ApiControllerTest#test_changes_simple [/home/user/openstreetmap-website/test/functional/api_controller_test.rb:236]: Expected response to be a <success>, but was <500)

Now my main problem is that the db migration is not successfull (using ruby-2.1.0, Rails 4.0.2, PostgreSQL 9.1):

    $ bundle exec rake db:migrate RAILS_ENV=development
==  AddMoreChangesetIndexes: migrating ========================================
-- add_index("changesets", ["created_at"], {:name=>"changesets_created_at_idx"})
   -> 0.0686s
-- add_index("changesets", ["closed_at"], {:name=>"changesets_closed_at_idx"})
   -> 0.0339s
-- add_index("changesets", ["min_lat", "max_lat", "min_lon", "max_lon"], {:name=>"changesets_bbox_idx", :method=>"GIST"})
rake aborted!
An error has occurred, this and all later migrations canceled:

Unknown key: method/user/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/core_ext/hash/keys.rb:70:in `block in assert_valid_keys'
/home/user/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/core_ext/hash/keys.rb:69:in `each_key'
/home/user/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/core_ext/hash/keys.rb:69:in `assert_valid_keys'
/home/user/.rvm/gems/ruby-2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:779:in `add_index_options'
/home/user/.rvm/gems/ruby-2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql/schema_statements.rb:417:in `add_index'
/home/user/.rvm/gems/ruby-2.1.0/gems/activerecord-4.0.2/lib/active_record/migration.rb:625:in `block in method_missing'
/home/user/.rvm/gems/ruby-2.1.0/gems/activerecord-4.0.2/lib/active_record/migration.rb:597:in `block in say_with_time'
/home/user/.rvm/gems/ruby-2.1.0/gems/activerecord-4.0.2/lib/active_record/migration.rb:597:in `say_with_time'
/home/user/.rvm/gems/ruby-2.1.0/gems/activerecord-4.0.2/lib/active_record/migration.rb:617:in `method_missing'
/home/user/.rvm/gems/ruby-2.1.0/gems/activerecord-4.0.2/lib/active_record/migration.rb:383:in `method_missing'
/home/user/Dokumente/quell/graphstuff/openstreetmap-website/db/migrate/028_add_more_changeset_indexes.rb:5:in `up'


---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/685
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140122/bd022e80/attachment.html>


More information about the rails-dev mailing list