Monday, January 3, 2011

Re: Unable to import middleware class 'facebook.djangofb.FacebookMiddleware' with uncaught exception

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-django/
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-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment