1) Generally "not a valid archive" means the file was corrupted during the
download/copy or the download/copy did not complete. If you used ftp to copy
the file and the file mode settings was ASCII (not binary) then you can have a
corrupt file (because CR 0x0D gets converted to CRLF 0x0D0A). If that is the
case then download it again. You can confirm it was corrupt if you keep the 1st
version of your archive and compare it with the 2nd one (using DOS/Windows file
compare command: comp file1 file2
2) You can see if Python's gzip likes your archive (from Python help):
import gzip
f = gzip.open('/home/joe/file.txt.gz', 'rb')
file_content = f.read()
f.close()
3) If it is a 64 bit/Windows 7 issue then:
Have you tried changing your 7z's compatibility settings to run it in an older
mode? In explorer: Right-click on exe file -> properties -> compatibility ->
"Run this program in compatibility mode for" and then choose Windows XP
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Magge
Sent: 26 January 2011 19:24
To: Django users
Subject: Challenge with installing django on windows 7 64 bit
Hi,
I am trying to extract the installation files from the
Django-1.2.4.tar.gz file that I got from the django website. I tried
using winzip, 7z, cygwin and so forth. All these programs complain
that the file isnt a valid archive.
I used to work with django back in 2009 on Window. The installation
used to be off the extract of a zip file I remember. How do I get
going with the installation?
I appreciate any inputs on this
Thanks
Keshav Magge
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.