1

I updating one of the parameters in my ArcGIS Python toolbox with data from SQL Server, but am getting an illegal list value error. I have removed a lot of the 'special' characters, but am thinking there should be a list of what constitues an 'Illegal list value'. Does anyone know?

ERROR Traceback (most recent call last): File "", line 276, in updateParameters ValueError: FilterObject: illegal list value

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Mar 2, 2018 at 4:03
1
  • Welcome to GIS SE! As a new user be sure to take the Tour to learn about our focussed Q&A format. When precisely do you see this error? I suspect that we may need you to post a test Python toolbox (code snippet equivalent for Python Toolbox question) that can be copy/pasted to run and see what you are describing. Commented Mar 2, 2018 at 4:19

1 Answer 1

2

It had nothing to do with special characters, but there was a NULL value in the column which was causing the error. After removing this row in the database, I was able to update the parameter list.

answered Mar 2, 2018 at 17:49

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.