tonyhffong / TermWin.jl

ncurses based data navigators
Other
26 stars 11 forks source link

Error with String types #19

Closed RatanRSur closed 8 years ago

RatanRSur commented 8 years ago

I installed the package with Pkg.clone(...) and have julia 0.4.0.

The example in the README, namely:

Using TermWin
tshow(TermWin)

produces the following error

ERROR: LoadError: TypeError: newTwTree: in typeassert, expected UTF8String, got ASCIIString
 in tshow_ at /Users/ratan/.julia/v0.4/TermWin/src/TermWin.jl:250
 in tshow at /Users/ratan/.julia/v0.4/TermWin/src/TermWin.jl:363
 in include at /opt/homebrew-cask/Caskroom/julia/0.4.0/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in include_from_node1 at /opt/homebrew-cask/Caskroom/julia/0.4.0/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in process_options at /opt/homebrew-cask/Caskroom/julia/0.4.0/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in _start at /opt/homebrew-cask/Caskroom/julia/0.4.0/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib
while loading /Users/ratan/stuff/robots-from-scratch/TermTest.jl, in expression starting on line 2
tonyhffong commented 8 years ago

check the latest master again. I think I fixed a lot of those issues.

RatanRSur commented 8 years ago

Sweet, seems to work now!