#21162: regression: admin_scripts.tests.StartProject test fails on Windows using
sqlite
--------------------------------------------+--------------------
     Reporter:  manfre                      |      Owner:  nobody
         Type:  Bug                         |     Status:  new
    Component:  Core (Management commands)  |    Version:  master
     Severity:  Release blocker             |   Keywords:
 Triage Stage:  Unreviewed                  |  Has patch:  0
Easy pickings:  0                           |      UI/UX:  0
--------------------------------------------+--------------------
 Regression added with changeset e909ceae9b3e72b72e0a2baaa92bba9714f18cd2.

 {{{

 python tests\runtests.py --settings=test_sqlite
 
admin_scripts.tests.StartProject.test_custom_project_template_from_tarball_by_url


 ======================================================================
 FAIL: test_custom_project_template_from_tarball_by_url
 (admin_scripts.tests.StartProject)
 Make sure the startproject management command is able to use a different
 project template from a tarball via a url
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\projects\django\django\tests\admin_scripts\tests.py", line
 1605, in test_custom_project_template_from_tarball_by_url
     self.assertNoOutput(err)
   File "C:\projects\django\django\tests\admin_scripts\tests.py", line 182,
 in assertNoOutput
     self.assertEqual(len(stream), 0, "Stream should be empty: actually
 contains '%s'" % stream)
 AssertionError: Stream should be empty: actually contains 'Traceback (most
 recent call last):
   File "C:\projects\django\django\django\bin\django-admin.py", line 5, in
 <module>
     management.execute_from_command_line()
   File "C:\projects\django\django\django\core\management\__init__.py",
 line 397, in execute_from_command_line
     utility.execute()
   File "C:\projects\django\django\django\core\management\__init__.py",
 line 390, in execute
     self.fetch_command(subcommand).run_from_argv(self.argv)
   File "C:\projects\django\django\django\core\management\base.py", line
 242, in run_from_argv
     self.execute(*args, **options.__dict__)
   File "C:\projects\django\django\django\core\management\base.py", line
 289, in execute
     output = self.handle(*args, **options)
   File
 "C:\projects\django\django\django\core\management\commands\startproject.py",
 line 31, in handle
     super(Command, self).handle('project', project_name, target,
 **options)
   File "C:\projects\django\django\django\core\management\templates.py",
 line 125, in handle
     base_subdir)
   File "C:\projects\django\django\django\core\management\templates.py",
 line 208, in handle_template
     return self.extract(absolute_path)
   File "C:\projects\django\django\django\core\management\templates.py",
 line 302, in extract
     archive.extract(filename, tempdir)
   File "C:\projects\django\django\django\utils\archive.py", line 49, in
 extract
     with Archive(path) as archive:
   File "C:\projects\django\django\django\utils\archive.py", line 58, in
 __init__
     self._archive = self._archive_cls(file)(file)
   File "C:\projects\django\django\django\utils\archive.py", line 138, in
 __init__
     self._archive = tarfile.open(file)
   File "C:\Python27\Lib\tarfile.py", line 1665, in open
     raise ReadError("file could not be opened successfully")
 tarfile.ReadError: file could not be opened successfully
 '
 }}}

 {{{
 e909ceae9b3e72b72e0a2baaa92bba9714f18cd2 is the first bad commit
 commit e909ceae9b3e72b72e0a2baaa92bba9714f18cd2
 Author: Ramiro Morales <cra...@gmail.com>
 Date:   Sat Jun 1 14:24:46 2013 -0300

     Made django.test.testcases not depend on staticfiles contrib app.

     Do this by introducing a
 django.contrib.staticfiles.testing.StaticLiveServerCase
     unittest TestCase subclass.

     Fixes #20739.

 :040000 040000 3602788911b0c9f9d6c95805b321968cfed98571
 11b64417027fd4776f0123e3c0022d4155aea4b9 M      django
 :040000 040000 0699494f0516bb71df49f1d88ab3b3a096ddd33c
 3e238009f30bc5223ac6711c560f041af8949fa7 M      docs
 :040000 040000 47ae44d2101b694c1d570fa29a483de2e43cdd54
 c341edbef9d7c04bbf5760cf4a652152eba62e59 M      tests
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21162>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.c1b65379a64c4bb4ca7da8f9b3ca1d9c%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to