Skip to content

[Bug]: Revit 2025 start opening continuosly an error page #3338

@hantrax

Description

@hantrax

✈ Pre-Flight checks

  • I don't have SentinelOne antivirus installed (see above for the solution)
  • I have searched in the issues (open and closed) but couldn't find a similar issue
  • I have searched in the pyRevit Forum for similar issues
  • I already followed the installation troubleshooting guide thoroughly
  • I am using the latest pyRevit Version

🐞 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
Image

⌨ 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)

Revit 2025/2026

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugBug that stops user from using the tool or a major portion of pyRevit functionality [class]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions