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

wails init won't work #132

Closed
iceleo-com opened this issue Jun 23, 2019 · 8 comments
Closed

wails init won't work #132

iceleo-com opened this issue Jun 23, 2019 · 8 comments
Labels
awaiting feedback More information is required from the requestor Bug Something isn't working

Comments

@iceleo-com
Copy link

iceleo-com commented Jun 23, 2019

#####################################################
If you have a technical issue, please do not open a bug this way!
Please use the wails issue command!
#####################################################

Description
When I run "wails init" command, It always returns to me an error:
Error: unable to check libraries on distribution 'Debian'. Please ensure that the 'libgtk-3-dev' equivalent is installed

but I already install "libgtk-3-dev" package on my PC. Please check the screenshot below for more details.
Thanks

Expected behaviour
That I can initialize my first Wails app on my Debian

Screenshots
Please check this screenshot https://i.imgur.com/ZPtpkVn.png

System Details
OS: Debian 9 - Gnome
Go: Version go1.12.6 linux/amd64

@iceleo-com iceleo-com added the Bug Something isn't working label Jun 23, 2019
@leaanthony
Copy link
Member

Hi. Debian isn't an officially supported distro...yet! 😃 We've had quite a few requests from different distros and people are kind enough to submit PRs. Are you in a position, with a little help, to add Debian support? I'm going to add a small wizard to handle this so it pulls most of the info for us when that error happens.

@leaanthony leaanthony added awaiting feedback More information is required from the requestor Unsupported Distro labels Jun 23, 2019
@iceleo-com
Copy link
Author

iceleo-com commented Jun 23, 2019

Hi @leaanthony,

Thank for your responding.
I just report a problem, I think it will help you to improve your framework. You can fix this problem whenever you have time. I can wait for another day. No rush, no stress!

Your framwork and Proton Native are frameworks that fit my requirement. But both of them are in development process. I'm very ecited to work with your framework.
One more time, thank you for all your work.

@leaanthony
Copy link
Member

Hey, thanks for the report! We really appreciate feedback and are excited by how many people are taking time to report such issues. As we support Ubuntu, I'm guessing Debian would be almost identical. Is there a correlation between Debian and Ubuntu releases? I'm wondering if the package names are the same.

Your report has inspired me to open this ticket. Keep an eye on it ;-)

@iceleo-com
Copy link
Author

Hi @leaanthony ,

Ubuntu is built on the top of Debian, but Ubuntu dev team don't provide the version of Debian they are using. I guess they distribute their distro independently, they don't depend on Debian anymore (they have money and resources).

I have tested your framework on another PC (also Debian 9), and I still face this problem (just double test to make sure it doesn't work). And I also test your framework on Windows 10, it works well. I will test more with React. I will let you know if I get a problem.

Have a good day!

@leaanthony
Copy link
Member

It seems.like the code to extract the disto type segfaults on docker. I've no idea why as it looks totally legit. The good news is that the dependencies are the same so it really.is just a matter of adding Debian to the known distribution list

@iceleo-com
Copy link
Author

Hi @leaanthony,

That is the good new. You can add the distribution follow the distribution family.

  • Debian/Ubuntu/Mint
  • Redhat/Fedora/Cent OS
  • Arch
  • openSUSE

@leaanthony
Copy link
Member

leaanthony commented Jun 24, 2019

Hi @iceleo-com. This is going to be easy, but could you possibly do me a favour? I've added the ability to submit distribution support requests. I've tested on a Debian docker image (Debian 10) but would love to know if this works on a live install before adding the support itself. If you have time, the command to update to the preview version is wails update -pre. It should upgrade to v0.16.2-pre. If you run wails init again, it should offer to open a support ticket with all the distribution information in it. If that works, we'll add the support on that ticket. It will be a quick fix and we can release this in v0.16.3-pre 👍

@leaanthony
Copy link
Member

Superseded by #135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting feedback More information is required from the requestor Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants