Error when cloning themes

Just tried to clone themes several times and get the following error:

Fetched in submodule path 'hugo_theme_pickles', but it did not contain 3f76f1e1e5c25999eede5d1f505cbfb2e4e509ef. Direct fetching of that commit failed.

Cloning stopped after hugo-zen. Any ideas?

Probably someone doing a “push -f”, which kind of breaks everything …

@digitalcraftsman knows how to fix this …

A push -f is likely. I’ve updated the references to the latest theme commits. Both hugo-zen and the pickles theme point to an existing commit.

Tnx a lot. Now it seems to run to the end but publishes 2 error messages:

fatal: No url found for submodule path 'sublime-hugo-theme/exampleSite/themes/sublime-hugo' in .gitmodules

and at the end of terminal

Failed to recurse into submodule path 'sublime-hugo-theme'

188 objects are downloaded

The sublime-hugo-theme has an exampleSite folder. While it’s correct that this folder mirrors the root directory of a Hugo website it’s not necessary to add a themes folder inside it.

hugoThemes/sublime-hugo-theme/exampleSite/themes/sublime-theme is a symbolic link that points back to hugoThemes. My guess is that this infinite loop causes Git to abort the cloning with an error.

I created an issue with the intention to solve this problem. The activity graph on the maintainer’s Github profile indicates that he/she was inactive in the last time.

With no responsive in the near future I’ll try to dig deeper. The ultima ratio is to remove the theme from the hugoThemes repo.

https://github.com/dt801ts/sublime-hugo-theme/issues/6

Danke für die Erklärung!

Unfortunately it’s still not working. I used

git clone --depth 1 --recursive https://github.com/gohugoio/hugoThemes.git Hugo\ Themes

which produced follwing errors:

fatal: No url found for submodule path 'sublime-hugo-theme/exampleSite/themes/sublime-hugo' in .gitmodules
Failed to recurse into submodule path 'sublime-hugo-theme'

It’s a pitty because I like this possibility a lot. But it seems that not all developers who submit their themes follow the rules. So sorry for bothering you again.

The theme maintainer had enough time to respond to my issue. As a consequence the the theme will be removed from the hugoThemes repository until the issue is resolved.

It would be great if you still experience the same problems.

1 Like

Now it works - thank you!

Great!

I’m sorry but errors again. Cloning stops after hugo-gento-theme. If your time allows it please repair. Tnx for your efforts.

error: Server does not allow request for unadvertised object 019ff82e9cd45a7167e0c73010301a2f4933064b
Fetched in submodule path 'hugo-gentoo-theme', but it did not contain 019ff82e9cd45a7167e0c73010301a2f4933064b. Direct fetching of that commit failed.

Don’t hesitate to inform us. I’ve updated the themes including the hugo-gentoo-theme

1 Like

Again today with following errors:

error: Server does not allow request for unadvertised object 7815f822f7d1d75285022c49311d9b22ad5b4914
Fetched in submodule path 'hugo_theme_pickles', but it did not contain 7815f822f7d1d75285022c49311d9b22ad5b4914. Direct fetching of that commit failed.

And cloning stops there.

Thanks again for dropping a note. The themes have been updated.

Hi, I’ve previously cloned the themes repo and in trying to update I get a similar error:

error: Server does not allow request for unadvertised object 0b43e5ef78ef17a9d68389c26b83e0533142b0e1
Fetched in submodule path 'hugo-split-theme', but it did not contain 0b43e5ef78ef17a9d68389c26b83e0533142b0e1. Direct fetching of that commit failed.

The other themes listed before it updated fine though. Help or advise please?