intel / openvino-plugins-ai-audacity

A set of AI-enabled effects, generators, and analyzers for Audacity®.
GNU General Public License v3.0
908 stars 57 forks source link

Error sending data (12002) The operation timed out #200

Closed oscartitolopez closed 4 months ago

oscartitolopez commented 4 months ago

I'm trying to Install Openvino and receive this error message: openvino installation error sending data (12002) The operation timed out What can I do?

image

nonspacial commented 4 months ago

Same problem here. image

RyanMetcalfeInt8 commented 4 months ago

Hi @oscartitolopez, @nonspacial -- what version of Windows are you using?

RyanMetcalfeInt8 commented 4 months ago

Also, can you check if you have access to this, for example?

https://huggingface.co/Intel/whisper.cpp-openvino-models/tree/main

nonspacial commented 4 months ago

Win 11

Hi @oscartitolopez, @nonspacial -- what version of Windows are you using?

clean installed yesterday.

nonspacial commented 4 months ago

Also, can you check if you have access to this, for example?

https://huggingface.co/Intel/whisper.cpp-openvino-models/tree/main

This link opens the page...& lets me download the zips manually. using FF dev edition.

RyanMetcalfeInt8 commented 4 months ago

hmm, strange... I don't know why the download is failing then from the installer. From the installer, does it appear to actually start downloading anything? Or does it just throw that error after sitting there for a bit with an empty progress bar?

And you're not behind a proxy or anything, right?

nonspacial commented 4 months ago

not even a prog bar dude... litrerally sits there and then throws the error... I use rainmeter and i'm seeing KBs of up nad down but that's it. and nothing in taskmanager network for the running installer

nonspacial commented 4 months ago

it will install under the (no models) option so it's just something in the fetch?

nonspacial commented 4 months ago

image

image

image

image

image

if this helps?

RyanMetcalfeInt8 commented 4 months ago

Thanks, yes it does help.

it will install under the (no models) option so it's just something in the fetch?

Right, the 'no models' option will basically just skip downloading / installing any of the models.

It's kind of pain, but as a workaround you can do the 'no models' option, and then manually populate an openvino-models directory that would sit in the Audacity folder (next to Audacity.exe, etc.).

We have instructions for this here (https://github.com/intel/openvino-plugins-ai-audacity/blob/main/doc/build_doc/windows/README.md#installing-the-openvino-models).

Obviously the point of having the installer do all of this is that it's kind of a pain to do it manually...

nonspacial commented 4 months ago

Cool... workaround in effect... I want the separation mainly so which zip is it from?

Scratch the question it's in the instructions.

Hopefuilly you get it sorted, but thanks very much for the quick responses. i'll let you know when i've sorted it. gotta go to bed unfortunately.

RyanMetcalfeInt8 commented 4 months ago

Ah okay, then it's pretty easy.

Basically, create a folder called openvino-models, and then go here (https://huggingface.co/Intel/demucs-openvino/tree/main) and download htdemucs_v4.xml & htdemucs_v4.bin, and put those in the folder that you created. Then move this folder to your Audacity folder (the one that holds Audacity.exe) -- and then you should be all set.

nonspacial commented 4 months ago

Possible thought to make the workaround easier for some... maybe put a select local files/folder option, so if you can't get the installer download to work, but can do the direct download... then u can still use the installer on those files/folder of files? folder might be better to be fair.

nonspacial commented 4 months ago

image

well that worked!

RyanMetcalfeInt8 commented 4 months ago

Thanks for the suggestion -- I'll think about it... hopefully we'll just be able to get the installer downloads to be reliable.

Also, really glad you were able to get it running -- at least with music separation.

When you get a chance, could you just try 1 experiment for me? Can you choose just this one model and see if it downloads (uncheck all others)? image

This is the only model that doesn't download from huggingface.co, and just curious if that changes things..

nonspacial commented 4 months ago

ok 2 secs i'll try it 4 u rn... still downloading zips

oscartitolopez commented 4 months ago

Hi @oscartitolopez, @nonspacial -- what version of Windows are you using?

Windows 11 Home, completely updated.

oscartitolopez commented 4 months ago

Also, can you check if you have access to this, for example? https://huggingface.co/Intel/whisper.cpp-openvino-models/tree/main

This link opens the page...& lets me download the zips manually. using FF dev edition.

Me too...

nonspacial commented 4 months ago

Thanks for the suggestion -- I'll think about it... hopefully we'll just be able to get the installer downloads to be reliable.

Also, really glad you were able to get it running -- at least with music separation.

When you get a chance, could you just try 1 experiment for me? Can you choose just this one model and see if it downloads (uncheck all others)? image

This is the only model that doesn't download from huggingface.co, and just curious if that changes things..

Sorry man, same shit. about 2-3mins of nothing but the white screen, then the 12002 error.

Also what's weird is the window cannot be selected or moved whilst it's "checking the internet?"

as soon as the error pops up it's immediately movable again.

now i'm off to bed. good luck. I'l;l check back tomorrow afternoon for me.

RyanMetcalfeInt8 commented 4 months ago

Thanks for the suggestion -- I'll think about it... hopefully we'll just be able to get the installer downloads to be reliable. Also, really glad you were able to get it running -- at least with music separation. When you get a chance, could you just try 1 experiment for me? Can you choose just this one model and see if it downloads (uncheck all others)? image This is the only model that doesn't download from huggingface.co, and just curious if that changes things..

Sorry man, same shit. about 2-3mins of nothing but the white screen, then the 12002 error.

Also what's weird is the window cannot be selected or moved whilst it's "checking the internet?"

as soon as the error pops up it's immediately movable again.

Thank you for trying that! Very strange...

RyanMetcalfeInt8 commented 4 months ago

Another quick experiment for you guys, can you open a powershell window in your download folder and try to run this?

Invoke-WebRequest https://huggingface.co/Intel/whisper.cpp-openvino-models/resolve/194efafbee09390bbf33f33d02d9856dacfdd162/ggml-base-models.zip -OutFile ggml-base-models.zip

It will essentially just download and save ggml-base-models.zip to the current folder.

I know that the download seems to work from your browser, but curious if it would also work from the cmd-line like this. Thanks!

nonspacial commented 4 months ago

Hey man, sorry yesterday the work gig was way longer than it should've been and I left computing out of my day!

I'm running the command now and it's not doing much? PS is just blinking the cursor at me and my internet connection isn't anymore active than it normally would be... Gonna see if it times out or not. been running a few mins as it is though.

nonspacial commented 4 months ago

Oh it just started... I didn't look at the time when i hit enter though. image

RyanMetcalfeInt8 commented 4 months ago

Thanks! So it seemed like it worked, after some long pause?

nonspacial commented 4 months ago

yep exactly, like 5 mins.

I don't know where the file actually went though? "-OutFile ggml-base-models.zip" has no folders leading it and it's not directly on C.

EDIT: if it went into Downloads, then i already had it in there and maybe it didn't overwrite anything as the modified timestamp is the other night,

nonspacial commented 4 months ago

I don't know how relevant this is, maybe the other dude has something that makes it a valid thing to consider... I'm on Starlink: In France, but not rural, just bullshit ADSL to the house.

I'm thinking latency of course.

RyanMetcalfeInt8 commented 4 months ago

Got it, hmm -- thanks for trying it out for me!

oscartitolopez commented 4 months ago

Does openvino work with an AMD Ryzen processor? Could that be my problem?

nonspacial commented 4 months ago

Does openvino work with an AMD Ryzen processor? Could that be my problem?

i'm on an intel 9980xe so...

oscartitolopez commented 4 months ago

I already solved the problem very easily. I simply had to make sure the "openvino-models" folder had the proper read and write permissions. I did this by right clicking on the folder, selecting "Properties" and then the "Security" tab.

Anyways, thanks for your kind help! (And thanks to Google's Gemini AI)

RyanMetcalfeInt8 commented 4 months ago

Hi @oscartitolopez,

Hmm, I'm not sure that I follow exactly what you did to resolve this issue. The error that you reported was triggered during download stage of the installer -- but this happens before anything is copied to the 'final' openvino-models folder (in Audacity folder, right? ), so I'm not really sure how changing the permissions of that folder could have resolved the download issue..

Thanks, Ryan

RyanMetcalfeInt8 commented 4 months ago

But I am glad to hear that you did get it working :smile:

oscartitolopez commented 4 months ago

I am not a computer expert. I just want to install openVINO. Seeing that I got the message "Error sending data (12002)" I started doing a search, and that's why I turned to this chat. I installed the program without downloading the models, because it was impossible. So I went to ChatGPT 4.0, CoPilot and Gemini and asked what I could do. One of Gemini's recommendations was "Check the permissions of the "openvino-models" folder: Make sure the "openvino-models" folder has the appropriate read and write permissions. You can do this by right-clicking on the folder, selecting " Properties" and then the "Security" tab." Then I went to the folder that I had created (openvino-models), I right-clicked, I went to 'properties', then 'security' and these two user names appeared: "ALL APPLICATION PACKAGES" and "ALL RESTRICTED APPLICATION PACKAGES" Then I went to "Edit" to change the permissions and gave "Full control" to both user names. Then I clicked OK and went to the installer and it started working without problems. I am currently downloading the models.

oscartitolopez commented 4 months ago

image

nonspacial commented 4 months ago

right so because audacity is installed by default into the Program Files directory it's protected! goddamn windows... I totally missed that could be the problem.

EDIT: I'm gonna try installing audacity to a different folder outside windows protected crap and see if it has the same effect.

oscartitolopez commented 4 months ago

I'm almost finished, I think...

image

RyanMetcalfeInt8 commented 4 months ago

right so because audacity is installed by default into the Program Files directory it's protected! goddamn windows... I totally missed that could be the problem.

Hmm, but it actually downloads everything to a tmp directory first, and once everything is downloaded it will install the models into the destination (possibly protected) folder. This is why I don't understand why the permission should affect the download at all...

oscartitolopez commented 4 months ago

Don't ask me! @RyanMetcalfeInt8

All I know is that it seems to be working fine (though taking a lot of time to download the models)

nonspacial commented 4 months ago

Don't ask me! @RyanMetcalfeInt8

All I know is that it seems to be working fine (though taking a lot of time to download the models)

was it slow to start the download or instant?

oscartitolopez commented 4 months ago

Instant, but it has not frinished yet...

nonspacial commented 4 months ago

answered my own question... installed to C:/Audacity and still same error... however I have another thought... on a fresh install there's no models folder to have permissions

image

I'm gonna add it and see what happens

nonspacial commented 4 months ago

with no editing of permissions and just the folder created... no go.

I also do not have these same Groups in my properties on the direct to C version, but I do see them on the C:/ProgramFiles page

image

nonspacial commented 4 months ago

& finally I have not had the same luck with changing those permissions and target either install... I gave every user/group full access and ran the installer on each and same shit different day for me.

I will try restarting comp later but it's no can do rn.

oscartitolopez commented 4 months ago

Working like a charm... image Thanks again to all.

RyanMetcalfeInt8 commented 4 months ago

Perfect, glad it's working for both of you now!

RyanMetcalfeInt8 commented 4 months ago

(well, I think @nonspacial had to download things manually.. so maybe I shouldn't say it's working)