NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello, I follow the guide on github to install my openstreetmap website. But when I run bundle exec rake test:db, a failure occurred:

Failure:
AmfControllerTest#test_getway_old [/home/yeager/sfw/openstreetmap-website/test/controllers/amf_controller_test.rb:350]:
Expected: 0
Actual: -1

Is there anyone met the same question? How to solve it? Thanks for your help.

asked 26 Nov '17, 00:43

gleide's gravatar image

gleide
797712
accept rate: 50%

edited 06 Dec '17, 20:41

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

1

We'll need some more information to help. Is this the only test that fails? Have you installed the three database functions (maptile_for_point etc) mentioned in the INSTALL.md file?

(29 Nov '17, 11:52) Andy Allan

This turns out to have been a bug in the way that timezones are handled in the test suite, and has now been fixed. For more information see https://github.com/openstreetmap/openstreetmap-website/issues/1688

permanent link

answered 06 Dec '17, 19:17

Andy%20Allan's gravatar image

Andy Allan
12.5k23128153
accept rate: 28%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×362
×111
×23
×7

question asked: 26 Nov '17, 00:43

question was seen: 2,319 times

last updated: 06 Dec '17, 20:41

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum