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

[Bug]: PyRevit is not showing inside Revit versions #2217

Closed
5 tasks done
JunoJolly opened this issue Apr 22, 2024 · 11 comments
Closed
5 tasks done

[Bug]: PyRevit is not showing inside Revit versions #2217

JunoJolly opened this issue Apr 22, 2024 · 11 comments
Labels
Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] Closed Old Issue Issue older than a year. Thanks for pointing it out. If you feel it is still relevant, feel free to

Comments

@JunoJolly
Copy link

✈ Pre-Flight checks

  • I don't have SentinelOne antivirus installed (see above for the solution)
  • I have searched in the issues (open and closed) but couldn't find a similar issue
  • I have searched in the pyRevit Forum for similar issues
  • I already followed the installation troubleshooting guide thoroughly
  • I am using the latest pyRevit Version

🐞 Describe the bug

Hello Team,

We have installed PyRevit but the addon is not visible inside Revit.

⌨ Error/Debug Message

PyRevit is missing in Revit.

Tried running the command " pyrevit attach master 277 --installed " and got below error
Error: Can not find engine with specified version "277" is found
Run with "--debug" option to see debug messages

♻️ To Reproduce

No response

⏲️ Expected behavior

No response

🖥️ Hardware and Software Setup (please complete the following information)

C:\Users\00jjolly>pyrevit env
==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
master | Deploy: "basepublic" | Branch: "master" | Version: "4.8.15.24089+0912" | Path: "C:\Users\00jjolly\AppData\Roaming\pyRevit-Master"
==> Attachments
master | Product: "2024.0.2" | Engine: DEFAULT (2711) | Path: "C:\Users\00jjolly\AppData\Roaming\pyRevit-Master"
==> Installed Extensions
==> Default Extension Search Path
C:\Users\00jjolly\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
==> Extension Sources - Default
https://github.com/eirannejad/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
2024.0.2 | Version: 24.0.20.20 | Build: 20230509_0315(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2024\"
==> Running Revit Instances
PID: 3704 | 2024.0.2 | Version: 24.0.20.20 | Build: 20230509_0315(x64) | Language: 0 | Path: "C:\Program Files\Autodesk\Revit 2024"
==> User Environment
Microsoft Windows 10 [Version 10.0.19045]
Active User:
Admin Access: No
%APPDATA%: "C:\Users\00jjolly\AppData\Roaming"
Latest Installed .Net Framework: 4.8
No .Net Target Packs are installed.
No .Ne-Core Target Packs are installed.
pyRevit CLI v4.8.15.24089+0912.f079f5fd51756b988a06d005d4f4cd2961f36e63

Additional context

No response

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

jmcouffin commented Apr 22, 2024

please try pyrevit attach master 2711 --installed

@jmcouffin
Copy link
Contributor

jmcouffin commented Apr 22, 2024

mistyped earlier, just typing the right command again to make sure you get the right one
pyrevit attach master 2711 --installed

@jmcouffin
Copy link
Contributor

pyrevit detects only 2024 version of revit, do you have any other Revit version installed? @JunoJolly

@JunoJolly
Copy link
Author

We need to make this addin available to a group of users in our organization via Software center.
And we may need it for different versions of Revit.
Currently I am testing it only Revit 2024.

@jmcouffin
Copy link
Contributor

and it is not showing in Revit 2024 after running the command?

@jmcouffin
Copy link
Contributor

no reaction, closing the issue

@jmcouffin jmcouffin added the Closed Old Issue Issue older than a year. Thanks for pointing it out. If you feel it is still relevant, feel free to label May 23, 2024
@JunoJolly
Copy link
Author

Sorry for the late reply.

Could you please confirm whether the pyrevit plugin will work for other version of Revit(2023,2022,2021).

@JunoJolly
Copy link
Author

and it is not showing in Revit 2024 after running the command?

After running the command it worked for Revit 2024 but would like to know whether it will work for other versions or not.

@jmcouffin
Copy link
Contributor

It should

@JunoJolly
Copy link
Author

JunoJolly commented May 28, 2024

In one of our test machine Revit 2024 and Revit 2023 are available,when running the command I am getting below error.
command " C:\Users\00jjolly>pyrevit attach master 2711 --installed
Error: Can not find clone "master"
Run with "--debug" option to see debug messages

Tried running with debug option and got below info:-

C:\Users\00jjolly>pyrevit attach master 2711 --installed --debug
<clone_name> = master
attach = True
<engine_version> = 2711
--installed = True
Debug: Checking for all: wiki
Debug: Missing: wiki
Debug: Checking for all: blog
Debug: Missing: blog
Debug: Checking for all: docs
Debug: Missing: docs
Debug: Checking for all: source
Debug: Missing: source
Debug: Checking for all: youtube
Debug: Missing: youtube
Debug: Checking for all: support
Debug: Missing: support
Debug: Checking for all: env
Debug: Missing: env
Debug: Checking for all: update
Debug: Missing: update
Debug: Checking for all: clone
Debug: Missing: clone
Debug: Checking for all: clones
Debug: Missing: clones
Debug: Checking for all: attach
Debug: Try getting config as dict "environment:clones"
Debug: Try getting config "environment:clones"
Debug: Config "environment:clones" not set.
Error: Can not find clone "master" (pyRevitLabs.Common.PyRevitException)
at pyRevitLabs.PyRevit.PyRevitClones.GetRegisteredClone(String cloneNameOrRepoPath)
at pyRevitCLI.PyRevitCLI.ProcessArguments()
at pyRevitCLI.PyRevitCLI.Main(String[] args)

@jmcouffin
Copy link
Contributor

jmcouffin commented May 28, 2024

Run pyrevit env
And see if you have a clone named master in the registered clones section of the output of the command

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] Closed Old Issue Issue older than a year. Thanks for pointing it out. If you feel it is still relevant, feel free to
Projects
None yet
Development

No branches or pull requests

2 participants