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

Error when using doc_connect #109

Open
diogomrts opened this issue Aug 20, 2024 · 0 comments
Open

Error when using doc_connect #109

diogomrts opened this issue Aug 20, 2024 · 0 comments

Comments

@diogomrts
Copy link

diogomrts commented Aug 20, 2024

When trying to use doc_connect this error is thrown:

** (ArgumentError) errors were found at the given arguments:

  * 1st argument: the device does not exist

    (stdlib 4.3.1.4) io.erl:94: :io.put_chars(nil, ["* __Receive:__ ok", 10])
    (bureaucrat 0.2.10) lib/bureaucrat/markdown_writer.ex:219: Bureaucrat.MarkdownWriter.puts/2
    (elixir 1.16.3) lib/enum.ex:987: Enum."-each/2-lists^foreach/1-0-"/2
    (elixir 1.16.3) lib/enum.ex:1708: anonymous fn/3 in Enum.map/2
    (stdlib 4.3.1.4) maps.erl:411: :maps.fold_1/3
    (elixir 1.16.3) lib/enum.ex:2540: Enum.map/2
    (bureaucrat 0.2.10) lib/bureaucrat/formatter.ex:22: Bureaucrat.Formatter.suite_finished/0
    (stdlib 4.3.1.4) gen_server.erl:1123: :gen_server.try_dispatch/4
    (stdlib 4.3.1.4) gen_server.erl:1200: :gen_server.handle_msg/6
    (stdlib 4.3.1.4) proc_lib.erl:240: :proc_lib.init_p_do_apply/3

These are my settings:

Bureaucrat.start(
  writer: Bureaucrat.MarkdownWriter,
  default_path: "priv/static/doc/websockets.md",
  paths: [],
  titles: [],
  env_var: "DOC",
  json_library: Jason
)

The asserts piped into docs() work normally, and I tried using Jason and Poison

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