I upgraded Rails to 2.3.2 and got the latest OpenStreetMap code. I am still getting a bunch of errors/failures. The text of the errors seems to have changed slightly, but a lot of them still say things like "Expected response to be a <:success>, but was <409>". I have pasted the unedited test output here: http://osm.pastebin.com/m355fe175
I could not paste the entire test log into pastebin because it is too big. However, I did put a portion of it here: http://osm.pastebin.com/m2613561f I chose that selection because it seemed to show where the 409 errors were coming from. Thanks, Trent From: Shaun McDonald [mailto:sh...@shaunmcdonald.me.uk] Sent: Friday, June 12, 2009 9:54 AM To: Lucier, Trent Cc: dev@openstreetmap.org Subject: Re: [OSM-dev] OSMOSIS: Problems Importing Data That is a lot of errors. Are you sure you are running the latest version of the code, and have successfully run rake db:migrate? We are now using rails 2.3.2. The fact the output contains innodb information, even when you are using Postgres is fine. It is an abstraction, which only affects MySQL. For example output see the following build log after the line **Running the tests** http://cruise.shaunmcdonald.me.uk/builds/osmapi-postgres/15862 All the tests will work offline. They do not require a connection to any OSM server. There is currently one migration on setup of the development database that will not work in an offline environment. Can you please post the full log to http://osm.pastebin.com/ and include the link in your response, once you are using the latest code? Shaun On 12 Jun 2009, at 14:26, Lucier, Trent wrote: Here is the error message I get when I run " rake test". (I deleted some of the failures to get around this mailing list's message size limit. The ones I deleted were similar to the ones surrounding them with the 'send' errors). I had already run the commands you linked to. Do my errors indicate that it did not work? I assumed all the failures for the _send_ calls were due to tests trying to talk back to www.openstreetmap.org. As I've said, my environment is not internet enabled. Also, I noticed something else strange when I ran the rake db:migrate command. One of the lines of output mentioned "innodb", which I know is a MySQL thing (not PostgreSQL). I was using MySQL previously, but switched everything over to PostgreSQL (yes, my database.yml file now points to postgresql). I would post the message, but my rake db:migrate command doesn't think any changes were made and won't do a total rebuild. Is there a way to force rake db:migrate to build again so I can post that output?
_______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev