Solved! Go to Solution.
gp = arcgisscripting.create(93)
gp = arcgisscripting.create(9.3)
<type 'exceptions.AttributeError'>: 'list' object has no attribute 'reset'
gp = arcgisscripting.create(93)
gp = arcgisscripting.create(9.3)
Hi All,
I am having the same problem, and I try changing gp = arcgisscripting.create to (10.0) as I run on Arc 10, but I am still getting the same problem. Anyone have ideas how to resolve this issue?
Thanks in advance
Executing: HuffModel Auckland_firestations Name attract "C:\Mapping files\working\Decmeber files\Huff_tool\ToolData\SAMPLE" outputfeatureclass Auckland_FSA # # true NR2M_ND 2 NONE "Feature Set" true # #
Start Time: Fri Dec 20 12:00:59 2013
Running script HuffModel...
Finished checking inputs against parameter requirements.
PYTHON ERRORS:
Traceback Info:
File "C:\Mapping files\custom_toolbox\Huff_model\Script\HuffModel.py", line 371, in <module>
attributes.reset()
Error Info:
<type 'exceptions.AttributeError'>: 'list' object has no attribute 'reset'
GP ERRORS:
Completed script HuffModel...
Failed to execute (HuffModel).
Failed at Fri Dec 20 12:01:02 2013 (Elapsed Time: 3.00 seconds)
Hi All (Phil Morefield you can help with this since you seem to know about this?),
I am writing in regards to the Huff Model that Drew Flater posted on ESRI's website since I seem to be running into a problem with it. The model is not generating outputs for all of my supply points, including my planned store location, whenever I run the model with a network I've created. I've followed ESRI's tutorial on creating multi-modal/pedestrian networks.
I'll mention this to Drew and see if we can get this script updated in the near future.
edit: There is an updated version available at http://www.arcgis.com/home/item.html?id=f4769668fc3f486a992955ce55caca18 that should work with 10.x out of the box.