Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Blog in a workspace context is generating partial not found errors #462

Open
tmpfs opened this issue Feb 8, 2021 · 0 comments
Open

Blog in a workspace context is generating partial not found errors #462

tmpfs opened this issue Feb 8, 2021 · 0 comments
Assignees
Labels
Bug Something isn't working

Comments

@tmpfs
Copy link
Collaborator

tmpfs commented Feb 8, 2021

When I create a blog from the blog blueprint outside of a workspace context it all seems to work ok but in a workspace it is failing:

⚡ test git:(main*) make clean create-workspace
 INFO  uwe > 0.47.3
 INFO  uwe::new > Created website ✓
 INFO  uwe > 0.47.3
 INFO  uwe::new > Created blog ✓
 INFO  uwe > 0.47.3
 INFO  uwe::new > Created docs ✓
 INFO  uwe > 0.47.3
 INFO  workspace::options > mkdir /home/muji/git/uwe/test/target/example.com/website/build/release
 INFO  plugin::install    > Installed std::blueprint::[email protected]
 INFO  plugin::install    > Installed std::[email protected]
 INFO  workspace::project > Use std::blueprint::[email protected]
 INFO  workspace::project > Use std::[email protected]
 INFO  workspace::project > Render en -> /home/muji/git/uwe/test/target/example.com/website/build/release
 INFO  compiler::run      > /home/muji/git/uwe/test/target/example.com/website/site/index.md -> /home/muji/git/uwe/test/target/example.com/website/build/release/index.html
 INFO  compiler::run      > /home/muji/git/uwe/test/target/example.com/website/site/404.md -> /home/muji/git/uwe/test/target/example.com/website/build/release/404.html
 INFO  compiler::run      > /home/muji/git/uwe/test/target/example.com/website/site/assets/styles/main.css -> /home/muji/git/uwe/test/target/example.com/website/build/release/assets/styles/main.css
 INFO  compiler::run      > /home/muji/.uwe/releases/0.47.3/plugins/std::core::5.0.1/styles/standard.css -> /home/muji/git/uwe/test/target/example.com/website/build/release/assets/plugins/std::core/styles/standard.css
 INFO  workspace::renderer > Sitemap https://example.com/sitemap/index.xml (1)
 INFO  config::redirect    > Write 0 redirect(s) to /home/muji/git/uwe/test/target/example.com/website/build/release
 INFO  workspace::project  > Robots /home/muji/git/uwe/test/target/example.com/website/build/release/robots.txt
 INFO  workspace::options  > mkdir /home/muji/git/uwe/test/target/example.com/blog/build/release
 INFO  plugin::install     > Installed std::blueprint::[email protected]
 INFO  plugin::install     > Installed std::[email protected]
 INFO  workspace::project  > Use std::blueprint::[email protected]
 INFO  workspace::project  > Use std::[email protected]
 INFO  workspace::project  > Render en -> /home/muji/git/uwe/test/target/example.com/blog/build/release
 INFO  compiler::run       > /home/muji/git/uwe/test/target/example.com/blog/site/assets/styles/main.css -> /home/muji/git/uwe/test/target/example.com/blog/build/release/assets/styles/main.css
 INFO  compiler::run       > /home/muji/git/uwe/test/target/example.com/blog/site/posts/index.md -> /home/muji/git/uwe/test/target/example.com/blog/build/release/posts/index.html
 INFO  compiler::run       > /home/muji/git/uwe/test/target/example.com/blog/site/tags/index.md -> /home/muji/git/uwe/test/target/example.com/blog/build/release/tags/index.html
 ERROR compiler::compile   > Partial 'list' not found
 ERROR uwe::opts           > panicked at 'Build failed', /home/muji/git/uwe/app/components/compiler/src/compile.rs:55:29
 INFO  compiler::run       > /home/muji/git/uwe/test/target/example.com/blog/site/posts/authors.md -> /home/muji/git/uwe/test/target/example.com/blog/build/release/posts/authors/index.html
 INFO  compiler::run       > /home/muji/git/uwe/test/target/example.com/blog/site/posts/creating-posts.md -> /home/muji/git/uwe/test/target/example.com/blog/build/release/posts/creating-posts/index.html
 INFO  compiler::run       > /home/muji/git/uwe/test/target/example.com/blog/site/index.md -> /home/muji/git/uwe/test/target/example.com/blog/build/release/index.html
 ERROR compiler::compile   > Partial 'words' not found
 ERROR compiler::compile   > Partial 'words' not found
 ERROR uwe::opts           > panicked at 'Build failed', /home/muji/git/uwe/app/components/compiler/src/compile.rs:55:29
 ERROR uwe::opts           > panicked at 'Build failed', /home/muji/git/uwe/app/components/compiler/src/compile.rs:55:29
 ERROR compiler::compile   > Partial 'list' not found
 ERROR uwe::opts           > panicked at 'Build failed', /home/muji/git/uwe/app/components/compiler/src/compile.rs:55:29
 INFO  compiler::run       > /home/muji/git/uwe/test/target/example.com/blog/site/tags/item.md -> /home/muji/git/uwe/test/target/example.com/blog/build/release/tags/item/index.html
 INFO  compiler::run       > /home/muji/git/uwe/test/target/example.com/blog/site/404.md -> /home/muji/git/uwe/test/target/example.com/blog/build/release/404.html
 INFO  compiler::run       > /home/muji/.uwe/releases/0.47.3/plugins/std::core::5.0.1/styles/standard.css -> /home/muji/git/uwe/test/target/example.com/blog/build/release/assets/plugins/std::core/styles/standard.css
 ERROR compiler::compile   > Variable 'result.key.name' not found in /home/muji/git/uwe/test/target/example.com/blog/site/tags/item.md, check the variable path and verify the template data
 ERROR uwe::opts           > panicked at 'Build failed', /home/muji/git/uwe/app/components/compiler/src/compile.rs:55:29
Makefile:45: recipe for target 'create-workspace' failed
make: *** [create-workspace] Error 101
@tmpfs tmpfs self-assigned this Feb 8, 2021
@tmpfs tmpfs added the Bug Something isn't working label Feb 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant