Hi All, After a recent svn update to my copy of Django/trunk I’ve been getting a persistent error relating to module loading (see below). I am able to create the same error from many but not all views/requests.
Interesting, when I run my code against a slightly older version of Django trunk (at Rev. 13079) I don’t get these errors. Is this a bug, or have I missed some backwards incompatible change? I’ve searched around and came up with nothing? Any insights or suggestions much appreciated. kindly, Ben. Example Error: TypeError at /admin/auth/user/1787/ find_module() takes exactly 3 arguments (2 given) Request Method: GET Request URL: http://0.0.0.0/admin/auth/user/1787/ Django Version: 1.2.1 pre-alpha SVN-13291 Exception Type: TypeError Exception Value: find_module() takes exactly 3 arguments (2 given) Exception Location: / django/utils/module_loading.py in module_has_submodule, line 12 Python Executable: / Python Version: 2.6.4 Python Path: ['/new-mos', '/new-mos/django', '/new-mos/contrib', '/ usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg', '/ usr/local/lib/python2.6/site-packages/Genshi-0.5.1-py2.6-freebsd-6.3- RELEASE-p1-i386.egg', '/usr/local/lib/python2.6/site-packages/ pytz-2009l-py2.6.egg', '/usr/local/lib/python2.6/site-packages/ Jinja2-2.1.1-py2.6-freebsd-6.3-RELEASE-p1-i386.egg', '/usr/local/lib/ python2.6/site-packages/Pygments-1.0-py2.6.egg', '/usr/local/lib/ python2.6/site-packages/flup-1.0.2-py2.6.egg', '/usr/local/lib/ python2.6/site-packages/Sphinx-0.6.3-py2.6.egg', '/usr/local/lib/ python2.6/site-packages/PyAMF-0.5-py2.6-freebsd-6.3-RELEASE-p1- i386.egg', '/usr/local/lib/python2.6/site-packages/Markdown-2.0.1- py2.6.egg', '/usr/local/lib/python2.6/site-packages/ python_memcached-1.44-py2.6.egg', '/usr/local/lib/python2.6/site- packages/Trac-0.11.5-py2.6.egg', '/usr/local/lib/python2.6/site- packages/paramiko-1.7.6-py2.6.egg', '/usr/local/lib/python2.6/site- packages/pycrypto-2.0.1-py2.6-freebsd-6.3-RELEASE-p1-i386.egg', '/usr/ local/lib/python26.zip', '/usr/local/lib/python2.6', '/usr/local/lib/ python2.6/plat-freebsd6', '/usr/local/lib/python2.6/lib-tk', '/usr/ local/lib/python2.6/lib-old', '/usr/local/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/site-packages', '/usr/local/lib/python2.6/ site-packages/PIL', '/usr/local/lib/python2.6/site-packages/ pythonutils', '/new-mos/contrib/satchmo/apps'] An Example Traceback: Traceback (most recent call last): File "/django/core/handlers/base.py", line 100, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/new_mos/views.py", line 24, in index return render_to_response('index.html', context_instance=Context(request, data)) File "/django/shortcuts/__init__.py", line 20, in render_to_response return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) File "/django/template/loader.py", line 181, in render_to_string t = get_template(template_name) File "/django/template/loader.py", line 160, in get_template template = get_template_from_string(template, origin, template_name) File "/django/template/loader.py", line 168, in get_template_from_string return Template(source, origin, name) File "/django/template/__init__.py", line 158, in __init__ self.nodelist = compile_string(template_string, origin) File "/django/template/__init__.py", line 186, in compile_string return parser.parse() File "/django/template/__init__.py", line 282, in parse compiled_result = compile_func(self, token) File "/django/template/loader_tags.py", line 197, in do_extends nodelist = parser.parse() File "/django/template/__init__.py", line 282, in parse compiled_result = compile_func(self, token) File "/django/template/defaulttags.py", line 917, in load try: File "/django/template/__init__.py", line 1040, in get_library lib = import_library(taglib_module) File "/django/template/__init__.py", line 992, in import_library if not module_has_submodule(app_module, taglib): File "/django/utils/module_loading.py", line 12, in module_has_submodule # zipimport.zipimporter.find_module is documented to take TypeError: find_module() takes exactly 3 arguments (2 given) -- 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.