-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postgis Plugin: Bad connection ... 'landuse_gen0' in Layer #98
Comments
Same problem, same version of TileMill (the developer build that works with OS X Yosemite, as suggested in this issue). |
If you are familiar with npm/node I recommend installing TileMill from source like this: https://github.com/mapbox/tilemill#installation. That will pull in this fix: mapnik/mapnik#2725 which should allow a more helpful error message to show up. Can you try that and let me know what you get? |
Hi @springmeyer, I've checked with latest TileMill version at mapbox/tilemill@9619cca6f222cd248020f59494de80013e4e4098 as you suggested and it works without errors there (tested with node 0.10). Thank you! I noticed that TileMill is slow loading tiles when run this way, but I guess that it may be related to the fact it was running inside a browser (Chrome). |
@olegueret - that is great that the error is gone. I was just hoping that you would see a better, more helpful error :).
No, TileMill should not be slower if accessed via your web browser - it is the same code running. If you are seeing something being slower than in previous TileMill versions then we should investigate to try to figure out what exactly is slower. The first step would be to try profiling while TileMill is doing work and seeming slow. See https://github.com/springmeyer/profiling-guide for some tips on how to profile on different operating systems. |
Hi,
I'm trying to use OSM Bright in TileMill using this tutorial.
https://www.mapbox.com/tilemill/docs/guides/osm-bright-mac-quickstart/
At the end of Step 3, when I open my project in TileMill, I have this message :
Postgis Plugin: Bad connection
Connection string: ' dbname=osm connect_timeout=4'
encountered during parsing of layer 'landuse_gen0' in Layer
And I'm unable to find what's going wrong...
Thank you for your help
Tonio
(TileMill Version 0.10.1 (v0.10.1-312-gfaf6910) / Mac OSX Yosemite 10.10.2).
The text was updated successfully, but these errors were encountered: