Giter Site home page Giter Site logo

[crash report] bin/kraken run about kraken HOT 13 CLOSED

asana avatar asana commented on August 26, 2024
[crash report] bin/kraken run

from kraken.

Comments (13)

benjamn avatar benjamn commented on August 26, 2024

Here's the dump: https://gist.github.com/benjamn/5093593

from kraken.

krisr avatar krisr commented on August 26, 2024

Thanks for the bug report. I'll see if I can reproduce and get back to you shortly.

from kraken.

krisr avatar krisr commented on August 26, 2024

Hey Benjamn, that happens to be the same error you would get if you forgot to build the project first. Did you run "./rebar get-deps compile" first?

from kraken.

benjamn avatar benjamn commented on August 26, 2024

@krisr, yep I did, although there were some warnings at the end:

~/src/kraken % ./rebar get-deps compile
==> Entering directory `/Users/benjamn/src/kraken/deps/log4erl'
==> Entering directory `/Users/benjamn/src/kraken/deps/mochiweb'
==> mochiweb (get-deps)
==> Leaving directory `/Users/benjamn/src/kraken/deps/mochiweb'
==> log4erl (get-deps)
==> Leaving directory `/Users/benjamn/src/kraken/deps/log4erl'
==> kraken (get-deps)
==> Entering directory `/Users/benjamn/src/kraken/deps/log4erl'
==> Entering directory `/Users/benjamn/src/kraken/deps/mochiweb'
==> mochiweb (compile)
src/mochifmt_std.erl:6: parameterized modules are no longer supported
src/mochifmt_records.erl:12: parameterized modules are no longer supported
src/mochifmt_std.erl:11: variable 'THIS' is unbound
src/mochifmt_records.erl:19: variable 'Recs' is unbound
src/mochifmt_std.erl:14: variable 'THIS' is unbound

from kraken.

krisr avatar krisr commented on August 26, 2024

Looks like it failed to build a dependency because erlang R16B no longer supports parameterized modules and did get to compile kraken as a result. It's unfortunate that log4erl depends on mochiweb since we are not using it at all. I'll see what I can do after getting the latest erlang build on my machine. In the meantime, you could try using an older version of erlang. I know R15B02 works.

from kraken.

benjamn avatar benjamn commented on August 26, 2024

Got it, thanks. I'll leave it to you to close/edit this issue to reflect whatever you decide to do.

from kraken.

krisr avatar krisr commented on August 26, 2024

There is an update to mochiweb for this already, I'll sort out the dependencies in log4erl and push a fix shortly.

from kraken.

manjuraj avatar manjuraj commented on August 26, 2024

@krisr I encountered the same issue

from kraken.

krisr avatar krisr commented on August 26, 2024

@manjuraj Thanks for the report. I have some time this evening so I'm going to work on getting log4erl building with erlang R16B. I'll keep you posted.

from kraken.

krisr avatar krisr commented on August 26, 2024

@manjuraj, @benjamn, I forked log4erl and made it depend on a more recent version of mochiweb which compiles successfully with later version of erlang. You may need to clean out your kraken/deps/* directories to get things in a working state after you pull the change. Let me know if it works for you now and I'll go ahead and close this issue.

from kraken.

benjamn avatar benjamn commented on August 26, 2024

@krisr works for me after updating, thanks!

from kraken.

manjuraj avatar manjuraj commented on August 26, 2024

@krisr works for me too

from kraken.

lloydchang avatar lloydchang commented on August 26, 2024

Hello @krisr @benjamn @manjuraj, I'm also confirming that current git HEAD 698fc66 runs successfully using Erlang R16B. Thank you.

from kraken.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.