PacktPublishing / The-Modern-Vulkan-Cookbook

The Modern Vulkan Cookbook published by Packt
MIT License
87 stars 7 forks source link

Failied to clone the project due to `This repository is over its data quota` #12

Closed jsjtxietian closed 2 months ago

jsjtxietian commented 2 months ago

Hi thanks for the great work. When I clone the repo, the following error message appeared:

Seems different from https://github.com/PacktPublishing/The-Modern-Vulkan-Cookbook/issues/6

git clone https://github.com/PacktPublishing/The-Modern-Vulkan-Cookbook.git
Cloning into 'The-Modern-Vulkan-Cookbook'...
remote: Enumerating objects: 1604, done.
remote: Counting objects: 100% (99/99), done.
remote: Compressing objects: 100% (78/78), done.
remote: Total 1604 (delta 35), reused 53 (delta 15), pack-reused 1505 (from 1)Receiving objects:  99% (1588/1604), 54.37 MiB | 1.81 MiBReceiving objects: 100% (1604/1604), 55.73 MiB | 2.19 MiB/s, done.
Resolving deltas: 100% (265/265), done.
Updating files: 100% (1290/1290), done.
Downloading source/common/resources/assets/Bistro.glb (259 MB)
Error downloading object: source/common/resources/assets/Bistro.glb (5cc23d5): Smudge error: Error downloading source/common/resources/assets/Bistro.glb (5cc23d52b95fa1ba8b585d998185904becf8bcaa8f424fd74cf6950addb63deb): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

The log :

$ git-lfs.exe filter-process
Error downloading object: source/common/resources/assets/Bistro.glb (5cc23d5): Smudge error: Error downloading source/common/resources/assets/Bistro.glb (5cc23d52b95fa1ba8b585d998185904becf8bcaa8f424fd74cf6950addb63deb): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
batch response
github.com/git-lfs/git-lfs/v3/errors.newWrappedError
    github.com/git-lfs/git-lfs/v3/errors/types.go:229
github.com/git-lfs/git-lfs/v3/errors.Wrap
    github.com/git-lfs/git-lfs/v3/errors/errors.go:74
github.com/git-lfs/git-lfs/v3/tq.(*tqClient).Batch
    github.com/git-lfs/git-lfs/v3/tq/api.go:95
github.com/git-lfs/git-lfs/v3/tq.Batch
    github.com/git-lfs/git-lfs/v3/tq/api.go:43
github.com/git-lfs/git-lfs/v3/tq.(*TransferQueue).enqueueAndCollectRetriesFor
    github.com/git-lfs/git-lfs/v3/tq/transfer_queue.go:559
github.com/git-lfs/git-lfs/v3/tq.(*TransferQueue).collectBatches.func1
    github.com/git-lfs/git-lfs/v3/tq/transfer_queue.go:453
runtime.goexit
    runtime/asm_amd64.s:1571
Error downloading source/common/resources/assets/Bistro.glb (5cc23d52b95fa1ba8b585d998185904becf8bcaa8f424fd74cf6950addb63deb)
github.com/git-lfs/git-lfs/v3/errors.newWrappedError
    github.com/git-lfs/git-lfs/v3/errors/types.go:229
github.com/git-lfs/git-lfs/v3/errors.Wrapf
    github.com/git-lfs/git-lfs/v3/errors/errors.go:85
github.com/git-lfs/git-lfs/v3/lfs.(*GitFilter).downloadFile
    github.com/git-lfs/git-lfs/v3/lfs/gitfilter_smudge.go:120
github.com/git-lfs/git-lfs/v3/lfs.(*GitFilter).Smudge
    github.com/git-lfs/git-lfs/v3/lfs/gitfilter_smudge.go:79
github.com/git-lfs/git-lfs/v3/commands.smudge
    github.com/git-lfs/git-lfs/v3/commands/command_smudge.go:128
github.com/git-lfs/git-lfs/v3/commands.filterCommand
    github.com/git-lfs/git-lfs/v3/commands/command_filter_process.go:123
github.com/spf13/cobra.(*Command).execute
    github.com/spf13/cobra@v0.0.3/command.go:766
github.com/spf13/cobra.(*Command).ExecuteC
    github.com/spf13/cobra@v0.0.3/command.go:852
github.com/spf13/cobra.(*Command).Execute
    github.com/spf13/cobra@v0.0.3/command.go:800
github.com/git-lfs/git-lfs/v3/commands.Run
    github.com/git-lfs/git-lfs/v3/commands/run.go:107
main.main
    github.com/git-lfs/git-lfs/v3/git-lfs.go:34
runtime.main
    runtime/proc.go:250
runtime.goexit
    runtime/asm_amd64.s:1571
Smudge error
github.com/git-lfs/git-lfs/v3/errors.newWrappedError
    github.com/git-lfs/git-lfs/v3/errors/types.go:229
github.com/git-lfs/git-lfs/v3/errors.NewSmudgeError
    github.com/git-lfs/git-lfs/v3/errors/types.go:315
github.com/git-lfs/git-lfs/v3/lfs.(*GitFilter).Smudge
    github.com/git-lfs/git-lfs/v3/lfs/gitfilter_smudge.go:88
github.com/git-lfs/git-lfs/v3/commands.smudge
    github.com/git-lfs/git-lfs/v3/commands/command_smudge.go:128
github.com/git-lfs/git-lfs/v3/commands.filterCommand
    github.com/git-lfs/git-lfs/v3/commands/command_filter_process.go:123
github.com/spf13/cobra.(*Command).execute
    github.com/spf13/cobra@v0.0.3/command.go:766
github.com/spf13/cobra.(*Command).ExecuteC
    github.com/spf13/cobra@v0.0.3/command.go:852
github.com/spf13/cobra.(*Command).Execute
    github.com/spf13/cobra@v0.0.3/command.go:800
github.com/git-lfs/git-lfs/v3/commands.Run
    github.com/git-lfs/git-lfs/v3/commands/run.go:107
main.main
    github.com/git-lfs/git-lfs/v3/git-lfs.go:34
runtime.main
    runtime/proc.go:250
runtime.goexit
    runtime/asm_amd64.s:1571
jsjtxietian commented 2 months ago

Also I got this error when build:

LNK2019 unresolved external symbol "bool __cdecl glslang::InitThread(void)" (?InitThread@glslang@@YA_NXZ) referenced in function ShConstructCompiler    Chapter01_Triangle  The-Modern-Vulkan-Cookbook\build\source\chapter1\MachineIndependentd.lib(ShaderLang.obj)
LNK2019 unresolved external symbol "bool __cdecl glslang::InitProcess(void)" (?InitProcess@glslang@@YA_NXZ) referenced in function ShInitialize Chapter01_Triangle  The-Modern-Vulkan-Cookbook\build\source\chapter1\MachineIndependentd.lib(ShaderLang.obj)

I'm using vs2022 and vulkan sdk 1.3.239.0

preetishkakkar commented 2 months ago

For cloning below should help

preetishkakkar commented 2 months ago

Can you use the latest version of the SDK, we tested with Vulkan SDK 1.3.268.0 which is preferred, 1.3.239.0 may be too old.

jsjtxietian commented 2 months ago

Thanks, it compiles now !

we tested with Vulkan SDK 1.3.268.0 which is preferred, 1.3.239.0 may be too old.

It is indeed modern vulkan, I really appreciate it !