AnsweredAssumed Answered

Cherrypy with arcpy

Question asked by thanhngocdao on Jan 19, 2017
Latest reply on Jan 19, 2017 by thanhngocdao

Hello everybody,

Currently i'm developing an API that do some basic calculation (polygon area ... ) using arcpy. I'm using bottle.py with cherrypy as webserver.

At first i used the WSGIRef (default webserver of bottle.py, single-thread) and everything is fine but after switching to cherrypy (multi-threaed webserver), my code suddenly went down, look closely in to my source code it fail in these line:

             arcpy.env.workspace = OutputLocation

Have someone ever facing this problem before?

Outcomes