Hi there,
I'm experiencing a small issue when triggering reloads in a script that actually tries to pull some extension repositories.
The error says that UIMaker can't create a slideout since it already exists. As far as I can see there is not real problem and everythings works fine. The only problem is that a lot of my colleagues that use pyRevit kind of get confused by that message.
My guess is that the ext_asm_info might not be having the correct value for the reloading property.
Is there anything I can do from my side to avoid that error when triggering reloads?
Great. I'll improve the logging and possible will get rid of the error
Thank you very much!
I looked at the code and it seems to be fine as long as pyRevit knows it is being reloaded. Are you using sessionmgr.reload_pyrevit() to reload pyRevit?
Yes exactly. I use basically the same as you do in the default reload button. It somehow also only affect slideouts. Is there any other way to trigger reloads?
Thank you very much for the great work!
Ok I keep trying to replicate this issue but I can't. Is there anyway you can share the bundle layout code for the extension that is throwing the UI error?
The pyRevit reloading happens in this method.
Originally updates have been issued automatically on Revit startup. I figured out that _this could be the issue_ since the reload was triggered while the startup process was still running. I removed the startup checks for now and the error is gone so far.
Also note that apparently that error had no impact to the functionality. So it should be fine. 馃槃
Soooo is this still an issue or should to be closed?
Hey, I think it can be closed now. Thanks for your help!