Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Web REPL no longer works #2142

Closed
ViralBShah opened this Issue · 6 comments

4 participants

@ViralBShah
Owner

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
Owner

Cc: @loladiro @vtjnash

@vtjnash vtjnash closed this issue from a commit
@vtjnash vtjnash fix #2142 b4f9a22
@vtjnash vtjnash closed this in b4f9a22
@ViralBShah
Owner

Thanks.

@ViralBShah
Owner

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

Bug or feature?

@vtjnash vtjnash reopened this
@vtjnash
Collaborator

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

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

@vtjnash vtjnash closed this issue from a commit
@vtjnash vtjnash fix #2142-2 7f691c4
@vtjnash vtjnash closed this in 7f691c4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.