Questions? Feedback?powered byOlark live chat software
Bug 2855

GIT Client Error Code: Generic Error 01 July, 2019

Kal P
12 June, 2019
Product: PowerBuilder Category: Other
Version: 2017 R3 Publishing: Public
Status: Reproducing Priority: P3
Classification: Resolution:
Tom Jiang 01 July, 2019
Hi Kal,

From one of your previous replies, it seems you don't have the issue with small projects. Is that true?

Does it take a long time (like more than 30 seconds) before you get the error when pushing a big project?

After you push the project to the server using TortoiseGit, do you still get the error if you just push a small amount of changes from PB IDE?

Regards,

Tom Jiang
Kal P 29 June, 2019
(In reply to Tom Jiang from comment #12)
Hi Kal,

You mentioned in a previous reply that you don't see  the username and the
password after you change the setting of a folder from Tortoise GIT. What
folder is that? 

If you enter the user name and password again in PB Workspace > Properties,
are you able to push and pull to the server?

If you use connect to workspace to check out the repository to a new folder
on your local machine, do you still get this issue?

Regards,

Tom Jiang
Tom, You mentioned in a previous reply that you don't see the username and the password after you change the setting of a folder from Tortoise GIT. What folder is that? -- After setting the Workspace on GIT from PowerBuilder IDE( Workspace > Right Click > Source Control > GIT). I went to the folder where my workspace is currently residing. Using the Tortoise GIT I set the url for the folder. If you enter the user name and password again in PB Workspace > Properties, are you able to push and pull to the server? -- No I am getting the same error regarding the PUSH and PULL. Generic Error. Also, my GIT setting is set for INTERNAL. If you use connect to workspace to check out the repository to a new folder on your local machine, do you still get this issue? -- Yes, the issue still persists. There is no issue while I am doing the comparison, pull, push and commit from the Tortoise GIT. or GIT EXEcute. I am currently using GITLAB as a GIT server.
Tom Jiang 18 June, 2019
Hi Kal,

You mentioned in a previous reply that you don't see  the username and the password after you change the setting of a folder from Tortoise GIT. What folder is that? 

If you enter the user name and password again in PB Workspace > Properties, are you able to push and pull to the server?

If you use connect to workspace to check out the repository to a new folder on your local machine, do you still get this issue?

Regards,

Tom Jiang
Kal P 16 June, 2019
(In reply to Kal P from comment #10)
Hello, Tom.

Doing PULL and PUSH from the PB IDE still not working. One thing that I
noticed is that when I open Workspace >> Properties, I don't see the
username and the password after I change the setting of a folder from
Tortoise GIT. 

The Pull is working fine from the Tortoise GIT and GIT Exec. PB IDE gives
generic error every time I try to Push.
Adding to the previous reply, I am able to do GIT commit from the PB IDE for the same but not the GIT PUSH and GIT PULL
Kal P 16 June, 2019
Hello, Tom.

Doing PULL and PUSH from the PB IDE still not working. One thing that I noticed is that when I open Workspace >> Properties, I don't see the username and the password after I change the setting of a folder from Tortoise GIT. 

The Pull is working fine from the Tortoise GIT and GIT Exec. PB IDE gives generic error every time I try to Push.
Kal P 16 June, 2019
(In reply to Tom Jiang from comment #8)
Hi Kal,

Thanks for sharing your solution! The source cotnrol is based on the
workspace level. All your targets should already in the same repository. 

Regards,

Tom Jiang
Tom Jiang 14 June, 2019
Hi Kal,

Thanks for sharing your solution! The source cotnrol is based on the workspace level. All your targets should already in the same repository. 

Regards,

Tom Jiang
Kal P 13 June, 2019
The issue is resolved and it is done by using the actual GIT Server, GIT LAB and also increasing the size of the http.postbuffer. 

But I have another question, in the workspace file that I am using I am attaching multiple targets. So how to upload the other targets that are attached to the same workspace?
Tom Jiang 12 June, 2019
Hi Kal,

Please do the same process using TortoiseGit and see if it provides any specific error information that could help to identify the cause of the issue. 

The following issues may be causing this error:
•The repository was created with some default files, such as a ReadMe file.

•Do you need to go through a proxy to access the repository? 
If using the proxy server, configure the proxy server IP address and port number in the PB.ini file (by default, the INI file is located in C:\Users\<username>\appdata\local\appeon\powerbuilder 17.0\ in Windows 7 or later). Copy the following section to the INI file and set the appropriate value for the proxy server: 
[SourceControlProxy]
Url=192.0.0.88
Port=80
Username=
Password=
Timeout=10

Regards,

Tom Jiang
Chris Pollach 12 June, 2019
Hi Kal;

  Thank you for those steps you used and the Git / Bonobo information!

  I will now transfer this ticket now to the main Support/Engineering team for their input on your situation and possible recommendations.

Regards ... Chris
Kal P 12 June, 2019
Before moving to any GIT server, I was trying to first check whether the whole thing works in the local or not.
Kal P 12 June, 2019
Hello, Chris.

I don't have any GIT Server. 

Here's the step that I did:

1. Right Click Application workspace >> Add Source Control >> GIT 
2. Installed latest version of Tortoise GIT on the Local Machine, version 2.8.00
3. Installed the Bonobo GIT, the way it was shown in the video.
4. Installed the GIT-2.22.0.64-bit
5. Followed whatever was mentioned on the video of Appeon by Bruce Armstrong on how to do GIT push  using the Tortoise GIT and Bonobo GIT.
6. It worked for the new application that we created with PB 17 R3 but it keep on saying that the generic error with the old application.
Kal P 12 June, 2019
Hello, Chris.

I don't have any GIT Server. 

Here's the step that I did:

1. Right Click Application workspace >> Add Source Control >> GIT 
2. Installed latest version of Tortoise GIT on the Local Machine, version 2.8.00
3. Installed the Bonobo GIT, the way it was shown in the video.
4. Installed the GIT-2.22.0.64-bit
5. Followed whatever was mentioned on the video of Appeon by Bruce Armstrong on how to do GIT push  using the Tortoise GIT and Bonobo GIT.
6. It worked for the new application that we created with PB 17 R3 but it keep on saying that the generic error with the old application.
Chris Pollach 12 June, 2019
Hi Kal;

  In order to help you with this situation, Appeon will need a lot more information. We currently see no attachments or detailed information as to your current environment.

   Can you tell us ...

1) Current GIT Server release.
2) Current GIT client & release that you are using.
3) GIT configuration & set-up in your environment
4) Screen captures of how PB is set-up with your GIT system.
5) Screen captures of the error(s) that you are getting in the IDE?


Many thanks in advance!
Regards ... Chris
Kal P 12 June, 2019
*Phenomenon:
Git Client Error Code: Generic Error
Failed to push workspace.

*Reproduce Steps:
I am using an application that have 7877 objects. I am using Bonobo Git local hosting and Tortoise GIT, the combination that is shown in the video where Appeon shows how to configure the GIT for the 
PowerBuilder Application.

The previous Source Control that we were using was Microsoft Visual Source Safe.

The same thing worked when we tried to create a new workspace and added only one application and library with 2-3 objects. 

Remarks:
We are trying to migrate all of our code to GIT as we are facing issues with VSS. Please resolve this on the priority.
OS:
Windows 10 
Platform:
64-bit 
Database Type:
SAP SQL Anywhere 
Database Version:
12