Pistos / diakonos

Diakonos is a console text editor for the masses.
https://git.sr.ht/~pistos/diakonos
Other
137 stars 11 forks source link

Diakonos 0.91 doesn't run #29

Closed ghost closed 11 years ago

ghost commented 11 years ago

OS is Linux Mint 14 KDE.

Attempted to run (with the diakonos command) after install using sudo (doesn't work without it, apparently, unlike it says in the README). Wouldn't even open.

I tried the one from the repos (0.90.1), but it would crap out as soon as I made a new file. This version won't even run.

Here is the error message

/usr/local/lib/site_ruby/1.9.1/diakonos/display.rb:224:in `update_status_line': undefined method `setpos' for nil:NilClass (NoMethodError)
        from /usr/local/lib/site_ruby/1.9.1/diakonos/buffer-management.rb:20:in `switch_to'
        from /usr/local/lib/site_ruby/1.9.1/diakonos/functions/buffers.rb:265:in `open_file'
        from /usr/local/lib/site_ruby/1.9.1/diakonos/sessions.rb:164:in `block in session_startup'
        from /usr/local/lib/site_ruby/1.9.1/diakonos/sessions.rb:163:in `each'
        from /usr/local/lib/site_ruby/1.9.1/diakonos/sessions.rb:163:in `each_with_index'
        from /usr/local/lib/site_ruby/1.9.1/diakonos/sessions.rb:163:in `session_startup'
        from /usr/local/lib/site_ruby/1.9.1/diakonos.rb:303:in `start'
        from /usr/bin/diakonos:6:in `<main>'

Thank you for your attention.

Pistos commented 11 years ago

How did you install? If you "need" to use sudo to run diakonos, something seriously went wrong with installation. That error message is symptomatic of a failure of curses to get initialized properly. I'll need more information on your installation procedure, as well as what Ruby version you're using.

Thanks for trying Diakonos.

aksr commented 11 years ago

Hi Pistos, I'm experiencing the same issue on Arch Linux (AUR): https://aur.archlinux.org/packages/diakonos Installation went normal, without anything unusual. If there's anything I can help, please do tell.

Pistos commented 11 years ago

@aksr: Please provide a gist or pastebin of the unexpected/undesirable output. (Stack traces, error messages, etc.)

aksr commented 11 years ago

@Pistos: I got the same error as Evropi. I tried to build diakonos from the AUR(https://aur.archlinux.org/packages/diakonos/) Not sure what were the problem, but, since I use Arch Linux, I created PKGBUILD (diakonos-git) in the AUR(https://aur.archlinux.org/packages/diakonos-git/). Now, everything works fine.

Pistos commented 11 years ago

@aksr: Thanks for the info. I've contacted the original PKGBUILD author. I still don't know what the problem is in either your case or @Evropi 's .