pyrevitlabs / pyRevit

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

Pyrevit 2024 new version doesn't work on my revit 2024, how can i solve this? #1867

Closed Simo-Billy closed 1 year ago

Simo-Billy commented 1 year ago

Describe the bug I installed pyrevit last version 4.8.13.23182, but however doesn't load on my revit 2024, it doesn't appear in ribbon bar and also if i try to work in command prompt with command "pyrevit attach" or "pyrevit clones" it doesn't work.

When i try to attach master it's written that there aren't issue installed, so i try clones master but after cloning, when i go to installed version appear nothing, how can i solve?

Run 'pyrevit COMMAND --help' for more information on a command.

C:\Users\Simone>C:\Users\Simone\AppData\Roaming\pyRevit-MasterC:\Users\Simone\AppData\Roaming\pyRevit-Master

C:\Users\Simone>pyrevit clones ==> Registered Clones (full git repos) ==> Registered Clones (deployed from archive/image) master | Deploy: "basepublic" | Branch: "master" | Version: "4.8.13.23182+2215" | Path: "C:\Users\Simone\AppData\Roaming\pyRevit-Master"

C:\Users\Simone>pyrevit attach master 277 --installed Error: Riferimento a un oggetto non impostato su un'istanza di oggetto. Run with "--debug" option to see debug messages

C:\Users\Simone>pyrevit clones add master "C:\Users\Simone\AppData\Roaming\pyRevit-Master" Error: Clone with repo path "C:\Users\Simone\AppData\Roaming\pyRevit-Master" already exists. Run with "--debug" option to see debug messages

jmcouffin commented 1 year ago

try pyrevit attach master 2711 --installed --allusers in the command line

jmcouffin commented 1 year ago

if that does not work I would try to uninstall it then reinstall it.

jmcouffin commented 1 year ago

@Simo-Billy any news?

Simo-Billy commented 1 year ago

nope, it doesn't work anymore, or i disinstall/re-install or also when i use new prompt directions like. why?

jmcouffin commented 1 year ago

nope, it doesn't work anymore, or i disinstall/re-install or also when i use new prompt directions like. why?

Sorry, I don't understand your reply. If uninstalling-reinstalling is a question, yes you should try that, and also clear the %appdata% pyrevit folders

After installing the latest version, please paste the results of the pyrevit env command here

Simo-Billy commented 1 year ago

after unistalling-reinstalling it always doesn't work :(

this is pyrevit env: C:\Users\Simone>pyrevit env ==> Registered Clones (full git repos) ==> Registered Clones (deployed from archive/image) master | Deploy: "basepublic" | Branch: "master" | Version: "4.8.13.23182+2215" | Path: "C:\Users\Simone\AppData\Roaming\pyRevit-Master" ==> Attachments Error: Riferimento a un oggetto non impostato su un'istanza di oggetto. Run with "--debug" option to see debug messages

jmcouffin commented 1 year ago

And running this pyrevit attach master 2711 --installed --allusers Does it throw an error? And the 'pyrevit env' command after that spits the same error?

Simo-Billy commented 1 year ago

C:\Users\Simone>pyrevit attach master 2711 --installed --allusers Error: Riferimento a un oggetto non impostato su un'istanza di oggetto. Run with "--debug" option to see debug messages

C:\Users\Simone>pyrevit env ==> Registered Clones (full git repos) ==> Registered Clones (deployed from archive/image) master | Deploy: "basepublic" | Branch: "master" | Version: "4.8.13.23182+2215" | Path: "C:\Users\Simone\AppData\Roaming\pyRevit-Master" ==> Attachments Error: Riferimento a un oggetto non impostato su un'istanza di oggetto. Run with "--debug" option to see debug messages

?? why ??

christopherr111 commented 1 year ago

Uninstall all versions of Pyrevit and install the new release version. It appears to be a conflict between installs as when you install the new release it does not remove the old ones. We have 5 systems that all had the same error of having 2023 work but 2024 would not load. Uninstalled all versions and reinstalled the latest and worked right away. I am not a coder yet so not too sure what the conflict is but that seems to solve it and we are running steady on all machines for more than 2 weeks now.

jmcouffin commented 1 year ago

@Simo-Billy any news?