grow / grow.dev

Grow's homepage and documentation site.
https://grow.io
85 stars 36 forks source link

0.6.5 grow. DocumentDoesNotExistError locale vs pod_path #58

Closed radiopapus closed 4 years ago

radiopapus commented 5 years ago

I have upgraded to 0.6.5 and got DocumentDoesNotExistError. I have 2 lang site. So my ru version content is in /content/posts/ru/content@ru.md and en version in /content/posts/en/content@en.md and almost all is ok before. Sorry but I don't remember my previous version.

Anyway I do grow run on 0.6.5 and get DocumentDoesNotExistError: Referenced document does not exist: path to file. File exists. So I go to pods.py line 565 and add print locale and pod_path and see that locale = ru but pod_path is a path to en file. I # if not doc.exists condition at all and build works fine.

To reproduce you can use my repo https://github.com/ViktorZharina/static-blog-based-on-grow

Thanks

Zoramite commented 5 years ago

Does the latest version of grow work for your site? We changed the behavior a bit for the missing docs in 0.7.0