On Sat, Aug 30, 2008 at 10:19:38PM +0200, Florian Lohoff wrote:
> Subject: Re: [OSM-dev] [Tilesathome] [EMAIL PROTECTED] API still turn off...
> 
> Last time it took me 3900 Minutes ~ 2 3/4 days on a 4 Disk Raid0 4Gb Ram
> Xeon machine ...
> 
> Now - 6 months and a couple more GBytes later its running again - 2 3/4
> days are over already - my guess is that tomorrow morning it'll be done.

Okay - import done and osmosis is keeping it up to date with the minute
diffs - currently the offset is roughly 5 minutes it seems.

Now i had a look at the API stuff and i need desperatly help here. I
tried my way through the rails code. Neither i had to deal with ruby not
rails in the past - i was trying to satisfy dependencies and failed
there already. Although i installed the composite_keys starting the
server fails:

[EMAIL PROTECTED]:~/svn.openstreetmap.org/sites/rails_port$     sudo gem
install composite_primary_keys
Successfully installed activesupport-2.1.0
Successfully installed activerecord-2.1.0
Successfully installed composite_primary_keys-1.0.8
3 gems installed
[...]

[EMAIL PROTECTED]:~/svn.openstreetmap.org/sites/rails_port$ COLUMNS=250 
script/server
=> Booting WEBrick...
/usr/local/lib/site_ruby/1.8/rubygems.rb:578:in `report_activate_error': 
RubyGem version error: composite_primary_keys(1.0.)
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:134:in `activate'
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:49:in `gem'
        from 
/home/flo/svn.openstreetmap.org/sites/rails_port/config/initializers/composite_primary_keys.rb:2
        from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in
 `load'
        from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in
 `load'
        from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in
 `new_constants_in'
        from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in
 `load'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:342:in 
`load_application_initializers'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:341:in 
`each'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:341:in 
`load_application_initializers'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:116:in 
`process'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:49:in 
`send'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:49:in 
`run'
        from 
/home/flo/svn.openstreetmap.org/sites/rails_port/config/environment.rb:28
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`gem_original_require'
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`require'
        from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in
 `require'
        from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in
 `new_constants_in'
        from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in
 `require'
        from 
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/webrick.rb:59
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`gem_original_require'
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`require'
        from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in
 `require'
        from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in
 `new_constants_in'
        from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in
 `require'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`gem_original_r


Most likely 90% of the whole rails stuff would not be needed for
only a read only api e.g. session tracking, logins, friends whatever.

Flo
-- 
Florian Lohoff                  [EMAIL PROTECTED]             +49-171-2280134
        Those who would give up a little freedom to get a little 
          security shall soon have neither - Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to