-
Notifications
You must be signed in to change notification settings - Fork 1
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
Appstraction download hangs and does not complete #108
Comments
The first time you download appstraction, it has to download a whole bunch of dependencies. That can take a few minutes. That's probably what's happening. But I can absolutely see how that looks like it's hanging. We should add some output that informs the user that this can take a while without any output. |
I waited a considerable number of minutes but I can try it again - I think I was waiting for at least 10-30 minutes at that point! |
Oh, that's a lot. :o @zner0L How long did it take on your MacBook? |
Likewise installing via npm is taking forever (more than 10-30 mins by now) and hanging after the step: |
It shouldn’t take that long. I think sometimes |
I have clang installed! Are there other package managers I could try besides npm and yarn? |
Well, we test against |
It doesn't exist as I don't have autopy - do I need it? |
Autopy should be installed automatically when you install appstraction. But @zner0L gave you the wrong path, on macOS, it's actually |
I'm currently testing this in a virtual machine with macOS Monterery 12.2.1 and Node 18.16.1 (I had to manually install Node 18 ( In the meantime, I've done some investigation. Here's what I found:
|
After 1:20h, it was still not finished and I gave up. |
Turns out we already have an issue for this: tweaselORG/andromatic#6 |
@synapticlee As a workaround until we have fixed and released this, you should be able to manually install Java, run |
Glad I wasn't the only one with this issue! I installed Java (I hadn't yet as this is a fairly new computer) and added it to the path. It is still hanging on the appstraction step though! |
Did you also export the |
I did export JAVA_HOME, yes, and in '~/Library/Caches/autopy/venv' I have |
Ok, I just tested it on my (yes, dated) MacBook Pro Mid 2015 with macOS Monterey 12.6.6. I installed $ JAVA_HOME=$(/usr/libexec/java_home) yarn add appstraction It works, but it still takes quite a while (~ 109s). If that doesn’t work for you, maybe there is something off with your Java version? Mine is JDK 11: $ /usr/libexec/java_home
/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home |
I have just released a new version of andromatic that should fix this bug, so until we release the fix in appstraction, you can also try this: # Install the newest version of andromatic manually first.
yarn add andromatic
# Then install appstraction. This should use the new, fixed version of andromatic instead of the old version that appstraction currently depends on.
yarn add appstraction |
Re: the earlier conversation, I didn't have JDK installed, only Java, so I downloaded the latest JDK (20) and still having the same issue sadly.
|
Wait, nevermind, I tried it again and it worked!! Thanks! Now trying to install the tweasel-cli |
Hmm sadly while installing This is the output:
|
I haven't tested this but I would imagine that running |
I had a quick look at this to make sure it's not another bug we need to fix. As per a few reports of this error (joefitzgerald/go-plus#249, https://stackoverflow.com/a/65127654, https://stackoverflow.com/a/68457191), this seems to happen if the directory you are in was deleted and should be fixed by |
Thanks, this makes sense! Running |
I am thinking, since you already tried to install $ yarn global remove andromatic appstraction
$ yarn global add andromatic
$ yarn global add appstraction |
@zner0L I'm assuming the latter two were also actually |
After fiddling around a little I was able to download tweasel-cli! Thanks everyone for your help. Hopefully that's the end of the issues |
Glad to hear that! Thanks for helping us debug. |
Hi, downloading appstraction in both npm and yarn is hanging, this is the output from yarn:
The text was updated successfully, but these errors were encountered: