ghannam80
Issue with cache.ets file
Hello,
I am trying to use livebook starting with Mix.install but it is failing with below errors :
Blockquote
15:35:19.612 [error] Writer crashed (:"The pipe is being closed.\r\n")
15:35:19.647 [info] init got unexpected: {:io_request, #PID<0.92.0>, #Reference<0.2149659281.4052221953.78909>,
{:put_chars, :unicode,
"Failed to write log message to stdout, trying stderr\n"}}
** (exit) exited in: GenServer.call(Hex.Registry.Server, {:open, []}, 60000)
** (EXIT) time out
(elixir 1.18.2) lib/gen_server.ex:1128: GenServer.call/3
(hex 2.1.1) lib/hex/remote_converger.ex:28: Hex.RemoteConverger.converge/2
(mix 1.18.2) lib/mix/dep/converger.ex:133: Mix.Dep.Converger.all/4
(mix 1.18.2) lib/mix/dep/converger.ex:89: Mix.Dep.Converger.converge/4
(mix 1.18.2) lib/mix/dep/fetcher.ex:16: Mix.Dep.Fetcher.all/3
(mix 1.18.2) lib/mix/tasks/deps.get.ex:40: Mix.Tasks.Deps.Get.do_run/1
(mix 1.18.2) lib/mix/sync/lock.ex:112: Mix.Sync.Lock.with_lock/3
#cell:setup:1: (file)
I have checked the forum and found some subject that included some steps for debugging something similar which instructed running the command mix hex.info which as below shows some file is bad
C:\Users\foo>mix hex.info
Hex: 2.1.1
Elixir: 1.18.1
OTP: 27.0
Built with: Elixir 1.16.3 and OTP 24.3.4.17
Error opening ETS file c:/Users/foo/.hex/cache.ets: :badfile
So my question ,how I can regenerate this file ?
Marked As Solved
Hermanverschooten
I think you can remove it, it will be regenerated. Try renaming it first though…
2
Also Liked
ghannam80
Thanks , both worked. File got regenerated on running the same command again and the mix.install in livebook too
1
Popular in Questions
Hello everyone,
I try to use an Javascript Event Handler in my root.html.leex file.
Therefore I created a function in the app.js file: ...
New
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
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
Hi,
is there any work on GUI with Elixir, that is similar to Electron/Javascript? My idea is to bundle Phoenix and BEAM into a single se...
New
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set?
Thanks.
New
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New
Other popular topics
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible.
total = 10
while total != 0
...
New
Hello everyone,
I try to use an Javascript Event Handler in my root.html.leex file.
Therefore I created a function in the app.js file: ...
New
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help.
Where are they similar?
Where do they differ the m...
New
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? Ecto.Repo — Ecto v3.14.0 has exampl...
New
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
i’m a new one to elixir
which editor can i use
vs code? or atom?
Thanks! :smiley:
New
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar.
I p...
New
Hi!
Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New








