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

SyntaxError: broken PNG file (chunk b'\x00\x00\x00\x00') #1089

Closed
mbeacom opened this issue May 7, 2018 · 0 comments
Closed

SyntaxError: broken PNG file (chunk b'\x00\x00\x00\x00') #1089

mbeacom opened this issue May 7, 2018 · 0 comments

Comments

@mbeacom
Copy link
Contributor

mbeacom commented May 7, 2018

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

Traceback (most recent call last):
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/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/dashboard/embed.py", line 383, in avatar
    avatar = Image.open(filepath, 'r').convert("RGBA")
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/PIL/Image.py", line 844, in convert
    self.load()
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/PIL/ImageFile.py", line 207, in load
    s = read(self.decodermaxblock)
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/PIL/PngImagePlugin.py", line 596, in load_read
    cid, pos, length = self.png.read()
  File "/home/ubuntu/gitcoin/gitcoin-3/lib/python3.6/site-packages/PIL/PngImagePlugin.py", line 121, in read
    raise SyntaxError("broken PNG file (chunk %s)" % repr(cid))
SyntaxError: broken PNG file (chunk b'\x00\x00\x00\x00')
@mbeacom mbeacom closed this as completed in ddc4bc6 May 7, 2018
matthewlilley pushed a commit to matthewlilley/web that referenced this issue May 11, 2018
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