petrus-jvrensburg

petrus-jvrensburg

Compilation Error for Arabic after updating to ex_cldr 2.34

I’m running into the following error when trying to update to the latest ex_cldr. Has anyone else run into the same thing?

Generating Nohara.Cldr for 6 locales named [:ar, :en, :es, :it, :pt, ...] with a default locale named :en

== Compilation error in file lib/nohara/cldr.ex ==
** (RuntimeError) Locale file :ar is invalid - map key "person_names" was not found.
    (ex_cldr 2.34.0) lib/cldr/locale/loader.ex:201: anonymous fn/4 in Cldr.Locale.Loader.assert_valid_keys!/2
    (elixir 1.14.1) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3
    (ex_cldr 2.34.0) lib/cldr/locale/loader.ex:199: Cldr.Locale.Loader.assert_valid_keys!/2
    (ex_cldr 2.34.0) lib/cldr/locale/loader.ex:128: Cldr.Locale.Loader.do_get_locale/3
    (ex_cldr 2.34.0) lib/cldr/locale/cache.ex:117: Cldr.Locale.Cache.do_get_locale/2
    (ex_cldr 2.34.0) lib/cldr/config/config.ex:2212: Cldr.Config.decimal_formats_for/2
    (elixir 1.14.1) lib/enum.ex:1658: Enum."-map/2-lists^map/1-0-"/2
    (ex_cldr 2.34.0) lib/cldr/config/config.ex:2199: Cldr.Config.decimal_format_list/1

Marked As Solved

petrus-jvrensburg

petrus-jvrensburg

Just realised that I can remove the stale locale files from disk, forcing a fresh download of the underlying CLDR data:

rm -r priv/cldr  

That fixes the issue.

Where Next?

Popular in Questions Top

pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
itssasanka
Hi all, Trying to get some more clarity over utc_datetime and naive_datetime for Ecto: https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
chrisalley
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
jc00ke
Expanding on this topic: https://forum.elixirforum.net/t/map-typespec-question/19217 Let’s say I have a map with required and optional k...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3268 119930 1237
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 30048 115
New
peerreynders
Manning 2016 Halloween weekend sale via Deal of the Day Friday, October 28 - Half off all MEAPs - code WM102816LT Saturday, October 29 ...
326 29600 154
New
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New

We're in Beta

About us Mission Statement