1. Simone Olianti
  2. PowerBuilder
  3. Thursday, 18 November 2021 15:22 PM UTC

Hello everyone i'm trying to migrate my application from PB2019R3 to PB2021 and pushing to git. The migration finished without issues.

Then i've created a new repository from scratch to my GitHub account as started to add to source control my new migrated application.

This task finished successfully, then i went to workspace properties filled up the git credentials and all the rest without problems.

The problem is that when i try to push the project to the GitHub i'm gettin an error:
 ---------- Source Control: Errors   (16.50.03)
Git detail error info: Failed to write chunk header: Il server ha risposto in modo non valido o non riconoscibile

Git client error code: Generic error.
Failed to push workspace.
 ---------- Finished Errors   (16.50.03)

After several attempts i've decided to push everything using Tortoisegit for the first upload and this is what i've got:
git.exe push --progress "origin" master:master
git: 'credential-manager' is not a git command. See 'git --help'.

The most similar command is
credential-manager-core
git: 'credential-manager' is not a git command. See 'git --help'.

The most similar command is
credential-manager-core
Enumerating objects: 11790, done.
Counting objects: 100% (11790/11790), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3698/3698), done.
Writing objects: 100% (11790/11790), 156.65 MiB | 2.16 MiB/s, done.
Total 11790 (delta 8094), reused 11781 (delta 8087), pack-reused 0
remote: Resolving deltas: 100% (8094/8094), done.
remote: warning: See http://git.io/iEPt8g for more information.
remote: warning: File _sys_utility.pbl is 51.32 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: File _doc_gest.pbl is 63.55 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
To https://github.com/start2ar/start2021
* [new branch]      master -> master

By the way the objects are all there in the remote github server, but when i try to Git Pull i get this other error:

 ---------- Source Control: Errors   (15.33.24)
Git detail error info: Cannot locate remote-tracking branch 'origin/master'
Git client error code: Requested object could not be found. Because of invalid value in Author, Email, username, password, or local branch name, etc.
Failed to update: S:\start2git
Failed to do Git pull.
 ---------- Finished Errors   (15.33.25)

Git Push is working good now but still cannot git pull. Also tried to git push using git Bash command line but getting same issue

Any ideas??? with PB2019 R3 everything worked fine

PowerBuilder 2021 Build 1311
Git for Windows: 2.34.0
TortoiseGit: 2.12.0

The project is quite large (115 PBLs and the larger is 65M)

Accepted Answer
Simone Olianti Accepted Answer Pending Moderation
  1. Thursday, 18 November 2021 18:05 PM UTC
  2. PowerBuilder
  3. # Permalink

found a workaround which seems to be working in case someone else encounter same issue

i did like this:
1) add to source control from PB ide

2) first upload to gitHub using git bash command line: git push origin master

3) close workspace from pb ide, then "connect to workspace" pointing to new remote repository and new local folder

after the download everything working fine (both push and pull)

Comment
  1. Armeen Mazda @Appeon
  2. Thursday, 18 November 2021 18:18 PM UTC
Thanks for sharing!
  1. Helpful
There are no comments made yet.
Simone Olianti Accepted Answer Pending Moderation
  1. Thursday, 18 November 2021 15:53 PM UTC
  2. PowerBuilder
  3. # 1

*Update*

i've also tried to install and follow the instructions for git large file storage using git bash before the first push but it didnt help

https://git-lfs.github.com/

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