miketheprogrammer / go-thrust

Cross Platform UI Kit powered by Blink/V8/Chromium Content Lib
MIT License
445 stars 34 forks source link

setup #62

Closed joeblew99 closed 8 years ago

joeblew99 commented 8 years ago

env: OSX golang 1.5.5

it loads the breach.cc site in a window, then after about 5 seconds crashes. I am pretty new to this, and so not sure whats going wrong. Maybe you can make some suggestions. thanks in advance

I just tried also : /Users/apple/workspace/go/src/github.com/miketheprogrammer/go-thrust/tutorials/basic_menu this does work, without crashing, so i guess the environment is good.

here we go:

Last login: Fri Nov 27 19:02:31 on ttys001
Your Environment is setup with the following paths:
Home:                /Users/apple
Nvm (node):              /Users/apple/.nvm
GoRoot:              /usr/local/go
GoPath:              /Users/apple/workspace/go
GoAppengine:             /Users/apple/workspace/go_appengine
Android SDK Platform Tools:              /Users/apple/Library/Android/sdk/platform-tools
Android SDK Tools:               /Users/apple/Library/Android/sdk/tools
gedw99-MacBook-Pro:basic_window apple$ pwd
/Users/apple/workspace/go/src/github.com/miketheprogrammer/go-thrust/tutorials/basic_window
gedw99-MacBook-Pro:basic_window apple$ gothrust install
-bash: gothrust: command not found
gedw99-MacBook-Pro:basic_window apple$ go-thrust install
Thrust installed
gedw99-MacBook-Pro:basic_window apple$ go run tutorials/basic_window/basic_window.go
stat tutorials/basic_window/basic_window.go: no such file or directory
gedw99-MacBook-Pro:basic_window apple$ pwd
/Users/apple/workspace/go/src/github.com/miketheprogrammer/go-thrust/tutorials/basic_window
gedw99-MacBook-Pro:basic_window apple$ go run basic_window.go 
Go-Thrust:2015/11/27 19:22:59 Thrust Client:: Initializing
Go-Thrust:2015/11/27 19:22:59 Attempting to start Thrust Core
Go-Thrust:2015/11/27 19:22:59 CMD:/Users/apple/vendor/darwin/x64/v0.7.6/Go Thrust.app/Contents/MacOS/Go Thrust
Go-Thrust:2015/11/27 19:22:59 Thrust Core started.
Registering signals
[12129:1127/192259:INFO:thrust_session_cookie_store.cc(22)] ThrustSesionCookieStore Constructor [1]: 0x7f8508c484a0
[12129:1127/192259:INFO:thrust_session_proxy_config_service.cc(20)] ThrustSesionProxyConfigService Constructor: 0x7f8508c59d40
[12129:1127/192259:INFO:browser_client.cc(262)] Register Session
[12129:1127/192259:INFO:thrust_session.cc(103)] ThrustSession Constructor 0x7f8508c482d0
[12129:1127/192259:INFO:api.cc(46)] [API] INSTALL: window
[12129:1127/192259:INFO:api.cc(46)] [API] INSTALL: session
[12129:1127/192259:INFO:api.cc(46)] [API] INSTALL: menu
[12129:1127/192259:INFO:api.cc(60)] [API] CREATE: window 1
[12129:1127/192259:INFO:thrust_window_binding.cc(34)] ThrustWindowBinding Constructor [0x7f8508e20cf0] 1
[12129:1127/192259:INFO:thrust_window.cc(164)] ThrustWindow CreateNew
[12129:1127/192259:INFO:thrust_window.cc(176)] ThrustWindow Constructor (web_contents created) [0x7f850a019000]
[12129:1127/192259:INFO:thrust_window_mac.mm(315)] Create Window: 1024x768
[12129:1127/192259:INFO:thrust_window.cc(115)] ThrustWindow Constructor [0x7f850a019000]
Go-Thrust:2015/11/27 19:22:59 Window(0)::Handling Reply::{reply  1 {1 []} {0 0 {} } {} 0  }
Go-Thrust:2015/11/27 19:22:59 Received TargetID
Setting Ready State
[12129:1127/192259:INFO:api.cc(92)] [API] CALL: 1 show
[12129:1127/192259:INFO:thrust_window_binding.cc(94)] ThrustWindow call [show]
[12131:1127/192259:INFO:renderer_main.cc(204)] Renderer process started
[12131:1127/192259:INFO:render_frame_observer.cc(48)] RENDER FRAME CREATED 0x7fc86150dc20
[12129:1127/192259:INFO:thrust_session_cookie_store.cc(35)] Load
[12129:1127/192259:INFO:thrust_session_cookie_store.cc(56)] LoadCookiesForKey: 'breach.cc'
Go-Thrust:2015/11/27 19:22:59 Window(1)::Handling Reply::{reply  2 {0 []} {0 0 {} } {} 0  }
[12129:1127/192259:INFO:api.cc(92)] [API] CALL: 1 maximize
[12129:1127/192259:INFO:thrust_window_binding.cc(94)] ThrustWindow call [maximize]
Go-Thrust:2015/11/27 19:22:59 Window(1)::Handling Reply::{reply  3 {0 []} {0 0 {} } {} 0  }
[12129:1127/192259:INFO:api.cc(92)] [API] CALL: 1 focus
[12129:1127/192259:INFO:thrust_window_binding.cc(94)] ThrustWindow call [focus]
Go-Thrust:2015/11/27 19:22:59 Window(1)::Handling Reply::{reply  4 {0 []} {0 0 {} } {} 0  }
[12131:1127/192300:INFO:renderer_client.cc(153)] ThrustShellRendererClient::DidCreateScriptContext `` 0 0
[12131:1127/192300:INFO:web_view_bindings.cc(85)] WebViewBindings Constructor 0x7fc861624dc0
[12131:1127/192300:INFO:remote_bindings.cc(40)] RemoteBindings Constructor 0x7fc86161cbd0
[12131:1127/192300:INFO:remote_bindings.cc(113)] REMOTE_BINDINGS: SetHandler
[12131:1127/192300:INFO:render_frame_observer.cc(48)] RENDER FRAME CREATED 0x7fc86176f8a0
[12131:1127/192300:INFO:render_frame_observer.cc(48)] RENDER FRAME CREATED 0x7fc86162ca40
Go-Thrust:2015/11/27 19:23:04 Killing Thrust Core
gedw99-MacBook-Pro:basic_window apple$ 
metal3d commented 8 years ago

This is not a bug, it's what it should do. Look at the source code. It explicitly says that the window should close after 5 sec :)

miketheprogrammer commented 8 years ago

Thanks for answering this Patrice On Dec 2, 2015 8:52 AM, "Patrice Ferlet" notifications@github.com wrote:

This is not a bug, it's what it should do. Look at the source code. It explicitly says that the window should close after 5 sec :)

— Reply to this email directly or view it on GitHub https://github.com/miketheprogrammer/go-thrust/issues/62#issuecomment-161297865 .