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

Unable to compile/run #1

Open
axelson opened this issue Nov 16, 2020 · 6 comments
Open

Unable to compile/run #1

axelson opened this issue Nov 16, 2020 · 6 comments

Comments

@axelson
Copy link

axelson commented Nov 16, 2020

Hi, I was trying to get this demo to compile/run but there appears to be numerous issues such as syntax errors and missing files (layout-o-matic.jpg, scenic_parrot.png).

@BWheatie
Copy link
Owner

BWheatie commented Dec 7, 2020

Hey sorry about that. I will try to get it all adjusted this week. Yeah I have abused this repo a bit in the name of conference talks.

@axelson
Copy link
Author

axelson commented Dec 7, 2020

Great, thanks!

@BWheatie
Copy link
Owner

Jason, I am working to get this fixed up now.

@BWheatie
Copy link
Owner

Follow up here. Got random things fixed but will need to open a PR to Scenic to make Graph.get_by_uid() to be a public fun.

@axelson
Copy link
Author

axelson commented Jan 19, 2021

Great, thanks for the update 👍

@axelson
Copy link
Author

axelson commented Aug 21, 2022

Friendly ping :)

Just tried this again today and I got this error (I didn't try to debug further):

==> layout_demo
Compiling 10 files (.ex)

== Compilation error in file lib/scenes/scenic_slide.ex ==
** (SyntaxError) lib/scenes/scenic_slide.ex:60:55: unexpected expression after keyword list. Keyword lists must always come as the last argument. Therefore, this is not allowed:

    function_call(1, some: :option, 2)

Instead, wrap the keyword in brackets:

    function_call(1, [some: :option], 2)

Syntax error after: ','
    |
 60 |       |> circle(50, stroke: {2, :black}, t: {100, 100}, :scenic_things)
    |                                                       ^
    (elixir 1.13.4) lib/kernel/parallel_compiler.ex:346: anonymous fn/5 in Kernel.ParallelCompiler.spawn_workers/7

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

2 participants