Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not initialize ICU resources for expression #898

Open
BHare1985 opened this issue Oct 24, 2018 · 1 comment
Open

Could not initialize ICU resources for expression #898

BHare1985 opened this issue Oct 24, 2018 · 1 comment

Comments

@BHare1985
Copy link

BHare1985 commented Oct 24, 2018

Windows 10
NodeJS 4.5.0
node-mapnik 3.5.13

When trying to process my regular expressions in styling mapnik crashes:

Trace: [Error: Could not initialize ICU resources for expression: "([Highlighted] = 1) and ([StyleIndex].match('\d20')) and ([StyleIndex].match('5\d\d'))" in style 'defaultLayer-shape' in Style]

This occurred when I reinstalled my modules (which i havent done in a year), so I have a lot of work ahead of me of tracking down where the bug is coming from. Just wanted to see if anyone has some direction on what could caused this?

I already tried installing C++ 2010 Redistributables (x86 and x64) as per mapnik/mapnik#3508

Code worked without issue last year. Microsoft redistributables: https://i.imgur.com/AgrwyDl.png

Same code works fine on Windows Server 2012 with these installed programs: https://i.imgur.com/pL9BHha.png

Same code also works fine on Amazon AWS Node Beanstalk (Linux)

@pam-ms2soft
Copy link

How did you solve this? We're trying to run node-mapnik on Windows Server 2022 and getting this error:
Trace: [Error: Could not initialize ICU resources for expression: "([StyleIndex].match('2\d\d'))" in style 'defaultLayer-end' in Style]

We tried installing the same programs and redistributables as you and also installed full-icu but still get that error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants