Giter Club home page Giter Club logo

Comments (14)

jbyuki avatar jbyuki commented on May 31, 2024 1

Closing this for now as the initial bug was fixed.

from instant.nvim.

kkharji avatar kkharji commented on May 31, 2024

table.insert(events, "ERROR: Tried to join an empty server") Somehow there is no events table and thats what causing part of the issue

from instant.nvim.

jbyuki avatar jbyuki commented on May 31, 2024

Hey, thanks for the kind words. Hope your experimentation will bring you something.

Thanks for the bug feedback as well. This shouldn't be too difficult to resolve.

This is caused by some debug code that I left (all table.insert(events,... ), they could be probably removed but I will do a quick commit to fix that.

Also I see you use InstantJoinSession [host] to connect, is it the first client?

If not you should use InstantStartSession [host] and the error should be gone.

I will do a quick fix.

from instant.nvim.

jbyuki avatar jbyuki commented on May 31, 2024

e10a679 should do it. Thanks again.

from instant.nvim.

kkharji avatar kkharji commented on May 31, 2024

Oh nice thanks @jbyuki , So First I start session then let my friend join right. We are getting the following error
Error executing vim.schedule lua callback: .../conni/.config/nvim/plugged/instant.nvim/lua/instant.lua:1583: bad argument #1 to 'insert' (table expected, got nil)

from instant.nvim.

kkharji avatar kkharji commented on May 31, 2024

Error executing vim.schedule lua callback: ...e/nvim/site/pack/packer/opt/instant.nvim/lua/instant.lua:719: Vim:E474: Trailing characters: [7,117,"conni"]

from instant.nvim.

jbyuki avatar jbyuki commented on May 31, 2024

Yes, first start the session and then join. Maybe it should be more clear in the README.
Ok, I see, I will get back to you in a moment.

from instant.nvim.

kkharji avatar kkharji commented on May 31, 2024

Error executing vim.schedule lua callback: ...e/nvim/site/pack/packer/opt/instant.nvim/lua/instant.lua:976: bad argument #1 to 'ipairs' (table expected, got nil)

|| Error executing vim.schedule lua callback: .../conni/.config/nvim/plugged/instant.nvim/lua/instant.lua:1236: bad argument #1 to 'insert' (table expected, got nil)

|| Error executing vim.schedule lua callback: .../conni/.config/nvim/plugged/instant.nvim/lua/instant.lua:719: Vim:E474: Trailing characters: [6, "", [123, 2], [0, 699274, 1048576], []]

|| Error executing vim.schedule lua callback: .../conni/.config/nvim/plugged/instant.nvim/lua/instant.lua:719: Vim:E474: Trailing characters: [6, "", [123, 2], [0, 699274, 1048576], []][6, "", [123, 9], [0, 425234, 1048576], []]

Error executing vim.schedule lua callback: ...e/nvim/site/pack/packer/opt/instant.nvim/lua/instant.lua:721: Vim:E474: Trailing characters: [8,124]

So far instantJoinSingle worked for us the other is err resulting from session

from instant.nvim.

kkharji avatar kkharji commented on May 31, 2024

Error executing lua callback: ...e/nvim/site/pack/packer/opt/instant.nvim/lua/instant.lua:2069: attempt to index upvalue 'prev' (a nil value)

When trying InstantFollow

|| Connected!
|| Error executing vim.schedule lua callback: .../conni/.config/nvim/plugged/instant.nvim/lua/instant.lua:1879: bad argument #1 to 'insert' (table expected, got nil)
|| Error executing vim.schedule lua callback: .../conni/.config/nvim/plugged/instant.nvim/lua/instant.lua:1879: bad argument #1 to 'insert' (table expected, got nil)
|| Connected. 0 other client(s)
|| Connected. 0 other client(s)
|| Error executing vim.schedule lua callback: .../conni/.config/nvim/plugged/instant.nvim/lua/instant.lua:719: Vim:E474: Trailing characters: [7,126,"tami5"]
|| Error executing vim.schedule lua callback: .../conni/.config/nvim/plugged/instant.nvim/lua/instant.lua:719: Vim:E474: Trailing characters: [7,126,"tami5"][3]

from instant.nvim.

kkharji avatar kkharji commented on May 31, 2024

After some time of expermenting on Single

from instant.nvim.

jbyuki avatar jbyuki commented on May 31, 2024

The trailing character issue seems to be linked to network fragmentation.
I should have fixed that in a previous commit.

Did you guys update instant.nvim to the latest commit?
The error line numbers don't seem to match to the current files as well.

Error executing vim.schedule lua callback: .../conni/.config/nvim/plugged/instant.nvim/lua/instant.lua:1583: bad argument #1 to 'insert' (table expected, got nil)

The current file doesn't contain this line at

If that was it, try updating both clients.
If not, I will continue investigating the issue.

from instant.nvim.

jbyuki avatar jbyuki commented on May 31, 2024

Also make sure, the server files are up to date.

from instant.nvim.

kkharji avatar kkharji commented on May 31, 2024

@jbyuki me and @Conni2461 had an amazing time testing and experimenting with instant.nvim. So far InstantJoin/Start Single worked well for us, as well as InstantFollow. Although some point in our instant the connection broke.

We will do further testing some time this week and report back here.
Also, I'll remember to update server files along with the plugin.

Thanks a lot, again amazing work 😄

from instant.nvim.

jbyuki avatar jbyuki commented on May 31, 2024

Great, glad I could provide you both with some fun experimenting.

The plugin is still rather unstable so really any help will be very helpful.

Thanks again, and see you soon then.

from instant.nvim.

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.