Web REPL no longer works #2142

Closed
ViralBShah opened this Issue Jan 26, 2013 · 6 comments

Projects

None yet

4 participants

@ViralBShah
Member

The web-repl used to work with lighttpd, but it no longer works now. I'm not sure if this is due to the move to nginx or if it is due to the libuv stuff, or if it is something else.

A lot of people like playing with this, even though it may not be widely used, and it would be nice to ensure that it does keep working until it is replaced with something else.

./usr/bin/launch-julia-webserver 
Connect to http://localhost:2000/ for the web REPL.
SCGI server started on port 2001.
0 open sessions.
Started Reading from Julia stdoutNew user "v".
User "v" has started session "v".
1 open session.
Port number received. Connecting ...
Port number received. Connecting ...
Port number received. Connecting ...
Port number received. Connecting ...
Port number received. Connecting ...
Process Exited
Session "v" is terminating because it has no more users.
0 open sessions.

In the browser, I get:

<initializing>

session expired
@ViralBShah
Member

Cc: @loladiro @vtjnash

@vtjnash vtjnash added a commit that closed this issue Jan 26, 2013
@vtjnash vtjnash fix #2142 b4f9a22
@vtjnash vtjnash closed this in b4f9a22 Jan 26, 2013
@ViralBShah
Member

Thanks.

@ViralBShah
Member

It does start up for me now, but there is a peculiar bug. In general stuff works, but if you do rand(10,10) the command line flickers, prints the result, and then nothing works after that.

@StefanKarpinski
Member

Bug or feature?

@vtjnash vtjnash reopened this Jan 30, 2013
@vtjnash
Member
vtjnash commented Jan 30, 2013

that fails because someone redefined length(string) and showing big arrays causes the printing of wide characters. what is the new recommended method for expressing "the number of bytes in the canonical string representation of this object if it was to be printed to an object of type typeof(__io), before then printing that object to __io"?

@JeffBezanson
Member

What we did was fix the brokenness of length. Maybe what we need here is strwidth.

@vtjnash vtjnash added a commit that closed this issue Jan 30, 2013
@vtjnash vtjnash fix #2142-2 7f691c4
@vtjnash vtjnash closed this in 7f691c4 Jan 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment