Skip to content

cache:clear breaks with error: Warning: rmdir(...): Directory not empty in ... #2600

Closed
@stollr

Description

@stollr

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions