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

Blink crashes #157

Closed
afadli opened this issue Sep 27, 2018 · 1 comment
Closed

Blink crashes #157

afadli opened this issue Sep 27, 2018 · 1 comment

Comments

@afadli
Copy link

afadli commented Sep 27, 2018

Blink crashes when i just do w = Window()

julia> w = Window()
Unexpected end of input
...when parsing byte with value '0'ERROR:
Stacktrace:write: connection reset by peer (ECONNRESET)

Stacktrace: [1]
_error [1] (try_yieldto::(String::, Base::.JSON.Parser##296#297.{StreamingParserStateTask{}TCPSocket, }::)Task at )/math/home/afadli/.julia/v0.6/JSON/src/Parser.jl:148 at
./event.jl:189 [2]
byteat [2] (wait::(JSON.Parser). at StreamingParserState./event.jl:234{
TCPSocket [3] }uv_write)( at ::/math/home/afadli/.julia/v0.6/JSON/src/Parser.jl:58TCPSocket
, [3] ::chomp_space!Ptr at {/math/home/afadli/.julia/v0.6/JSON/src/Parser.jl:115UInt8 [inlined]}
, [4] ::parse_valueUInt64():: at JSON.Parser./stream.jl:811.
ParserContext [4] {unsafe_writeDict({::StringTCPSocket,, Any::}Ptr,{Int64UInt8}}, , ::::JSON.ParserUInt64.)StreamingParserState at {./stream.jl:832TCPSocket
} [5] )unsafe_write at (/math/home/afadli/.julia/v0.6/JSON/src/Parser.jl:158::
TCPSocket [5] , #parse#2::(Base::.TypeRefValue{{DictUInt8{}String, ,::AnyInt64})} at , ./io.jl:293::
Type [6] {writeInt64(}::, TCPSocket::, Function::, UInt8::)TCPSocket at )./stream.jl:873 at
/math/home/afadli/.julia/v0.6/JSON/src/Parser.jl:406 [7]
begin_object [6] at macro expansion/math/home/afadli/.julia/v0.6/JSON/src/Writer.jl:182 at [inlined]/math/home/afadli/.julia/v0.6/Lazy/src/macros.jl:241
[inlined] [8]
show_json [7] (macro expansion:: at JSON.Writer/math/home/afadli/.julia/v0.6/Blink/src/AtomShell/process.jl:94. [inlined]CompactContext
{ [8] TCPSocket(::Blink.AtomShell.##6#7{Blink.AtomShell.Electron})}(, ):: at JSON.Serializations./event.jl:73.
StandardSerialization, ::Dict{Any,Any}) at /math/home/afadli/.julia/v0.6/JSON/src/Writer.jl:280
[9] #show_json#3(::Void, ::Function, ::TCPSocket, ::JSON.Serializations.StandardSerialization, ::Dict{Any,Any}) at /math/home/afadli/.julia/v0.6/JSON/src/Writer.jl:336
[10] msg at /math/home/afadli/.julia/v0.6/Blink/src/AtomShell/process.jl:86 [inlined]
[11] #js#3(::Bool, ::Function, ::Blink.AtomShell.Electron, ::WebIO.JSString) at /math/home/afadli/.julia/v0.6/Blink/src/rpc/rpc.jl:31
[12] (::Blink.#kw##js)(::Array{Any,1}, ::Blink.#js, ::Blink.AtomShell.Electron, ::WebIO.JSString) at ./:0
[13] raw_window(::Blink.AtomShell.Electron, ::Dict{Any,Any}) at /math/home/afadli/.julia/v0.6/Blink/src/AtomShell/window.jl:25
[14] Blink.AtomShell.Window(::Blink.AtomShell.Electron, ::Blink.Page, ::Dict{Any,Any}) at /math/home/afadli/.julia/v0.6/Blink/src/AtomShell/window.jl:35
[15] Type at /math/home/afadli/.julia/v0.6/Blink/src/AtomShell/window.jl:28 [inlined] (repeats 2 times)
[16] Blink.AtomShell.Window() at /math/home/afadli/.julia/v0.6/Blink/src/AtomShell/window.jl:38

i did install instal AtomShell, but still nothing

@twavv
Copy link
Member

twavv commented Aug 1, 2019

This is a bit stale. If you're still having this issue, try on the latest version of Blink. If you're still having issues, please open a new issue on Github.

Thanks!

@twavv twavv closed this as completed Aug 1, 2019
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