Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble getting this to run #16

Open
axelson opened this issue Nov 16, 2024 · 0 comments
Open

Trouble getting this to run #16

axelson opened this issue Nov 16, 2024 · 0 comments

Comments

@axelson
Copy link

axelson commented Nov 16, 2024

I get a warning when I run intialize:

iex(1)> IExHistory2.initialize()
[info] init got unexpected: {:"ETS-TRANSFER", :ets_history_bindings_local_nonode@nohost, #PID<0.676.0>, []}
:ok
:ok
IExHistory2
:ok
IExHistory2 version 5.3 is enabled:
  Current history is 0 commands in size.
  Current bindings are 0 variables in size.
:ok

And it's at least partially working/running:

  • Ctrl-l opens an editor, although it doesn't bring the current prompt
  • Ctrl-m doesn't seem to do anything
  • Ctrl-k prints the current prompt to the right of the cursor (so if I haven't typed anything then my last line look like iex(17)> iex(17)> iex(17)> iex(17)> after pressing Ctrl-k a few times)

I suppose #15 could be spurious and this library doesn't support my current elixir/erlang versions of:

elixir          1.17.3-otp-27   /home/jason/.tool-versions
erlang          27.1.2          /home/jason/.tool-versions

Also I'm not entirely sure what the minimal configuration is, from the readme it seemed like most of the configuration was optional so I added {:iex_history2, "~> 5.0"}, to my mix.exs and ran IExHistory2.initialize() in IEx.

Edit: yeah it does seem to work if I use Elixir 1.16.0-otp-26 and Erlang 26.2.5.
Edit2: actually it works even under my current versions, but only when run from this repo, not when run from another project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant