{{{
======================================================================
ERROR: test_form_refresh
(django.contrib.formtools.tests.wizard.wizardtests.tests.CookieWizardTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\projects\django\django\django\contrib\formtools\tests\wizard\wizardtests\tests.py",
line 49, in tearDown
temp_storage.delete(file)
File "C:\projects\django\django\django\core\files\storage.py", line 262,
in delete
os.remove(name)
WindowsError: [Error 32] The process cannot access the file because it is
being used by another process:
u'c:\\users\\manfre\\appdata\\local\\temp\\django_sqv5du\\tmpruqopl\\tests.py'
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22772>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Bisect:
fa8b4735287c92b03d23823de8a4e1168d1951d9 is the first bad commit
commit fa8b4735287c92b03d23823de8a4e1168d1951d9
Author: Simon Charette <chare...@gmail.com>
Date: Fri Mar 21 03:38:25 2014 -0400
Fixed #22299 -- Cleanup wizard temp files when possible.
Thanks to @erikr for the review.
:040000 040000 de97d643027f86341b993b19cf2b1896112a9ad5
c488ebce1872f6fe8d51ec97e724d30e569c7ed0 M django
:040000 040000 232d71b4aad76a1a62b7e93015ac0863769a04e4
bf1b2199bdd62a95f0666219607ce2a2a8a8a96f M docs
--
Ticket URL: <https://code.djangoproject.com/ticket/22772#comment:1>
* type: Uncategorized => Bug
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/22772#comment:2>
* status: new => assigned
* owner: nobody => charettes
--
Ticket URL: <https://code.djangoproject.com/ticket/22772#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"e2112edd9ac6a5f1877a62dd1c88d2d1726350de"]:
{{{
#!CommitTicketReference repository=""
revision="e2112edd9ac6a5f1877a62dd1c88d2d1726350de"
Fixed #22772 -- Defer wizard temporary files deletion.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22772#comment:4>
Comment (by charettes):
While working on my Windows VM I accidently pushed this commit in Django
master instead of my feature branch at charettes/django...
Could you give it a try while it's there? It fixed the "The process cannot
access the file because it is being used by another process" error for me.
I might have to just revert this commit.
--
Ticket URL: <https://code.djangoproject.com/ticket/22772#comment:5>
Comment (by manfre):
Tests no longer fail with the provided commit.
--
Ticket URL: <https://code.djangoproject.com/ticket/22772#comment:6>
Comment (by charettes):
Well at this point if another core developer could review
e2112edd9ac6a5f1877a62dd1c88d2d1726350de I would just backport it to 1.7.x
if everything is ok.
--
Ticket URL: <https://code.djangoproject.com/ticket/22772#comment:7>
Comment (by Simon Charette <charette.s@…>):
In [changeset:"2b13576c8f48bde808f58621ff26e5b1ab3ed4c1"]:
{{{
#!CommitTicketReference repository=""
revision="2b13576c8f48bde808f58621ff26e5b1ab3ed4c1"
[1.7.x] Fixed #22772 -- Defer wizard temporary files deletion.
Backport of e2112edd9a from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22772#comment:8>
Comment (by charettes):
Backported to 1.7.x following
[https://github.com/django/django/commit/e2112edd9ac6a5f1877a62dd1c88d2d1726350de#commitcomment-6592575
@timgraham's review].
--
Ticket URL: <https://code.djangoproject.com/ticket/22772#comment:9>