-
Notifications
You must be signed in to change notification settings - Fork 20
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
OSError while installing through nimble #24
Comments
zetashift: update your Putty client |
As it still seems not to work for you: Try if a plain command like exec("nimgrab 'https://raw.githubusercontent.com/StefanSalewski/oldgtk3/master/oldgtk3/gobject.nim' gobject.nim") works for you. If it does not work, maybe try with other download files. Generally that should work. If we do not get that working, we have a bunch of possible solutions:
But the main question is, if after a successfully download gintro would work at all for Windows. I will investigate this issue further if someone is really interested of USING gintro on Windows, that is creating a larger GTK3 application. |
I figured it out! Removing the single quotation marks around the Thank you :D |
Alright so far:
Now I get the following error:
|
Great. GtkSource is for GtkSourceView, which is used for editors like GEdit, Aporia, NEd... It may be that you have to install it separately for your Windows GTK, maybe there is a separate package. But most people should not need GtkSource, basic examples should work without it. So generally you could skip/remove line 1717 (main("GtkSource")) from file gen.nim. Unfortunately I don't know how you can do it locally now -- with the older package variant it was easier, because that used "nimble prepare" followed by "nimble install" both executed from inside gintro directory. That was available for nearly one year, but no one has tried. Now it is gone, sorry. |
It worked holy snap! So after the previous steps I commented line 1717 out and then I had to copy-paste the .nimble from the gintro folder to my /AppData/Local/Temp folder. All the examples work. Thanks again for your time :D. |
Great. I have just created a nimgrab issue about the single quotes. It was a bit strange that it worked fine for Linux. I should be able to push a updated gintro.nimble without the quotes in a few days, then a plain "nimble install gintro" should work. Can you tell us how you have installed the GTK libs for your Windows 10? And what was special with package GtkSource? I would like to add that information to tutorial. |
For the GTK libs I did according these instructions(https://www.gtk.org/download/windows.php): I'm not sure about the GtkSource error, as I don't know that much about GTK. |
Thanks for that info. From GTK maling list I just got these additional info:
I will try to add this info to tutorial and fix nimble script in the next days. |
I'm on Windows 10, and while using the command
nimble install gintro
I'm getting the following error:preparing gintro nimgrab.nim(35) nimgrab nimgrab.nim(16) syncDownload urldownloader.nim(413) downloadToFile oserr.nim(110) raiseOSError Error: unhandled exception: The specified protocol is unknown. [OSError]
The text was updated successfully, but these errors were encountered: