-
Notifications
You must be signed in to change notification settings - Fork 6
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
VIV_PORT environment variable not set automatically #157
Comments
Hello! Great to hear you like the project! Could you try reproducing the behavior of |
Sure, I removed the environment variable and relogged, ran Below is the error.
|
Nice, thanks for the help! I think I fixed it in #158. Since you have already figured out how to compile yourself, would you mind checking if it works on that branch? |
No luck unfortunately - same error in But just to double check that I did everything (never checked out an issue before). I went Then ran the server and the normal binary. Which results in the error from earlier. I did check to make sure the file you changed did change on my side too - which it did. |
Okay, what you describe sounds good, but just to make sure: When running vivify-server v0.3.0-4-g4b09a65 Then ensure you don't still have an instance of the old version of Vivify running, e.g. with killall vivify-server Then use |
It appears even calling and |
@rhatos could it be that you still have the AUR version installed somewhere and that it is in front of your own build on |
I could reproduce |
@tuurep Thanks! This is the same that I have as well.
@sollymay Interesting... So here you ran |
Yep, exactly. I uninstalled my brew installed version to avoid any problems with paths, executables, etc and built it without any errors popping. I see the two executables and they have the right permissions but for some reason vivify-server just runs and gets killed and viv gets stuck. May be related to my work setup so can't confirm it is until I get home. |
Okay, thanks for the information & the testing! I am considering just merging & releasing to get around potential setup-related problems since the PR fixes it for @tuurep and me. Will do that tomorrow unless something else pops up over night :) |
You were right, had the AUR version still installed. Removed it and ran Interestingly, the compiled version when running
And the |
Just for sanity sake, I tested on my other machine and I get the same results. Also running arch. |
Sorry for the late response here, but I was able to test at home and I am also getting a segfault running on Arch. Seems like the same behavior I was getting on my work laptop but that would not print the segfault completely, but just quit instead of throwing the sefault line |
Thanks for testing guys! I just made a new release, let me know if this fixes it for you. You can
If things work our, we will update the packages (@tuurep for AUR, me for Brew). The segfaults you get are probably related to the Node versions that were used for compilation; we haven't had this exact behavior1 but we have found that Node from package managers on Linux tends to not work, while the I don't want to bother you guys more with this, but just in case you are interested in building and/or contributing more to Vivify anyways, maybe you could let us know where your Node comes from (the one at Footnotes |
To me it sounds like the same thing, but our build instruction isn't clear/explicit enough since the segfault error is currently the norm rather than the exception 😄 I've also updated the AUR packages to 0.3.1 now |
To be very clear, the way I build on Arch right now is:
The reason for this shenanigans is because Node SEA is currently alpha/experimental and we are early adopting it, things will possibly get easier in the future :) |
Thanks @tuurep! I'll close this for now, if it still doesn't work we can reopen later. |
Sorry to bump this, but thought I'd just let you know it is working now installed from the AUR! Thanks for the quick updates! |
Hi, great project!
I had some issues getting it working initially.
Running
viv .
in my terminal just resulted in it hanging indefinitely.I tried out the development version and it worked immediately.
Maybe I'm not that experienced but the only way I got it to work without being in dev mode was to set the
VIV_PORT
environment variable manually in/etc/environment
and relogging.I installed it through the AUR and also ended up compiling it myself.
The text was updated successfully, but these errors were encountered: