{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/2600","labels_url":"https://api.github.com/repos/symfony/symfony/issues/2600/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/2600/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/2600/events","html_url":"https://github.com/symfony/symfony/issues/2600","id":2196779,"number":2600,"title":"cache:clear breaks with error: Warning: rmdir(...): Directory not empty in ...","user":{"login":"naitsirch","id":1118790,"avatar_url":"https://avatars.githubusercontent.com/u/1118790?v=3","gravatar_id":"","url":"https://api.github.com/users/naitsirch","html_url":"https://github.com/naitsirch","followers_url":"https://api.github.com/users/naitsirch/followers","following_url":"https://api.github.com/users/naitsirch/following{/other_user}","gists_url":"https://api.github.com/users/naitsirch/gists{/gist_id}","starred_url":"https://api.github.com/users/naitsirch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naitsirch/subscriptions","organizations_url":"https://api.github.com/users/naitsirch/orgs","repos_url":"https://api.github.com/users/naitsirch/repos","events_url":"https://api.github.com/users/naitsirch/events{/privacy}","received_events_url":"https://api.github.com/users/naitsirch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Console","name":"Console","color":"DDDDDD"},{"url":"https://api.github.com/repos/symfony/symfony/labels/FrameworkBundle","name":"FrameworkBundle","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2011-11-10T11:00:30Z","updated_at":"2015-12-17T14:04:17Z","closed_at":"2011-12-22T11:14:34Z","body":"Hi,\r\nI am running Symfony 2.0.5 on Windows 7 with PHP version 5.3.8.\r\nWhen I am calling cache:clear on the console tool, I get this error sometimes (I do not know why):\r\n\r\n> C:\\projects\\cnc_agency\\trunk>php app\\console cache:clear\r\n> Clearing the cache for the dev environment with debug true\r\n> \r\n>  [ErrorException]\r\n>  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\r\n> \r\n> cache:clear [--no-warmup]\r\n\r\nWhen I remove the cache dir, it works again. But this is annoying a little bit."},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/165460422","html_url":"https://github.com/symfony/symfony/issues/2600#issuecomment-165460422","issue_url":"https://api.github.com/repos/symfony/symfony/issues/2600","id":165460422,"user":{"login":"xrstf","id":127499,"avatar_url":"https://avatars.githubusercontent.com/u/127499?v=3","gravatar_id":"","url":"https://api.github.com/users/xrstf","html_url":"https://github.com/xrstf","followers_url":"https://api.github.com/users/xrstf/followers","following_url":"https://api.github.com/users/xrstf/following{/other_user}","gists_url":"https://api.github.com/users/xrstf/gists{/gist_id}","starred_url":"https://api.github.com/users/xrstf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xrstf/subscriptions","organizations_url":"https://api.github.com/users/xrstf/orgs","repos_url":"https://api.github.com/users/xrstf/repos","events_url":"https://api.github.com/users/xrstf/events{/privacy}","received_events_url":"https://api.github.com/users/xrstf/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T14:04:17Z","updated_at":"2015-12-17T14:04:17Z","body":"Thanks, I will give it a shot."}}