ChanServ changed the topic of #xiki to: Trying out the new version of xiki shell! This channel is logged at http://irclog.whitequark.org/xiki/
chrisdotcode has quit [Quit: No Ping reply in 180 seconds.]
chrisdotcode has joined #xiki
chrisdotcode has joined #xiki
Sublim3_ has joined #xiki
<Sublim3_>
hi, I downloaded the git repo of xiki yesturday on a pretty standard ubuntu 12.04 vm. It worked fine yesturday when running for the first time. Now today after a vm reboot it hangs on the emacs -Q --nw --daemon=$random. in the xsh script
<Sublim3_>
anyone ever experience this or know what this might be
<trogdoro>
Sublim3_: hmm, strange
<trogdoro>
Sublim3_: a couple things to try…
<trogdoro>
$ xsh -i
<trogdoro>
that might give you a better error message
<trogdoro>
but, first try this:
<trogdoro>
$ xsh -stop
<trogdoro>
it kills any lingering xsh process
<Sublim3_>
xsh -i doesnt pupulate anything in the scratch buffer
<trogdoro>
If that doesn’t work, kill them manually:
<trogdoro>
$ pkill -f "xsh forker"
<trogdoro>
Sublim3_: the scratch buffer shouldn’t be relevant, really
<Sublim3_>
no running process
<trogdoro>
Sublim3_: what do you see when you type “xsh -i”?
<Sublim3_>
well then -i just drops me in a scratch pad
<Sublim3_>
pad ->buffer*
<trogdoro>
Sublim3_: ubuntu 12.04… I’ve tested mostly with 14.04 and 14.10
<Sublim3_>
ohh I didnt menton I didn't install it I'm just running it from the directory
<trogdoro>
Sublim3_: what are you typeing specifically?
<trogdoro>
and which dir are you in?
<Sublim3_>
I just had a base 12.04 image at hand :p
<Sublim3_>
/home/sublime/git/xiki/bin/xsh
<trogdoro>
Sublim3_: which dir are you in when running this?
<Sublim3_>
i ran through the xsh script line by line and pin pointed the problem to line 266
<trogdoro>
Sublim3_: maybe doing a trace without sudo would be useful?
<Sublim3_>
well the last line gives it away: "sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?"
<trogdoro>
Sublim3_: not sure I follow - what is the fix?
<trogdoro>
Sublim3_: maybe uninstall emacs and re-install it?
<trogdoro>
Sublim3_: how did it get installed, exactly?
<trogdoro>
during the xsh setup, or was it already there?
<trogdoro>
Sublim3_: btw, I’m downloading an ubuntu 12.04 vm to try it out
<Sublim3_>
trogdoro, are you working on the project?
<trogdoro>
Sublim3_: yep
<trogdoro>
Sublim3_: did you check for existing emacs daemon processes?
<Sublim3_>
dpkg -l emacs : ii emacs 45.0ubuntu1 all GNU Emacs editor (metapackage)
<trogdoro>
Sublim3_: $ ps aux | grep "emacs -Q --daemon"
<Sublim3_>
yah I just did a : sudo killall emacs
<trogdoro>
Sublim3_: just now?
<Sublim3_>
but before that maybe one or two from som tests
<trogdoro>
Sublim3_: if so, maybe try doing xsh again now, without sudo
<Sublim3_>
and now with not active emacs running issue is the same
<trogdoro>
Sublim3_: when you did “killall emacs”, did you verify that all the processes went away?
<Sublim3_>
yes of course :p
<trogdoro>
Sublim3_: might be a good trouble-shooting step to reboot
<Sublim3_>
alright ill brb in 2 minutes
<trogdoro>
Sublim3_: in case there’s some strange file open or process running that we’re not seeing
<trogdoro>
Sublim3_: cool
Sublim3_ has quit [Remote host closed the connection]
Sublim3 has joined #xiki
<Sublim3>
damn sry network issues
<Sublim3>
but the problem with emacs/xiki persists
<trogdoro>
Sublim3_: was emacs already installed before you did the xsh install?
<Sublim3>
good question I don't remember what packaged it needed
<Sublim3>
I knew I didn't have perl so I just let it go ahed
<Sublim3>
i mean ruby
<Sublim3>
are you close to having a vm up. Because I was thinking when I made my base 12.04 image I might have compiled my own emacs :S
<trogdoro>
Sublim3: ah, maybe something went wrong with the permissions when you compiled it
<trogdoro>
Sublim3: like you said, it does sound like an emacs issue at this point
<Sublim3>
still unsure of that fact
<Sublim3>
ill go check the repos to see which version ubuntu packages
<trogdoro>
Sublim3: not being able to run emacs —daemon should be pretty independant of emacs
<trogdoro>
Sublim3: is your irc username a reference to Sublime Text?
<Sublim3>
no I wanted sublime but it was taken :(
<Sublim3>
but I do like sublime text
<trogdoro>
Sublim3: The vm completed > running the xsh “one-line installer” now…
<trogdoro>
in ubuntu 12.04
<Sublim3>
ohhh thats not what I used
<Sublim3>
as I said I just ran it from a git clone
<trogdoro>
Sublim3: k, I’ll try it via a git clone next
<trogdoro>
Sublim3: I’m getting a “blank screen”
<trogdoro>
….when it opens emacs
<trogdoro>
probably an emacs 23 issue
<Sublim3>
what version does it install ?
<trogdoro>
Sublim3: if the xsh installer doesn’t find emacs, it just does “apt-get install emacs”
<trogdoro>
Sublim3: so it gets the current one according to the package manager
<Sublim3>
so what is $ emacs --version in your vm
<trogdoro>
Sublim3: emacs 23
<trogdoro>
GNU Emacs 23.3.1
<Sublim3>
this confirms the fact hat i compiled GNU Emacs 24.3.1
<Sublim3>
and that the issue persists in that version of emacs :(
<Sublim3>
Thanks alot for your time and effort. And also for the great tool you created I look forward to experiencing alot with it
<trogdoro>
Sublim3: no prob, thanks for helping trouble-shoot!
<trogdoro>
Sublim3: if it’s convenient for you to use an Ubuntu 14.04 image...
<trogdoro>
Sublim3: you’ll probably have much better luck with that
<Sublim3>
yah don't worry this is a non-real issue for me I just noticed it
<Sublim3>
thought I'd see if it was xiki related
<trogdoro>
Sublim3: cool
<trogdoro>
Sublim3: I’ll have to figure out what to do re 12.04 users
<trogdoro>
Sublim3: there’s an emacs24 package for 12.10, but not 12.04
<Sublim3>
hmm
<Sublim3>
well see you around
<trogdoro>
Sublim3: btw, looks like it’s a ruby version error
<trogdoro>
Sublim3: or at least that’s one of the problems
<trogdoro>
ruby 1.8.7
<trogdoro>
I’ll need to recognize that and make them upgrade to 1.9 at least
<Sublim3>
ohhhh, I didn't get that
<trogdoro>
Sublim3: yeah, possibly different than your issue
<Sublim3>
also for line 27 in xsh you could check if /usr/local/bin is in path before appending. Not that it changes something :P
<trogdoro>
Sublim3: curious what’s your ruby version?
<Sublim3>
ruby 1.9.3p484. Guess some other modification to my base image made that
<trogdoro>
Sublim3: cool
Sublim3 has quit [Ping timeout: 250 seconds]
Sublim3 has joined #xiki
sirdancealot has quit [Ping timeout: 252 seconds]
redmeat has joined #xiki
<redmeat>
Hello, running xiki on Ubuntu with my default shell as Z-shell (zsh). Typing Ctrl-R is not showing any history. Instead I'm taken into xiki and presented with "See the key shortcuts at the bottom file."
<redmeat>
$HISTFILE is set to .zsh_history
<redmeat>
What could cause no history to be shown?
<redmeat>
Command history works in bash as normal.
mrbond has joined #xiki
redmeat has quit [Quit: Page closed]
Sublim3 has quit [Read error: Connection reset by peer]
redmeat has joined #xiki
dmilith has quit [Excess Flood]
dmilith has joined #xiki
chrisdotcode has quit [Ping timeout: 244 seconds]
chrisdotcode has joined #xiki
redmeat has quit [Quit: Page closed]
Sublim3 has joined #xiki
sirdancealot has joined #xiki
Sublim3 has quit [Max SendQ exceeded]
Sublim3 has joined #xiki
Sublim3 has quit [Ping timeout: 264 seconds]
sirdancealot has quit [Read error: Connection reset by peer]
sirdancealot has joined #xiki
Sublim3 has joined #xiki
chrisdotcode has quit [Read error: Connection reset by peer]
chrisdotcode has joined #xiki
chrisdotcode has joined #xiki
mrbond has quit [Ping timeout: 244 seconds]
chrisdotcode has quit [Remote host closed the connection]
Sublim3 has quit [Ping timeout: 256 seconds]
Sublim3_ has joined #xiki
Sublim3_ is now known as Sublim3
<trogdoro>
I just did a push, that should fix some of the install bugs