tilemill icon indicating copy to clipboard operation
tilemill copied to clipboard

"Forbidden" error on Export

Open NHQ opened this issue 12 years ago • 7 comments

I just downloaded TileMill for OS X and tried to export a map from the Control Room demo (and others). I tried png and svg. Both times I get an error simply says Forbidden.

I downloaded 0.7.0 I'm on OSX 10.6.8

I tested TileMill almost a year ago. Really nice progress!

Many thx.

NHQ avatar Dec 01 '11 00:12 NHQ

Hi and thanks for the report. This may be similar to #869, which has been tricky to replicate. However, it sounds like you're able to replicate it rather easily. Does this happen every time you try to export? Have you ever been able to export successfully?

Recent log output from TileMill may help us debug the issue. On Mac OS X, logs are viewable by choosing Console from the app’s Window menu. On Linux, logs are written to ~/.tilemill.log by default.

Are there any messages in the log? If so, please post them here.

Thanks, Will

willwhite avatar Dec 01 '11 04:12 willwhite

I also get the Forbidden message when I try to save a change eg. to one of the demo maps. I also got it after I tried to add a new project (when I clicked Add, got Forbidden, and had to restart). I get the same message with every export try. Basically I'm locked out! I may try building from source next week, and see where that goes.

None of those "errors" seemed to effect the log, it looked like this before and after:

Creating files dir /Users/hyfndeveloper/Documents/MapBox
Creating export dir /Users/hyfndeveloper/Documents/MapBox/export
Creating project dir /Users/hyfndeveloper/Documents/MapBox/project
Creating data dir /Users/hyfndeveloper/Documents/MapBox/data
Creating cache dir /Users/hyfndeveloper/Documents/MapBox/cache
Creating cache/tile dir /Users/hyfndeveloper/Documents/MapBox/cache/tile
Started [Server Core:8889].
Started [Server Core:8889].

NHQ avatar Dec 01 '11 19:12 NHQ

Where did you place your tilemill.app? Also does your mac user have administrative abilities on this machine?

springmeyer avatar Dec 02 '11 19:12 springmeyer

It was moved by the operating system to the users Application folder (the OS asked to move it and I assented). I moved it again to the main applications folder, but nothing changed.

The user is the admin, yes.

NHQ avatar Dec 02 '11 19:12 NHQ

I managed to get a "Forbidden" error when creating a new project, after millstone downloaded the new base shapefile.

kkaefer avatar Dec 07 '11 22:12 kkaefer

I ran into the same issue. The problem was that I was blocking cookies and everything else I have been playing with before works fine without cookies. The Export seems to require cookies, though.

janhapke avatar Dec 21 '11 19:12 janhapke

I also got the problem on OSX 10.8.2, but only when I changed to the osm-bright templates (separate download). The problem seemed to be that these templates rely on external data (like coastlines) for which pressing the save button triggers the download, which probably times out. I removed the dependency on these downloads and the problem seems to have gone away. The main issue is IMHO the misleading error message. I assumed it was a sandboxing problem.

applantation avatar Sep 23 '12 06:09 applantation