Skip to content
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

installer not working on ubuntu 18.04 #174

Open
mwesterhof opened this issue May 18, 2018 · 13 comments
Open

installer not working on ubuntu 18.04 #174

mwesterhof opened this issue May 18, 2018 · 13 comments

Comments

@mwesterhof
Copy link

As the title says, I haven't been able to successfully install xiki on a fresh, default ubuntu 18.04 install.
There are no errors, but once the installer gets to the last line, nothing seems to happen. It does appear to run the xsh process, but nothing happens

steps to reproduce:

  1. run a fresh install of ubuntu 18.04
  2. sudo apt-get install curl
  3. run the one-line installer

To check if i missed something, I've tried the exact same steps for ubuntu 16.04. This works just fine though.

Since 18.04 is an LTS version, it would be great if the support could be addressed. I'd be happy to ferret out some more information about this issue myself, but I'm afraid I have 0 ruby experience.

@julien-montmartin
Copy link

Same issue here, the last line

~/local/xiki/bin/xsh -xsh/setup

hangs forever (Xubuntu 18.04)

@LawsonJohnson
Copy link

Same here; Mac OSX High Sierra. Hangs forever.

@julien-montmartin
Copy link

Looking at the code I found that a log file was created in /tmp ; on a fresh install it contains nothing but this ruby syntax error :

> cat /tmp/el4r-julien.15051.log
/home/julien/local/xiki/misc/emacs/el4r/el4r-instance:663:in `instance_eval': /home/julien/local/xiki/misc/emacs/el4r/init.rb:26: Invalid return in class/module body (SyntaxError)
    return
    ^~~~~~
	from /home/julien/local/xiki/misc/emacs/el4r/el4r-instance:663:in `instance_eval_invoker'
	from /home/julien/local/xiki/misc/emacs/el4r/el4r-instance:1114:in `block in <main>'
	from /home/julien/local/xiki/misc/emacs/el4r/el4r-instance:1104:in `fork'
	from /home/julien/local/xiki/misc/emacs/el4r/el4r-instance:1104:in `<main>'

@brucethehoon
Copy link

Same issue here. I would love to see some movement on this. It's clearly been an issue for some time.

@zaraken
Copy link

zaraken commented Aug 5, 2018

Workaround
install ruby 2.4.4 via rvm (default on Ubuntu 18.04 is 2.5.1)
Instructions https://gorails.com/setup/ubuntu/18.04

remove ~/xiki ~/.xiki ~/xiki-project from an unsuccessful install

Make sure you're using ruby 2.4.4 ruby -v
isntall xsh as described on xiki.org
curl -L https://xiki.com/install_xsh -o ~/install_xsh; bash ~/install_xsh

Create a ruby wrapper for xsh so that it uses version 2.4.4 instead of system's 2.5.1
rvm wrapper ~/xiki-project/bin/xsh

@hyperbaba
Copy link

:)

@jcklpe
Copy link

jcklpe commented Nov 2, 2018

@zaraken For those of us who don't know ruby, is there a possible fix for this so that someone could just fork the project and then merge in the fix as a pr?

If @julien-montmartin can identify the ruby syntax error than surely we can just fix this issue and then push an update ourselves right? I mean that's kind of the point of open source isn't it?

@zaraken
Copy link

zaraken commented Nov 2, 2018

For those of us who don't know ruby

Ha!
I am one of you, who don't know ruby, and that is why I did not 'just' fix the syntax error. I probably could have but it wans't worth the time for me since the workaround was kinda straightforward. If anyone feels like looking into it that'd be awesome of course!

@jcklpe
Copy link

jcklpe commented Nov 2, 2018

Yeah. hmmm.... this thing just seems real cool and I want to try it out but I also know that I can't get sidetracked from my actual work haha. Hmmm... I wonder if I could try putting up a bounty. I'll look into that.

@jcklpe
Copy link

jcklpe commented Nov 2, 2018

Ah screw it. I just went ahead and did the whole wrapper thing. It wasn't that hard, I'm just a pansy. I'm a very new dev, but this is how I learn new things I guess!

@trogdoro
Copy link
Owner

trogdoro commented Nov 3, 2018 via email

@jcklpe
Copy link

jcklpe commented Nov 3, 2018

Thank you @trogdoro for your work. It's very cool!

If you're ever interested in someone helping out with the visual design/branding let me know. I'm a designer learning code and I'm trying to adapt the open source methodology to branding situations: https://github.com/jcklpe/Open-Source-Branding

@trogdoro
Copy link
Owner

trogdoro commented Nov 3, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants