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

When persistence is used getting an erlang error #1

Open
bfcns opened this issue Jan 10, 2017 · 1 comment · May be fixed by #5
Open

When persistence is used getting an erlang error #1

bfcns opened this issue Jan 10, 2017 · 1 comment · May be fixed by #5

Comments

@bfcns
Copy link

bfcns commented Jan 10, 2017

When persistence is used getting an erlang error

dets: file <<"/tmp/my_persistence_file">> not properly closed, repairing ...

@ben-pr-p
Copy link

ben-pr-p commented Nov 9, 2017

Also getting this - I traced it down to

iex(21) > :dets.from_ets("./my_cache.dets", :my_cache)
{
  :EXIT,
  {
    :function_clause,
    [
      {
        :lists,
        :thing_to_list,
        ["/Users/benpacker/bnc/cosmic/fs_nonode@nohost_97376_520."],
        [file: 'lists.erl', line: 603]
      },
      {:lists, :flatmap, 2, [file: 'lists.erl', line: 1250]},
      {:file_sorter, :next_temp, 1, [file: 'file_sorter.erl', line: 1412]},
      {:file_sorter, :write_run, 2, [file: 'file_sorter.erl', line: 595]},
      {:file_sorter, :fun_run, 5, [file: 'file_sorter.erl', line: 589]},
      {:file_sorter, :do_sort, 5, [file: 'file_sorter.erl', line: 372]},
      {:dets, :do_sort, 5, [file: 'dets.erl', line: 2833]},
      {:dets, :do_finit, 4, [file: 'dets.erl', line: 2208]}
    ]
  }
}

I don't have the ets or erlang knowledge to really understand this error message though

tmnsun pushed a commit to tmnsun/stash that referenced this issue Apr 10, 2019
@mnishiguchi mnishiguchi linked a pull request Jun 27, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants