trogdoro / xiki

A shell console with GUI features
http://xiki.org
Other
3.76k stars 208 forks source link

installer not working on ubuntu 18.04 #174

Open mwesterhof opened 6 years ago

mwesterhof commented 6 years ago

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 commented 6 years ago

Same issue here, the last line

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

hangs forever (Xubuntu 18.04)

LawsonJohnson commented 6 years ago

Same here; Mac OSX High Sierra. Hangs forever.

julien-montmartin commented 6 years ago

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 commented 5 years ago

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

zaraken commented 5 years ago

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 commented 5 years ago

:)

jcklpe commented 5 years ago

@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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

Ty for posting the workaround. I'll fix the install bugs at some point. Unfortunately I only have so many hours to dedicate to Xiki at the moment, since the last Kickstarter failed.

--Craig

On Fri, Nov 2, 2018 at 1:16 PM Aslan French notifications@github.com wrote:

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 get!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/trogdoro/xiki/issues/174#issuecomment-435485593, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAsW3o-JnExurp2-Lbxfz6IsjXyiJs8ks5urKgSgaJpZM4UEvLu .

jcklpe commented 5 years ago

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 commented 5 years ago

Thanks!

On Sat, Nov 3, 2018 at 4:25 PM Aslan French notifications@github.com wrote:

Thank you @trogdoro https://github.com/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

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/trogdoro/xiki/issues/174#issuecomment-435628770, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAsW6BLE6Lzb2lAOYoz8v8VL25AUCAHks5uriXxgaJpZM4UEvLu .