Hi Jacques, Yes. Windows 10 version 20H2
Cheers Phoon -----Original Message----- From: Jacques Le Roux <[email protected]> Sent: Wednesday, 25 November 2020 4:46 pm To: [email protected] Subject: Re: Ubuntu: init-gradle-wrapper failed to install Hi Phoon, Is that on Windows? (10? I still use 7) Because we have maybe the same issue that Girish has not on Mac... Jacques Le 25/11/2020 à 05:01, [email protected] a écrit : > Thanks Girish. > > I'm on Ubuntu 18.04.5 LTS running in Virtualbox > > Cheers > Phoon > > -----Original Message----- > From: Girish Vasmatkar <[email protected]> > Sent: Tuesday, 24 November 2020 8:10 pm > To: ofbizuser <[email protected]> > Subject: Re: Ubuntu: init-gradle-wrapper failed to install > > This actually turned out to be an issue with the script segment to get the > files over wget. Realized it when the script ran fine even on my Ubuntu > virtual machine as cURL and wget both exist. > > I do have a fix for the same and it works; however, the issue with checksum > is still there. The backup URI is also being used but eventually downloaded > files get deleted because of an error in the code block to parse the response > and extract the response is 200. > > That said, how to go about checksum errors? They don't match! I will create a > ticket to fix this issue, if all agree. > > Best, > Girish > > > > > On Mon, Nov 23, 2020 at 3:00 PM Girish Vasmatkar < > [email protected]> wrote: > >> Hi Phoon >> >> You shouldn't have any issues if you downloaded the files manually. >> That said, I am on Mac and I do not see this issue; probably it is >> limited to other distributions. Could you please confirm your OS version? >> >> Best Regards, >> Girish >> >> >> >> On Mon, Nov 23, 2020 at 8:13 AM Tuck Seng Phoon >> <[email protected]> >> wrote: >> >>> Thanks Jacques, >>> What I did is just download the files manually and it appears to be >>> working. I don't know they'll be other problems arise along the way. >>> Would appreciate someone could look into it. >>> Meanwhile, I play around the modules and see there are any problems. >>> CheersPhoon >>> >>> On Sunday, November 22, 2020, 01:04:02 AM GMT+8, Jacques Le >>> Roux < [email protected]> wrote: >>> >>> Unfortunately, I just tried again ./gradle/init-gradle-wrapper.sh >>> and got the same error than below. So it seems an issue with the script. >>> >>> Also the URI backup is >>> https://github.com/gradle/gradle/tree/v3.2.1/gradle/wrapper and I'm >>> not sure why it was not used. >>> >>> The script is a bit complex and seems brittle. I did not write it >>> and don't want to dig in it. But I'm sure someone else will be able >>> to help you >>> >>> Jacques >>> >>> Le 21/11/2020 à 13:34, Jacques Le Roux a écrit : >>>> Hi Phoon, >>>> >>>> It does not work here either. The error I get is more explicit: >>>> >>>> Download files gradle-wrapper.jar gradle-wrapper.properties from >>> https://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/ failed. >>>> Though when I get to >>> https://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1 I can see >>> both files. They are respectively accessible through my >>>> browser (old FF) at >>>> >>>> >>> https://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/:gradle-wrap >>> p >>> er.jar >>> https://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/:gradle-wrap >>> p >>> er.properties >>>> And >>>> >>> https://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/gradle-wrapp >>> e >>> r.jar >>> https://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/gradle-wrapp >>> e >>> r.properties >>>> works as well >>>> >>>> I still use Ubuntu 13.10 in a Windows 7 Oracle VM. When I tried to >>> download with wget, I got: "Unable to establish SSL connection." >>>> I read that I had to update wget and then it worked: >>>> >>>> <<jacques@jacques-VirtualBox:~$ wget >>> https://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/gradle-wrapp >>> e >>> r.jar >>>> --2020-11-21 13:26:49-- >>> https://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/gradle-wrapp >>> e >>> r.jar >>>> Résolution de dl.bintray.com… 35.157.216.203, 3.124.7.124 >>>> Connexion à dl.bintray.com|35.157.216.203|:443… connecté. >>>> requête HTTP transmise, en attente de la réponse… 200 OK >>>> Taille : 54247 (53K) [application/java-archive] >>>> Sauvegarde en : « gradle-wrapper.jar » >>>> >>>> gradle-wrapper.jar >>> 100%[=============================================================== >>> = ================================================>] >>>> 52,98K 113KB/s ds 0,5s >>>> >>>> 2020-11-21 13:26:50 (113 KB/s) — « gradle-wrapper.jar » >>>> sauvegardé >>> [54247/54247]>> >>>> So you might need to update wget too (I did not try for curl) >>>> >>>> To update wget I followed: >>> https://community.webfaction.com/questions/1751/how-do-i-update-wget >>> # >>> sort-top >>>> I had to use sudo everywhere, notably rather >>>> >>>> sudo make && SUDO make install >>>> >>>> Also "cd wget-latest" did not work so I used " cd wget-1.20.3" >>>> >>>> HTH >>>> >>>> Jacques >>>> >>>> >>>> Le 20/11/2020 à 17:55, Jacques Le Roux a écrit : >>>>> You are right about the README.adoc, it's wrong in all supported >>> versions (not in released package of course), my bad, just fixed >>>>> I'll look at the other issue ASAP... >>>>> >>>>> Jacques >>>>> >>>>> Le 20/11/2020 à 11:11, Tuck Seng Phoon a écrit : >>>>>> Hi Jacques, >>>>>> version 17.12.04 >>>>>> >>>>>> >>>>>> >>>>>> CheersPhoon >>>>>> >>>>>> On Friday, November 20, 2020, 03:50:04 PM GMT+8, Jacques Le >>>>>> Roux >>> <[email protected]> wrote: >>>>>> Hi Phoon, >>>>>> >>>>>> Which version or package are you using? >>>>>> >>>>>> Jacques >>>>>> >>>>>> Le 20/11/2020 à 05:30, Tuck Seng Phoon a écrit : >>>>>>> Hello all, >>>>>>> Trying to run init-gradle-wrapper failed in README.adoc the >>>>>>> command is './gradle/init-gradle-wrapper". Need to append .sh >>>>>>> works but got the following messages. >>>>>>> I check the wrapper folder but gradle-wrapper.jar does not exist. >>>>>>> What did I do wrong? >>>>>>> >>>>>>> Download files gradle-wrapper.jar gradle-wrapper.properties from >>>>>>> https://dl.bin$Please check the logs, fix the problem and run >>>>>>> the >>> script >>>>>>> again. >>>>>>> === Control downloaded files === >>>>>>> shasum: gradle/wrapper/gradle-wrapper.jar: >>>>>>> gradle/wrapper/gradle-wrapper.jar: FAILED open or read >>>>>>> shasum: gradle/wrapper/gradle-wrapper.properties: No such file >>>>>>> or directory >>>>>>> gradle/wrapper/gradle-wrapper.properties: FAILED open or read >>>>>>> gradlew: OK >>>>>>> shasum: WARNING: 2 listed files could not be read >>>>>>> >>>>>>> >>>>>>> >>>>>>> CheersPhoon >>
