I have seen that error on my own system Ubuntu 14.04 & Python 3.4.2
(installed from source), but didn't investigate the cause. I just installed
Python 3.4.3, however, and don't have the problem there. Now I've
reinstalled 3.4.2 and the error is resolved there as well.
On Thursday, March 5, 2015 at 2:29:36 PM UTC-5, Asif Saifuddin wrote:
>
> Hi,
>
> running django test suite under python 3.4.3 on my ubuntu 14.10 produce
> the below output
>
> ERROR: test_extract_function (utils_tests.test_archive.TestBzip2Tar)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/home/asif/foss/django/tests/utils_tests/test_archive.py", line
> 42, in test_extract_function
> extract(self.archive_path, self.tmpdir)
> File
> "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/site-packages/Django-1.9.dev20150303124612-py3.4.egg/django/utils/archive.py",
>
> line 49, in extract
> with Archive(path) as archive:
> File
> "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/site-packages/Django-1.9.dev20150303124612-py3.4.egg/django/utils/archive.py",
>
> line 58, in __init__
> self._archive = self._archive_cls(file)(file)
> File
> "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/site-packages/Django-1.9.dev20150303124612-py3.4.egg/django/utils/archive.py",
>
> line 138, in __init__
> self._archive = tarfile.open(file)
> File "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/tarfile.py", line
> 1553, in open
> raise ReadError("file could not be opened successfully")
> tarfile.ReadError: file could not be opened successfully
>
> ======================================================================
> ERROR: test_extract_function_no_to_path
> (utils_tests.test_archive.TestBzip2Tar)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/home/asif/foss/django/tests/utils_tests/test_archive.py", line
> 51, in test_extract_function_no_to_path
> extract(self.archive_path)
> File
> "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/site-packages/Django-1.9.dev20150303124612-py3.4.egg/django/utils/archive.py",
>
> line 49, in extract
> with Archive(path) as archive:
> File
> "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/site-packages/Django-1.9.dev20150303124612-py3.4.egg/django/utils/archive.py",
>
> line 58, in __init__
> self._archive = self._archive_cls(file)(file)
> File
> "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/site-packages/Django-1.9.dev20150303124612-py3.4.egg/django/utils/archive.py",
>
> line 138, in __init__
> self._archive = tarfile.open(file)
> File "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/tarfile.py", line
> 1553, in open
> raise ReadError("file could not be opened successfully")
> tarfile.ReadError: file could not be opened successfully
>
> ======================================================================
> ERROR: test_extract_function_with_leadpath
> (utils_tests.test_archive.TestBzip2Tar)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/home/asif/foss/django/tests/utils_tests/test_archive.py", line
> 46, in test_extract_function_with_leadpath
> extract(self.archive_lead_path, self.tmpdir)
> File
> "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/site-packages/Django-1.9.dev20150303124612-py3.4.egg/django/utils/archive.py",
>
> line 49, in extract
> with Archive(path) as archive:
> File
> "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/site-packages/Django-1.9.dev20150303124612-py3.4.egg/django/utils/archive.py",
>
> line 58, in __init__
> self._archive = self._archive_cls(file)(file)
> File
> "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/site-packages/Django-1.9.dev20150303124612-py3.4.egg/django/utils/archive.py",
>
> line 138, in __init__
> self._archive = tarfile.open(file)
> File "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/tarfile.py", line
> 1553, in open
> raise ReadError("file could not be opened successfully")
> tarfile.ReadError: file could not be opened successfully
>
> ======================================================================
> ERROR: test_extract_method (utils_tests.test_archive.TestBzip2Tar)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/home/asif/foss/django/tests/utils_tests/test_archive.py", line
> 31, in test_extract_method
> with Archive(self.archive) as archive:
> File
> "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/site-packages/Django-1.9.dev20150303124612-py3.4.egg/django/utils/archive.py",
>
> line 58, in __init__
> self._archive = self._archive_cls(file)(file)
> File
> "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/site-packages/Django-1.9.dev20150303124612-py3.4.egg/django/utils/archive.py",
>
> line 138, in __init__
> self._archive = tarfile.open(file)
> File "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/tarfile.py", line
> 1553, in open
> raise ReadError("file could not be opened successfully")
> tarfile.ReadError: file could not be opened successfully
>
> ======================================================================
> ERROR: test_extract_method_no_to_path
> (utils_tests.test_archive.TestBzip2Tar)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/home/asif/foss/django/tests/utils_tests/test_archive.py", line
> 37, in test_extract_method_no_to_path
> with Archive(self.archive_path) as archive:
> File
> "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/site-packages/Django-1.9.dev20150303124612-py3.4.egg/django/utils/archive.py",
>
> line 58, in __init__
> self._archive = self._archive_cls(file)(file)
> File
> "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/site-packages/Django-1.9.dev20150303124612-py3.4.egg/django/utils/archive.py",
>
> line 138, in __init__
> self._archive = tarfile.open(file)
> File "/home/asif/.pyenv/versions/3.4.3/lib/python3.4/tarfile.py", line
> 1553, in open
> raise ReadError("file could not be opened successfully")
> tarfile.ReadError: file could not be opened successfully
>
> ----------------------------------------------------------------------
> Ran 9087 tests in 214.033s
>
> FAILED (errors=5, skipped=535, expected failures=7)
> Destroying test database for alias 'default'...
> Destroying test database for alias 'other'...
>
>
> before that python 3.4.3 was installed under pyenv without bztar2 or
> something like that and gnu readline
>
>
> I was preparing to work on some old tickets actually. Although not sure
> its the right place to post this issue.
>
>
> regards
>
> On Tuesday, January 27, 2015 at 11:15:20 PM UTC+6, Asif Saifuddin wrote:
>>
>> Hi,
>>
>> Although probably It's quite very early to ask about GSOC 2015 in
>> January, I would like to start analyzing to prepare myself for choosing a
>> correct project and submitting a good proposal for that to get selected. I
>> haven't found any GSOC 2015 project ideas pages yet. But got some older
>> idea pages of year 2013 and 2014. Should I look forward to the ideas that
>> were unimplemented or wait for gsoc 2015 wiki ideas page?
>>
>> ./auvipy
>>
>
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/cbcd7c47-efaf-4ec6-a2d5-75f73d60f3a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.