-
Notifications
You must be signed in to change notification settings - Fork 155
AttributeError: 'module' object has no attribute 'AnalyzeParameters' #59
Comments
Do you have the latest version of ArcREST? It's in there: https://github.com/Esri/ArcREST/blob/master/src/arcrest/manageorg/parameters.py |
Yes, the error no longer appears, can you provide an example of how ['layerinfo'] should be structured? |
See: http://resources.arcgis.com/en/help/arcgis-rest-api/#/Layer/02r30000004q000000/ Andrew Chapkowski | Professional Services [DevA_EDDA] From: Geoffrey West [mailto:notifications@github.com] Yes, the error no longer appears, can you provide an example of how ['layerinfo'] should be structured? — |
Not sure why it's not publishing, I intermittently receive a 500 error from addItem as mentioned in #53. Publishing and addItem appear dependent at this point as an itemAdds without issue when I omit the publish section. print usercontent.publishItem(fileType="CSV", my ['layerinfo'] is a json that I am reading from disk as
if 'publishParameters' in analyzeResult: I am using this JSON structure found http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r30000008q000000 { |
I would suggest installing Fiddler and walk through the process using ArcGIS Online or Portal and see what differs from the calls you are making in ArcRest. Can you post the entire scripts and a sample CSV that we can use to repo the issue? |
No code posted or fiddler traffic, issue closed. Please feel free to post your issue again. |
See issue # 53, when using the provided code sample the error returns,
analyzeParams = arcrest.manageorg.AnalyzeParameters()
AttributeError: 'module' object has no attribute 'AnalyzeParameters'
code that I am using;
import arcrest
if name == "main":
username = ""
password = ""
csv_file = r"C:\Users\GeoffreyWest\Desktop\bing_output.csv"
The text was updated successfully, but these errors were encountered: