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
jonnycharles
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
spammy
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
dli
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app? Looking for hints regarding: Addi...
New
roeland
Kia ora, We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
bottlenecked
Hi all, I wanted to ask how the community is dealing with post-release steps. Today we have Ecto migrations, which make sure that the db...
New
rahultumpala
Hello, I have an Elixir backend that implements a custom protocol over TCP. I want to load test the backend and assess the performance o...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews