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

OSError: cannot identify image file #8

Open
tisto opened this issue Aug 12, 2020 · 0 comments
Open

OSError: cannot identify image file #8

tisto opened this issue Aug 12, 2020 · 0 comments

Comments

@tisto
Copy link
Member

tisto commented Aug 12, 2020

OSError: cannot identify image file <_io.FileIO name='/var/folders/zw/wqv1f2gd4zdc43t1j834x5580000gn/T/tmps347cvd0.demoblobs/0x03/0x72/0x30/0x3a/0x1e/0x51/0x4a/0xac/0x03d9e2c29d996a11.blob' mode='rb' closefd=True>
ERROR:kitconcept.volto.scaling:Could not scale "<plone.namedfile.file.NamedBlobImage object at 0x10fae1ad0 oid 0x372303a1e514aa9 in <Connection at 110f97850>>" of 'http://localhost:55001/plone/image.png'
Traceback (most recent call last):
  File "/Users/timo/.buildout/eggs/kitconcept.volto-1.4.0-py3.7.egg/kitconcept/volto/scaling.py", line 83, in __call__
    **parameters
  File "/Users/timo/.buildout/eggs/kitconcept.volto-1.4.0-py3.7.egg/kitconcept/volto/scaling.py", line 32, in create_scale
    data, direction=direction, height=height, width=width, **parameters
  File "/Users/timo/.buildout/eggs/plone.scale-3.0.3-py3.7.egg/plone/scale/scale.py", line 55, in scaleImage
    image = PIL.Image.open(image)
  File "/Users/timo/.buildout/eggs/Pillow-6.2.1-py3.7-macosx-10.15-x86_64.egg/PIL/Image.py", line 2818, in open
    raise IOError("cannot identify image file %r" % (filename if filename else fp))
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