Majic Projects
Conntrackt
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png Conntrackt / Closed Bug report CONNT-32 TemplateSyntaxError at /conntrackt/project/add/ when trying to add a project (backport to 0.3)
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Bug report
  • Category
    User interface
  • Targetted for
    0.3.1
  • Status
    Closed
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (2)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    1 hour
  • Time spent
    No time spent
    Click here to see time logged against this issue
Issue details
  • Resolution
    RESOLVED
  • Reproducability
    Always
  • Severity
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description

When attempting to add a new project by using the Add project button on home page, an error is reported by the server instead.

Steps to reproduce this issue

Reproduction steps:

  1. Initialise the test project, creating the super-user along the way:

       cd testproject/
       ./manage.py syncdb && ./manage.py migrate
  2. Run the development server:

       ./manage.py runserver
  3. Access the website via http://localhost:8000/

  4. Click on the Add project button.

Expected results:

  1. Form is shown for providing information about the new project.

Actual results:

  1. Error is reported instead:

       TemplateSyntaxError at /conntrackt/project/add/
    
       'crispy_forms_tags' is not a valid tag library: ImportError raised loading crispy_forms.templatetags.crispy_forms_tags: No module named lru_cache
    
       Request Method:  GET
       Request URL:     http://localhost:8000/conntrackt/project/add/
       Django Version:  1.5.12
       Exception Type:  TemplateSyntaxError
       Exception Value:
    
       'crispy_forms_tags' is not a valid tag library: ImportError raised loading crispy_forms.templatetags.crispy_forms_tags: No module named lru_cache
    
       Exception Location:  REDACTED/conntrackt/local/lib/python2.7/site-packages/django/template/defaulttags.py in load, line 1046
       Python Executable:   REDACTED/conntrackt/bin/python
       Python Version:  2.7.13
       Python Path: REDACTED
       Server time:     Wed, 20 Dec 2017 15:02:14 +0100

Additional notes:

The error probably comes from too new of a version of django-crispy-forms. Reverting to 1.6.x version makes the error go away.

Todos (0 / 0)
There are no comments