pyrevitlabs / pyRevit

Rapid Application Development (RAD) Environment for Autodesk Revit®
http://wiki.pyrevitlabs.io
GNU General Public License v3.0
1.28k stars 331 forks source link

INSTALLATION 4.6.19 Completed but no addin created. #574

Closed Majordad101 closed 5 years ago

Majordad101 commented 5 years ago

Describe the bug Installed the version - 4.6.19. All processes appeared correct.

I checked the revit addin folder, both the shared and personal folders and the pyrevit.addin was not created in both cases. I checked the versions of Revit to check if it was the number of addins that may have had the impact of denying access to the ribbon bar.

I am the Administrator and the only user on the laptop. So I tried an installation with a new user and the option of installation for the current user did not appear. I have another laptop and the installation has been perfect.

I have had an issue with Dynamo 1.3.4 and 2.2 when earlier versions of pyRevit were loaded. The Nodes in Dynamo disappeared, and the connectors were all that was visible. I tested the Nvidia Card/drivers and settings to integrated gpu. so uninstalled pyrevit.

Screenshots If applicable, add screenshots to help explain your problem. Until I get the installation resolved, I cannot test the graphics issue again.

Desktop (please complete the following information):

eirannejad commented 5 years ago

Would you please confirm that pyRevit is installed inside '%appdata%/pyRevit` directory?

eirannejad commented 5 years ago

@Majordad101 Hey. I'd really appreciate if you can respond on the issue tracker and not through email. The attachments don't get throught and it has a lot of unnecessary contents and signature with it. Thanks!

Majordad101 commented 5 years ago

There are two folders in %appdata%.

pyRevit 2019-04-09_16-51-21

pyRevit-Master 2019-04-09_19-51-30

The main .dlls etc are in the pyrevit-Master folder.
I have previously cleared out all Registry Entries including previous versions. My apologies for the response via email. I didn't think!

eirannejad commented 5 years ago

Okay open a command prompt and run pyrevit attach master 277 --installed. This would create the .addin manifest files to attach pyrevit to installed Revits. Let me know if you see any errors.

Majordad101 commented 5 years ago

Ehsan,
Many thanks for the solution. I had a check on the error i raised and the used the --debug to see there were remnants of the Revit 2015 installation. I cleared the registry and re-ran the cmd line. And the .addin files were created.

This was the result of loading revit, and the error raised. I am stumped. You have been very tolerant and I thank you for your concern.

image

eirannejad commented 5 years ago

Okay we got it loading. So this error is similar to #442 pyRevit uses Mahapps module for the metro style UI componens and seems like this creates conflicts with other addons using a different version of this library.

Would you mind investigating and check what other addons you have installed?

Majordad101 commented 5 years ago

Ehsan, I loaded into revit, with the error. I closed Revit. Opened it again. Viola! It required the first load and then worked. great/ Its related to the loading of pyRevit but Revit 2017, had issues with loading a script and running it on ver 1.3.4 . Repeated on 2018 and no problem on Dynamo ver 1.3.4. The issue I have had previously was a graphic issue when connectors were visible but, not the nodes. That appears to have been resolved. The add-ins count has caused issues with previous versions but pyRevit menu tab was fine. It has resolved my issues. So, I am very grateful for your efforts with pyRevit. Its a brilliant application. Regards Pierre

Majordad101 commented 5 years ago

Would you like a list of the addons I have installed?

BIM360Glue Communicator CTC-BIM-Batch-Suite ExportViewSelector revit_exporter2017 Tools4BimDock 0_Enscape Autodesk.Collaborate Autodesk.eTransmitApplication Autodesk.RevitDBLink Autodesk.RevitMEPSpaceNamingUtility.a... Avail.Browser.2017 BIM360GlueRevitAddin BIT.lO.CIassificationManager BIT.20.ModelChecker BIT.30.COBieExtension. addin bluebeamAddin2018 Communicator Dynamo ExportViewSelectorApp. addin FormltConverter IdeateSoftwarelSW IdeateSticky Insight KMPIus nwexportrevit PIG RTVTools_2017 XrevT ransmit

BJozi commented 5 years ago

I'm having the same issue, where it was installed in the administrator account but no other users have the add-in.

I tried running the above command in cmd, does this only work as administrator? The arror I get is below

'pyrevit' is not recognized as an internal or external command, operable program or batch file.

Majordad101 commented 5 years ago

@BJozi Have you opened the command in the folder containing the pyrevit exe. Change to the bin folder and check that pyrevit is there.

BJozi commented 5 years ago

@Majordad101 Could you elaborate on that, where is the folder I should be able to find pyrevit.exe (assuming you don't mean the installer)?

Majordad101 commented 5 years ago

If youre using the default settings. The path is %appdata% C:\Users[USERNAME]\AppData\Roaming\pyRevit-Master\bin. to find pyrevit.exe

BJozi commented 5 years ago

It's missing from the roaming folder under my user account. We installed it while logged into admin, I'll ask to login and look for it under that account and run the command.

Majordad101 commented 5 years ago

I have an operating system. @eirannejad , thanks for the valuable input. Do I close the topic?