jle

jle

Zigler error compiling on livebook: (KeyError) key :function_groups not found

I’m trying to learn zigler with livebook

https://github.com/ityonemo/zigler

When I install it…

Mix.install([
  {:zigler, "~> 0.9.1"}
])

I got next error message

== Compilation error in file lib/zig/doc/parser.ex ==
** (KeyError) key :function_groups not found
    (ex_doc 0.29.1) expanding struct: ExDoc.ModuleNode.__struct__/1
    lib/zig/doc/parser.ex:33: Zig.Doc.Parser.moduledocs_from_file/3
could not compile dependency :zigler, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile zigler", update it with "mix deps.update zigler" or clean it with "mix deps.clean zigler"

Is anyone using this library with livebook?

my elixir and livebook versions are…

Erlang/OTP 25 [erts-13.1.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]

Elixir 1.13.2 (compiled with Erlang/OTP 24)

Livebook 0.6.3

Marked As Solved

awerment

awerment

Looks like :function_groups was removed in ExDoc v0.29.1. Specifying an older version explicitly seems to work:

Mix.install([
  {:ex_doc, "0.29.0"},
  {:zigler, "~> 0.9.1"}
])

Also Liked

ityonemo

ityonemo

Yep, sorry I was doing a bad and using some private apis. The next version will not include zigdoc, it’s going to be a separate dependency

ityonemo

ityonemo

Just a word of warning, don’t get too attached to how things work in zigler 0.9.1, a lot of things are changing in 0.10.x

Last Post!

prabhugopal

prabhugopal

@jle I got stuck exactly here.. :slight_smile: How do I set otp_app to Livebook? Is the below code works?

use Zig, otp_app: :livebook

Where Next?

Popular in Questions Top

RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
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

Other popular topics Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40042 209
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
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New

We're in Beta

About us Mission Statement