Failed to run HB Imageless Annual Glare: dcglare issue

Dear Ladybug-Tools-Community,

while trying to run a HB Imageless Annual Glare simulation (LB version 1.9.0 installed via Pollination), I stumbled upon the following error:

2025-10-08 11:10:20 INFO: — Logging error —
2025-10-08 11:10:20 INFO: Traceback (most recent call last):
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_radiance\cli\glare.py”, line 99, in two_phase_command
2025-10-08 11:10:20 INFO: os.makedirs(out_dir)
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\os.py”, line 225, in makedirs
2025-10-08 11:10:20 INFO: mkdir(name, mode)
2025-10-08 11:10:20 INFO: FileNotFoundError: [WinError 3] Das System kann den angegebenen Pfad nicht finden: ‘’
*2025-10-08 11:10:20 INFO: *
2025-10-08 11:10:20 INFO: During handling of the above exception, another exception occurred:
*2025-10-08 11:10:20 INFO: *
2025-10-08 11:10:20 INFO: Traceback (most recent call last):
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\logging\handlers.py”, line 74, in emit
2025-10-08 11:10:20 INFO: self.doRollover()
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\logging\handlers.py”, line 435, in doRollover
2025-10-08 11:10:20 INFO: self.rotate(self.baseFilename, dfn)
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\logging\handlers.py”, line 115, in rotate
2025-10-08 11:10:20 INFO: os.rename(source, dest)
*2025-10-08 11:10:20 INFO: PermissionError: [WinError 32] Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird
2025-10-08 11:10:20 INFO: Call stack:
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\runpy.py”, line 196, in _run_module_as_main
2025-10-08 11:10:20 INFO: return _run_code(code, main_globals, None,
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\runpy.py”, line 86, in _run_code
2025-10-08 11:10:20 INFO: exec(code, run_globals)
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\Scripts\honeybee-radiance.exe_main_.py”, line 7, in
2025-10-08 11:10:20 INFO: sys.exit(radiance())
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\site-packages\click\core.py”, line 1157, in call
*2025-10-08 11:10:20 INFO: return self.main(*args, *kwargs)
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\site-packages\click\core.py”, line 1078, in main
2025-10-08 11:10:20 INFO: rv = self.invoke(ctx)
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\site-packages\click\core.py”, line 1688, in invoke
2025-10-08 11:10:20 INFO: return _process_result(sub_ctx.command.invoke(sub_ctx))
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\site-packages\click\core.py”, line 1688, in invoke
2025-10-08 11:10:20 INFO: return _process_result(sub_ctx.command.invoke(sub_ctx))
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\site-packages\click\core.py”, line 1434, in invoke
*2025-10-08 11:10:20 INFO: return ctx.invoke(self.callback, *ctx.params)
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\site-packages\click\core.py”, line 783, in invoke
*2025-10-08 11:10:20 INFO: return __callback(*args, *kwargs)
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_radiance\cli\glare.py”, line 115, in two_phase_command
2025-10-08 11:10:20 INFO: _logger.exception(‘Failed to run dcglare command.’)
2025-10-08 11:10:20 INFO: Message: ‘Failed to run dcglare command.’
2025-10-08 11:10:20 INFO: Arguments: ()
2025-10-08 11:10:20 INFO: honeybee_radiance.cli.glare - ERROR - Failed to run dcglare command.
2025-10-08 11:10:20 INFO: Traceback (most recent call last):
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_radiance\cli\glare.py”, line 99, in two_phase_command
2025-10-08 11:10:20 INFO: os.makedirs(out_dir)
2025-10-08 11:10:20 INFO: File “C:\Program Files\ladybug_tools\python\lib\os.py”, line 225, in makedirs
2025-10-08 11:10:20 INFO: mkdir(name, mode)
2025-10-08 11:10:20 INFO: FileNotFoundError: [WinError 3] Das System kann den angegebenen Pfad nicht finden: ‘’

It seems like that the dcglare command can’t be executed.

One thought I had was that the dc-direct, dc-total, sky-mtx and view-rays files (that are saved in User/AppData/Local/Temp within a separate DaylightGlareProbability folder and that are referenced in glare.py) can not be accessed by the simulation.

Has anyone ever experienced this issue?

All the other recipes work well for me.

Your help is highly appreciated. Thank you

Hi @KoBa20,

This seems to be the same issue as this.

I was able to recreate it and fixed the bug. You should be able to get the fix by updating your core libraries with LB Versioner within an hour.

Hi @mikkel

Thank you for your fast response. Due to fairly strict access permissions within my organization, using the LB-versioner requires admin rights.

Is there another way for me to change the core libraries myself?