Could not initialize ICU resources for expression
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 https://github.com/mapnik/mapnik/issues/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)
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.