Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to fold code in v0.10.7 #216

Closed
arlk opened this issue Jul 15, 2020 · 3 comments
Closed

Unable to fold code in v0.10.7 #216

arlk opened this issue Jul 15, 2020 · 3 comments

Comments

@arlk
Copy link

arlk commented Jul 15, 2020

If I attempt to hide/show a cell nothing happens and this is what I see in the REPL:

julia> Pluto.run(1234)                                                                                                                                                                                                                                                            
Go to http://localhost:1234/ to start writing ~ have fun!                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                                                  
Press Ctrl+C in this terminal to stop Pluto                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                  
┌ Warning: Response function to message of type foldcell failed                                                                                                                                                                                                                   
└ @ Pluto /home/arun/.julia/packages/Pluto/FPItk/src/webserver/WebServer.jl:283                                                                                                                                                                                                   
┌ Warning: Reading WebSocket client stream failed for unknown reason:                                                                                                                                                                                                             
│   exception =                                                                                                                                                                                                                                                                   
│    type ServerSession has no field notebook                                                                                                                                                                                                                                     
│    Stacktrace:                                                                                                                                                                                                                                                                  
│     [1] getproperty(::Pluto.ServerSession, ::Symbol) at ./Base.jl:33                                                                                                                                                                                                            
│     [2] (::Pluto.var"#125#127")(::Pluto.ServerSession, ::Dict{String,Any}, ::Pluto.Notebook, ::Pluto.Cell; initiator::Pluto.Initiator) at /home/arun/.julia/packages/Pluto/FPItk/src/webserver/Dynamic.jl:126
│     [3] process_ws_message(::Pluto.ServerSession, ::Dict{String,Any}, ::HTTP.WebSockets.WebSocket{HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}) at /home/arun/.julia/packages/Pluto/FPItk/src/webserver/WebServer.jl:281
│     [4] (::Pluto.var"#71#75"{Pluto.ServerSession})(::HTTP.WebSockets.WebSocket{HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}) at /home/arun/.julia/packages/Pluto/FPItk/src/webserver/WebServer.jl:143
│     [5] upgrade(::Pluto.var"#71#75"{Pluto.ServerSession}, ::HTTP.Streams.Stream{HTTP.Messages.Request,HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}; binary::Bool) at /home/arun/.julia/packages/HTTP/ZggHU/src/WebSockets.jl:146
│     [6] upgrade at /home/arun/.julia/packages/HTTP/ZggHU/src/WebSockets.jl:129 [inlined]
│     [7] (::Pluto.var"#70#74"{Pluto.ServerSession,HTTP.Handlers.Router{Symbol("##253")}})(::HTTP.Streams.Stream{HTTP.Messages.Request,HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}) at /home/arun/.julia/packages/Pluto/FPItk/src/webserver/WebServer.jl:119
│     [8] handle at /home/arun/.julia/packages/HTTP/ZggHU/src/Handlers.jl:269 [inlined]
│     [9] #4 at /home/arun/.julia/packages/HTTP/ZggHU/src/Handlers.jl:345 [inlined]
│     [10] macro expansion at /home/arun/.julia/packages/HTTP/ZggHU/src/Servers.jl:367 [inlined]
│     [11] (::HTTP.Servers.var"#13#14"{HTTP.Handlers.var"#4#5"{HTTP.Handlers.StreamHandlerFunction{Pluto.var"#70#74"{Pluto.ServerSession,HTTP.Handlers.Router{Symbol("##253")}}}},HTTP.ConnectionPool.Transaction{Sockets.TCPSocket},HTTP.Streams.Stream{HTTP.Messages.Request,HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}})() at ./task.jl:358
└ @ Pluto /home/arun/.julia/packages/Pluto/FPItk/src/webserver/WebServer.jl:155

Although, Ctrl+Enter behaves normally i.e. hides the cell and creates a new one below.

@fonsp
Copy link
Owner

fonsp commented Jul 15, 2020

Oh thanks! I'll fix it very soon :)

@fonsp fonsp closed this as completed in 34d41e6 Jul 15, 2020
@fonsp
Copy link
Owner

fonsp commented Jul 15, 2020

34d41e6

@fonsp
Copy link
Owner

fonsp commented Jul 15, 2020

You can update to v0.10.8 in about 30 minutes 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants