Skip to content
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

pyRevit conflict with Rhino inside Revit and Honeybee/Ladybug tools #2119

Open
OFSFTurkcan opened this issue Feb 27, 2024 · 9 comments
Open
Labels
Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] Misc Compatibility Compatibility issue with other third-party addons [class->Updated #{number}: {title}]

Comments

@OFSFTurkcan
Copy link

🐞 Describe the bug

Hello, at our office we use Rhino Inside Revit with Revit 2022.1 to run energy and daylight simulations using the Ladybug/Honeybee plugins. After the installation of pyRevit on our PC, the Honeybee energy components were not working (_sqlite3 not found). There are many issues on this on the Ladybug and McNeel Rhino discourse fora. There is some form of interference as both plugins use IronPython.

Uninstalling pyRevit fixed this issue, so somehow there is a conflict between pyRevit and Rhino Inside Revit trying to use (different?) versions of IronPython and Python. I wanted to share that with you guys as well :)

Our build was Revit 2022.1, Rhino Inside Revit 1.19, Ladybug/Honeybee version 1.6.0.

@OFSFTurkcan OFSFTurkcan added the Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] label Feb 27, 2024
@jmcouffin
Copy link
Contributor

Routing this to the honeybee and rhino team would be appropriate?

To reproduce, we would need to own rhino and honeybee licences which we don't (speaking for myself).
Do you have logs from Revit,rhino inside,honeybee,pyRevit?

@jmcouffin
Copy link
Contributor

And please provide a proper bug report with the info asked in the issue template.
We are supporting this project on our free time, so help us by giving us the proper data to debug

@OFSFTurkcan
Copy link
Author

Hello jmcouffin, thank you for your response. Sorry, I'm not too familiar with github and I'm not familiar with creating logs.
I have informed the McNeel team and LB/HB teams will be informed by someone else.

My feeling tells me however the issue will need to be solved through Revit, as the same revit file is trying to use two different plugins that connect to two different IronPython or Python versions (one from pyRevit and one from Rhino Inside Revit) which is causing some sort of disruption.

@jmcouffin
Copy link
Contributor

@OFSFTurkcan any news from the other side ?

@OFSFTurkcan
Copy link
Author

Hello jmcouffin, sadly there is no update on their side. I shared it on the McNeel and Ladybug discourses. Additionally Japhy from McNeel said he would get in touch with Ehsan on this issue. Perhaps you can get in touch with Japhy? And otherwise Ehsan or Chris Mackey to check up on this issue? Or I can DM Japhy to get in touch with you!

My post on the fora were:
https://discourse.ladybug.tools/t/solution-for-ladybug-honeybee-not-working-with-rhino-inside-revit/24114/3
https://discourse.mcneel.com/t/problems-with-rhino-inside-revit-and-python-based-plugins-honeybee/107636/12

@guusgooskens
Copy link

This might be a related issue with pollination, the cloud version of honeybee/ladybug, that was using a similar ironpython engine. It was fixed by them by switching to IronPython 3.4 :)
https://discourse.pollination.cloud/t/pyrevit-conflict-with-latest-pollination-revit-plugin/3335

@jmcouffin
Copy link
Contributor

@OFSFTurkcan let me know if that fixes the issue and I can close it

@OFSFTurkcan
Copy link
Author

Hello, apologies for my late reply (was shortly ill), we are not using Pollination so it should not be related to that.
We will try installling/switching to IronPython 3.4 and see if it solves the issue.

@sanzoghenzo
Copy link
Contributor

sanzoghenzo commented Dec 27, 2024

Hi @OFSFTurkcan, could you please tell us whats the minimum reproducible example to get this issue? what software should I install and in what order?

From what I understand, the following software are involved:

  • revit
  • rhino
  • rhino inside revit
  • ladybug
  • honeybee
  • pyrevit

can we slim this list down to avoid having to install all of them and still have the problem, or are they all needed?

@sanzoghenzo sanzoghenzo added the Misc Compatibility Compatibility issue with other third-party addons [class->Updated #{number}: {title}] label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] Misc Compatibility Compatibility issue with other third-party addons [class->Updated #{number}: {title}]
Projects
None yet
Development

No branches or pull requests

4 participants