Re: Django 1.4.4 and contrib/sessions/management/__init__.pyc

2013-02-20 Thread Carl Meyer
We've just released 1.3.7 and 1.4.5 to correct this packaging problem:

https://www.djangoproject.com/weblog/2013/feb/20/updated-releases-issued/

Thanks for reporting it!

Carl

On 02/19/2013 08:12 PM, Nick Popoff wrote:
> I downloaded Django 1.4.4 this evening and after switching to it started
> getting the following error on my CentOS 6.3 / Python 2.6 based system:
> 
> ImportError: Bad magic number in
> /usr/lib/python2.6/site-packages/django/contrib/sessions/management/__init__.pyc

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Django 1.4.4 and contrib/sessions/management/__init__.pyc

2013-02-19 Thread Karen Tracey
On Tue, Feb 19, 2013 at 10:12 PM, Nick Popoff  wrote:

> In the case of ./contrib/sessions/management/__init__.pyc an __init__.py
> is not provided.
>
> Is it possible compiled 2.7 .pyc files were included instead of .py files
> by mistake?
>

The .pyc files were certainly included by mistake, the tarballs should not
contain them. In the case of contrib/sessions/management, that directory
shouldn't exist in 1.4 at all, it's new in 1.5. So the corresponding .py
file isn't missing, the .pyc file is just (even more) extraneous.

Karen

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Django 1.4.4 and contrib/sessions/management/__init__.pyc

2013-02-19 Thread Nick Popoff

Ah it looks like there's already a ticket on it:

https://code.djangoproject.com/ticket/19858

On Tuesday, February 19, 2013 7:12:52 PM UTC-8, Nick Popoff wrote:
>
> Hi folks,
>
> I downloaded Django 1.4.4 this evening and after switching to it started 
> getting the following error on my CentOS 6.3 / Python 2.6 based system:
>
> ImportError: Bad magic number in 
> /usr/lib/python2.6/site-packages/django/contrib/sessions/management/__init__.pyc
>
> After confirming my md5sum matches the published signature I noticed, 
> unlike the previous version, the Django 1.4.4 source tarball includes 
> several .pyc files:
>
> $ find . -name \*.pyc
> ./conf/locale/__init__.pyc
> ./conf/locale/en/__init__.pyc
> ./conf/locale/en/formats.pyc
> ./contrib/sessions/management/__init__.pyc
>
> In the case of ./contrib/sessions/management/__init__.pyc an __init__.py 
> is not provided.
>
> Is it possible compiled 2.7 .pyc files were included instead of .py files 
> by mistake?
>
> My apologies in advance if I've misunderstood some aspect of Django 
> packaging/installation and thanks for this awesome project...
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Django 1.4.4 and contrib/sessions/management/__init__.pyc

2013-02-19 Thread Nick Popoff
Hi folks,

I downloaded Django 1.4.4 this evening and after switching to it started 
getting the following error on my CentOS 6.3 / Python 2.6 based system:

ImportError: Bad magic number in 
/usr/lib/python2.6/site-packages/django/contrib/sessions/management/__init__.pyc

After confirming my md5sum matches the published signature I noticed, 
unlike the previous version, the Django 1.4.4 source tarball includes 
several .pyc files:

$ find . -name \*.pyc
./conf/locale/__init__.pyc
./conf/locale/en/__init__.pyc
./conf/locale/en/formats.pyc
./contrib/sessions/management/__init__.pyc

In the case of ./contrib/sessions/management/__init__.pyc an __init__.py is 
not provided.

Is it possible compiled 2.7 .pyc files were included instead of .py files 
by mistake?

My apologies in advance if I've misunderstood some aspect of Django 
packaging/installation and thanks for this awesome project...

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.