trogdoro / xiki

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

`xiki directory` command fails #9

Open jimeh opened 11 years ago

jimeh commented 11 years ago

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
davertron commented 11 years ago

I'm having the same issue on OS 10.6.8

trogdoro commented 11 years ago

Do you see the same problem after doing "xiki restart" ?

jimeh commented 11 years ago

No luck I'm afraid. I'm running Mac OS X 10.8.1 if that helps. Is there any kinda log I can check, or debug mode I can enable to figure out what's going on? :)

jimeh@air ~$ xiki status
xiki_process.rb: running [pid 44046]
jimeh@air ~$ xiki directory
ERROR: there is already one or more instance(s) of the program running
jimeh@air ~$ xiki restart
xiki_process.rb: trying to stop process with pid 44046...
xiki_process.rb: process with pid 44046 successfully stopped.
jimeh@air ~$ xiki directory
ERROR: there is already one or more instance(s) of the program running
trogdoro commented 11 years ago

What is the output when you run "ps -ef | grep xiki" on the command line?

You could try looking at /tmp/xiki_process.rb.output.

jimeh commented 11 years ago

Okay, I'm highly confused. xiki directory now works.

I haven't done anything since I ran the commands I pasted above. But it somehow works. If it starts happening again I'll investigate the log file.

trogdoro commented 11 years ago

Other people are seeing errors once, that go away. Hopefully we'll be able to isolate it soon so I can fix it.

--Craig

On Sat, Sep 15, 2012 at 2:56 PM, Jim Myhrberg notifications@github.comwrote:

Okay, I'm highly confused. xiki directory now works.

I haven't done anything since I ran the commands I pasted above. But it somehow works. If it starts happening again I'll investigate the log file.

— Reply to this email directly or view it on GitHubhttps://github.com/trogdoro/xiki/issues/9#issuecomment-8589329.