uwe-app / app

Universal web editor
https://uwe.app
0 stars 0 forks source link

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

Open tmpfs opened 3 years ago

tmpfs commented 3 years ago

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::default@1.1.2
 INFO  plugin::install    > Installed std::core@5.0.1
 INFO  workspace::project > Use std::blueprint::default@1.1.2
 INFO  workspace::project > Use std::core@5.0.1
 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::default@1.1.2
 INFO  plugin::install     > Installed std::core@5.0.1
 INFO  workspace::project  > Use std::blueprint::default@1.1.2
 INFO  workspace::project  > Use std::core@5.0.1
 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