Problems with Rhino.Inside.Revit and python-based plugins (Honeybee)


I get the error “expected str, got bytes” on the Honeybee/Honeybee component when trying to run it using Rhino.Inside.Revit. It works fine just running it in Rhino 7 WIP. Also, I get an error message, including the same error “expected str, got bytes”, from a ghpython component in the DecodingSpaces Grasshopper-plugin when Grasshopper starts up inside Revit. Why can this be?


I am not sure.

We may need to work with Ladybug Tools on this. Have you posted the question on their forum:

I am having some trouble with Honeybee too in Revit. In the past it worked, but I am wondering if some update to Python has got me in trouble?

Thanks Scott,

and thanks for posting the question at Ladybug Tools, too.
The error in the image above, from DecodingSpaces, didn’t appear when I first started to use Rhino.Inside.Revit, either. I think it started to appear maybe 2-3 months ago.

Oh, sorry, I have now posted the question at Ladybug Tools, too :slight_smile:

1 Like

Any updates here? Rhino.Inside still not reading python-based plugins or python components?

I had this issue but managed to fix it. LBT in Rhino7 (standalone) was working fine, but not in Rhino Inside Revit.

I ran the installer from within RIR and if fixed my issue. Basically, the problem was that it could find the Python libraries, which is now resolved.


Hi everyone!

Just had the same problem and neither @parametricmonkey1’s solution nor running set_python_path.bat worked (although the latter actually added the correct paths to the xml files).

I managed to fix it by adding the path manually to the path options of Python Editor in Rhino.Inside Revit:

  1. Start Rhino.Inside Revit
  2. Open Python Editor from the tab and then go to ‘Tools > Options’
  3. Add the correct path to the ‘Model Search Path’ area and that’s it :wink: