A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
| /opt/local/production/www/htdocs/thumbnail.fcgi in app(environ={'DOCUMENT_ROOT': '/opt/local/production/www/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': 'static.gigapan.org', 'HTTP_USER_AGENT': 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Geck...patible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_VIA': '1.1 squid-proxy-5b96dc6d46-lwtnh (squid/6.13)', 'HTTP_X_FORWARDED_FOR': '10.1.74.50', ...}, start_response=<function start_response at 0x21e95f0>) |
326 background.save(tmpfile)
|
327 else:
|
328 thumbnail.render(prefix, suffix, int(fullwidth), int(fullheight), int(nlevels), tmpfile, int(outputwidth), int(outputheight), float(left), float(top), float(width), float(height))
|
329 os.rename(tmpfile,outputfile)
|
330
|
| global thumbnail = <module 'thumbnail' from '/usr1/local/production/thumbnails/thumbnail.py'>, thumbnail.render = <function render at 0x1f31de8>, prefix = '/usr0/gigapans/20597', suffix = '.jpg', builtin int = <type 'int'>, fullwidth = 28046, fullheight = 8388, nlevels = 8, tmpfile = '/usr0/gigapans/20597/images/tmp7c5dbc5388c5470bd095c00884e012fb.jpg', outputwidth = '90', outputheight = '60', builtin float = <type 'float'>, left = 2412.0999999999999, top = 3559.5999999999999, width = 180.0, height = 120.0 |
| /usr1/local/production/thumbnails/thumbnail.py in render(prefix='/usr0/gigapans/20597', suffix='.jpg', fullwidth=28046, fullheight=8388, nlevels=8, outputfilename='/usr0/gigapans/20597/images/tmp7c5dbc5388c5470bd095c00884e012fb.jpg', outputwidth=90, outputheight=60, left=2412.0999999999999, top=3559.5999999999999, width=180.0, height=120.0) |
93 Image.ANTIALIAS)
|
94 final_img = resized_img
|
95 final_img.save(outputfilename, "JPEG", quality=90)
|
96
|
97
|
| final_img = <Image.Image instance at 0x2467b48>, final_img.save = <bound method Image.save of <Image.Image instance at 0x2467b48>>, outputfilename = '/usr0/gigapans/20597/images/tmp7c5dbc5388c5470bd095c00884e012fb.jpg', quality undefined |