Re: [mezzanine-users] Re: new release? - cannot import name 'find_template_loader'
Big thanks to Alex Hill who's worked out the fix for the issue last reported here - if you're testing, please pull the latest in again and give it a whirl. On Thu, Apr 9, 2015 at 3:02 PM, Stephen McDonald st...@jupo.org wrote: My apologies, I was wrong earlier - looks like this code's really broken in 1.8. I'm not across so I'm not sure why, but I'll open an issue for it. Thanks a lot. On Thu, Apr 9, 2015 at 2:34 PM, Graham greenbay.gra...@gmail.com wrote: Hi Stephen I think I am using the up to date version of the code, namely try: # Django = 1.8 find_template_loader = context.engine.find_template_loader except AttributeError: # Django = 1.7 print (hello) from django.template.loaders import find_template_loader prints hello This does not fit the logic of the comments because the Django version is 1.8 g On 09/04/15 15:59, Stephen McDonald wrote: That was resolved a few months ago: https://github.com/stephenmcd/mezzanine/commit/ a50de50699bb6a24bfb5f118449991aa7608b426 It looks like you're using the current 3.1.10 release of Mezzanine, rather than the development branch from Github. On 4/9/15, Graham Oliver greenbay.gra...@gmail.com wrote: Django 1.8 Python 3.4.3 Accessing the admin ImportError at /admin/login/ cannot import name 'find_template_loader' Request Method: GET Request URL: http://127.0.0.1:8000/admin/login/?next=/admin/ Django Version: 1.8 Exception Type: ImportError Exception Value: cannot import name 'find_template_loader' Exception Location: /home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/ site-packages/mezzanine/template/loader_tags.py in find_template, line 62 Python Executable: /home/graham/.pyenv/versions/py3.4.3-dj1.8/bin/python Python Version: 3.4.3 Python Path: ['/home/graham/Dropbox/mp-soul-2', '/home/graham/.pyenv/versions/3.4.3/lib/python34.zip', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4/plat-linux', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4/lib-dynload', '/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/ site-packages', '/home/graham/Dropbox'] Server time: Thu, 9 Apr 2015 15:19:14 +1200 Error during template rendering In template /home/graham/Dropbox/mp-soul-2/soulapp2/templates/admin/base_site.html, error at line *1* cannot import name 'find_template_loader' 1 {% overextends admin/base_site.html %} -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: new release? - cannot import name 'find_template_loader'
Thanks for the report Graham - a fix for this has just been applied to master. Cheers, Alex On Thu, Apr 9, 2015 at 2:33 PM, Graham greenbay.gra...@gmail.com wrote: All good. g On 09/04/15 17:18, Stephen McDonald wrote: I've actually added a new issue label called release blockers to the issue tracker, which contains the new issue just discussed here. https://github.com/stephenmcd/mezzanine/issues?q=is%3Aopen+is%3Aissue+label%3A%22release+blocker%22 So now we can track exactly what's left to do before the next release. Thanks again Graham! On Thu, Apr 9, 2015 at 2:34 PM, Graham greenbay.gra...@gmail.com wrote: Hi Stephen I think I am using the up to date version of the code, namely try: # Django = 1.8 find_template_loader = context.engine.find_template_loader except AttributeError: # Django = 1.7 print (hello) from django.template.loaders import find_template_loader prints hello This does not fit the logic of the comments because the Django version is 1.8 g On 09/04/15 15:59, Stephen McDonald wrote: That was resolved a few months ago: https://github.com/stephenmcd/mezzanine/commit/a50de50699bb6a24bfb5f118449991aa7608b426 It looks like you're using the current 3.1.10 release of Mezzanine, rather than the development branch from Github. On 4/9/15, Graham Oliver greenbay.gra...@gmail.com wrote: Django 1.8 Python 3.4.3 Accessing the admin ImportError at /admin/login/ cannot import name 'find_template_loader' Request Method: GET Request URL: http://127.0.0.1:8000/admin/login/?next=/admin/ Django Version: 1.8 Exception Type: ImportError Exception Value: cannot import name 'find_template_loader' Exception Location: /home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages/mezzanine/template/loader_tags.py in find_template, line 62 Python Executable: /home/graham/.pyenv/versions/py3.4.3-dj1.8/bin/python Python Version: 3.4.3 Python Path: ['/home/graham/Dropbox/mp-soul-2', '/home/graham/.pyenv/versions/3.4.3/lib/python34.zip', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4/plat-linux', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4/lib-dynload', '/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages', '/home/graham/Dropbox'] Server time: Thu, 9 Apr 2015 15:19:14 +1200 Error during template rendering In template /home/graham/Dropbox/mp-soul-2/soulapp2/templates/admin/base_site.html, error at line *1* cannot import name 'find_template_loader' 1 {% overextends admin/base_site.html %} -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: new release? - cannot import name 'find_template_loader'
I've actually added a new issue label called release blockers to the issue tracker, which contains the new issue just discussed here. https://github.com/stephenmcd/mezzanine/issues?q=is%3Aopen+is%3Aissue+label%3A%22release+blocker%22 So now we can track exactly what's left to do before the next release. Thanks again Graham! On Thu, Apr 9, 2015 at 2:34 PM, Graham greenbay.gra...@gmail.com wrote: Hi Stephen I think I am using the up to date version of the code, namely try: # Django = 1.8 find_template_loader = context.engine.find_template_loader except AttributeError: # Django = 1.7 print (hello) from django.template.loaders import find_template_loader prints hello This does not fit the logic of the comments because the Django version is 1.8 g On 09/04/15 15:59, Stephen McDonald wrote: That was resolved a few months ago: https://github.com/stephenmcd/mezzanine/commit/ a50de50699bb6a24bfb5f118449991aa7608b426 It looks like you're using the current 3.1.10 release of Mezzanine, rather than the development branch from Github. On 4/9/15, Graham Oliver greenbay.gra...@gmail.com wrote: Django 1.8 Python 3.4.3 Accessing the admin ImportError at /admin/login/ cannot import name 'find_template_loader' Request Method: GET Request URL: http://127.0.0.1:8000/admin/login/?next=/admin/ Django Version: 1.8 Exception Type: ImportError Exception Value: cannot import name 'find_template_loader' Exception Location: /home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/ site-packages/mezzanine/template/loader_tags.py in find_template, line 62 Python Executable: /home/graham/.pyenv/versions/py3.4.3-dj1.8/bin/python Python Version: 3.4.3 Python Path: ['/home/graham/Dropbox/mp-soul-2', '/home/graham/.pyenv/versions/3.4.3/lib/python34.zip', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4/plat-linux', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4/lib-dynload', '/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/ site-packages', '/home/graham/Dropbox'] Server time: Thu, 9 Apr 2015 15:19:14 +1200 Error during template rendering In template /home/graham/Dropbox/mp-soul-2/soulapp2/templates/admin/base_site.html, error at line *1* cannot import name 'find_template_loader' 1 {% overextends admin/base_site.html %} -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: new release? - cannot import name 'find_template_loader'
oops sorry will sort g On 09/04/15 15:59, Stephen McDonald wrote: That was resolved a few months ago: https://github.com/stephenmcd/mezzanine/commit/a50de50699bb6a24bfb5f118449991aa7608b426 It looks like you're using the current 3.1.10 release of Mezzanine, rather than the development branch from Github. On 4/9/15, Graham Oliver greenbay.gra...@gmail.com wrote: Django 1.8 Python 3.4.3 Accessing the admin ImportError at /admin/login/ cannot import name 'find_template_loader' Request Method: GET Request URL: http://127.0.0.1:8000/admin/login/?next=/admin/ Django Version: 1.8 Exception Type: ImportError Exception Value: cannot import name 'find_template_loader' Exception Location: /home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages/mezzanine/template/loader_tags.py in find_template, line 62 Python Executable: /home/graham/.pyenv/versions/py3.4.3-dj1.8/bin/python Python Version: 3.4.3 Python Path: ['/home/graham/Dropbox/mp-soul-2', '/home/graham/.pyenv/versions/3.4.3/lib/python34.zip', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4/plat-linux', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4/lib-dynload', '/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages', '/home/graham/Dropbox'] Server time: Thu, 9 Apr 2015 15:19:14 +1200 Error during template rendering In template /home/graham/Dropbox/mp-soul-2/soulapp2/templates/admin/base_site.html, error at line *1* cannot import name 'find_template_loader' 1 {% overextends admin/base_site.html %} -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: new release? - cannot import name 'find_template_loader'
Django 1.8 Python 3.4.3 Accessing the admin ImportError at /admin/login/ cannot import name 'find_template_loader' Request Method: GET Request URL: http://127.0.0.1:8000/admin/login/?next=/admin/ Django Version: 1.8 Exception Type: ImportError Exception Value: cannot import name 'find_template_loader' Exception Location: /home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages/mezzanine/template/loader_tags.py in find_template, line 62 Python Executable: /home/graham/.pyenv/versions/py3.4.3-dj1.8/bin/python Python Version: 3.4.3 Python Path: ['/home/graham/Dropbox/mp-soul-2', '/home/graham/.pyenv/versions/3.4.3/lib/python34.zip', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4/plat-linux', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4/lib-dynload', '/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages', '/home/graham/Dropbox'] Server time: Thu, 9 Apr 2015 15:19:14 +1200 Error during template rendering In template /home/graham/Dropbox/mp-soul-2/soulapp2/templates/admin/base_site.html, error at line *1* cannot import name 'find_template_loader' 1 {% overextends admin/base_site.html %} -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: new release? - cannot import name 'find_template_loader'
That was resolved a few months ago: https://github.com/stephenmcd/mezzanine/commit/a50de50699bb6a24bfb5f118449991aa7608b426 It looks like you're using the current 3.1.10 release of Mezzanine, rather than the development branch from Github. On 4/9/15, Graham Oliver greenbay.gra...@gmail.com wrote: Django 1.8 Python 3.4.3 Accessing the admin ImportError at /admin/login/ cannot import name 'find_template_loader' Request Method: GET Request URL: http://127.0.0.1:8000/admin/login/?next=/admin/ Django Version: 1.8 Exception Type: ImportError Exception Value: cannot import name 'find_template_loader' Exception Location: /home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages/mezzanine/template/loader_tags.py in find_template, line 62 Python Executable: /home/graham/.pyenv/versions/py3.4.3-dj1.8/bin/python Python Version: 3.4.3 Python Path: ['/home/graham/Dropbox/mp-soul-2', '/home/graham/.pyenv/versions/3.4.3/lib/python34.zip', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4/plat-linux', '/home/graham/.pyenv/versions/3.4.3/lib/python3.4/lib-dynload', '/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages', '/home/graham/Dropbox'] Server time: Thu, 9 Apr 2015 15:19:14 +1200 Error during template rendering In template /home/graham/Dropbox/mp-soul-2/soulapp2/templates/admin/base_site.html, error at line *1* cannot import name 'find_template_loader' 1 {% overextends admin/base_site.html %} -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.