Multiple ring buffer error

9004
22
02-02-2011 03:15 AM
LuděkKrtička
New Contributor II
Hello,
I am having problems with Multiple Ring Buffer tool in ArcGIS 10. Not working for me, even for my colleagues. I searched forum, but no help solving my case. After selecting input layer, when you start to define distances following error occures:
ERROR
updateParameters Execution Error:
Runtime error: 'ascii' codec can't decode byte 0xa0 in position 0: ordinal not in range(128)

file with screenshot:
http://www1.osu.cz/~krticka/MultipleRingBufferError.jpg

My system info:
Microsoft® Windows Vista�?� Business , Service Pack 2
ArcGIS 10 SP1
Microsoft .NET Framework 3.5 SP1
Python 2.6.5 (Python files and subfolders are in c:\Python26\ArcGIS10.0\)

Thank you for any help.

Ludek Krticka
0 Kudos
22 Replies
MarcelHoule
New Contributor
I had this same error so I wrote to ESRI Poland help-desk.

Here is an answer:

  1. Create new Toolbox in ArcCatalog

  2. Add it to ArcToolbox

  3. Copy Multiple Ring Buffer to your new Toolbox

  4. Right click -> Properties -> Validation -> Edit

  5. Open script

  6. Find: locale.setlocale(locale.LC_NUMERIC, '')

  7. Correct it to: locale.setlocale(locale.LC_NUMERIC, 'C')


In my situation it works correctly now. I have ArcGIS 10 SP2 and Windows 7 OS.


Does not work on my system (ArcGIS 10 spe, WinXP). What is the meaning of the 'C' value anyway ?
0 Kudos
MaryamBazargani
New Contributor
Thanks a lot! I had the same problem and this solution (see the one below) resolved it ! 😉

I had this same error so I wrote to ESRI Poland help-desk.

Here is an answer:

  1. Create new Toolbox in ArcCatalog

  2. Add it to ArcToolbox

  3. Copy Multiple Ring Buffer to your new Toolbox

  4. Right click -> Properties -> Validation -> Edit

  5. Open script

  6. Find: locale.setlocale(locale.LC_NUMERIC, '')

  7. Correct it to: locale.setlocale(locale.LC_NUMERIC, 'C')


In my situation it works correctly now. I have ArcGIS 10 SP2 and Windows 7 OS.
0 Kudos
HadleyRemas
New Contributor
I had this same error so I wrote to ESRI Poland help-desk.

Here is an answer:

  1. Create new Toolbox in ArcCatalog

  2. Add it to ArcToolbox

  3. Copy Multiple Ring Buffer to your new Toolbox

  4. Right click -> Properties -> Validation -> Edit

  5. Open script

  6. Find: locale.setlocale(locale.LC_NUMERIC, '')

  7. Correct it to: locale.setlocale(locale.LC_NUMERIC, 'C')


In my situation it works correctly now. I have ArcGIS 10 SP2 and Windows 7 OS.


Works perfect for me too!  Thanks for the solution!!!
0 Kudos