Southclaws / sampctl

The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer.
GNU General Public License v3.0
241 stars 33 forks source link

Failed to clone the repo #434

Closed Pa4enka closed 3 years ago

Pa4enka commented 3 years ago
> sampctl p build
ERROR: failed to interpret directory as Pawn package: failed to ensure dependencies are cached: Failed to clone the repo

What am I doing wrong? After update.

Southclaws commented 3 years ago

Delete your cache directory. Details: https://github.com/Southclaws/sampctl/wiki/Cache

Pa4enka commented 3 years ago

Thank you very much! How can I get rid of dependency checking when sampctl p build?

UPD: with this I meet at every run.

WARN: failed to ensure plugin github.com/Zeex/samp-plugin-crashdetect:v4.19.4 no files extracted from plugin github.com/Zeex/samp-plugin-crashdetect:v4.19.4: check the package definition of this dependency against the release assets
WARN: failed to ensure plugin github.com/maddinat0r/sscanf:v2.8.3 no files extracted from plugin github.com/maddinat0r/sscanf:v2.8.3: check the package definition of this dependency against the release assets
WARN: failed to ensure plugin github.com/samp-incognito/samp-streamer-plugin:v2.9.4 no files extracted from plugin github.com/samp-incognito/samp-streamer-plugin:v2.9.4: check the package definition of this dependency against the release assets
WARN: failed to ensure plugin github.com/katursis/Pawn.CMD:3.3.3 no files extracted from plugin github.com/katursis/Pawn.CMD:3.3.3: check the package definition of this dependency against the release assets
WARN: failed to ensure plugin github.com/pBlueG/SA-MP-MySQL:R41-4 no files extracted from plugin github.com/pBlueG/SA-MP-MySQL:R41-4: check the package definition of this dependency against the release assets

Thanks again for the quick response))

ADRFranklin commented 3 years ago

Delete both your cache and your dependency folder and allow for it to do a fresh pull of everything. The only reason this would happen is if it downloaded an empty archive or a corrupt file. Every single one of those repos requires downloading a plugin of which is either in an archive or a single file.

Pa4enka commented 3 years ago

Oh, it really works. Thanks. The problem has been resolved.

p.s: terminal vs code doesn't want to define the Cyrillic in the print func. I'm disappointed :(

davidranich commented 3 years ago

@ADRFranklin @Southclaws What if there's no cache folder? I checked the ~/.samp and there's no such directory anywhere I can find. I'm having the issue above as well. Any idea?

Southclaws commented 3 years ago

Post --verbose output, there can be a number of causes