GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.08k stars 407 forks source link

[Bug]: rmdir not permitted on Windows #1182

Open lolo77 opened 1 year ago

lolo77 commented 1 year ago

Operating system

Windows 10

Publii version

0.41.1 build 15919

Post editor

None

Bug description

Message : " Rendering process failed An error occurred during rendering process:

EPERM: operation not permitted, rmdir 'D:\Documents\GoogleDrive\Projets\PubliiSites\top-secret\preview\media\authors' "

This happens since I edited the author info. I granted full control of every windows users on the "top-secret" directory and all its subdirs. The issue is still there.

Thank you in advance !

Steps to reproduce

Edit the author page. Preview the author page --> this works. Preview the whole site (from the left menu) --> from now on, the preview rendering process gets stuck in a "rmdir" step.

Relevant log output

All the error logs are empty !
dziudek commented 1 year ago

Hi,

Please check if making preview catalog empty helps in your case

lolo77 commented 1 year ago

Hello, Thank you for your answer. I had to delete many files and folders (preview folder and some media auto-generated files into the output folder) to preview successfully for once. I had to redelete each time I wanted to preview and/or Sync. Now that I have completely reinstalled Publii (0.42.1 - build 16233) after a harddrive reformat, it works again.