Python3.9.10 loading issue in Revit2027 for RiR

@Japhy

I have recently installed RiR version below:

I having an issue to load python3.9.10 in RiR Revit 2027. You can see the Revit build and RiR version from above screenshot.

I have deleted %USERPROFILE%\.rhinocodefolder and initialized again.. Unfortunately, i fails in RiR.

The same RiR version in Revit 2024.3, I could load python3.9.10 and also standalone Rhino v8 I could load python3.9.10

Can this be a bug for the recent dailybuild of RiR?

Thanks in advance.

Nothing inherently wrong, I’ll try the latest.

Please run the RhinoCodeLogs command and post the results.

or grab the file from here.. %USERPROFILE%.rhinocode\logs\

Hi @Japhy

Thank you for your reply.

I have paste .rhinocode_backup from the older status.. after that python3.9.10 is now loaded in Revit 2027.

image

I will PM you the RhinoCodeLogs.

Thank you.

Hi @Japhy,

bad luck.. I have restarted Revit 2027 and run RiR.

I cannot load python3.9.10 again.

Thanks for the log.

This looks to be getting tripped up Autodesk Desktop Connector, do you have that plugin loaded in Rhino?

  Error Initializing Python | Error loading CPython engine
   ---> Python.Runtime.InternalPythonnetException: Failed to create Python type for AcWebServices
   ---> System.IO.FileNotFoundException: Could not load file or assembly 'DesktopConnectorInterop, Version=26.0.0.0'

Thank you for the reply.

when I check RiR and search for plugin Desktop, there is no plugin for it.

I will try to install Revit 2027.3

Maybe this will help?

What plugins that do not ship with Rhino do you have installed?

image

here is screenshot.

but this problem occurs only in revit 2027.. in Revit 2024.3 I do not have same problem.

Revit 2027 is in a different runtime than 2024 (4.8). Let’s disable third party plugins to try to isolate the issue.

I have updated to Revit 2027.3.

  1. launch RiR
  2. disabled all plugins that not shiped with Rhino
  3. ScriptEditor

Unfortunately, python3 failed to load.

Repeated and youtrack filed. Thanks for reporting.. RH-100050 Python 3 fails after Revit 2027 DWG import

The fix is in this mornings 8.x build, sending you a link for testing.

Hi @Japhy ,

it works with new build you sent me 8.x

as always, thank you very much for your support!!

Best wishes,

Junghwo Park

RH-100050 is fixed in Rhino 8 Service Release 38 Release Candidate