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

plugin not visible in revit 2024 #281

Closed
RichardPinka opened this issue Sep 2, 2024 · 35 comments
Closed

plugin not visible in revit 2024 #281

RichardPinka opened this issue Sep 2, 2024 · 35 comments
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior duplicate 👥 Indicates that an identical issue or PR already exists

Comments

@RichardPinka
Copy link

RevitLookup version

2025.0.8

Steps to reproduce

actually, i am not sure, wether only the newest version of plugin shall be installed for all versions of revit i have installed.

✔️ Expected Behavior

plugin will run and i will see its buttons in revit
but in revit 2024 it is not working. in 2022 works.

❌ Actual Behavior

actually, there is some error message
image

Other Software

No response

@RichardPinka RichardPinka added bug 🐛 An unexpected issue that highlights incorrect behavior unverified ⌛ Needs more investigation to conclude it's an actual bug labels Sep 2, 2024
@Nice3point Nice3point added duplicate 👥 Indicates that an identical issue or PR already exists and removed unverified ⌛ Needs more investigation to conclude it's an actual bug labels Sep 2, 2024
@Nice3point
Copy link
Collaborator

Please run the DependenciesReport tool and send a report #269 (comment)

@Nice3point
Copy link
Collaborator

and why do you specify version 2025.0.8 but describe 2022, 2024 ?

@RichardPinka
Copy link
Author

just a kind update that You speak with a person witout specialization in the IT and programming. that´s why maybe confused answers :
dependencies report => i double clicked on the file by mouse , but nothing happened. i think it should do something but nothing happens. or is there particular way how to use it ?

and why do you specify version 2025.0.8 but describe 2022, 2024 ? => well , i am get used to install one plugin for all versions of revits. Is this working also the same with Revit lookup plugin ? or for Revit 2023 i have to have installed particular msi installer and on Revit 2024 another one ?

@Nice3point
Copy link
Collaborator

Nice3point commented Sep 2, 2024

Correct, you need to install a separate RevitLookup version for each Revit version. This is specified in each release and Jeremy writes it in every blog post.
https://github.com/jeremytammik/RevitLookup/wiki/Versions
изображение

i double clicked on the file by mouse , but nothing happened

You don't get the console showing up like the screenshot to the post? #269 (comment)

@RichardPinka
Copy link
Author

Thank You for fast response. installation of revit version : well, from the link of Versions you sent me,
is actually Revit 2024 usage connected with version 2025.0.8

on the link is this :
image
and below , row for Revit 2024
you are directed onto this page :
https://github.com/jeremytammik/RevitLookup/releases/tag/2025.0.8

so I guess i have to install version 2025.0.8 if i want to use it in Revit 2024.
but if it is like this, it is in contradiction with what you just wrote (because i would interpret your message like i shall have installed
version 2024.1.8 of RevitLookup for Revit 2024 and e.g -2023.2.7 Revit lookup for Revit 2023.

but when i install 2025.0.8 version i have that error message shown before. huh...

If its not like that, i am sorry but i am confused and in link you showed me, are not more information.

to the other part of queston :
You don't get the console showing up like the screenshot to the post?

uhh. no, no.. no window shows up within my windows. I havent seen anything like this on my computer (by double clicking onto the application DependenciesReport) .
Do you want me to sent you at least the speccy output of the parameters of my windows 10 with all its settings ?

@Nice3point
Copy link
Collaborator

Nice3point commented Sep 2, 2024

so I guess i have to install version 2025.0.8 if i want to use it in Revit 2024. but if it is like this, it is in contradiction with what you just wrote (because i would interpret your message like i shall have installed version 2024.1.8 of RevitLookup for Revit 2024 and e.g -2023.2.7 Revit lookup for Revit 2023.

That's right, you're navigating to the latest Release 2025.0.8 as listed on the Versions page. And download version 2024.1.8 for the 2024 version of Revit:
изображение

The current releases contain installers for Revit versions 2021 to 2025, each one needs to be installed separately.

You might be confused by the release name 2025.0.8 and think that this release is only for Revit version 25, but it is not. Perhaps we should change the release names, but what are the options? 🤔

uhh. no, no.. no window shows up within my windows. I havent seen anything like this on my computer

Strange. Please try the next steps:

  1. Open the explorer and navigate to the folder with your file. Type cmd in the address line end press Enter
    изображение
  2. Type the file name .\DependenciesReport.exe for PowerShell or DependenciesReport.exe for cmd and press Enter
    изображение

@RichardPinka
Copy link
Author

Hello, thanx for navigation.
what are to possible options ? to be more pragmatical, why not to name particular installation files like
Revit lookup for Revit 2023_v3.8
Revit lookup for Revit 2025_v0.8
etc...

after your suggestion, there was message :
image

after installing that, the next error window
image

it seems the Diroots One plugin has some message...

but as it is one of the best plugins on this planet, solving many usecases , that revit developers have not been willing to develop, i barely tend to uninstall it.

@Nice3point
Copy link
Collaborator

it seems the Diroots One plugin has some message...

Try this file with a workaround to the DiRoots issue
DependenciesReport.zip

@RichardPinka
Copy link
Author

RichardPinka commented Sep 4, 2024

Hello dear Roman, thank You for support. Here is dependenciees report file.. it also asks me to "try to fix dependencies and upgrade to the latest version?" ..., what shall i do ?

DependenciesReport-2024-09-04.txt

@Nice3point
Copy link
Collaborator

@RichardPinka

The script found only one conflict with RevitLookup, I hope you don't have any plugins that are installed in non-default directories.

Can you try disabling RevitPythonShell temporarily and see if Lookup starts?

If that doesn't help, it would be great if you could take a look at the table, and for version 2024 let me know if all installed plugins are in the table, or if you have more?

изображение

@RichardPinka
Copy link
Author

Hello, @Nice3point Well i usually dont care where the plugin will be placed.. usually I am not changing default destinations.
Problem persists after uninstalling the revit python shell.
also, when i turned-off all plugins but just revit lookup was turned on , the problem has not been sorted out and the same error window appeared after starting revit.
list of actually used plugins :
image
2nd page
image
3rd page
image

@Nice3point
Copy link
Collaborator

Nice3point commented Sep 5, 2024

Thanks for the additional information, I will investigate and improve the script, hopefully we will get to the truth and which plugin is causing RevitLookup to fail

we must add this path for scanning
изображение

@Nice3point
Copy link
Collaborator

Nice3point commented Sep 5, 2024

@RichardPinka could you run a new script version? send me a txt report
DependenciesReport.zip

@RichardPinka
Copy link
Author

@Nice3point yes, here it is
DependenciesReport-2024-09-07.txt

@Nice3point
Copy link
Collaborator

@RichardPinka In this variant I have added detailed information about dependencies. Send me a report to see what versions you have installed in general:
DependenciesReport.zip

To be honest, I have no idea why it might not work for you. You still don't have the 2024 version working, right? If you really claim to have disabled all other plugins, this case is difficult to solve as RevitLookup works out of the box

@RichardPinka
Copy link
Author

@Nice3point , well, i rather uninstall ar revitlookup plugins (with revo uninstaller), restardted, installed the 2024 version again.
the error window persists. I after running dependencies report, tried accepted "try to fix dependencies and uprgrade to the latest version?" =>Y .. this message showed me, that i need run it as admin.
image
and it seems the process is continuing in running it as admin...
image
but problem persists.
image
i was assuming that the error window will tell you all necessary data, but it seems not.
nevertheless, i may use older revit to dig into the elements and lookup into , side by side working with some data scrapping from revitAPI with python.

by any chance, are you aware about some tool, which could help a human read Revit journal file ? https://help.autodesk.com/view/RVT/2022/ENU/?guid=GUID-477C6854-2724-4B5D-8B95-9657B636C48D

@RichardPinka
Copy link
Author

DependenciesReport-2024-09-09.txt
dependencies report uploaded.

@jeremytammik
Copy link
Owner

some tool to help a human read Revit journal file?

check out https://thebuildingcoder.typepad.com/blog/2022/05/analysis-of-macros-journals-and-add-in-manager.html#4

@Nice3point
Copy link
Collaborator

@RichardPinka let's try to change the approach, previously this script compared the assembly version. Now the new version compares the file version. The results will be slightly different. Try running it again as administrator, update dependencies and if that doesn't help send a report.
DependenciesReport.zip

As a last resort, download this local build (not from the release), here the dependencies have been updated to the latest versions:
RevitLookup-2024.1.8-SingleUser.zip

If it doesn't help, please write, we'll try to check Runtime dependencies.

@RichardPinka
Copy link
Author

Thank You @jeremytammik , i will check them. anyway it seems my trouble with lagging of the Revit (after i click back into it from other software, e.g. excel, or chrome) has been sorted out by increase of virtual memory of my C drive.
@Nice3point i run dependencies report and this was the answer :
image

i installed the revit Lookup single user 2024.1.8 local built, but without any change.

@Nice3point
Copy link
Collaborator

Nice3point commented Sep 11, 2024

@RichardPinka interesting story, you have installed Dotnet but you don't see the system dependency. Never mind, in that case I have built a Native build especially for you, it doesn't need Dotnet installed and doesn't need any dependencies
DependenciesReport.zip

Just in case, please write down the exact version of Revit. Do you have all patches installed? Because I am testing with the latest updates https://help.autodesk.com/view/RVT/2024/ENU/?guid=RevitReleaseNotes_2024updates_2024_2_2_html.

@RichardPinka
Copy link
Author

@Nice3point thank You for your effort.
DependenciesReport-2024-09-15.txt

regarding the update, You were right, usually I'm counting on automatic update notifications and there was slightly newer update on cloud, which update notifier did not show for download+install.

installation version before was :
20240915_BEFORE

installation version after udpate :
20240915_AFTER

@Nice3point
Copy link
Collaborator

Great, did I understand correctly that the Revit update fixed the issue with RevitLookup launching?

@RichardPinka
Copy link
Author

... to finish my answer (after installing update and rebooting computer) i reinstalled also the RevitLookup plugin, by the file you sent me in this conversation.
error persisted :
image
here is the dependencies report used second time
DependenciesReport-2024-09-15_2.txt

... after accepting "try to fix dependencies and upgrade to the latest version? => Y
here is report
image
(after turned off the opened revit software ... finishing it by running script for second time )
image

after this updates (without rebooting) the revit agan showed error. but maybe not the same ?
image

@Nice3point
Copy link
Collaborator

Nice3point commented Sep 15, 2024

@RichardPinka no way, let's try scanning the dependencies loaded in Revit
AssembliesReport-1.0.0-SingleUser.zip

  • Install AssembliesReport addin.
  • Open Revit where Lookup startup has failed.
  • Run AssembliesReport.
  • A file will be created, send it here. This will be an easier way to trace dependencies loading

изображение

@RichardPinka
Copy link
Author

hello, i think after installation of the plugin new error window after starting revit occured (thus 2 together after starting)
image
second one
image

after running the assemblies report
image

and i rather send you also journal files from the session i test this ... maybe it brings you new info

journal.0227.txt
journal.0227.worker1.log

@Nice3point
Copy link
Collaborator

Illegal form🤔 Try this build, we can skip invalid assemblies
AssembliesReport-1.0.1-SingleUser.zip

@RichardPinka
Copy link
Author

ok, now it exported a file :D
AssembliesReport-2024-09-17.txt

@Nice3point
Copy link
Collaborator

@RichardPinka finally 😂

изображение

I compared your dependencies with mine and found this, Armacell.RVT plugin ships with Serilog version 2.24, Lookup includes the newer 4.0. Can you try disabling Armacell.RVT and see if RevitLookup works ?

@RichardPinka
Copy link
Author

RichardPinka commented Sep 17, 2024

Ok, i uninstalled the Armacell plugin. but after running revit, there was not revit lookup visible even it has been installed.

and it seems RevitLookup is there and working,hurray ! and Thank You for support !

(by the way, only purpose for this Armacell plugin was, that it was able to put "douple layered insulation" for pipes, which we designed onto pipings in exteriors" . but unfortunatelly another cool function which we would welcome was missing : distinguish, wether the piping is inside internal walls, or in shafts, or above ceiling, which are three different rules where three different logics of insulation applying . unfortunatelly, basic native Revit functions are always forgetting the MEP engineers needs)

it seemed to me a very difficult to find source of issue which i would expect should be somewere in first error window which opens.. but maybe it is not possible.

And now I can dig into my main goal which studying material and testing for prompting room/wall geometry for energy computation purposes by starting studying Jermemys posts related with Building Geometry (in Jeremy´s words: Scott Conover's brilliant class held at Autodesk University 2009 from Jeremys posts... unfortunatelly, the class material is gone, and also i am trying the Python way

thank You agan

@Nice3point
Copy link
Collaborator

Great news, after all this time you have Lookup working again. I need to refine the DependenciesReport and add the ApplicationAddins folder for analysis, which is why we couldn't find the root problem before. this will also allow you to use Armacell without uninstalling it. Stay tuned

@jeremytammik
Copy link
Owner

jeremytammik commented Sep 17, 2024

@RichardPinka , in reply to, unfortunatelly, basic native Revit functions are always forgetting the MEP engineers needs... one option you have is to raise a wishlist item for desired functionality in the Revit Idea Station. I like your explanation of the different pipe classsifications for insulation purposes!

@Nice3point
Copy link
Collaborator

@RichardPinka

I've added support for scanning all known paths. Now the script finds conflicts with built-in plugins, and especially importantly with downloaded plugins from Autodesk store.

изображение

Detailed description: #269 (comment)

I tried the Armacell download. After fixing the dependencies, RevitLookup and all other plugins continue to work . However, Armacell gives an error. This is because the developers of this plugin use reflection (maybe to load third party dlls?), and the wrong way to load dependencies is their fault, so the only thing to do is to enable this plugin as needed, and wait for Armacell developers to fix it.

Thanks so much again for testing, we have come a long way, hopefully this will help others in the future 🕊️

@RichardPinka
Copy link
Author

RichardPinka commented Sep 19, 2024

Revit functions are always forgetting the MEP engineers needs... one option you have is to raise a wishlist item for desired functionality in the Revit Idea Station. I like your explanation of the different pipe classsifications for insulation purposes!

Supercool Jeremy, thank You for suggestion,
I think i´ll have a time for raise more points for some suggestions for Revit developers ;)

@RichardPinka
Copy link
Author

@Nice3point
I do not need that Armacell plugin too often so when i will usit i will activate it.

thank You for having an effort in this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior duplicate 👥 Indicates that an identical issue or PR already exists
Projects
None yet
Development

No branches or pull requests

3 participants