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

Desktop apps based on aguiga does not seem to work (Windows 10) #1

Open
progamateur opened this issue May 3, 2021 · 6 comments
Open
Labels
bug Something isn't working question Further information is requested

Comments

@progamateur
Copy link

os: Windows 10 (20H2)
arturo: v/0.9.75 b/504 @ 2021-05-03T14

My first tests of aguila

I used arturo Lastest Nighly Windows-full version

  • First try of "arturo counter.art"
    On terminal, I got:
E:\Downloads\arturo-0.9.75-2021-05-03-Windows-full-d2e5ce1>arturo counter.art
>> Runtime | Le fichier spécifié est introuvable. (The specified file cannot be found)
Additional info: "Requested command not found: \'tidy -i tmp.html\'. OS error:"
     error |

I downloaded tidy.exe and put it in the working folder

  • Second try of "arturo counter.art"
    • the "counter testje" window is displayed,
    • but no display change when pressing either "+" key or "-" key (remains at 0),
    • When I close the window, on terminal, I got the message:
E:\Downloads\arturo-0.9.75-2021-05-03-Windows-full-d2e5ce1>arturo calculator.art
>> Runtime | input(1, 0) Error: { expected
     error |

Did I forget something in the installation of aguila or did I use the wrong version of arturo?

@drkameleon
Copy link
Contributor

Well, let's see...

Using the current (stable or nightly, doesn't really matter) version of arturo installed...

  • Clone this repository: git clone https://github.com/arturo-lang/aguila.git
  • Go (through the terminal) into the folder where aguila has been cloned: cd aguila
  • Call arturo from the root folder of Aguila... along with the example you want to run:
 arturo examples\calculator.art

Screenshot 2021-05-03 at 16 22 17

P.S.

(1) Águila is by no means "complete". As a matter of fact, I'm currently in the process of a complete re-vamp, with many-many more functionalities and a slightly different approach. But, until then, the current version - along with the current version of Arturo - should be working fine. (At least on mac, it does - if there is any issue on Windows, I'll have to look into it...)

(2) For that to work, we'll definitely need the "full" version of Arturo installed

(3) With the "full" version installed, could you please open the REPL for me and just write a super-simple command (only to see if the webview component per se works)? webview "Hello!"

@drkameleon drkameleon added bug Something isn't working question Further information is requested labels May 3, 2021
@progamateur
Copy link
Author

  • Webview test
E:\Downloads\arturo-0.9.75-2021-05-03-Windows-full-d2e5ce1>arturo
Arturo
(c) 2019-2021 Yanis Zafirópulos

# v/0.9.75 b/504 @ 2021-05-03T16:58:25+02:00
# arch: amd64/windows

# Type info 'symbol for info about a specific symbol or built-in function
# Type help to get a list of all available functions with a short description

# For multi-line input, just add a blank space at the end of a line
# Use TAB for auto-completion, UP for navigating history

# Launching interactive console - rock on! 🤘

$> webview "Hello"  

Result : webview_test

  • Aguila test
E:\Downloads\arturo-0.9.75-2021-05-03-Windows-full-d2e5ce1>cd aguila

E:\Downloads\arturo-0.9.75-2021-05-03-Windows-full-d2e5ce1\aguila>..\arturo .\examples\counter.art

Result : counter_art_aguila_test
"0" always displayed

Closing "counter testje" window after one or more clicks on "+" or "-" button :

E:\Downloads\arturo-0.9.75-2021-05-03-Windows-full-d2e5ce1\aguila>..\arturo .\examples\counter.art
>> Runtime | input(1, 0) Error: { expected
     error |

@drkameleon
Copy link
Contributor

Wow. Great job!

Thank god, the webview - at least - seems to be working quite fine.

Regarding the counter example might have some issues and not be completely up-to-date (+ it was not written by me). Even if it's a bit early to say anything about the project, I would suggest trying the calculator example 😉

@progamateur
Copy link
Author

Well, with calculator.art, I got the same result : no action after any button clik and the message after closing
the "calculator" window:

E:\Downloads\arturo-0.9.75-2021-05-03-Windows-full-d2e5ce1\aguila>..\arturo .\examples\calculator.art
>> Runtime | input(1, 0) Error: { expected
     error |

@drkameleon
Copy link
Contributor

Hmm.. that's weird indeed.

I will give it a try myself as soon as I have access to a Windows computer with a GUI. (I'll have to set an old laptop up with Windows sooner or later, I guess there's no alternative lol)

Re: Arturo, I would suggest you don't bother too much about Águila - yet. So, I guess - the way things are right now - we could come across even weirder bugs...

@progamateur
Copy link
Author

OK, I'll wait and see...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants