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

Error Submitting Traits to Mouse Diversity Panel #799

Open
tddavis3 opened this issue Jul 24, 2023 · 0 comments
Open

Error Submitting Traits to Mouse Diversity Panel #799

tddavis3 opened this issue Jul 24, 2023 · 0 comments

Comments

@tddavis3
Copy link

I was able to submit 6 traits and on the 7th one I received the error code below.

GeneNetwork tux01:gene:2.11-rc2
'user' is undefined (error)

This is the full stack trace if this information is helpful.

 GeneNetwork tux01:gene:2.11-rc2  http://genenetwork.org/show_temp_trait ( 8:31PM UTC Jul 24, 2023) 

Traceback (most recent call last):
File "/home/zas1024/opt/gn-latest-20230421/lib/python3.9/site-packages/flask/app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "/home/zas1024/opt/gn-latest-20230421/lib/python3.9/site-packages/flask/app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/home/gn2/production/gene/wqflask/wqflask/views.py", line 494, in show_temp_trait_page
return render_template("show_trait.html", **template_vars.dict)
File "/home/zas1024/opt/gn-latest-20230421/lib/python3.9/site-packages/flask/templating.py", line 148, in render_template
return _render(
File "/home/zas1024/opt/gn-latest-20230421/lib/python3.9/site-packages/flask/templating.py", line 128, in _render
rv = template.render(context)
File "/home/zas1024/opt/gn-latest-20230421/lib/python3.9/site-packages/jinja2/environment.py", line 1291, in render
self.environment.handle_exception()
File "/home/zas1024/opt/gn-latest-20230421/lib/python3.9/site-packages/jinja2/environment.py", line 926, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/gn2/production/gene/wqflask/wqflask/templates/show_trait.html", line 2, in top-level template code
{%from "oauth2/display_error.html" import display_error%}
File "/home/gn2/production/gene/wqflask/wqflask/templates/base.html", line 243, in top-level template code
{% block content %}
File "/home/gn2/production/gene/wqflask/wqflask/templates/show_trait.html", line 129, in block 'content'
{%if user.name == "Anonymous User"%}
File "/home/zas1024/opt/gn-latest-20230421/lib/python3.9/site-packages/jinja2/environment.py", line 475, in getattr
return getattr(obj, attribute)
jinja2.exceptions.UndefinedError: 'user' is undefined

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