✈ Pre-Flight checks
🐞 Describe the bug
Hi..
with Pyrevit 6.4.26100 and Revit 2025/2026 I receive an erron on startup
This is the screenshot
If I uninstall pyrevit, revit start correctly

⌨ Error/Debug Message
IronPython Traceback:
Traceback (most recent call last):
File "C:\Users\carta\AppData\Roaming\pyRevit-Master\extensions\pyRevitDevHooks.extension\hooks\journal-updated.py", line 8, in
File "C:\Users\carta\AppData\Roaming\pyRevit-Master\extensions\pyRevitDevHooks.extension\lib\hooks_logger.py", line 46, in log_hook
File "C:\Users\carta\AppData\Roaming\pyRevit-Master\extensions\pyRevitDevHooks.extension\lib\hooks_logger.py", line 17, in _write_record
IOError: [Errno 2] Could not find a part of the path 'C:\Users\carta\desktop\hooks.log'.: C:\Users\carta\desktop\hooks.log
Script Executor Traceback:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\carta\desktop\hooks.log'.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode)
at IronPython.Runtime.PythonFile.init(CodeContext context, String name, String mode, Int32 buffering)
at CallSite.Target(Closure, CallSite, CodeContext, Object, Object, String)
at _write_record$2504(Closure, PythonFunction, Object)
at log_hook$2498(Closure, PythonFunction, Object, Object, Object)
at System.Dynamic.UpdateDelegates.UpdateAndExecute5[T0,T1,T2,T3,T4,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
at Microsoft.Scripting.Interpreter.DynamicInstruction`6.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
at PyRevitLabs.PyRevit.Runtime.IronPythonEngine.Execute(ScriptRuntime& runtime)
♻️ To Reproduce
No response
⏲️ Expected behavior
No response
🖥️ Hardware and Software Setup (please complete the following information)
Additional context
No response
✈ Pre-Flight checks
🐞 Describe the bug
Hi..

with Pyrevit 6.4.26100 and Revit 2025/2026 I receive an erron on startup
This is the screenshot
If I uninstall pyrevit, revit start correctly
⌨ Error/Debug Message
IronPython Traceback:
Traceback (most recent call last):
File "C:\Users\carta\AppData\Roaming\pyRevit-Master\extensions\pyRevitDevHooks.extension\hooks\journal-updated.py", line 8, in
File "C:\Users\carta\AppData\Roaming\pyRevit-Master\extensions\pyRevitDevHooks.extension\lib\hooks_logger.py", line 46, in log_hook
File "C:\Users\carta\AppData\Roaming\pyRevit-Master\extensions\pyRevitDevHooks.extension\lib\hooks_logger.py", line 17, in _write_record
IOError: [Errno 2] Could not find a part of the path 'C:\Users\carta\desktop\hooks.log'.: C:\Users\carta\desktop\hooks.log
Script Executor Traceback:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\carta\desktop\hooks.log'.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode)at IronPython.Runtime.PythonFile.init(CodeContext context, String name, String mode, Int32 buffering)
at CallSite.Target(Closure, CallSite, CodeContext, Object, Object, String)
at _write_record$2504(Closure, PythonFunction, Object)
at log_hook$2498(Closure, PythonFunction, Object, Object, Object)
at System.Dynamic.UpdateDelegates.UpdateAndExecute5[T0,T1,T2,T3,T4,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
at Microsoft.Scripting.Interpreter.DynamicInstruction`6.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
at PyRevitLabs.PyRevit.Runtime.IronPythonEngine.Execute(ScriptRuntime& runtime)
♻️ To Reproduce
No response
⏲️ Expected behavior
No response
🖥️ Hardware and Software Setup (please complete the following information)
Additional context
No response