Smartsetup community packages fail due to git cloning issues

I would like to use smartsetup 2.2+ to install the community packages rather than use getit. However, I get these error messages when I attempt to install several of them. I must have a configuration issue. Anybody know what I'm doing wrong?

20:09:28] Updating gabr42.omnithread from GIT
[20:09:28] Updating pyscripter.python4delphi from GIT
[20:09:28] Updating sglienke.spring4d from GIT
[20:09:28] Updating taurustls_developers.taurustls from GIT
[20:09:28] Gathering files to be removed...
[20:09:28] Starting removal
[20:09:28] Removing C:\comp\tms\Temp.repositories\gabr42.omnithread
[20:09:28] Directory removed: C:\comp\tms\Temp.repositories\gabr42.omnithread
[20:09:28] Error fetching gabr42.omnithread from GIT: Error cloning "GitHub - gabr42/OmniThreadLibrary: A simple and powerful multithreading library for Delphi" into C:\comp\tms\Temp.repositories\gabr42.omnithread
[20:09:28] Gathering files to be removed...
[20:09:28] Starting removal
[20:09:28] Removing C:\comp\tms\Temp.repositories\taurustls_developers.taurustls
[20:09:28] Directory removed: C:\comp\tms\Temp.repositories\taurustls_developers.taurustls
[20:09:28] Error fetching taurustls_developers.taurustls from GIT: Error cloning "GitHub - JPeterMugaas/TaurusTLS: TaurusTLS provides OpenSSL 3.x support for Indy - Internet Direct" into C:\comp\tms\Temp.repositories\taurustls_developers.taurustls
[20:09:28] Gathering files to be removed...
[20:09:28] Starting removal
[20:09:28] Removing C:\comp\tms\Temp.repositories\sglienke.spring4d
[20:09:28] Directory removed: C:\comp\tms\Temp.repositories\sglienke.spring4d
[20:09:28] Error fetching sglienke.spring4d from GIT: Error cloning "Bitbucket" into C:\comp\tms\Temp.repositories\sglienke.spring4d
[20:09:28] Gathering files to be removed...
[20:09:28] Starting removal
[20:09:28] Removing C:\comp\tms\Temp.repositories\pyscripter.python4delphi
[20:09:28] Directory removed: C:\comp\tms\Temp.repositories\pyscripter.python4delphi
[20:09:28] Error fetching pyscripter.python4delphi from GIT: Error cloning "GitHub - pyscripter/python4delphi: Free components that wrap up Python into Delphi and Lazarus (FPC)" into C:\comp\tms\Temp.repositories\pyscripter.python4delphi
[20:09:28] === Repository Summary ===
[20:09:28] - gabr42.omnithread -> FAILED
[20:09:28] - pyscripter.python4delphi -> FAILED
[20:09:28] - sglienke.spring4d -> FAILED
[20:09:28] - taurustls_developers.taurustls -> FAILED
[20:09:28]
[20:09:28]
[20:09:28] Found tms.smartsetup.windows:2.2.0.0 in repository
[20:09:29] Download tasks finished
[20:09:29] Total: 0, Processed: 0
[20:09:29] === Fetch Summary ===
[20:09:29]
[20:09:29] Starting build...
[20:09:29] Configuration file: C:\comp\tms\tms.config.yaml
[20:09:29]
[20:09:29] Analyzing products...
[20:09:29] WARNING: The project "gabr42.omnithread" in the section "included products" was not found. Verify there are no typos.
[20:09:29] WARNING: The project "pyscripter.python4delphi" in the section "included products" was not found. Verify there are no typos.
[20:09:29] WARNING: The project "sglienke.spring4d" in the section "included products" was not found. Verify there are no typos.
[20:09:29] WARNING: The project "taurustls_developers.taurustls" in the section "included products" was not found. Verify there are no typos.
[20:09:29] Ok

You are getting an error when trying to clone the git repositories. Do you have Git correctly installed in the machine? SmartSetup just calls git clone repo (where git.exe must be in your PATH). Does it work if you try to do it from the command line? For example, open cmd.exe and type:

git clone https://github.com/gabr42/OmniThreadLibrary

Does it work? If it doesn't you might need to install (or update) git for windows from Git - Downloading Package (I reccomend using winget which is one of the options on that page)

Works fine. Wagner's lib installs fine. Only one in the community group.

tms components like Wagner's don't use git, they get the components from our server. Git is only needed for community.

In the log you posted all community components seem to fail at the same step (when calling git clone):

Error fetching gabr42.omnithread from GIT: Error cloning...
Error fetching taurustls_developers.taurustls from GIT: Error cloning...
Error fetching sglienke.spring4d from GIT: Error cloning...
Error fetching pyscripter.python4delphi from GIT: Error cloning...

Those messages point to an invalid git. As said, wagner's components shouldn't be a problem since they aren't in github

Ok, used winget to update 64-bit Git from 2.45 to 2.51. still an issue.

Can you please send the logs.zip file as stated in the command-line?

I added the git path in the yaml doc. Removing it and allowing tmsgui to use the git.exe in the path solved the problem.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.