Git Product home page Git Product logo

xiki's People

Contributors

artagnon avatar dan-g avatar jc00ke avatar mkb avatar nightscape avatar pairing avatar trogdoro avatar usergenic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xiki's Issues

Build

I'm new to ruby and I want to make some changes to this code. Could someone help me build this?

Thanks

Installing xiki on ubuntu does not work, no error messages

I tried to install xiki on ubuntu lts, it does not work for me.

First step, i installed ruby1.9.3, changed /etc/alternatives/ruby, check ruby -v.

Cloned the git repo and ran

  $ sudo gem install bundler
  $ sudo bundle
  $ sudo ruby etc/command/copy_xiki_command_to.rb /usr/bin/xiki

Everything seemed fine, no errors.

ran xiki web/start. Only a newline was printed. ran xiki readme. The same thing happend. Checked /tmp/xiki_web.output. Got a error about ol.rb not being found by require. ran ruby, evaluated $:. Made a symlink /usr/lib/ruby/1.9.1/xiki (which was included in $:, yes in version 1.9.3.) to /home/rtzui/xiki/lib/xiki.

Ran xiki web/start again, again no output, but in the logfile the port for the webserver was given. Open the port with chrome and firefox, got a blank page. The source contained code, and it was barely more than <title>, jquery inclusion and a css. One page of code, ( $(window).focus, $('a').click and $('body').keypress). It did not respond to keystrokes, not even after clicking it in an attempt to give focus.

Removed the symlink in /usr/lib/ruby/1.9.1 to reproduce the first error. Xiki runs like it always did without any output, but no logfile was updated. ran xiki stop; killall ruby; rm /tmp/xiki*, reran xiki web/start. No logfiles where created, only /tmp/xikirequest and /tmp/xikiresponse. Nothing listened on port 8161.

In the hole time of not working, never ever printed a useful error message or a message at all, only one ruby error about the failed "require" and about the http server.

Gem::LoadError and unintialized constant errors

I'm trying out xiki for the first time.

I'm using rvm with ruby 1.9.3-head.

I followed the git install instructions, and everything went fine:
$ git clone git://github.com/trogdoro/xiki.git
$ cd xiki
$ # sudo gem install bundler <- already installed, so didn't run this
$ bundle
$ # ruby etc/command/copy_xiki_command_to.rb /usr/local/bin/xiki <- not needed, bundler installed a /usr/local/rvm/gems/ruby-1.9.3-head/bin/xiki file that is earlier in my path than /usr/local/bin/xiki anyway

But then:
$ xiki
/usr/local/rvm/rubies/ruby-1.9.3-head/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find xiki (>= 0) amongst ...

Ok, fine, let's try this:
$ bin/xiki
... works fine ... or:
$ bundle exec xiki
... also works fine

So, moving on:
$ bin/xiki web/start
uninitialized constant Xiki::Menu::ErbHandler

undefined method `point' for nil:NilClass

Error:

[exos@Hexodica xiki]$ xiki ls
- tried to run: Ls.menu
- error: .construct_path couldn't construct the path - is this a well-formed tree?: undefined method `point' for nil:NilClass
- backtrace:
  ./lib/xiki/tree.rb:788:in `construct_path'
  ./lib/xiki/tree.rb:1714:in `path'
  /tmp/xiki/lib/xiki.rb:359:in `path'
  /tmp/xiki/lib/xiki.rb:355:in `trunk'
  ./lib/xiki/tree.rb:1686:in `file'
  /tmp/xiki/menu/ls.rb:16:in `menu'
  ./lib/xiki/code.rb:210:in `eval'
  ./lib/xiki/launcher.rb:936:in `invoke'
  ./lib/xiki/launcher.rb:152:in `add_menu'

Instaled from github (today) Some data:

[exos@Hexodica xiki]$ uname -a
Linux Hexodica 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[exos@Hexodica xiki]$ ruby --version
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

'google images' error: uninitialized constant GoogleImages::Firefox

I just started giving xiki a shot. When using the google images command from the introduction, I get the following message:

google images/foo/
  - tried to run: GoogleImages.menu "foo"
  - error: uninitialized constant GoogleImages::Firefox
  - backtrace:
    /Users/frederic/.rvm/gems/ruby-1.9.3-p194/gems/xiki-0.6.3/menu/google_images.rb:9:in `menu'
    /Users/frederic/.rvm/gems/ruby-1.9.3-p194/gems/xiki-0.6.3/lib/xiki/code.rb:210:in `eval'
    /Users/frederic/.rvm/gems/ruby-1.9.3-p194/gems/xiki-0.6.3/lib/xiki/code.rb:210:in `instance_eval'
    /Users/frederic/.rvm/gems/ruby-1.9.3-p194/gems/xiki-0.6.3/lib/xiki/code.rb:210:in `eval'
    /Users/frederic/.rvm/gems/ruby-1.9.3-p194/gems/xiki-0.6.3/lib/xiki/launcher.rb:936:in `invoke'
    /Users/frederic/.rvm/gems/ruby-1.9.3-p194/gems/xiki-0.6.3/lib/xiki/launcher.rb:152:in `block in add_menu'
    /Users/frederic/.rvm/gems/ruby-1.9.3-p194/gems/xiki-0.6.3/lib/xiki/tree.rb:1370:in `call'
    /Users/frederic/.rvm/gems/ruby-1.9.3-p194/gems/xiki-0.6.3/lib/xiki/tree.rb:1370:in `output_and_search'
    /Users/frederic/.rvm/gems/ruby-1.9.3-p194/gems/xiki-0.6.3/lib/xiki/launcher.rb:450:in `try_menu_launchers'

Firefox is installed on my machine (but not the default browser)

Not working in aquamacs

Followed your install instructions, no errors. Running things like xiki and xiki directory from the terminal work as expected. Opened aquamacs and tried doing a couple simple commands (e.g. $ ls -la) and nothing happened when I double clicked or hit cmd+enter. Followed your debugging tips and there were no errors listed.

Issues with Step 2 (trogdoro-el4r) on Ubuntu 12.04

I'm on Ubuntu 12.04, running Ubuntu packaged ruby. I installed xiki via gem install.

Any help with the issue below would be appreciated :). Thanks.

Now when executing Step 2, I get the following errors:

/var/lib/gems/1.8/gems/xiki-0.6.3 $ sudo bash etc/install/el4r_setup.sh 
---> bin
---> bin/backup
<--- bin/backup
<--- bin
---> lib
---> lib/el4r
---> lib/el4r/emacsruby
---> lib/el4r/emacsruby/autoload
<--- lib/el4r/emacsruby/autoload
<--- lib/el4r/emacsruby
<--- lib/el4r
<--- lib
---> data
---> data/emacs
---> data/emacs/site-lisp
<--- data/emacs/site-lisp
<--- data/emacs
<--- data
---> man
<--- man
---> bin
---> bin/backup
setup.rb:1266:in `adjust_shebang': private method `sub' called for nil:NilClass (NoMethodError)
    from setup.rb:1264:in `open'
    from setup.rb:1264:in `adjust_shebang'
    from setup.rb:1256:in `setup_dir_bin'
    from setup.rb:1255:in `each'
    from setup.rb:1255:in `setup_dir_bin'
    from setup.rb:1498:in `__send__'
    from setup.rb:1498:in `traverse'
    from setup.rb:1515:in `dive_into'
    from setup.rb:1496:in `traverse'
    from setup.rb:1500:in `traverse'
    from setup.rb:1499:in `each'
    from setup.rb:1499:in `traverse'
    from setup.rb:1515:in `dive_into'
    from setup.rb:1496:in `traverse'
    from setup.rb:1490:in `exec_task_traverse'
    from setup.rb:1485:in `each'
    from setup.rb:1485:in `exec_task_traverse'
    from setup.rb:1251:in `exec_setup'
    from setup.rb:996:in `exec_setup'
    from setup.rb:814:in `invoke'
    from setup.rb:774:in `invoke'
    from setup.rb:1544
cp /home/jay/.el4rrc.rb backup/.el4rrc.rb.backup
Generating backup/.el4rrc.rb.new...
/usr/bin/el4r-rctool:125:in `write': closed stream (IOError)
    from /usr/bin/el4r-rctool:125:in `puts'
    from /usr/bin/el4r-rctool:125:in `apply_patch'
    from /usr/bin/el4r-rctool:98:in `open'
    from /usr/bin/el4r-rctool:98:in `apply_patch'
    from /usr/bin/el4r-rctool:168:in `__send__'
    from /usr/bin/el4r-rctool:168:in `commit'
    from /usr/bin/el4r-rctool:166:in `each'
    from /usr/bin/el4r-rctool:166:in `commit'
    from /usr/lib/ruby/1.8/optparse.rb:1724:in `options'
    from /usr/bin/el4r-rctool:148:in `commit'
    from /usr/bin/el4r-rctool:36:in `initialize'
    from /usr/bin/el4r-rctool:276
cp backup/.el4rrc.rb.new /home/jay/.el4rrc.rb
cp backup/.emacs.new /home/jay/.emacs
/usr/lib/ruby/1.8/fileutils.rb:1207:in `stat': No such file or directory - backup/.emacs.new (Errno::ENOENT)
    from /usr/lib/ruby/1.8/fileutils.rb:1207:in `lstat'
    from /usr/lib/ruby/1.8/fileutils.rb:1185:in `stat'
    from /usr/lib/ruby/1.8/fileutils.rb:1267:in `copy_file'
    from /usr/lib/ruby/1.8/fileutils.rb:464:in `copy_file'
    from /usr/lib/ruby/1.8/fileutils.rb:383:in `cp'
    from /usr/lib/ruby/1.8/fileutils.rb:1402:in `fu_each_src_dest'
    from /usr/lib/ruby/1.8/fileutils.rb:1416:in `fu_each_src_dest0'
    from /usr/lib/ruby/1.8/fileutils.rb:1400:in `fu_each_src_dest'
    from /usr/lib/ruby/1.8/fileutils.rb:382:in `cp'
    from /usr/bin/el4r-rctool:134:in `install_file'
    from /usr/bin/el4r-rctool:168:in `__send__'
    from /usr/bin/el4r-rctool:168:in `commit'
    from /usr/bin/el4r-rctool:166:in `each'
    from /usr/bin/el4r-rctool:166:in `commit'
    from /usr/lib/ruby/1.8/optparse.rb:1724:in `options'
    from /usr/bin/el4r-rctool:148:in `commit'
    from /usr/bin/el4r-rctool:36:in `initialize'
    from /usr/bin/el4r-rctool:276

error: el4r-instance is dead.

At the end of this issue you can find the whole emacs log
I'm using Aquamacs Emacs.app on OSX Mountain Lion

The error shown is "error: el4r-instance is dead. "

Has anyone experienced it?
TIA.

("/Applications/Development/Aquamacs_Emacs.app/Contents/MacOS/Aquamacs Emacs")
Loading prestart plugin files ...
... done.
Loading easy-mmode...done
Loading cl-macs...done
Shell: /bin/zsh
Aquamacs Mule installed.
Loading encoded-kb...done
Loading easymenu...done
Loading /Users/gicappa/Library/Preferences/Aquamacs Emacs/Recent Files.el (source)...done
Cleaning up the recentf list...done (0 removed)
Loading places from /Users/gicappa/Library/Preferences/Aquamacs Emacs/places.el...done
22 environment variables imported from login shell (/bin/zsh).
Loading auctex...
Loading /Applications/Development/Aquamacs_Emacs.app/Contents/Resources/site-lisp/edit-modes/tex-site.el.gz...
Loading jka-compr...done
uncompressing tex-site.el.gz...done
Loading /Applications/Development/Aquamacs_Emacs.app/Contents/Resources/site-lisp/edit-modes/tex-site.el.gz...done
Loading auctex...done
uncompressing preview-latex.el.gz...done
Loading /Applications/Development/Aquamacs_Emacs.app/Contents/Resources/site-lisp/edit-modes/nxml/rng-auto.el (source)...
Source file `/Applications/Development/Aquamacs_Emacs.app/Contents/Resources/site-lisp/edit-modes/nxml/nxml-enc.el' newer than byte-compiled file
Loading /Applications/Development/Aquamacs_Emacs.app/Contents/Resources/site-lisp/edit-modes/nxml/rng-auto.el (source)...done
Loading /Applications/Development/Aquamacs_Emacs.app/Contents/Resources/site-lisp/edit-modes/haskell-mode/haskell-site-file.el (source)...done
Loading plugins ...
Loading /Applications/Development/Aquamacs_Emacs.app/Contents/Resources/site-lisp/site-start...done
... done.
el4r started.

An error has occurred while loading `/Users/gicappa/.emacs':

error: el4r-instance is dead.

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.

one-buffer-one-frame-mode disabled.
Mark set [26 times]
Loading /Users/gicappa/Library/Preferences/Aquamacs Emacs/frame-positions.el (source)...done
Truncate long lines disabled
Mark set
Aquamacs is based on GNU Emacs, a part of the GNU/Linux system. It is Free Software: you can improve and redistribute it under the GNU General Public License, version 3 or later. Copyright (C) 2009 Free Software Foundation, Inc. (C) 2009 D. Reitter. No Warranty.
Get the new Aquamacs 2.4 now from http://aquamacs.org!
Press C-h u to download it.
Get the new Aquamacs 2.4 now from http://aquamacs.org!
Press C-h u to download it.
byte-code: Beginning of buffer [23 times]
byte-code: End of buffer [37 times]
byte-code: Beginning of buffer [29 times]
byte-code: End of buffer
byte-code: Beginning of buffer [15 times]
byte-code: Beginning of buffer

`xiki directory` command fails

Using the xiki gem v0.6.3, I get the following:

jimeh@air ~$ xiki directory
ERROR: there is already one or more instance(s) of the program running
jimeh@air ~$ xiki status
xiki_process.rb: running [pid 68799]
jimeh@air ~$ xiki stop
xiki_process.rb: trying to stop process with pid 68799...
xiki_process.rb: process with pid 68799 successfully stopped.
jimeh@air ~$ xiki directory
/Users/jimeh/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/xiki-0.6.3/etc/command/xiki_command.rb:113:in `get_response': Timeout::Error (Timeout::Error)
        from /Users/jimeh/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/xiki-0.6.3/etc/command/xiki_command.rb:102:in `run'
        from /Users/jimeh/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/xiki-0.6.3/bin/xiki:30:in `<top (required)>'
        from /Users/jimeh/.rbenv/versions/1.9.3-p0/bin/xiki:19:in `load'
        from /Users/jimeh/.rbenv/versions/1.9.3-p0/bin/xiki:19:in `<main>'
jimeh@air ~$ xiki start                                                                                                                                                                                                                   1 ↵
ERROR: there is already one or more instance(s) of the program running
jimeh@air ~$ xiki status
xiki_process.rb: running [pid 70800]
jimeh@air ~$ xiki directory
ERROR: there is already one or more instance(s) of the program running

xiki not working under windows because fork is unimplemented.

C:\Users\jarmo>xiki ip
mkfifo: fifo files not supported
mkfifo: fifo files not supported
- service couldn't start!:fork() function is unimplemented on this machine
C:/tcs-ruby193_require_fenix_gc_hash_20120527/lib/ruby/gems/1.9.1/gems/daemons-1.1.9/lib/daemons/daemonize.rb:11:in `fork'
C:/tcs-ruby193_require_fenix_gc_hash_20120527/lib/ruby/gems/1.9.1/gems/daemons-1.1.9/lib/daemons/daemonize.rb:11:in `safefork'
C:/tcs-ruby193_require_fenix_gc_hash_20120527/lib/ruby/gems/1.9.1/gems/daemons-1.1.9/lib/daemons/daemonize.rb:93:in `daemonize'
C:/tcs-ruby193_require_fenix_gc_hash_20120527/lib/ruby/gems/1.9.1/gems/daemons-1.1.9/lib/daemons/application.rb:146:in `start_load'
C:/tcs-ruby193_require_fenix_gc_hash_20120527/lib/ruby/gems/1.9.1/gems/daemons-1.1.9/lib/daemons/application.rb:298:in `start'
C:/tcs-ruby193_require_fenix_gc_hash_20120527/lib/ruby/gems/1.9.1/gems/daemons-1.1.9/lib/daemons/controller.rb:70:in `run'
C:/tcs-ruby193_require_fenix_gc_hash_20120527/lib/ruby/gems/1.9.1/gems/daemons-1.1.9/lib/daemons.rb:147:in `block in run'
C:/tcs-ruby193_require_fenix_gc_hash_20120527/lib/ruby/gems/1.9.1/gems/daemons-1.1.9/lib/daemons/cmdline.rb:109:in `call'
C:/tcs-ruby193_require_fenix_gc_hash_20120527/lib/ruby/gems/1.9.1/gems/daemons-1.1.9/lib/daemons/cmdline.rb:109:in `catch_exceptions'
C:/tcs-ruby193_require_fenix_gc_hash_20120527/lib/ruby/gems/1.9.1/gems/daemons-1.1.9/lib/daemons.rb:146:in `run'
C:/tcs-ruby193_require_fenix_gc_hash_20120527/lib/ruby/gems/1.9.1/gems/xiki-0.6.3/etc/command/xiki_command.rb:87:in `run'
C:/tcs-ruby193_require_fenix_gc_hash_20120527/lib/ruby/gems/1.9.1/gems/xiki-0.6.3/bin/xiki:30:in `<top (required)>'
C:/tcs-ruby193_require_fenix_gc_hash_20120527/bin/xiki:23:in `load'
C:/tcs-ruby193_require_fenix_gc_hash_20120527/bin/xiki:23:in `<main>'

The problem is that fork is not available on Windows platform. The problem could be solved by using fork-like techniques on Windows. One way to do that cross-platform way would be to use the gem childprocess.

Installed. Now what?

The README claims, "you don't have to know emacs to use it with Xiki". As a long time vi user who has no experience what-so-ever with emacs, this seemed promising.

I followed all the steps to install, but Step 3 leaves me completely hanging. If I just run emacs from a term window, it opens a new window and says "Welcome to GNU Emacs..." Somehow I managed to click something (no idea what) that created a split window that says "el4r started... etc. etc.". Now what? How do I get from here to using Xiki?

I can run the xiki shell command to do things like xiki status (it's running), and xiki docs/Introduction, but none of this tells me how to get to a point where I can do anything.

How about a step 4 in the README for those of us that truly don't "know emacs" that gets us from step 3 to a $ echo 'Hello, World!' example? I'm sure I'm just a command/click or two away from being able to do the cool stuff in the screencasts, but I have no idea where to go from here.

Let emacs installs be more modern.

I'd think emacs installs would go smoother if you considered your audience when dealing with emacs users.... ;)

I found that by moving the contents of the ~/.emacs file into the proper ~/.emacs.d/init.el file, it actually worked. If I left the it the way http://localhost:8161/emacs-setup tried to do it, it was giving me errors. I could look into updating some of the html files for you, and having it just prompt the user with text, instead of automatically over-riding their setup.

Could you provide everything needed to run this as a Melpa installed package? If so, that would make this so much easier to get running in 20 seconds, instead of 20 minutes.

Otherwise, this seems really awesome!

git dir not recognized

Git dirs are not recognized, then creating as suggested, clearly shows re initializing, making it clear there actually was a git dir.

- ~/temp3/
  + ok
  - @git/
    | Not a git repository.  Create a new one here?
    - setup/create/
      | Reinitialized existing Git repository in /Users/hans/temp3/.git/

Strange formatting, or 'elsif' instead of 'else'

If you take a look at lib/menu.rb, lines 637-640 (see https://github.com/trogdoro/xiki/blob/67b775107d303e9c54dce8b775268308e3fa60d8/lib/xiki/menu.rb#L631-640 for more context), you find this:

      elsif
        do_launch = true
        Tree.path.last
      end

This is treated as:

      elsif (do_launch = true)
        Tree.path.last
      end

Judging by the warning it raises:

/home/nick/.gem/ruby/1.9.1/gems/xiki-0.6.3/lib/xiki/menu.rb:638: warning: found = in conditional, should be ==

If it is intended as elsif do_launch = true, it needs to be changed to that or laid out differently to avoid the warning; otherwise I'm guessing the elsif likely needs to become an else.

Symbol's value as variable is void

Following the steps as outlined in the wiki, and when I run emacs, I get the following error:

Loading encoded-kb...done
el4r started.


An error has occurred while loading `/Users/burhan/.emacs':

Symbol's value as variable is void: /Users/burhan/.rvm/rubies/ruby-1.9.3-p374/bin/el4r-instance:579:

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

´´

Msys xiki Support

Hey guys,

I've been watching your windows progress and I noticed a cygwin pull request

Is there any news on msys support?

Here is a sample msys bash package
http://code.google.com/p/msysgit/
You get loads of linux commands on windows and this way and it is still native. :)

Installing Xiki on Mac

I've been having all kinds of issues installing Xiki on Mac. I never use Ruby though.

This was relevant to get it to install. But then I ran xiki docs and nothing. No menus were created...

Stuck in Step 2: EmacsRuby (el4r) setup

First of all, let me congratulate for xiki ;-) It looks amazing :-)

I was trying to use it from AquaEmacs but I am stuck in Step 2. I installed xiki from GitHub as you indicate without any problem and running "xiki" on my shell seems to work perfectly.

This is what I get when executing "sudo bash etc/install/el4r_setup.sh" from the xiki directory:

mac507514-7:xiki gtv$ sudo bash etc/install/el4r_setup.sh
ruby: No such file or directory -- setup.rb (LoadError)
ruby: No such file or directory -- el4r-rctool (LoadError)
ruby: No such file or directory -- el4r-rctool (LoadError)
mac507514-7:xiki gtv$

Not a Ruby expert (or newbie ;-) ) so any help is more than appreciated.

Thank you very much!

Can't access any of the lib/xiki/tools (ruby 1.9.3, rbenv, linux)

I've been digging around in the xiki internals to try to figure out what's going wrong myself, but I'm lacking some knowledge about how things are getting resolved, so I'll just post my symptoms here, and what I've found so far. (I'm in ruby 1.9.3, installed via rbenv and ruby-build on Fedora 19 linux)

I'm not using emacs, I intend to use the sublime text plugin, which has other issues, but my most pressing issue at the moment can be reproduced by calling xiki from a shell.

When I run xiki docs (or xiki #{any menu from the lib/xiki/tools directory}), I get the MenuSuggester no-menu-found output:

> Menu doesn't exist yet
| Create it?  Make your menu by creating one of these...
+ text file/
+ items/
+ notes/
+ code/
+ more/

Also, I can't find the documentation for it right now but I think I should be able to run xiki @menu and access the Menu singleton from Ruby, but instead I get the following output (which is the same for every other singleton I could think to try, including xiki @launcher:

@flash/- No menu or pattern defined!

All menus other than those two categories that I've tried seem to work, including menus from ~/menu.

I've been able to get the tools loading by setting export MENU_PATH=#{xiki_dir}/lib/xiki/tools before invoking xiki, but I think this is not supposed to be the way they get loaded...

Playing around a bit with the xiki internals, I've found that the tools are indeed getting correctly loaded into Launcher.menus, but I'm not sure how they get resolved from there or why that isn't working.

I get no errors in /tmp/xiki_process.rb.output

I've tried walking my local repository back ~100 revisions or so to see if a slightly older version of xiki didn't have the issue for my setup, but the issue remained as I went backward until other issues started cropping up.

I'm happy to give the output of any debug command you want me to run. I'm also comfortable fetching internal variable values from Ruby for you if that helps. I'd also be happy to write a patch myself if we can get me pointed in the right direction for it.

If you want to chat about it or walk through some tests live, I can usually be found lurking on irc.freenode.net as |jemc|.

Let me know what I can do to help!

rsvg library problem

sh: 1: rsvg: not found

I found somewhere that this is bug in librsvg package so i've symlinked

rsvg-convert into rsvg

sudo ln -s /usr/bin/rsvg-convert /usr/bin/rsvg

and now I have errors with:

╭─exu@scimitar  ~ ‹ruby-1.9.3› 
╰─$ emacs
Multiple SVG files are only allowed for PDF and PS output.
Multiple SVG files are only allowed for PDF and PS output.
Multiple SVG files are only allowed for PDF and PS output.
Multiple SVG files are only allowed for PDF and PS output.
Multiple SVG files are only allowed for PDF and PS output.
Multiple SVG files are only allowed for PDF and PS output.
Multiple SVG files are only allowed for PDF and PS output.

Maybe it's something version specific, I'm using emacs snapshot from PPA.

  • Ubuntu 12.04
  • GNU Emacs 24.1.50.1
  • ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux]

xiki works ok from shell.
Step by step installation without problems.

I've tried it on newest compiled version of rsvg downloaded from sourcforge but result are the same.

--- UPDATE ---
ON newest clean arch linux with newest ruby - I have the same problem.

Timeout::Error when verifying if the shell command works

I followed the instructions for installation via github and then ran the shell command "xiki". The output I get is this:

> Summary
The 'xiki' shell command is mostly meant to be called by programs
that want to interface with Xiki.  But it is sometimes useful for
people to call it directly.  Example usages:

$ xiki ip
$ xiki docs/faq

> Setting up your editor
The most common way to use Xiki is from a text editor.  For
example, from in a text editor, typing "tables" on any blank line
and then double-clicking on it (or typing control-enter or
command-enter) to browse and update your mysql database.

See the README.markdown file in the Xiki dir for help setting up
your editor. You can view it by typing this command or going to
this url:

$ xiki readme

https://github.com/trogdoro/xiki

> Service
The 'xiki' shell command automatically runs a service in the
background to keep things fast.

% xiki status
% xiki stop
% xiki restart

> Interfaces
Xiki can be used from...
- A text editor
- The 'xiki' shell command
- The http://xiki/ url in your browser (experimental)

For more information type:

$ xiki docs

> Google Group and Twitter
Join the google group or follow @xiki on twitter for help with
installing and using, or just to chat or share your ideas:

http://groups.google.com/group/xiki/
http://twitter.com/xiki

> Troubleshooting
A couple commands to help you trouble-shoot:

% bundle install
% xiki readme


/Users/daniel/test/xiki/etc/command/xiki_command.rb:113:in `get_response': Timeout::Error (Timeout::Error)
    from /Users/daniel/test/xiki/etc/command/xiki_command.rb:102:in `run'
    from /Users/daniel/test/xiki/bin/xiki:30:in `<top (required)>'
    from /usr/local/bin/xiki:2:in `load'
    from /usr/local/bin/xiki:2:in `<main>'

I have tried the gem installation too, with a similar error.

Error raised Ruby on Ubuntu

I wrote mysql or bootstrap. My emacs give "Error raised ruby" error. And cant run some commands (mysql, bootstap etc).


Distro: Ubuntu 13.04
Editor: Emacs23 GTK
Ruby Platform: Rvm 1.21.3 on Ruby 1.9.3-p448

"Don't run Bundler as root" warning when installing

The instructions say to use

$ sudo bundle

but this outputs

Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.

Should the instructions be changed?

sudo/rvm mixup when installing

RVM & Ruby 1.9.3-p286
Mac OS X 10.7.5
ZSH

Ran into a minor issue when running el4r_setup.rb. I'm using RVM and tried sudo gem install xiki first, without realizing I didn't need the sudo. This created the folders in my .rvm/.../gems folder with root permissions, including the files for Xiki and Trogdor.

when i ran el4r_setup.rb (non-sudo), it did not have the permissions required to create the .config file in the trogdoro-el4r-1.0.7. I tried uninstalling and reinstalling xiki, which didn't remove the trogdoro-el4r files and failed again. of course, i could have just sudo'd. i ended up just reinstalling both gems under my user and its all good, so not really an issue. awesome work, can't wait to use it!

Sublime Xiki

As mentioned here , despite the fact that the Sublime Text plugin does as its supposed to, and calls to the xiki shell command, many of xiki's features still don't work. I'm assuming this means these specific features will need integration on the xiki end. Some pointers on how I could help make sublime text integration better would be much appreciated.

Xiki support for Atom

I spend time split between Atom and Vim, but it probably wouldn't be too bad to get Atom + Xiki playing well together.

Vim support

Hi!

Is there a way to make Xiki available on vim or is it too attached to emacs?

Thanks for making this happen! The concept is amazing! :)

Error raised in Ruby

Trying to switch to xiki-mode in Aquamacs classic yields "Error raised in Ruby". The el4r log looks like:

Tue Oct 02 12:49:25 -0700 2012:DEBUG Received Ruby expression:
Tue Oct 02 12:49:25 -0700 2012:DEBUG Received callback interrupt.
Tue Oct 02 12:49:25 -0700 2012:DEBUG Waiting for Ruby expression
Tue Oct 02 12:49:25 -0700 2012:DEBUG Received Ruby expression: el4r_rubyobj_stock.id2obj(2188804080).call()
Tue Oct 02 12:49:25 -0700 2012:DEBUG Sending callback interrupt.
Tue Oct 02 12:49:25 -0700 2012:DEBUG Sending Lisp expression: (setq font-lock-defaults '(nil t))
Tue Oct 02 12:49:25 -0700 2012:DEBUG Waiting for Ruby expression
Tue Oct 02 12:49:25 -0700 2012:DEBUG Received Ruby expression: el4r_elobject_new(3301, ELListCell)
Tue Oct 02 12:49:25 -0700 2012:DEBUG Sending callback interrupt.
Tue Oct 02 12:49:25 -0700 2012:DEBUG Sending Lisp expression: (buffer-name )
Tue Oct 02 12:49:25 -0700 2012:DEBUG Waiting for Ruby expression
Tue Oct 02 12:49:25 -0700 2012:DEBUG Received Ruby expression: %q"a"
Tue Oct 02 12:49:25 -0700 2012:DEBUG Sending callback interrupt.
Tue Oct 02 12:49:25 -0700 2012:DEBUG Sending Lisp expression: (buffer-file-name )
Tue Oct 02 12:49:25 -0700 2012:DEBUG Waiting for Ruby expression
Tue Oct 02 12:49:25 -0700 2012:DEBUG Received Ruby expression: %q"/Users/larry/a"
Tue Oct 02 12:49:25 -0700 2012:DEBUG Error in evaluating 'el4r_rubyobj_stock.id2obj(2188804080).call()': ./lib/xiki/launcher.rb:135:in add': Don't know how to launch this (RuntimeError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:846:inel4r_ruby_eval'
from ./lib/xiki/launcher.rb:1348:in require_menu' from /Library/Ruby/Gems/1.8/gems/xiki-0.6.5/lib/xiki.rb:376:inon_open'
from /Library/Ruby/Gems/1.8/gems/xiki-0.6.5/lib/xiki.rb:430:in init' from ./lib/xiki/mode.rb:24:incall'
from ./lib/xiki/mode.rb:24:in define' from (eval):1:incall'
from (eval):1:in el4r_ruby_eval' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:791:inel4r_get'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:768:in el4r_wait_expr' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:835:inel4r_with_call'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:765:in el4r_wait_expr' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:788:inel4r_get'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:768:in el4r_wait_expr' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:835:inel4r_with_call'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:765:in el4r_wait_expr' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:760:inel4r_wait_expr_loop'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:1094
Tue Oct 02 12:49:25 -0700 2012:Error: ./lib/xiki/launcher.rb:135:in add': Don't know how to launch this (RuntimeError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:846:inel4r_ruby_eval'
from ./lib/xiki/launcher.rb:1348:in require_menu' from /Library/Ruby/Gems/1.8/gems/xiki-0.6.5/lib/xiki.rb:376:inon_open'
from /Library/Ruby/Gems/1.8/gems/xiki-0.6.5/lib/xiki.rb:430:in init' from ./lib/xiki/mode.rb:24:incall'
from ./lib/xiki/mode.rb:24:in define' from (eval):1:incall'
from (eval):1:in el4r_ruby_eval' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:791:inel4r_get'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:768:in el4r_wait_expr' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:835:inel4r_with_call'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:765:in el4r_wait_expr' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:788:inel4r_get'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:768:in el4r_wait_expr' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:835:inel4r_with_call'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:765:in el4r_wait_expr' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:760:inel4r_wait_expr_loop'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/el4r-instance:1094
Tue Oct 02 12:49:25 -0700 2012:DEBUG Sending Lisp expression: (signal 'el4r-ruby-error nil)
Tue Oct 02 12:49:25 -0700 2012:DEBUG Waiting for Ruby expression

Cannot start firefox in linux with @app/Firefox/ command

I cannot start firefox with the @app/Firefox/ command.

I believe the launcher only works for Mac apps. I created a directory called Applications under my home dir and hacked the app.rb file to see it. Then I created a sh script that launches firefox when called. I named it Firefox.app in the Applications folder I created. This does launch firefox, but it blocks and freezes emacs.

Also, when a firefox instance is already running it seems xiki cannot connect to it on linux.

I am using arch linux.

Install from GitHub instructions incorrect

The install instructions for cloning from GitHub are currently like this:

$ git clone [email protected]:trogdoro/xiki.git
$ cd xiki
$ sudo gem install bundler
$ sudo bundle install --system
$ sudo ruby etc/command/copy_xiki_command_to.rb /usr/local/bin/xiki

...however, the first line prompts for an SSH key. In order for others to be able to clone the repo, the first line should be changed to:

$ git clone https://github.com/trogdoro/xiki.git

post installation, as normal user xiki returns 'nil' a lot

I Installed using the instructions to install from git hub just now.

I tested while logged in as root with "xiki ip" and got the expected result.

As root I ran "xiki stop"

I went to a normal user account having realised I was still logged in as root.

$ xiki status
xiki_process.rb: no instances running

$ xiki start
nil

$ xiki ip
nil

It turns out a bunch of files were left over in /tmp that reference xiki and once these were deleted life got better, though I did see errors about /tmp/ being world-writeable, though they do not get to the editor.

Problems navigating directory listings/opening files

I have Xiki (mostly) working on OS X 10.8.2, installed from the repo, using Aquamacs and Ruby 1.9.3 via rvm.

If I type$ ls and double click, the directory listing appears, but if I try to double click on a listed file or directory I get an error like this:

      - tried to run: proc { |l| Console.launch(:sync => (true)) }
      - error: can't dup NilClass
      - backtrace:
        /Users/jack/src/xiki/lib/xiki/console.rb:394:in `dup'
        /Users/jack/src/xiki/lib/xiki/console.rb:394:in `append_log'
        /Users/jack/src/xiki/lib/xiki/console.rb:383:in `launch'
        /Users/jack/src/xiki/lib/xiki/launcher.rb:513:in `block in init_default_launchers'
        /Users/jack/src/xiki/lib/xiki/launcher.rb:251:in `call'
        /Users/jack/src/xiki/lib/xiki/launcher.rb:251:in `block in launch'
        /Users/jack/src/xiki/lib/xiki/launcher.rb:240:in `each'
        /Users/jack/src/xiki/lib/xiki/launcher.rb:240:in `launch'
        /Users/jack/src/xiki/lib/xiki/launcher.rb:280:in `launch'

I tried installing all the gems listed in the 'Issues Loading Xiki' file (except xiki/cassandra which doesn't seem to exist?) to no avail.

Any ideas?

undefined method `el4r_lisp_eval'

Hey I was trying to check out your project and I ran into some errors.

emacs --version
GNU Emacs 22.1.1
Copyright (C) 2007 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

Debugger entered--Lisp error: (el4r-ruby-error)
  signal(el4r-ruby-error nil)
  (condition-case err (eval (setq expr ...)) (el4r-ruby-error (signal ... nil)) (error (setq el4r-error-lisp-expression expr) (signal ... ...)))
  (let ((result ...) expr) (while (eq ... 0) (el4r-wait-expr) (setq result ...)) (condition-case err (eval ...) (el4r-ruby-error ...) (error ... ...)))
  el4r-get()
  (let ((result ...)) (el4r-leave-call) result)
  el4r-ruby-eval("el4r_boot")
  el4r-boot()
  eval-buffer(#<buffer  *load*> nil "/Users/Kevin/.emacs" nil t)  ; Reading at buffer position 224
  load-with-code-conversion("/Users/Kevin/.emacs" "/Users/Kevin/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "^H\205\276^@   \306=\203^Q^@\307^H\310Q\202A^@ \311=\2033^@\312\307\313\314#\203#^@\315\202A^@\312\307\313\316#\203/^@\317\202A^@\315\202A^@   \320=\203=^@\321\202A^@\307^H\322Q^Z\3$
  command-line()
  normal-top-level()

I tried with a puts on the $el object

puts "#{$el.inspect} ......"
[ruby-1.9.3-p194][Krauss-Mac:/usr/local/Cellar/xiki/HEAD]% irb
1.9.3p194 :001 > $LOAD_PATH.unshift "/usr/local/Cellar/xiki/HEAD/"
 => ["/usr/local/Cellar/xiki/HEAD", "/Users/Kevin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1", "/Users/Kevin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/x86_64-darwin11.4.2", "/Users/Kevin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby", "/Users/Kevin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/vendor_ruby/1.9.1", "/Users/Kevin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/vendor_ruby/1.9.1/x86_64-darwin11.4.2", "/Users/Kevin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/vendor_ruby", "/Users/Kevin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1", "/Users/Kevin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.2"] 
1.9.3p194 :002 > require "xiki"
nil ......
NoMethodError: undefined method `el4r_lisp_eval' for nil:NilClass
  from /usr/local/Cellar/xiki/HEAD/xiki.rb:14:in `<top (required)>'
  from /Users/Kevin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  from /Users/Kevin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  from (irb):2
  from /Users/Kevin/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>'

I also tried in aquamacs

GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version 1.6.0)
of 2010-10-11 on braeburn.aquamacs.org - Aquamacs Distribution 1.9.1
Copyright (C) 2008 Free Software Foundation, Inc.

el4r started.
condition-case: Error raised in Ruby

I tried the init.rb file two ways. Copy paste what is on the README and without the pipe characters.

| $LOAD_PATH.unshift "/usr/local/Cellar/xiki/HEAD" | require 'xiki' | Xiki.init | | KeyBindings.keys # Use default key bindings | Styles.use_xiki_color_scheme # Use xiki's color scheme
# Beginning of the el4r block:
# RCtool generated this block automatically. DO NOT MODIFY this block!
# This is the el4r initialization file.
# End of the el4r block.
# User-setting area is below this line.

$LOAD_PATH.unshift "/usr/local/Cellar/xiki/HEAD"
require "xiki"
Xiki.init

KeyBindings.keys
Styles.use_xiki_color_scheme

I was hoping you could've help me with it today in our pair programming session! :D
Thanks for any help.
Kevin

Should change all test to rspec

I just realized there are a bunch of tests in plain UnitTest (test folder) we should change those to rspec to have all test together.

Don't change the emacs UI by default

I was excited when I saw that emacs was already supported.

I was less excited when I set it up and it changed the entire appearance of emacs.

It seems like the visual changes should be moved into an optional bit that you can add if you want, because emacs users are going to be scared off if their carefully crafted config gets stomped all over by something that is supposed to just be dealing with text.

It's ok if it changes the font and colors inside xiki-specific buffers, but my editor windows need to stay how they are and the status bar and mini-buffer need to be left alone.

Add an interface that allows pasting the entire text and cursor position?

Hi Craig,

I've finally managed to get Xiki running in my favourite editor Sublime Text 3 :)
A lot of commands seem not to work because $el is not defined.

I was wondering if it would be possible to create a xiki interface (maybe REST as you're already using sinatra) that allows editors to just send the entire file + the cursor position, have xiki figure out all the nesting and command execution stuff by itself, and return either just the result or the entire file with results added to the text.
This way editor plugins could be as trivial as "send text there, replace current buffer with returned text".
I would enjoy pairing up with you on that if you want, I'm living in Germany but we'll surely find a time :D

Thanks for developing this unbelievably cool tool, I can visually see doors opening with Xiki!
Martin

`xiki --version` should not blow up

--version is the first thing I do with any command, to verify it's installed properly.

Current version from git throws an exception. Kinda bad form ;)

Thanks,
-- Chad

Emacs/Aquamacs complains about symbol variable being void

So I installed Xiki successfully (using RVM, not default ruby), and then ran xiki web/start, and I proceeded to create all three configuration files. When I then start Aquamacs, I get:

Warning (initialization): An error occurred while loading `/Users/caleb/.emacs':

Symbol's value as variable is void: /Users/caleb/.rvm/gems/ruby-2.1.0@global/gems/trogdoro-el4r-1.0.10/lib/el4r/el4r-sub.rb:537:

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

What's happening?

Here's my Ruby version:

ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin12.0]

"xiki directory" command fail when running it inside the xiki's directory

Hi,
I spotted a minor issue. When running the "xiki directory" command inside the xiki's directory I get this error:

fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
/Users/bourgona/.rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.1.4/lib/bundler/definition.rb:246:in `initialize': Permission denied - /Users/bourgona/.rvm/gems/ruby-1.9.2-p320/gems/xiki-0.6.3/Gemfile.lock (Errno::EACCES)
    from /Users/bourgona/.rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.1.4/lib/bundler/definition.rb:246:in `open'
    from /Users/bourgona/.rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.1.4/lib/bundler/definition.rb:246:in `lock'
    from /Users/bourgona/.rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.1.4/lib/bundler/environment.rb:39:in `lock'
    from /Users/bourgona/.rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.1.4/lib/bundler/runtime.rb:39:in `setup'
    from /Users/bourgona/.rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.1.4/lib/bundler.rb:107:in `setup'
    from /Users/bourgona/.rvm/gems/ruby-1.9.2-p320@global/gems/rubygems-bundler-1.0.2/lib/rubygems-bundler/noexec.rb:63:in `setup'
    from /Users/bourgona/.rvm/gems/ruby-1.9.2-p320@global/gems/rubygems-bundler-1.0.2/lib/rubygems-bundler/noexec.rb:75:in `<top (required)>'
    from /Users/bourgona/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
    from /Users/bourgona/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
    from /Users/bourgona/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
    from /Users/bourgona/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:9:in `<main>'

Meanwhile running the command on inside my home folder works fine:

~ $ xiki directory
/Users/bourgona/.rvm/gems/ruby-1.9.2-p320/gems/xiki-0.6.3/

I am using Mac OSX 10.7.4, ruby (manage by rvm):

ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-darwin11.4.0]

I have installed xiki with:

$ sudo gem install xiki

Could not find xiki (>= 0) in dependency.rb:247:in `to_specs'

I have this error:

[exos@Coopx xiki]$ xiki
/usr/lib/ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find xiki (>= 0) amongst [bigdecimal-1.1.0, io-console-0.3, json-1.5.4, minitest-2.5.1, rake-0.9.2.2, rdoc-3.9.4] (Gem::LoadError)
        from /usr/lib/ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
        from /usr/lib/ruby/1.9.1/rubygems.rb:1231:in `gem'
        from /usr/bin/xiki:22:in `<main>'

I'm on Archlinux (up to date)

uname -a:

Linux Coopx 3.5.3-1-ARCH #1 SMP PREEMPT Sun Aug 26 08:15:06 UTC 2012 i686 GNU/Linux

Install as

sudo pacman -S ruby
sudo gem install xiki

Versions:

[exos@Coopx bin]$ ruby --version
ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
[exos@Coopx bin]$ gem --version
1.8.23
[exos@Coopx bin]$ 

sorry for don't send a pull request, but I don't know ruby

Error in vim

Run in vim command XikiLaunch()
on 'ls' and get error. Example with 'ip' work fine.

  • vim 7.3 +ruby
  • ruby1.9.1
  • OS Ubuntu 12.04
ls
  - tried to run: Ls.menu
  - error: .construct_path couldn't construct the path - is this a well-formed tree?: undefined method `point' for nil:NilClass
  - backtrace:
    /var/lib/gems/1.9.1/gems/xiki-0.6.3/lib/xiki/tree.rb:788:in `rescue in construct_path'
    /var/lib/gems/1.9.1/gems/xiki-0.6.3/lib/xiki/tree.rb:741:in `construct_path'
    /var/lib/gems/1.9.1/gems/xiki-0.6.3/lib/xiki/tree.rb:1714:in `path'
    /var/lib/gems/1.9.1/gems/xiki-0.6.3/lib/xiki.rb:359:in `path'
    /var/lib/gems/1.9.1/gems/xiki-0.6.3/lib/xiki.rb:355:in `trunk'
    /var/lib/gems/1.9.1/gems/xiki-0.6.3/lib/xiki/tree.rb:1686:in `file'
    /var/lib/gems/1.9.1/gems/xiki-0.6.3/menu/ls.rb:16:in `menu'
    /var/lib/gems/1.9.1/gems/xiki-0.6.3/lib/xiki/code.rb:210:in `eval'
    /var/lib/gems/1.9.1/gems/xiki-0.6.3/lib/xiki/code.rb:210:in `instance_eval'

Mention Windows in README.

I think it may be nice to say that windows is unsupported in the README -- I'm trying to discover if it should work there -- even if I need to get cygwin, but so far it seems it's not, so, it may be nice to at least state that in the README so that windows users (such as myself) know that before downloading it...

Blocking commands

Entering command like:
tail -f /var/log/apache2/error.log

will freeze Emacs. Is there a way to "kill" command? I am not an Emacs user, so maybe there is a simple solution :)

P.S.: fantastic concept, I was pondering why there is nothing like Xiki but now there is :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.