I'm trying to publish a geoprocessing service (10.2.1) that will be used to generate a PDF from a webmap using an MXD layout as a template.
The problem is that if I try to import any module besides arcpy
, the publishing just runs forever until I kill it.
For example, I tried to import os
, and it just hangs while it's publishing. When I remove import os
, it publishes just fine. Same thing happens with any other module I try to import.
Any idea what's wrong here?
I found this thread that has the exact same problem, but there wasn't really a solution:
Publishing geoprocessing service takes forver