Giter Site home page Giter Site logo

Comments (7)

felko avatar felko commented on June 14, 2024 1

I have been using it for a few days and fixed the remaining bugs that I encountered, closing for now. Please reopen if you find anything else.

from neuron-mode.

srid avatar srid commented on June 14, 2024

This is because the JSON output got changed recently in neuron. It sucks to break compatibility here, but the change was done to prevent further JSON related regressions. See srid/neuron#265

I tried to roll back to earlier version of neuron to test but ran into build issues.

What were those build issues? Have you tried running this command to rollback to the version before the JSON output got changed?

nix-env -if https://github.com/srid/neuron/archive/15e53733e692e0e7523a2b023f5e16faca544395.tar.gz

from neuron-mode.

fxsmith avatar fxsmith commented on June 14, 2024

Rolling back to 0.5.7 using the command you provided worked, and neuron-mode appears to be working correctly. Thank you for the help!

Since this appears to be an open/ongoing issue for which neuron-mode will need to be updated, I let you folks decide how/when to close issue. Thanks again.

Previously I had tried to roll all the way back to 0.4.0.0. I am not at all familiar with the nix build environment - this might not be expected to work, but I include this just as a datapoint in response to your query above. The build command that failed for me is below:

~/dev$ nix-env -if https://github.com/srid/neuron/archive/0.4.0.0.tar.gz

building '/nix/store/yiwvlf251v0ygbx60phmbcfr9aqq2lw8-neuron-gitDescribe.drv'...
fatal: not a git repository (or any of the parent directories): .git
builder for '/nix/store/yiwvlf251v0ygbx60phmbcfr9aqq2lw8-neuron-gitDescribe.drv' failed with exit code 128
error: build of '/nix/store/yiwvlf251v0ygbx60phmbcfr9aqq2lw8-neuron-gitDescribe.drv' failed
(use '--show-trace' to show detailed location information)

from neuron-mode.

felko avatar felko commented on June 14, 2024

I should have opened an issue before to avoid you the trouble of debugging yourself.
Can you give it a try with b2d6e4c?

from neuron-mode.

fxsmith avatar fxsmith commented on June 14, 2024

I've tried with the latest commit, and it appears to make it past the refresh process. However, editing a zettel is failing. It could by my local config, but I've tried a few times, and it seems that the code is expecting a path that it can't find in the JSON record:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
expand-file-name(nil "/home/fred/dev/neuron/guide")
f-expand(nil "/home/fred/dev/neuron/guide")
#f(compiled-function (arg) #<bytecode 0x174687d>)(nil)
mapcar(#f(compiled-function (arg) #<bytecode 0x174687d>) ("/" "/home/fred/dev/neuron/guide" nil))
-map(#f(compiled-function (arg) #<bytecode 0x174687d>) ("/" "/home/fred/dev/neuron/guide" nil))
f-join("/" "/home/fred/dev/neuron/guide" nil)
neuron--edit-zettel-from-path(nil)
neuron-edit-zettel(((zettelTags . []) (zettelDay . "2020-07-01") (zettelID . "4c57f82a") (zettelError (Right . [])) (zettelContent . []) (zettelQueries . []) (zettelTitle . "Foo2") (zettelTitleInBody . t)))
funcall-interactively(neuron-edit-zettel ((zettelTags . []) (zettelDay . "2020-07-01") (zettelID . "4c57f82a") (zettelError (Right . [])) (zettelContent . []) (zettelQueries . []) (zettelTitle . "Foo2") (zettelTitleInBody . t)))
call-interactively(neuron-edit-zettel record nil)
command-execute(neuron-edit-zettel record)
execute-extended-command(nil "neuron-edit-zettel" "neuron-edit-ze")
funcall-interactively(execute-extended-command nil "neuron-edit-zettel" "neuron-edit-ze")
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)

from neuron-mode.

felko avatar felko commented on June 14, 2024

My bad, should be fixed now.

from neuron-mode.

srid avatar srid commented on June 14, 2024

I updated my doom-emacs along with the packages in it (bin/doom upgrade) and launched Emacs after a long break. neuron-mode works for me, with neuron 0.5.8.0.

from neuron-mode.

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.