Hi, When using reportlab trying to import a file which contains the following line, I get an error.
from reportlab.platypus import Paragraph The error says: ViewDoesNotExist at / Tried book in module book.address.views. Error was: 'module' object has no attribute 'instancemethod' The trace is below. What could be wrong? Wim ---- Environment: Request Method: GET Request URL: http://localhost:8000/ Django Version: 1.0.3 pre-alpha SVN-10924 Python Version: 2.6.5 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.flatpages', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'book.address', 'book.adyen', 'book.birthday', 'book.budget', 'book.export', 'book.event', 'book.field', 'book.files', 'book.friend', 'book.help', 'book.importbook', 'book.login', 'book.management', 'book.password', 'book.preferences', 'book.create_pdf', 'book.registration', 'book.search', 'book.tag', 'book.write'] Installed Middleware: ('django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.common.CommonMiddleware') Traceback: File "/home/wim/myprojects/book/django/core/handlers/base.py" in get_response 82. request.path_info) File "/home/wim/myprojects/book/django/core/urlresolvers.py" in resolve 183. sub_match = pattern.resolve(new_path) File "/home/wim/myprojects/book/django/core/urlresolvers.py" in resolve 124. return self.callback, args, kwargs File "/home/wim/myprojects/book/django/core/urlresolvers.py" in _get_callback 136. raise ViewDoesNotExist, "Tried %s in module %s. Error was: %s" % (func_name, mod_name, str(e)) Exception Type: ViewDoesNotExist at / Exception Value: Tried book in module book.address.views. Error was: 'module' object has no attribute 'instancemethod' -- 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.