symfony/symfony — Issue #2600: cache:clear breaks with error: Warning: rmdir(...): Directory not empty in ...
Author: naitsirch
Created: 2011-11-10 11:00:30+00:00
State: open

Hi,
I am running Symfony 2.0.5 on Windows 7 with PHP version 5.3.8.
When I am calling cache:clear on the console tool, I get this error sometimes (I do not know why):

> C:\projects\cnc_agency\trunk>php app\console cache:clear
> Clearing the cache for the dev environment with debug true
>
> [ErrorException]
> Warning: rmdir(C:\projects\cnc_agency\trunk\app/cache/dev_old\twig\f8): Directory not empty in C:\projects\cnc_agency\trunk\vendor\symfony\src\Symfony\Component\HttpKernel\Util\Filesystem.php line 98
>
> cache:clear [--no-warmup]

When I remove the cache dir, it works again. But this is annoying a little bit.