I have some Python code, specifically arcpy related, that I am having trouble debugging. Essentially the error I am getting is the same as in this question:
However I have not been able to figure out where this is occuring as it appears to me I am cleaning up soon after Cursor usage.
The script is, at least I think, too long to post here. I note that in this post: How much code is appropriate for an answer? there is a mention that a page or more of code shows the user has not bothered to narrow down the question. I tend to agree with this. However as it stands I feel this is necessary.
Having said that I think the code could be somewhat useful to some GIS.SE users as the error only occurs in some instances which I could clarify. In this sense I am happy to make it available for use by the community and just ask for help from anyone who encounters the same issue and has the skills to debug.
This is still somewhat theoretical as I have no idea where I would host the script as yet but it is something I am looking at doing in the future either way. Another question is that if the site was a blog would it be seen as shameless self promotion?