cometsh / cometsh/atex

Compilation error on Elixir 1.20 & Erlang 29

Open
#3 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Elixir
Stars
24
Forks
0
PR merge metrics
No merged PRs in 30d

Description

== Compilation error in file lib/atproto/com/atproto/repo/uploadBlob.ex ==
** (ArgumentError) cannot escape #Reference<0.1843680142.1248722956.76492>. The supported values are: lists, tuples, maps, atoms, numbers, bitstrings, PIDs and remote functions in the format &Mod.fun/arity
    (elixir 1.18.4) src/elixir_quote.erl:554: :elixir_quote.argument_error/1
    (elixir 1.18.4) src/elixir_quote.erl:462: :elixir_quote.do_quote_simple_list/3
    (elixir 1.18.4) src/elixir_quote.erl:462: :elixir_quote.do_quote_simple_list/3
    (elixir 1.18.4) src/elixir_quote.erl:150: :elixir_quote.do_escape/2
    (elixir 1.18.4) src/elixir_quote.erl:170: :elixir_quote."-do_escape/2-lc$^1/1-0-"/3
    (elixir 1.18.4) src/elixir_quote.erl:171: :elixir_quote."-do_escape/2-lc$^1/1-0-"/3
    (elixir 1.18.4) src/elixir_quote.erl:171: :elixir_quote.do_escape/2
    (elixir 1.18.4) src/elixir_quote.erl:393: :elixir_quote.do_quote/2

Unfortunately I don't get much in the way of debugging info, since it's all inside the deflexicon macro. I'm not sure if there's something special about uploadBlob, but didn't look like it, I'm guessing this is just a general issue (hence opening the issue here and not on the atex_atproto repo).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the compilation failure in lib/atproto/com/atproto/repo/uploadBlob.ex using the Elixir 1.20 and Erlang 29 versions named in the issue, then inspect the deflexicon macro involved in generating that file. Done means identifying and fixing the general macro compatibility problem so the project compiles successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir, erlang
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.