OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

Announcement

A fix has been applied to the login system for the forums - if you have trouble logging in please contact support@openstreetmap.org with both your forum username and your OpenStreetMap username so we can make sure your accounts are properly linked.

#1 2017-01-13 11:36:35

Dmytro Ovdiienko
Member
From: Kraków
Registered: 2010-02-15
Posts: 250

[Merkaartor] 301 Moved Permanently

Hello,

I cannot upload my changes to server. Instead I receive following error message.

---------------------------
Error uploading request
---------------------------
There was an error uploading this request (301)
"<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.openstreetmap.org/api/0.6/changeset/create">here</a>.</p>
<hr>
<address>Apache/2.4.18 (Ubuntu) Server at www.openstreetmap.org:p Port 80</address>
</body></html>
"
Please redownload the problematic feature to handle the conflict.
---------------------------
Retry   Abort   
---------------------------

Merkaartor 0.17.2

What is wrong?

Thanks
Dima

Offline

#2 2017-01-13 12:52:03

escada
Moderator
Registered: 2011-08-13
Posts: 981

Re: [Merkaartor] 301 Moved Permanently

Is it possible that your editor is still using an old API version to edit data ? How old that version ?

I see there is 0.18.3 version available ? Could you upgrade?

Offline

#3 2017-01-13 17:44:31

SomeoneElse
Member
Registered: 2010-10-13
Posts: 482

Re: [Merkaartor] 301 Moved Permanently

It's a bug in Merkaartor.  See here: https://github.com/openstreetmap/openst … ssues/1400 .

Offline

#4 2017-01-13 21:59:26

wycbtma
Member
Registered: 2013-06-30
Posts: 82

Re: [Merkaartor] 301 Moved Permanently

Was figured out in all details by mmd some days ago.
Solution: Update Merkaartor, currently 0.18.3
http://merkaartor.be/p/download

Reason was, this OLD version 0.17.2 had a tiny bug accidentally adding ":P" to the hostname (was meant to be ":80"). That didn't matter in the past, but recently OSM people discovered that google gives some really weird domains as search results, and decided to automatically redirect now all API calls to the 'correct' domain. And that's when this little 0.17 bug suddenly kicked in.

https://github.com/openstreetmap/openst … ssues/1400
https://github.com/openstreetmap/openst … ssues/1407
https://forum.openstreetmap.org/viewtop … =56866&p=2

Updating Merkaartor should be no prob for most users, except for an alien or two still using prehistoric systems cool But since your last edits were done with Potlatch2, I assume it should work.

Very kindly, mmd even prepared a fix for the old 0.17 version, which the also very kind Merkaartor developer even accepted, just can't compile this old version himself anymore:
https://github.com/openstreetmap/merkaartor/pull/126

(Honestly guys, am grateful but never meant to cause you any work for such ancient OS and almost no users, merely hoped to learn the real origin for that sudden prob)

PS: as a partly workaround, 0.17 users can still EXPORT their Merkaartor-created changeset as local *.osc file, then use the Level0-Editor to import it again and upload. It has a few restrictions like max 500 elements or such.
http://level0.osmz.ru

Last edited by wycbtma (2017-01-13 22:08:48)

Offline

#5 2017-01-15 22:04:28

Dmytro Ovdiienko
Member
From: Kraków
Registered: 2010-02-15
Posts: 250

Re: [Merkaartor] 301 Moved Permanently

Thanks! 0.18.3 works!

Offline

Board footer

Powered by FluxBB