asticode / go-astilectron-demo

Discover the power of Astilectron through a demo app
MIT License
404 stars 83 forks source link

Can't run demo #32

Closed arpitjindal97 closed 6 years ago

arpitjindal97 commented 6 years ago
[arpit:~/Desktop/workspace/go-astilectron-demo/output/linux-amd64 master]$ ./Astilectron\ demo
ERRO[0000] accept tcp 127.0.0.1:36327: use of closed network connection while TCP accepting
FATA[0000] running bootstrap failed: creating window failed: canceller.cancelled
[arpit:~/Desktop/workspace/go-astilectron-demo/output/linux-amd64 master]$

Demo in this repo doesn't match with Quick Start here. Please provide some good doc on how to get started with updated code

asticode commented 6 years ago

@arpitjindal97 could you run ./Astilectron\ demo -v instead (adding the -v flag that will add more verbosity to the logs) and paste logs here. That will give use more information about what is wrong.

arpitjindal97 commented 6 years ago

libgconf was missing

Xoristzatziki commented 5 years ago

Same problem here. After installed all ok. Is libgconf crusial to the app? Seems that is no longer supported officially by ubuntu (so not installed by default).

Is a search for libdconf (in case libgconf is absent) difficult to implement? (just started trying golang, so sorry for any inconvenience)

Thanks for the demo anyway.

asticode commented 5 years ago

@Xoristzatziki this lib was needed by Electron itself and my guess is that it was because we were still using a pretty old version of Electron.

However I've bumped the Electron version. Can you:

and let me know whether you still need libdconf?

Xoristzatziki commented 5 years ago

Thanks for the answer. My problem was with libgconf. Uninstalled libgconf, removed all asticode (_asticode directory in go/src/github.com/, binaries in go/bin and directory asticode in go/pkg/linuxamd64/github.com). Followed again instructions and now ./Astilectron\ demo -v runs without problems, but file go-astilectron-bundler.a in go/pkg/linux_amd64/github.com/asticode cannot be opened by file-roller.

asticode commented 5 years ago

Great! Glad the 4.0.1 version fixed that!

However I'm not sure what to think about the go-astilectron-bundler.a file not being openable by file-roller...