Error: <django.utils.functional.__proxy__ object trying to install pinax

86 views
Skip to first unread message

Daniel Remeseiro

unread,
Oct 25, 2008, 12:39:43 PM10/25/08
to Pinax Users
Hi, this is my first try with Pinax, i am really excited to test
it.... but...

I am trying to install Pinax following the instructions at
http://pinaxproject.com/docs/trunk/install.html : doing svn checkout
and running the ./manage.py syncdb script
on the complete_project folder, but when i run this script all i get
is this error:

./manage.py syncdb

Error: <django.utils.functional.__proxy__ object at 0x1b2af10>

(the number could be not the same)


I am on Mac os X Leopard, but i have tried on Ubuntu with same
results.

What i am doing wrong?

(i am pretty sure i have Django installed)

greg newman

unread,
Oct 25, 2008, 12:41:05 PM10/25/08
to pinax...@googlegroups.com
What release of Django are you running and what version of Python?


greg newman
http://20seven.org

Daniel Remeseiro

unread,
Oct 25, 2008, 12:46:24 PM10/25/08
to Pinax Users
daniel$ python -V
Python 2.5.2


and Django 1.0

On 25 oct, 18:41, greg newman <g...@20seven.org> wrote:
> What release of Django are you running and what version of Python?
>
> greg newmanhttp://20seven.org

greg newman

unread,
Oct 25, 2008, 12:52:16 PM10/25/08
to pinax...@googlegroups.com
Is there more to the error or just what you posted

greg newman
http://20seven.org

Daniel Remeseiro

unread,
Oct 25, 2008, 12:54:58 PM10/25/08
to Pinax Users
no more output.... the scripts ends and thats all...

Error: <django.utils.functional.__proxy__ object at 0x1b2af10>

(showing in color red)

On 25 oct, 18:52, greg newman <g...@20seven.org> wrote:
> Is there more to the error or just what you posted
>

greg newman

unread,
Oct 25, 2008, 1:03:48 PM10/25/08
to pinax...@googlegroups.com
I can't reproduce. I wonder if you're using Django trunk and this is
a new issue.

greg newman
http://20seven.org

Daniel Remeseiro

unread,
Oct 25, 2008, 5:59:40 PM10/25/08
to Pinax Users
there was some old django instalation garbagge on my site-packages
folder: a 0.96 django egg-info file
once deleted i am able to setup the basic_project ( everything ok,
the server runs ok ...)

But when i try with the complete_project once again the same error:

Error: <django.utils.functional.__proxy__ object at 0x1ada850>

I have tried to delete again Django (clenaning all files)& pinax
completely 3 times with the same behaviour....



PD:Could be the google app engine instalation ? i see some kind of
references to Django into it...

greg newman

unread,
Oct 25, 2008, 6:31:27 PM10/25/08
to pinax...@googlegroups.com
Google app engine will have no affect on your pinax install.
Do you have all the libs installed that come with Pinax?


greg newman
http://20seven.org

Mutaz

unread,
Oct 27, 2008, 3:00:47 AM10/27/08
to Pinax Users
Hi

I'm getting the same message when trying to syncdb Pinax
complete_projects. <django.utils.functional.__proxy__ object at
0x13bb2d0>


I have:
Pinax trunk
Django 1.0
Python 2.5.2

And Mac 10.5.5

What should I do to have it running?

Thanks

On Oct 26, 2:31 am, greg newman <g...@20seven.org> wrote:
> Google app engine will have no affect on your pinax install.
> Do you have all the libs installed that come with Pinax?
>
> greg newmanhttp://20seven.org

mrowe

unread,
Oct 27, 2008, 8:11:08 AM10/27/08
to Pinax Users
Just to add a data point, I'm getting the same thing:

pinax/projects/complete_project $ ./manage.py syncdb
Error: <django.utils.functional.__proxy__ object at 0x13fb970>

I'm running OS X 10.5.5, Python 2.5.1, django trunk and pinax trunk
(both updated an hour or two ago).

If I get a chance I will try with django 1.0 tomorrow.

greg newman

unread,
Oct 27, 2008, 8:17:49 AM10/27/08
to pinax...@googlegroups.com
Are you running pinax-0.5.0rc2? It's been reported in the irc channel
that this release fixes this error.


greg newman
http://20seven.org

Mautaz Alkasem

unread,
Oct 27, 2008, 8:20:04 AM10/27/08
to pinax...@googlegroups.com
I got rid of this error!
I did nothing but installed PIL and then ran sysdb and everything went fine.
Though the error message "django.utils.functional.__proxy__ object at> 0x13bb2d0"  has nothing to do with PIL installation, but it has been fixed!!
Just make sure that PIL is installed correctly and support/have access to the required imaging packages.

Hope that helps.

greg newman

unread,
Oct 27, 2008, 8:26:00 AM10/27/08
to pinax...@googlegroups.com
Thanks for chiming in Mautaz!



Mutaz Qasem

unread,
Oct 27, 2008, 8:41:05 AM10/27/08
to pinax...@googlegroups.com
didn't get you! do you mean I interrupted you?

greg newman

unread,
Oct 27, 2008, 8:45:25 AM10/27/08
to pinax...@googlegroups.com
No, meaning you've confirmed you've rectified your error. :)



Mutaz Qasem

unread,
Oct 27, 2008, 11:35:44 AM10/27/08
to pinax...@googlegroups.com
Thank you too greg :)

mrowe

unread,
Oct 28, 2008, 4:42:20 AM10/28/08
to Pinax Users
Hmm, installing PIL worked for me too. Thanks Mautaz!

On Oct 27, 11:20 pm, "Mautaz Alkasem" <muta...@gmail.com> wrote:
> I got rid of this error!
> I did nothing but installed PIL and then ran sysdb and everything went fine.
> Though the error message "django.utils.functional.__proxy__ object at>
> 0x13bb2d0"  has nothing to do with PIL installation, but it has been fixed!!
> Just make sure that PIL is installed correctly and support/have access to
> the required imaging packages.
>
> Hope that helps.
>

James Tauber

unread,
Oct 28, 2008, 6:02:27 AM10/28/08
to pinax...@googlegroups.com
The root cause of this error is that photologue is trying to use
ugettext_lazy when throwing an exception that PIL is missing.

The obvious fix is to make sure PIL isn't missing, but photologue
should be changed. Using ugettext_lazy won't work on an exception
message that bubbles to the top because once it gets to the top, you
aren't in normal program flow so you can't assume stuff is there.

Immediate localization probably isn't a good idea either. My suggested
fix to photologue is to not use i18n/l10n at all on exception messages.

James

Mutaz Qasem

unread,
Oct 28, 2008, 6:11:36 AM10/28/08
to pinax...@googlegroups.com
Most welcome :)

Justin

unread,
Oct 28, 2008, 9:02:06 AM10/28/08
to Pinax Users
I'm the author of Photologue. Greg notified me of this problem this
morning so I thought I'd give those affected an update. None of the
other exceptions in Photologue are run through the translation
machinery and ugettext_lazy will do that when inserted into a
bytestring. This was an oversight and is fixed in Photologue r354. I
don't get a lot of users trying to install Photologue alone without
PIL so I appreciate you bringing this to my attention. Please feel
free to use the issue tracker on the Photologue project site for any
problems you come across specific to the library.

http://code.google.com/p/django-photologue/issues/list

- Justin


On Oct 28, 6:11 am, "Mutaz Qasem" <muta...@gmail.com> wrote:
> Most welcome :)
>
Reply all
Reply to author
Forward
0 new messages