HDR-Merge icon indicating copy to clipboard operation
HDR-Merge copied to clipboard

ZeroDivisionError

Open tkymuk opened this issue 4 years ago • 1 comments

I have added blender 2.79 to my blender folder and i have also installed Luminance hdr. I have referenced their location in exe_paths.json as

{ "blender_exe": "C:\Program Files\Blender Foundation\Blender-2.79\blender.exe", "luminance_cli_exe": "C:\Program Files\Luminance HDR\v.2.6.0\luminance-hdr-cli.exe" }

I have used RawTherapee 5.8 to create 16 bit tif files as instructed in the walkthrough.

when i run hdr_brackets the below pops up

This window will report detailed progress of the blender renders. Use the other window to start the merging process. Starting...

Brackets: 8 Exception in thread Thread-1: Traceback (most recent call last): File "C:\Python35\lib\threading.py", line 914, in _bootstrap_inner File "C:\Python35\lib\threading.py", line 862, in run File "hdr_brackets.py", line 287, in real_execute File "hdr_brackets.py", line 287, in File "hdr_brackets.py", line 114, in ev_diff ZeroDivisionError: division by zero

I have no experience with python so i dont know if what i am doing is incorrect, but i cant see any additional files being created in the folder ive set as the root folder for the tif files.

Paul.

tkymuk avatar Oct 06 '21 16:10 tkymuk

Looks like the error's happening in the EV difference calculation step, which means one of your metadata values that it needs to divide by in order to determine the exposure difference is 0. Typically this is something like no aperture metadata on a manual lens, but this is fully supported (my lens doesn't store aperture metadata, so I had to fix this), so it's probably something similar. If you share a sample of your raw files to test with, I can tell you the problem.

On Wed, 6 Oct 2021 at 18:41, tkymuk @.***> wrote:

I have added blender 2.79 to my blender folder and i have also installed Luminance hdr. I have referenced their location in exe_paths.json as

{ "blender_exe": "C:\Program Files\Blender Foundation\Blender-2.79\blender.exe", "luminance_cli_exe": "C:\Program Files\Luminance HDR\v.2.6.0\luminance-hdr-cli.exe" }

I have used RawTherapee 5.8 to create 16 bit tif files as instructed in the walkthrough.

when i run hdr_brackets the below pops up

This window will report detailed progress of the blender renders. Use the other window to start the merging process. Starting...

Brackets: 8 Exception in thread Thread-1: Traceback (most recent call last): File "C:\Python35\lib\threading.py", line 914, in _bootstrap_inner File "C:\Python35\lib\threading.py", line 862, in run File "hdr_brackets.py", line 287, in real_execute File "hdr_brackets.py", line 287, in File "hdr_brackets.py", line 114, in ev_diff ZeroDivisionError: division by zero

I have no experience with python so i dont know if what i am doing is incorrect, but i cant see any additional files being created in the folder ive set as the root folder for the tif files.

Paul.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gregzaal/HDR-Merge/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKYKNNDLCQPB7BTA3BYXZDUFR327ANCNFSM5FPDJ6DQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

gregzaal avatar Oct 07 '21 09:10 gregzaal