- priority changed from 2 to 3
- Severity changed from Normal to High
- Status changed from New to Acknowledged
Startup error in Windows
Opened: | 2008-06-12 04:22 | Created by: | kez |
Status: | Acknowledged | Updated: | 2009-02-08 23:09 |
Severity: | High | Priority: | 3 |
Resolution: | Unresolved | Group: | 0.8.4 |
Tags: | windows |
Description
After installing diakonos on Windows (XP) from "gem install diakonos" (on ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]), I am getting the following error:
C:\>diakonos logon.txt c:/ruby/lib/ruby/gems/1.8/gems/diakonos-0.8.4-/lib/diakonos/string.rb:3:in `gsub’: can’t convert nil into String (TypeError) from c:/ruby/lib/ruby/gems/1.8/gems/diakonos-0.8.4-/lib/diakonos/string.rb:3:in `subHome’ from c:/ruby/lib/ruby/gems/1.8/gems/diakonos-0.8.4-/lib/diakonos.rb:214:in `initialize’ from c:/ruby/lib/ruby/gems/1.8/gems/diakonos-0.8.4-/bin/diakonos:5:in `new’ from c:/ruby/lib/ruby/gems/1.8/gems/diakonos-0.8.4-/bin/diakonos:5 from c:/ruby/bin/diakonos:16:in `load’ from c:/ruby/bin/diakonos:16
This occurs if I try to start the program with or without a file argument
(Login to update this ticket)
Change Log
HEY! This is spam!
Regards,
Striker.
That’s not REALLY spam. :)
fack…I was hoping your answer wouldn’t be this when I went looking for solns :(
Good work either way!
This is a known issue. Basically, Windows has no HOME variable, and that’s what it’s trying to find/use. This particular issue is easy to fix, but Windows Ruby has only a very crippled port of the curses library. Curses is a central part of Diakonos, so without that, Diakonos cannot really be used.
As such, Windows support for Diakonos may remain a no-can-do for quite a while. Sorry! :)