tilemill-project / tilemill

TileMill is a modern map design studio
https://tilemill-project.github.io/tilemill/
BSD 3-Clause "New" or "Revised" License
3.12k stars 528 forks source link

relative path detection in Library browser incorrect with urls #1983

Open springmeyer opened 11 years ago

springmeyer commented 11 years ago

@stevage (http://support.mapbox.com/discussions/tilemill/6617-no-subject) hit this problem:

[tilemill] { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' } 
[tilemill] { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' } 
[tilemill] [tilemill] [library] detected relative path: https://dl.dropboxusercontent.com/u/redacted/ArtsHack/Australia 
[tilemill] [tilemill] [library] path /usr/share/mapbox/project/QLD/https:/dl.dropboxusercontent.com/u/redacted/ArtsHack/Australia not found defaulting to home directory /usr/share/mapbox
springmeyer commented 11 years ago

it looks like this error is harmless, but we still should try to avoid the http path being detected as relative. If I recall correctly millstone uses the same dumb relative path detection.