paulbhartzog

paulbhartzog

[info] Application tzdata exited: exited in: Tzdata.App.start(:normal, [])
    ** (EXIT) an exception was raised:
        ** (MatchError) no match of right hand side value: {:error, {:shutdown, {:failed_to_start_child, Tzdata.EtsHolder, {{:badmatch, {:error, {:read_error, {:file_error, [47, 85, 115, 101, 114, 115, 47, 112, 97, 117, 108, 98, 104, 97, 114, 116, 122, 111, 103, 47, 80, 101, 114, 115, 111, 110, 97, 108, 47, 119, 111, 114, 107, 32, ...], :enoent}}}}, [{Tzdata.EtsHolder, :load_ets_table, 1, [file: 'lib/tzdata/ets_holder.ex', line: 63]}, {Tzdata.EtsHolder, :load_release, 0, [file: 'lib/tzdata/ets_holder.ex', line: 56]}, {:gen_server, :init_it, 2, [file: 'gen_server.erl', line: 374]}, {:gen_server, :init_it, 6, [file: 'gen_server.erl', line: 342]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]}}}}
            (tzdata 1.0.5) lib/tzdata/tzdata_app.ex:17: Tzdata.App.start/2
            (kernel 6.5.2) application_master.erl:277: :application_master.start_it_old/4
** (Mix) Could not start application tzdata: exited in: Tzdata.App.start(:normal, [])
    ** (EXIT) an exception was raised:
        ** (MatchError) no match of right hand side value: {:error, {:shutdown, {:failed_to_start_child, Tzdata.EtsHolder, {{:badmatch, {:error, {:read_error, {:file_error, [47, 85, 115, 101, 114, 115, 47, 112, 97, 117, 108, 98, 104, 97, 114, 116, 122, 111, 103, 47, 80, 101, 114, 115, 111, 110, 97, 108, 47, 119, 111, 114, 107, 32, ...], :enoent}}}}, [{Tzdata.EtsHolder, :load_ets_table, 1, [file: 'lib/tzdata/ets_holder.ex', line: 63]}, {Tzdata.EtsHolder, :load_release, 0, [file: 'lib/tzdata/ets_holder.ex', line: 56]}, {:gen_server, :init_it, 2, [file: 'gen_server.erl', line: 374]}, {:gen_server, :init_it, 6, [file: 'gen_server.erl', line: 342]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]}}}}
            (tzdata 1.0.5) lib/tzdata/tzdata_app.ex:17: Tzdata.App.start/2
            (kernel 6.5.2) application_master.erl:277: :application_master.start_it_old/4
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed

In a nutshell, I have verified Erlang, Elixir, etc. are all installed and working correctly. Phoenix was running fine for months, and suddenly it isn’t. I have not updated the machine or installed other things or moved libs or anything at all. And yet something has changed.

Timex uses tzdata, and tzdata now dies with the error above.
The ‘load_ets_table’ function seems fine, and the required ‘ets’ file is in place where it belongs.

I have removed deps, rebuilt, changed versions of installed deps, etc. and nothing solves the problem.

My preference would be to understand the problem and why it is happening, but in lieu of that I’ll take a generic solution. Thx.

Showing Posts 1 to 3

LostKobrakai

LostKobrakai

Tzdata does automatically keep up to date with the latest IANA timezone db releases unless explicitly disabled. There seems to have been an update on 29.12.2020. So it might be related to that db or at least the update to it.

paulbhartzog

paulbhartzog OP

In case it helps anyone help me:
my versions:

      {:timex, "~> 3.6.3"},
      {:tzdata, "~> 1.0.0"},

and I’m on a Mac running Mojave…

and I’ve also tried multiple release_ets files (2020f.v2.ets, etc.)

paulbhartzog

paulbhartzog OP

I’ve fixed this. I’m sharing the problem and solution in case anyone else runs into this.

Basically, tzdata cannot handle extended characters being in the filename path.

Since I work on a Mac I had placed the Option-F character ƒ on a folder in the directory structure above my application.

So the solution is: DO NOT DO THIS :slight_smile:

— All posts loaded —

Where Next? Top

Trending in Questions Top

stjefim
Hello! Suppose you are building workflow (order / task / payment) processing system with the following requirements: Each workflow con...
New
itzmidinesh
Hi all, I’m working on a Phoenix project where I need to make external HTTP requests and I’m trying to choose between Req and HTTPoison....
New
pragdave
How do I tell Hologram not to escape HTML when substituting into templates? {Textile.render(@product.long_description)} escapes the HTM...
New
rlipscombe
I’d like to create a file with 600 permissions (rw-------), but there’s a race condition if I create it and then change the permissions. ...
New
leoschweizer
Hi, we run different LLM models across a cluster, with each node loading a configurable subset. Model-specific queues let nodes consume ...
New
rlipscombe
When I use Mix.install with a git dependency, using git@github.com:... how do I change the SSH identity used? I’ve got two Github accoun...
New
adr
Hello all. I have a question as to best practices for code organization when implementing a liveview with a lot of responsibilities. Sup...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews