Comments (14)
Closing this for now as the initial bug was fixed.
from instant.nvim.
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.
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.
e10a679 should do it. Thanks again.
from instant.nvim.
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.
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.
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.
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.
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.
After some time of expermenting on Single
from instant.nvim.
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
Line 1583 in e10a679
If that was it, try updating both clients.
If not, I will continue investigating the issue.
from instant.nvim.
Also make sure, the server files are up to date.
from instant.nvim.
@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.
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)
- Host's buffer gets cleared when client connects HOT 6
- When starting server it doesn't need args but joining session errors HOT 1
- Cannot use Instant.vim on SpaceVim - Unknown function: instant#StartServerWrapper HOT 6
- Any way to customize with colors HOT 4
- Attempt to get length of local 'iptable' (a nil value) HOT 6
- Error executing vim.schedule lua callback: ...im/plugged/instant.nvim/lua/instant/websocket_client.lua:92: There was an error during connection: ETIMEDOUT HOT 3
- Can't deploy a server using ngrok on Windows HOT 8
- Enhancement: Use extmark instead of deprecated virtual text. HOT 1
- Sync BufferWrites across clients
- Is there or ir possible to make a cross editor solution? HOT 2
- Is it possible to attach lsp to all clients buffer? HOT 1
- Buffer opened by other clients are marked as modified HOT 2
- How to deal with jump server? HOT 1
- Self standing server in a Docker container feature request HOT 1
- Doesn't work in neovim 0.4.4 HOT 3
- Cursor highlights HOT 1
- Wiki does not have a Deploy a Server page
- Any hope for a visual code compatibility ? HOT 1
- InstantStartSession always caueses ECONNREFUSED. Tried different hosts and ports. Tried disabling firewall. HOT 2
- Edits from client not appearing on server HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instant.nvim.