Select to view content in your preferred language

WARNING: Unable to load code page translation table

2502
3
09-14-2022 03:18 AM
MariameYasser
New Contributor

MariameYasser_0-1663150212748.png

Hello all! I am facing an issue with running my code using the arcpy module in python using ArcGIS Pro. After incrementally commenting lines I discovered that the error arises with the arcpy.analysis.Buffer command. I tried following this link: https://support.esri.com/en/technical-article/000002929  to solve my issue by assigning a different folder to the TEMP but it didn't work. I moved the code to a different device and it works just fine, the problem is only in 1 PC but I need to use this specific PC. Once I remove the line of code the rest of the code works fine. I also attached below the code I am using, I tried changing parameters value using other feature classes nothing works. But when I use the tool on ArcGIS it works just fine.

MariameYasser_1-1663150576706.png

 

Tags (3)
3 Replies
RiccardoKlinger
Frequent Contributor

Ciurrently we share a similar problem. During the build of a network dataset we have faced a similar error message:

WARNING: Unable to load code page translation table c:\program files\arcgis\pro\\locale\codepage\0.txt.
WARNING: Unable to load code page translation table c:\program files\arcgis\pro\\locale\codepage\0.txt.
Code page conversion is off for writing data into files.
Code page conversion is off for writing data into files.
WARNING: Unable to load code page translation table c:\program files\arcgis\pro\\locale\codepage\0.txt.
WARNING: Unable to load code page translation table c:\program files\arcgis\pro\\locale\codepage\0.txt.
Code page conversion is off for reading data from files.
Code page conversion is off for reading data from files.

 

MartijnSpoon
New Contributor

Error in ArcGIS Pro – Impact on operations

 

Dear Support Team,

At the Netherlands Environmental Assessment Agency (PBL), we are experiencing a disruptive issue in ArcGIS Pro that affects our data processing within vscode(working with arcpy/python). The following error message repeatedly appears:

WARNING: Unable to load code page translation table c:\program files\arcgis\pro\\locale\codepage\0.txt.

WARNING: Unable to load code page translation table c:\program files\arcgis\pro\\locale\codepage\0.txt.

Code page conversion is off for writing data into files.

Code page conversion is off for writing data into files.

WARNING: Unable to load code page translation table c:\program files\arcgis\pro\\locale\codepage\0.txt.

WARNING: Unable to load code page translation table c:\program files\arcgis\pro\\locale\codepage\0.txt.

Code page conversion is off for reading data from files.

Code page conversion is off for reading data from files.

This issue seems to be related to code page conversion, potentially leading to incorrect character encoding when reading or writing data files. As a result, our workflow is disrupted, and we are unable to process data correctly.

 

Request:

We kindly ask for an urgent solution or workaround so that we can continue our work without further disruptions.

 

Thank’s in advance for your prompt response.

 

Best regards, Martijn Spoon

Netherlands Environmental Assessment Agency (PBL)

0 Kudos
JesseCloutier
Esri Community Manager

I'm sorry this issue has been disruptive, Martijn, and appreciate your sharing it.

Esri Community is a platform we maintain primarily for peer-to-peer collaboration and knowledge sharing, which can sometimes mean there are practical limitations on how quickly or to what degree other members can offer assistance. In a case like this where your need is urgent, we advise working directly with Technical Support if that is an option. If you’re uncertain about specific support your account may be qualified for, feel encouraged to use the contact information in the support link and our team will be more than happy to offer guidance. It’s important to us that you know the next best steps available to you.

Jesse Cloutier
Community Manager, Engagement & Content
0 Kudos