ghannam80

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

Hermanverschooten

I think you can remove it, it will be regenerated. Try renaming it first though…

Also Liked

ghannam80

ghannam80

Thanks , both worked. File got regenerated on running the same command again and the mix.install in livebook too

Where Next?

Popular in Questions Top

JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
pgiesin
This should be a simple problem but I just can’t seem to figure it out. I have a standalone Elixir app that won’t find the database. Dep...
New
tduccuong
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
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
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
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

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
William
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
New
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New

We're in Beta

About us Mission Statement