GithubHelp home page GithubHelp logo

EDTS error about edts HOT 15 CLOSED

sebastiw avatar sebastiw commented on July 4, 2024
EDTS error

from edts.

Comments (15)

tjarvstrand avatar tjarvstrand commented on July 4, 2024

Yes, is not yet compatible with R16 because of webmachine. I'll try to get that sorted out before the end of the week.

Until then just try switching to the buffer edts in emacs and see if you have a running erlang node there. If you do, try: whereis(webmachine_mochiweb).

It should give you pid().

from edts.

syl20bnr avatar syl20bnr commented on July 4, 2024

Which version of mochiweb do you use ?
It seems to have been fixed with this merged pull request: mochi/mochiweb#95

from edts.

tjarvstrand avatar tjarvstrand commented on July 4, 2024

Yeah, I know, I just have to update the dependency and check that everything still works.

from edts.

syl20bnr avatar syl20bnr commented on July 4, 2024

I tried to update the dependencies (it's a pain in the ass :-)) but I'm stuck on tulib compilation:
.emacs.d/extensions/edts/lib/tulib/src/tulib_dlogs.erl:239: opaque type iterator() is not exported

from edts.

syl20bnr avatar syl20bnr commented on July 4, 2024

So, I did the following:

  • get EDTS code before integration of tulib
  • get webmachine commit corresponding to the parameterized module fix
  • get mochiweb commit corresponding to the parameterized module fix
  • turned on debug log for EDTS

Result: EDTS[errors]: Could not register node "my_project_sname_from_.edts"

Ok it was an overly optimistic approach but at least I tried :-)

from edts.

tjarvstrand avatar tjarvstrand commented on July 4, 2024

Unfortunately it does not work to have a dot (.) in your node name.

from edts.

syl20bnr avatar syl20bnr commented on July 4, 2024

There was no dot, I just meant "the short name defined in the .edts file of my project" ;-)

from edts.

tjarvstrand avatar tjarvstrand commented on July 4, 2024

Aha. Try looking at what happens in the node-buffers inside emacs (edts and ), that might give you more information. Otherwise I promise to have a look at it as soon as I can, just need to update my erlang :)

T

from edts.

syl20bnr avatar syl20bnr commented on July 4, 2024

OK the reason is clear enough:

CRASH REPORT Process <0.73.0> with 0 neighbours exited with reason: {{shutdown,failed_to_start_child,webmachine_mochiweb,

Tried with master of both webmachine and mochiweb, same issue. I guess we have to wait for official R16B support or maybe it's not too difficult to patch the current code with the param module fix.

from edts.

syl20bnr avatar syl20bnr commented on July 4, 2024

Last thing the last tagged version of Webmachine :

a month ago
1.9.3 - Tag webmachine 1.9.3

Does not contain the fix for param modules :-(

from edts.

tjarvstrand avatar tjarvstrand commented on July 4, 2024

Please try out the branch r16-support

for convenience, after you checkout, just do:
rm -rf lib && git reset --hard && make

from edts.

syl20bnr avatar syl20bnr commented on July 4, 2024

OK ,thanks for the tip, testing...

from edts.

syl20bnr avatar syl20bnr commented on July 4, 2024

Oh yeah, works like a charm :-)

EDTS [debug]: Reply (201 Created) received for request to http://0:4587/nodes/....

from edts.

tjarvstrand avatar tjarvstrand commented on July 4, 2024

Forgot to mention that the branch i merged into master now.

from edts.

syl20bnr avatar syl20bnr commented on July 4, 2024

Thank you Thomas 👍

from edts.

Related Issues (20)

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.