[Qgis-user] configuring 2.1 server on MAC/OSX

Chris Nicholas chrisgnicholas at att.net
Thu Oct 10 15:14:19 PDT 2013


hi - wondering if anyone has actually gotten the 2.1 qgis_server stuff to work on MAC/OSX ...

I've gotten it to work on Ubuntu like a champ, and oh-so-close on OSX ... 

I followed all the directions at:
http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial


nothing worked at first;  I tried to to unravel things using dtrace(1) to see what it was looking for, and for some reason, either hard-coded or by defaults, it looks for a lot of stuff  in "/Users/larrys/ ..."

so, I put in a symlink from /Users/larrys/QGIS/nightly/QGIS_Apps/QGIS_2.1-dev.app -> /Applications/QGIS_2.1-dev.app , and since it was apparently built in debug mode, the QGIS_LOG_FILE shows it actually rendering things to /private .

rc/core/qgsmaprenderer.cpp: 625: (render) Done rendering map layers
rc/core/qgsvectorlayer.cpp: 328: (drawLabels) Starting draw of labels: world_shapes20130924190607981
rc/core/qgsmaprenderer.cpp: 692: (render) Rendering completed in (seconds): 0.021
rc/mapserver/qgswmsserver.cpp: 689: (getMap) clearing filters
rc/mapserver/qgis_map_serv.cpp: 554: (main) Sending GetMap response
rc/mapserver/qgshttprequesthandler.cpp: 96: (sendGetMapResponse) Sending getmap response...
rc/mapserver/qgshttprequesthandler.cpp: 45: (sendHttpResponse) Checking byte array is ok to send...
rc/mapserver/qgis_map_serv.cpp: 556: (main) Response sent


But for some reason, at the very end, I get a 500 error ...  :-(

comment/suggestions/RTFMs welcomed!

thanks - 

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20131010/956178b8/attachment.html>


More information about the Qgis-user mailing list