[osmosis-dev] error caused by Caused by: org.postgresql.util.PSQLException: ERROR: column active of relation users does not exist

2010-06-23 Thread Michael musset
Hi,

I've a france.osm from geofabrik

i'm trying to import it into my database with osmosis with this command :

./osmosis --read-xml file=/home/mickael/planet/france.osm --write-apidb
populateCurrentTables=yes host=localhost database=openstreetmap
user=openstreetmap validateSchemaVersion=no


the osmosis come from :

wget http://dev.openstreetmap.org/~bretth/osmosis-build/osmosis-bin-latest.tgz
tar xvfz osmosis-bin-latest.tgz
cd osmosis-0.35
chmod a+x bin/osmosis
bin/osmosis


my railsport config is :
test:
  adapter: postgresql
  database: osm_test
#  username: osm_test
#  password: osm_test
  host: localhost
  encoding: utf8

production:
  adapter: postgresql
  database: osm
#  username: osm
#  password: osm
  host: localhost
  encoding: utf8

development:
  adapter: postgresql
  database: openstreetmap
#  username: openstreetmap
#  password: openstreetmap
  host: localhost
  encoding: utf8



when i've created the database i've done :

createdb -E UTF8 -O openstreetmap openstreetmap
createdb -E UTF8 -O openstreetmap osm_test
createdb -E UTF8 -O openstreetmap osm

and

psql -d openstreetmap  /usr/share/postgresql/8.4/contrib/btree_gist.sql


+

rake db:migrate
 env RAILS_ENV=production rake db:migrate



I don't understand what is wrong !
thx,
___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev


Re: [osmosis-dev] error caused by Caused by: org.postgresql.util.PSQLException: ERROR: column active of relation users does not exist

2010-06-23 Thread Brett Henderson
Hi Michael,

There were some changes made to the schema recently that have broken
Osmosis.  Fixing Osmosis is on my list of things to do, but I'm not sure
when I'll get to do it.

Brett

On Wed, Jun 23, 2010 at 7:10 PM, Michael musset mickamus...@gmail.comwrote:

 Hi,

 I've a france.osm from geofabrik

 i'm trying to import it into my database with osmosis with this command :

 ./osmosis --read-xml file=/home/mickael/planet/france.osm --write-apidb
 populateCurrentTables=yes host=localhost database=openstreetmap
 user=openstreetmap validateSchemaVersion=no


 the osmosis come from :

 wget 
 http://dev.openstreetmap.org/~bretth/osmosis-build/osmosis-bin-latest.tgz 
 http://dev.openstreetmap.org/%7Ebretth/osmosis-build/osmosis-bin-latest.tgz
 tar xvfz osmosis-bin-latest.tgz

 cd osmosis-0.35
 chmod a+x bin/osmosis
 bin/osmosis


 my railsport config is :
 test:
   adapter: postgresql
   database: osm_test
 #  username: osm_test
 #  password: osm_test
   host: localhost
   encoding: utf8

 production:
   adapter: postgresql
   database: osm
 #  username: osm
 #  password: osm
   host: localhost
   encoding: utf8

 development:
   adapter: postgresql
   database: openstreetmap
 #  username: openstreetmap
 #  password: openstreetmap
   host: localhost
   encoding: utf8



 when i've created the database i've done :

 createdb -E UTF8 -O openstreetmap openstreetmap
 createdb -E UTF8 -O openstreetmap osm_test
 createdb -E UTF8 -O openstreetmap osm

 and

 psql -d openstreetmap  /usr/share/postgresql/8.4/contrib/btree_gist.sql


 +

 rake db:migrate
  env RAILS_ENV=production rake db:migrate



 I don't understand what is wrong !
 thx,








 ___
 osmosis-dev mailing list
 osmosis-dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/osmosis-dev


___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev