1. Régis Schmitz
  2. PowerBuilder
  3. Tuesday, 9 August 2022 01:38 AM UTC

Hello everyone!

 

I am trying to use PBAUTOBUILD with our application. I have exported the build file using build plan with GIT.

Our application is big, the repository got over 43000 files. 

Using pbautobuild, the GIT source code never finish successfuly by pbautobuild.

Sometimes I get:

15:55:12 [Normal] received objects:43838, total objects:43838. please wait.
16:59:40 [Error] Out of memory
16:59:40 [Error] Git download source code failed.
Bye (-_-)

other times I get:

15:54:48 [Error] failed to read data: The connection to the server was abnormally interrupted

15:54:48 [Error] Git download source code failed.
Bye (-_-)

but, when i use "git clone" command I don't get any problem.

 

Any suggestions? 

 

thanks!

 

Régis

Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Monday, 15 August 2022 09:27 AM UTC
  2. PowerBuilder
  3. # 1

Hi Régis,

About the "out of memory" problem with PBAutobuild, since we didn’t reproduce it locally, can you submit a bug to the Appeon Support System (https://www.appeon.com/standardsupport/newbug)?
We will provide a DLL with log functionality for you there for analysis.


Regards,
Ken

Comment
  1. Régis Schmitz
  2. Monday, 15 August 2022 11:33 AM UTC
Hello Ken,



Ok, I wil open the ticket. thanks!
  1. Helpful
There are no comments made yet.
Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 9 August 2022 05:22 AM UTC
  2. PowerBuilder
  3. # 2

Hi Régis,

Thanks for submitting this problem. Our developers are working on it. To better keep track of and handle this problem, I suggest you submit a bug to the Appeon Support System https://www.appeon.com/standardsupport/newbug.

For now, I suggest you work it around like this:
Write the “git clone” command into a bat file, such as download_git.bat. In the exported build json file, locate the "BuildPlan" section and then the "PreCommand" sub-section; and add the file path and name of download_git.bat.
"BuildPlan": {
"SourceControl": {
"PreCommand": "download_git.bat",
"ClearSrcBeforeDownload": false,
"SVN": [
...
],


Regards,
Ken

Comment
  1. Ken Guo @Appeon
  2. Wednesday, 10 August 2022 07:34 AM UTC
Hi Régis,



We locally tested with 50000 objects but still didn’t reproduce this issue. May I ask:

1. In the 43838 files you downloaded, How many MB is the biggest file? How many MB in total?

2. How many PBLs does your application have? How big is the biggest PBL file?

3. If you use PB IDE to connect to Git (Connect to workspace), will the download succeed?



Regards,

Ken
  1. Helpful
  1. Régis Schmitz
  2. Wednesday, 10 August 2022 16:59 PM UTC
Hello Ken!



Our application has 40 PBLs (62Mb the biggest and 570Mb total ) and 1 PBD (pbsoapclient19.pbd) plus sources.

Using the PB IDE the build runs fine, but it shows a message on "default" tab at the deploy :

Pbd Version: The current PBD version doesn't match the major version. (path:C:\@Desenv\powerbuilder\pbautobuild\PB2022\pbsoapclient190.pbd)

and build finishes successfully...



but.. when using PBAutobuild with the "PreCommand" set, i was able to bypass the initial error, but.. when reaches the PBSOAPCLIENT.. it pops up a persistent messagebox with title "Library Manager" with error icon and no message and no text buttons.



and after close it many times, it freezes on "PBD Version" message and the build never finishes.



another point, that I am not understood is on "deploy object", the "Runtime Path in Aplication".

If that I can build the app using specific runtime version or what. If yes,

Why I got the following message when starting the deploy:



"The configured runtime path is inconsistent with the current runtime version, whether to continue?"
  1. Helpful
  1. Ken Guo @Appeon
  2. Monday, 15 August 2022 09:13 AM UTC
Hi Régis,



.Net Web Service is discontinued in PB 2022. Therefore, you need to rewrite the code that was previously calling the web service to not depend on the pbsoapclient.pbd file. Moreover, don't use PB 2019's pbsoapclient190.pbd in your PB 2022 developed application.



You can use HTTPClient to call web services. Refer to the following link:

https://www.appeon.com/developers/get-help/knowledgebase/call-soap-web-service-using-httpclient-object.html



Regarding the "Runtime Path in Application," you mentioned in deploy object, generally, we suggest that you use the same version of runtime for your application as used in PB. This is the case in most situations. But it is supported to use a different runtime version. In order to avoid unintended mismatch, it will pop up a message for the user to confirm when the set runtime version is different from the current runtime version.



Regards,

Ken
  1. Helpful
There are no comments made yet.
René Ullrich Accepted Answer Pending Moderation
  1. Tuesday, 9 August 2022 05:15 AM UTC
  2. PowerBuilder
  3. # 3

Hi Régis,

I think it is a problem with the Git API that Powerbuilder uses. You should open a support ticket.

As workaround you can use Git Clone to get the sources from repository and after that you can use PBAutobuild without the Git settings.

HTH,

René

Comment
  1. Régis Schmitz
  2. Tuesday, 9 August 2022 11:38 AM UTC
thanks René!
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.