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

Lost Support for CRW File #2

Closed
vfr292 opened this issue Apr 23, 2015 · 2 comments
Closed

Lost Support for CRW File #2

vfr292 opened this issue Apr 23, 2015 · 2 comments

Comments

@vfr292
Copy link

vfr292 commented Apr 23, 2015

On Feb 22 I was testing File Previews with the Following Code, and getting a successful response:

fp = FilePreviews()

sample_result = fp.generate('http://www.getblimp.com/images/screenshot1.png')

print 'sample_result'
print sample_result

raw_result_1 = fp.generate('http://www.rawsamples.ch/raws/canon/d30/RAW_CANON_D30_SRGB.CRW') # 3mb

print 'raw_result_1'
print raw_result_1`

However, when I am running this today (APril 22) the screenshot is successfull, but the .CRW is failing. My output is below:

sample_result
{'preview_url': u'https://s3.amazonaws.com/demo.filepreviews.io/f7ce58c6f27c15a793b6df228c0c5b42ec067f57cd691a90e85d47d92306f4cd/screenshot1_original_1.png', 'metadata': {u'data': None, u'results': {u'mimetype': u'image/png', u'name': u'screenshot1', u'extension': u'png', u'encoding': u'binary', u'thumbnails': [{u'url': u'https://s3.amazonaws.com/demo.filepreviews.io/f7ce58c6f27c15a793b6df228c0c5b42ec067f57cd691a90e85d47d92306f4cd/screenshot1_original_1.png', u'requested_size': u'original', u'resized': False, u'total_pages': 1, u'original_size': {u'width': u'560', u'height': u'397'}, u'page': 1, u'size': {u'width': u'560', u'height': u'397'}}], u'metadata': {}, u'type': u'image', u'size': 92602}}}
raw_result_1
{'preview_url': u'https://s3.amazonaws.com/demo.filepreviews.io/9dbd9fd7e1e0fe1df2ccdd322fcf3d7f27a57fb17bb95e4961d0f9bb389908ca/RAW_CANON_D30_SRGB_original_1.png', 'metadata': {u'error': u'FrameExtractionException'}}

I'd be happy to provide more info, just let me know :)

~Victor

@jpadilla
Copy link
Member

@vfr292 I've made a couple of tests to see if I could nail this down. I've been getting some intermittent issues with images from that domain where we're not able to download the whole file. Could you perhaps try downloading that image, upload somewhere else, and try again? Thanks again!

@vfr292
Copy link
Author

vfr292 commented Apr 29, 2015

I uploaded the image to an S3 bucket and got the same FrameExtractionException.

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

2 participants