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

TemplateDoesNotExist: head/v2/images/avatar/head/1-f8d5c2.svg.txt #1744

Closed
mbeacom opened this issue Jul 13, 2018 · 0 comments
Closed

TemplateDoesNotExist: head/v2/images/avatar/head/1-f8d5c2.svg.txt #1744

mbeacom opened this issue Jul 13, 2018 · 0 comments
Labels
backend This needs backend expertise.

Comments

@mbeacom
Copy link
Contributor

mbeacom commented Jul 13, 2018

View details in Rollbar: https://rollbar.com/gitcoin/gitcoin/items/1614/

Traceback (most recent call last):
  File "/home/ubuntu/gitcoin/gitcoin-37/lib/python3.7/site-packages/django/core/handlers/base.py", line 126, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/ubuntu/gitcoin/coin/app/avatar/views.py", line 71, in avatar
    result_path = build_avatar_svg(payload=payload)
  File "/home/ubuntu/gitcoin/coin/app/avatar/utils.py", line 237, in build_avatar_svg
    primary_color=primary_color,
  File "/home/ubuntu/gitcoin/coin/app/avatar/utils.py", line 180, in build_temporary_avatar_component
    svg_data = get_svg_template(**payload)
  File "/home/ubuntu/gitcoin/coin/app/avatar/utils.py", line 148, in get_svg_template
    component_template = loader.get_template(f'{category}/{item}.txt')
  File "/home/ubuntu/gitcoin/gitcoin-37/lib/python3.7/site-packages/django/template/loader.py", line 19, in get_template
    raise TemplateDoesNotExist(template_name, chain=chain)
TemplateDoesNotExist: head/0/../../../../../../../requirements/test.txt
@mbeacom mbeacom added backend This needs backend expertise. rollbar labels Jul 13, 2018
@mbeacom mbeacom closed this as completed Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This needs backend expertise.
Projects
None yet
Development

No branches or pull requests

1 participant