-
-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Error during update (Any help with what this means and if i need to fix something on my end) #2412
Comments
Hi @virtdesign17, |
Hi Mate
Thanks for getting back to me, I've just tried that out and received this now , which i believe could be the same error.
```
INFO [pyrevit.versionmgr.updater] Checking internet connection...
INFO [pyrevit.versionmgr.updater] Successfully updated: EF-Tools.extension to d32ee52
INFO [pyrevit.versionmgr.updater] Successfully updated: pyApex.extension to 450ab1d
INFO [pyrevit.versionmgr.updater] Successfully updated: pyArchitect.extension to 1e893d5
INFO [pyrevit.versionmgr.updater] Successfully updated: pyChilizer.extension to 5872a26
INFO [pyrevit.versionmgr.updater] Successfully updated: PyRevitPlus.extension to 121799d
INFO [pyrevit.versionmgr.updater] Successfully updated: pyStructure.extension to 976342f
INFO [pyrevit.versionmgr.updater] Successfully updated: pyTiBa.extension to 44950a9
INFO [pyrevit.loader.sessionmgr] Reloading....
IronPython Traceback:
Traceback (most recent call last):
File "C:\Users\VDMBIM\AppData\Roaming\pyRevit-Master\extensions\pyRevitCore.extension\pyRevit.tab\pyRevit.panel\Update.smartbutton\script.py", line 32, in <module>
File "C:\Users\VDMBIM\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit\versionmgr\updater.py", line 258, in update_pyrevit
File "C:\Users\VDMBIM\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit\loader\sessionmgr.py", line 327, in reload_pyrevit
File "C:\Users\VDMBIM\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit\loader\sessionmgr.py", line 285, in load_session
File "C:\Users\VDMBIM\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit\loader\sessionmgr.py", line 105, in _perform_onsessionloadstart_ops
File "C:\Users\VDMBIM\AppData\Roaming\pyRevit-Master\pyrevitlib\pyrevit\loader\sessionmgr.py", line 57, in _clear_running_engines
StandardError: Exception has been thrown by the target of an invocation.
Script Executor Traceback:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Stream was not writable.
at System.IO.StreamWriter..ctor(Stream stream, Encoding encoding, Int32 bufferSize, Boolean leaveOpen)
at System.IO.StreamWriter..ctor(Stream stream, Encoding encoding)
at Microsoft.Scripting.Hosting.ScriptIO.SetOutput(Stream stream, Encoding encoding)
at PyRevitLabs.PyRevit.Runtime.IronPythonEngine.CleanupStreams()
--- End of inner exception stack trace ---
at Microsoft.Scripting.Runtime.LightExceptions.ThrowException(LightException lightEx)
at Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow(Object value)
at Microsoft.Scripting.Interpreter.FuncCallInstruction`2.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
at Microsoft.Scripting.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
at Microsoft.Scripting.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
at Microsoft.Scripting.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
at update_pyrevit$2169(Closure , PythonFunction )
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at Microsoft.Scripting.Interpreter.DynamicInstruction`3.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 PyRevitLabs.PyRevit.Runtime.IronPythonEngine.Execute(ScriptRuntime& runtime)
```
|
Didn't pyrevit update itself? The messages tell that the extension were updated, and the error is thrown while trying to reload the python engines. |
No it just said that message i last sent again
[cid:5f4b3c0e-f844-436c-9733-0a79a70573c8]
Building Designs / Interior Designs / BIM Consulting
JAD NEWMAN
DIRECTOR
P:0407 705 141
E: ***@***.******@***.***>
W:www.vdmbim.com.au
…________________________________
From: Andrea Ghensi ***@***.***>
Sent: Thursday, 10 October 2024 5:01 PM
To: pyrevitlabs/pyRevit ***@***.***>
Cc: virtdesign17 ***@***.***>; Mention ***@***.***>
Subject: Re: [pyrevitlabs/pyRevit] [Bug]: Error during update (Any help with what this means and if i need to fix something on my end) (Issue #2412)
Didn't pyrevit update itself? The messages tell that the extension were updated, and the error is thrown while trying to reload the python engines.
A pyrevit restart doesn’t get rid of the error, but you should have an updated pyrevit (so no need to retry the update). Is it not?
—
Reply to this email directly, view it on GitHub<#2412 (comment)>, or unsubscribe<https:/notifications/unsubscribe-auth/BEQTZUOF24LR4IVDH4YIUDDZ2YJ2XAVCNFSM6AAAAABPTP6QF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBUGEYDKMRUGU>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Please note that, as stated here, the "Update" button only updates pyRevit extensions, not pyRevit itself. |
✈ Pre-Flight checks
🐞 Describe the bug
Hi everyone I was just installing the latest update, currently running revit24. Received the code below, I would have know idea what it means, any help would be greatly appreciated.
⌨ Error/Debug Message
♻️ To Reproduce
Clicked on update
Received error
⏲️ Expected behavior
Install latest update
🖥️ Hardware and Software Setup (please complete the following information)
Additional context
No response
The text was updated successfully, but these errors were encountered: