1. George Hannah
  2. PowerBuilder
  3. Friday, 13 May 2022 16:20 PM UTC

We've been working with GIT and ADO for a few months now. Today, I did a git pull, followed by refresh. But I got errors about files not compiling after the pull. Also, can't save objects without an error. It seems as though the source and the pbl are not syncing. 

Failed to export file: w_employee_new.srw Error code: Failed to save the PBL object file..

The file exists. Why can't powerbuilder sync this file with source control? 

 

On save:

on git refresh:

George Hannah Accepted Answer Pending Moderation
  1. Friday, 13 May 2022 19:13 PM UTC
  2. PowerBuilder
  3. # 1

Thanks @chris pollach! What I find strange is, I still get the compile errors when I switch branches. The locking seems to affect the compile that happens after pull. The switch branch issue still happens after I've rebooted. 

I'm working on a quick ticket to expand a field, so I'm going to go ahead and make the change, and see if these problems work themselves out eventually. 

I noticed that the compile error only seems to happen for menu and window objects, not for datawindows. 

Comment
  1. Tom Jiang @Appeon
  2. Monday, 16 May 2022 03:18 AM UTC
It might be that some of your folders, objects, PBLs or branches are set to read-only or you don't have full access to some folders in the workspace.
  1. Helpful
There are no comments made yet.
George Hannah Accepted Answer Pending Moderation
  1. Friday, 13 May 2022 17:12 PM UTC
  2. PowerBuilder
  3. # 2

GIT pull appears to be locking the source files, so PB can't access them to do a git refresh or to save changes. 

It works as long as I restart my PC between git pull and git refresh.

 

Now, after git refresh, I'm getting the "internal error: import file name could not be found" when attempting to switch branches.

Comment
  1. Chris Pollach @Appeon
  2. Friday, 13 May 2022 18:35 PM UTC
Hi George ... good catch. BTW: I am using version 2.36.1 of the GIT client . You might want to check and see if you are using a latest version. That might fix the file locking issue. Just my $0.02
  1. Helpful
There are no comments made yet.
George Hannah Accepted Answer Pending Moderation
  1. Friday, 13 May 2022 16:49 PM UTC
  2. PowerBuilder
  3. # 3

One other dev is working with this workspace/repo and not having issues. (his local copy of the repo)

I created the repo in the fall, and it worked fine. I've made a couple of changes and released the app twice. Today, I did a git pull and git refresh to pull the other dev's changes in before creating a branch to work. First, I got "Compile/Import in phase 1 failed", then when I try to save a change, I get the failed to save error above. The sr? file is right where it should be. 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 13 May 2022 16:27 PM UTC
  2. PowerBuilder
  3. # 4

Hi George;

  Are there any other PB Developer co-workers having this issue?

Regards .. Chris

Comment
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.