Confirmed that Django is running 2.6.2, same version that I can
>>> import facebook.djangofb
>>>
on. I saw
http://groups.google.com/group/django-users/browse_thread/thread/34f674ab2a083605/fcdc02c143ade43d?lnk=gst&q=djangofb#fcdc02c143ade43d
a while ago, but this was resolved with:
garagefan: doh, forgot that i never installed python-devel, der...
everything
works now, nothing to see here... no novice server users here >_>
I'm not sure what this means, or if it's even applicable to me, though
I wouldn't think that python-devel would be necessary, I believe it's
just c/c++ files?

On Jan 3, 8:38 am, PJ <pat.johnson1...@gmail.com> wrote:
> Yes, I believe I installed all the pre-reqs, though let me know if I
> should check anything else:
> from the console:>>> import facebook
> >>> import facebook.djangofb
>
> I'm thinking perhaps it's running the wrong version of python? My
> server had 2.4 alias'd as python, but I re-alias'd python2.6 as python
> in my .profile, however a "which python" gives my nothing, even though
> python -V says 2.6.
> Thanks
>
> On Jan 3, 8:07 am, Daniel Roseman <dan...@roseman.org.uk> wrote:
>
>
>
> > On Sunday, January 2, 2011 11:23:30 PM UTC, PJ wrote:
>
> > > Disclaimer: I'm new to Django and system administration, though a C++
> > > developer.
>
> > > following the tutorial on:
> > >http://uswaretech.com/blog/2009/02/how-to-build-a-facebook-app-in-dja...
> > > I get everything set up. In my settings.py, I have in my
> > > MIDDLEWARE_CLASSES:
> > >     'facebook.djangofb.FacebookMiddleware',
>
> > > When I run this, it renders:
> > > "Unhandled Exception
>
> > > An unhandled exception was thrown by the application.
> > > "
>
> > > my logs look like this (note "Error importing middleware" at the top
> > > of the stack trace). Any idea how/why it cannot find this "middleware"
> > > and why the exception would not be caught? Thank you in advance.
>
> > Have you actually installed the pyfacebook library?
> > --
> > DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to