You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See title. I agree, it's a corner case, but it should not happen anyway.
Steps to reproduce
Create a new site
Configure server
Enable 'Use pretty URLs'
Set a posts prefix, e.g., 'posts' or 'blog'
Do not create a post
Click 'Sync your website'
Receive 1st error message (see 'Relevant log output')
Click 'Preparation error'
Select 'Cancel'
Receive 2nd error message:
Relevant log output
Rendering process failed
An error occurred during rendering process:
ENOENT: no such file or directory, scandir '/home/robert/Dokumente/Publii/sites/test/output/posts'
Error: ENOENT: no such file or directory, scandir '/home/robert/Dokumente/Publii/sites/test/output/posts'
at Object.readdirSync (node:fs:1506:26)
at t.readdirSync (node:electron/js2c/node_init:2:13703)
at Sitemap.getFilesList (/tmp/.mount_Publii2YVWMN/resources/app.asar/back-end/modules/render-html/helpers/sitemap.js:220:24)
at Sitemap.create (/tmp/.mount_Publii2YVWMN/resources/app.asar/back-end/modules/render-html/helpers/sitemap.js:49:20)
at Renderer.generateSitemap (/tmp/.mount_Publii2YVWMN/resources/app.asar/back-end/modules/render-html/renderer.js:2047:32)
at Renderer.generateWWW (/tmp/.mount_Publii2YVWMN/resources/app.asar/back-end/modules/render-html/renderer.js:277:24)
at async Renderer.renderFullPreview (/tmp/.mount_Publii2YVWMN/resources/app.asar/back-end/modules/render-html/renderer.js:193:9)
at async Renderer.renderSite (/tmp/.mount_Publii2YVWMN/resources/app.asar/back-end/modules/render-html/renderer.js:174:17)
at async Renderer.render (/tmp/.mount_Publii2YVWMN/resources/app.asar/back-end/modules/render-html/renderer.js:119:13)
at async process. (/tmp/.mount_Publii2YVWMN/resources/app.asar/back-end/workers/renderer/preview.js:17:22)
The text was updated successfully, but these errors were encountered:
Operating system
Linux Mint 22 MATE
Publii version
0.46.2 (build 16966)
Post editor
None
Bug description
See title. I agree, it's a corner case, but it should not happen anyway.
Steps to reproduce
Relevant log output
The text was updated successfully, but these errors were encountered: