I have problem publishing a simple python script as geoprocessing service with ArcGIS Server.
u = arcpy.GetParameter(0)
image = urllib.urlopen(url).read()
This is a simple proxy that uses urllib to redirect images. When I try to publish this script, ArcMap always go idle and finally crash. If I try to publish a script that do not import urllib, I have no problem.
Can someone tell me if trying to publish a python script that import urllib into ArcGIS Server could make the Publisher crashing?