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

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
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
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 130286 1222
New
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
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 31494 112
New

We're in Beta

About us Mission Statement