I installed the extended version of pyRevit with the DevTools, and while launching Revit 2021, I got the following error:
If you have any suggestions, let me know. Thank you in advance!
Getting same error! Anyone knows what is going on here? Routes server is disabled in my settings.
ERROR [pyrevit.routes.server.router] Route pattern is invalid: /posts/<int:uiapp>
IronPython Traceback:
Traceback (most recent call last):
File "C:\Program Files\pyRevit-Master\extensions\pyRevitDevTools.extension\startup.py", line 155, in <module>
File "C:\Program Files\pyRevit-Master\pyrevitlib\pyrevit\forms\__init__.py", line 499, in register_dockable_panel
Exception: Cannot register the same dockable pane ID more than once.
Parameter name: id
Script Executor Traceback:
Autodesk.Revit.Exceptions.ArgumentException: Cannot register the same dockable pane ID more than once.
Parameter name: id
at Autodesk.Revit.UI.UIApplication.RegisterDockablePane(DockablePaneId id, String title, IDockablePaneProvider provider)
at Microsoft.Scripting.Interpreter.ActionCallInstruction`4.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run6[T0,T1,T2,T3,T4,T5,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
at System.Dynamic.UpdateDelegates.UpdateAndExecute5[T0,T1,T2,T3,T4,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
I was just watching a video Ehsan did about pyRevit 4.7.6 & Routes Framework and noticed that he mentioned this error. The error messages are actually intentional:
Don’t worry about these errors and messages and stuff that you are seeing. If you have the pyrevit developer extension enabled, these error messages are intentional. They actually do test and make sure that pyrevit will show an error message where it needs to show.
Not sure about the error @GooseG posted. I think that is a separate issue, not something with routes. I’m guessing it has been fixed in recent versions of pyRevit.