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
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
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

Other popular topics Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44139 214
New

We're in Beta

About us Mission Statement