-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to publish/add to local lit instance #88
Comments
Can you try updating to lit 2.0.2? I think the auto-updater is broken in 1.3.0 and it won't see the 2.x series. Perhaps I can publish 1.3.1 with fixed auto-update. |
To update manually, just do |
A 1.3.1 would be a good idea, considering it might be broken. I'll update manually, but your solution should probably be considered, if manually updating is considered a workaround rather than a solution. |
it appears that the latest version 2.0.2 suffers the same issue on my end. |
Thanks for finding this bug and sorry for the frustration. I'll try to reproduce it. Between 1.2.x and 2.x there were over 1000 new lines of code in the refactor and I was afraid there might be some regressions. |
no problem. if you need any additional information, i'll be more than happy to post it. |
Since your client is connecting, I assume that |
Wait, did you say it hangs on both |
and yes, you are correct, i meant to write 4822, as can be seen in the edited .litconfig i added. |
in other words, the output from publish and add is completely identical on my end. |
Ahh, now I remember. If you have an active upstream, lit add will first check for remote updates. This is a safety measure to prevent version conflicts (same version, different content). This helps. Publish internally does an add first, so the issue must be in add and in this sync check. |
@necrophcodr I still can't reproduce it. I wonder if it's something in your local db that's triggering the bug. As a test, can you change the path to your db in your .litconfig to a new path (append |
I previously tried removing the entire directory completely and running the commands again, with the same result. May have been with 1.3.0, so I'll give it a shot with 2.0.2. |
It appears to be an issue even after removing the .litdb.git directory entirely, sync'ing the disks, and then running the commands again. |
Did you make any progress on this. I'm still at a loss as how to reproduce the issue. |
Unfortunately I have not made any progress. It appears to be related to the specific setup I have on my netbook, considering my desktop works fine with it (lit 2.0.3). I'll be looking into this a bit more over the coming days, today included, given that I have the spare time. |
It appears your netbook is running Linux. Is there something different from your working desktop? OS, arch, firewall, network device? |
It appears that as of 1.3.0 (the version I am currently using) it is not possible to use a local upstream as such:
upstream: ws://127.0.0.1:4822
When running
lit serve
in one terminal, andlit {publish|add} [app].lua
ot simply hangs.The output from the client is:
Output from the
lit serve
command is:Nothing happens after this. No data being sent or received, no commits happening to /home/USER/.litdb.git/.
edited
.litconfig
:The text was updated successfully, but these errors were encountered: