Select to view content in your preferred language

ArcPad 10.0.4 Error Code: 0x80040154 Python language

4031
1
Jump to solution
12-05-2012 05:18 AM
MathewRiley
Occasional Contributor
Greetings all:

I manage the mobile GIS in my organization, and we use ArcPad software. I've done quite a bit of app development in ArcPad using VBScript, however, I'm exploring using Python to do more...

So, I launch ArcPad, go to Advanced Settings, Scripting tab, and change it from VBScript to Python, then close ArcPad.

I re-launch ArcPad, and I get this error (see screenshot):

Failed to create script parsing engine
Error Code: 0x80040154 Scripting Language: Python

[ATTACH=CONFIG]19713[/ATTACH]

I click 'OK' and Windows tells me it is closing ArcPad. The only way to restore use of ArcPad is to open the ArcPadPrefs.apx in Notepad and change the <SCRIPTING language> tag back to VBScript.

Basically, what I am trying to do is explore using Python (instead of VBScript) to author ArcPad Applets like in this sample below:
http://www.arcgis.com/home/item.html?id=1bb28b00b88a4449a887b98d40c5ccb7

I'm aware that these scripts would only be able to be ran on ArcPad in Windows (not Windows Mobile), but I can't get past this error message. I am running Windows 7 SP1 OS.

Anyone else come across this? Any suggestions?

Thanks in advance,
Matt Riley
Tags (3)
0 Kudos
1 Solution

Accepted Solutions
MathewRiley
Occasional Contributor
Status update:

I was able to resolve this issue by installing pywin32 build 218.

It seems like installing pywin32 gave me the appropriate .dll's needed to provide a fix to the error code referenced earlier.

I'm now ready to start writing applets in Python!

Matt

View solution in original post

0 Kudos
1 Reply
MathewRiley
Occasional Contributor
Status update:

I was able to resolve this issue by installing pywin32 build 218.

It seems like installing pywin32 gave me the appropriate .dll's needed to provide a fix to the error code referenced earlier.

I'm now ready to start writing applets in Python!

Matt
0 Kudos