Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't add ie document #144

Open
gelina10011001 opened this issue Jun 27, 2018 · 0 comments
Open

can't add ie document #144

gelina10011001 opened this issue Jun 27, 2018 · 0 comments

Comments

@gelina10011001
Copy link

When I want to add iedocument. The error happens.Why?
IndexError at /admin/corpus/iedocument/add/

tuple index out of range

Request Method: GET
Request URL: http://127.0.0.1:8000/admin/corpus/iedocument/add/
Django Version: 1.8.14
Exception Type: IndexError
Exception Value:

tuple index out of range

Exception Location: /home/futureai/iepy_environment/lib/python3.6/site-packages/relatives/templatetags/relatives.py in related_objects, line 61
Python Executable: /home/futureai/iepy_environment/bin/python
Python Version: 3.6.5
Python Path:

['/home/futureai',
'/home/futureai/hijk/bin',
'/home/futureai/anaconda2/envs/py3/lib/python36.zip',
'/home/futureai/anaconda2/envs/py3/lib/python3.6',
'/home/futureai/anaconda2/envs/py3/lib/python3.6/lib-dynload',
'/home/futureai/iepy_environment/lib/python3.6/site-packages',
'/home/futureai/iepy_environment/lib/python3.6/site-packages/iepy/webui']

The reason is in this line: {% related_objects adminform.form.instance as related_objects %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant