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

Latest engines not working #618

Closed
deddolo opened this issue May 31, 2019 · 3 comments
Closed

Latest engines not working #618

deddolo opened this issue May 31, 2019 · 3 comments

Comments

@deddolo
Copy link
Contributor

deddolo commented May 31, 2019

I tried installing 4.6.23 (via CLI) and attach using 372 or 368 engines, but Revit fails to locate pyRevitLoader.dll in the engines folder (the file does not exist). Solution was to just revert to 279 engine.

I don't know if this is expected/known issue.

@eirannejad
Copy link
Collaborator

@deddolo I really appreciate if you can fill in the issue template and not delete the typical questions included there. Please run pyrevit env and share results.

@deddolo
Copy link
Contributor Author

deddolo commented Jun 2, 2019

@eirannejad here's the output from pyrevit env.

==> Registered Clones (full git repos)
master | Branch: "master" | Version: "Unknown:c1e2dff" | Path: "C:\Users\david\AppData\Roaming\pyRevit\pyRevit"
==> Registered Clones (deployed from archive/image)
develop2 | Deploy: "base" | Branch: "develop" | Version: "Unknown" | Path: "C:\Users\david\AppData\Roaming\pyRevit\pyRevitCopy"
new_test | Deploy: "base" | Branch: "release/4.6.24" | Version: "4.6.23" | Path: "C:\users\david\appdata\roaming\pyrevit_test"
==> Attachments
new_test | Product: "Autodesk Revit 2019.2 (Update)" | Engine: 279 | Path: "C:\users\david\appdata\roaming\pyrevit_test" | Manifest: "C:\Users\david\AppData\Roaming\Autodesk\Revit\Addins\2019\pyRevit.addin"
new_test | Product: "Autodesk Revit 2018.3.2" | Engine: 279 | Path: "C:\users\david\appdata\roaming\pyrevit_test" | Manifest: "C:\Users\david\AppData\Roaming\Autodesk\Revit\Addins\2018\pyRevit.addin"
new_test | Product: "Autodesk Revit 2017.2.4" | Engine: 279 | Path: "C:\users\david\appdata\roaming\pyrevit_test" | Manifest: "C:\Users\david\AppData\Roaming\Autodesk\Revit\Addins\2017\pyRevit.addin"
new_test | Product: "Autodesk Revit 2016 Update 8 for R2 (2016.1.8)" | Engine: 279 | Path: "C:\users\david\appdata\roaming\pyrevit_test" | Manifest: "C:\Users\david\AppData\Roaming\Autodesk\Revit\Addins\2016\pyRevit.addin"
==> Installed Extensions
pyOdehTool | Type: Unknown | Repo: "" | Installed: "C:\Users\david\OneDrive - Odeh Engineers\pyRevit\Custom Extensions\pyOdehTool.extension"
pyOdehToolWIP | Type: Unknown | Repo: "" | Installed: "C:\Users\david\OneDrive - Odeh Engineers\pyRevit\pyOdehToolWIP.extension"
==> Default Extension Search Path
C:\Users\david\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
C:\Users\david\OneDrive - Odeh Engineers\pyRevit
C:\Users\david\OneDrive - Odeh Engineers\pyRevit\Custom Extensions
==> Extension Sources - Default
https://github.com/eirannejad/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
Autodesk Revit 2019.2 (Update) | Version: 19.2.0.65 | Build: 20181217_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2019"
Autodesk Revit 2018.3.2 | Version: 18.3.2.7 | Build: 20181011_1500(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2018"
Autodesk Revit 2017.2.4 | Version: 17.0.1158.0 | Build: 20181011_1645(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2017"
Autodesk Revit 2016 Update 8 for R2 (2016.1.8) | Version: 16.0.1205.0 | Build: 20170117_1200(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2016"
==> Running Revit Instances
==> User Environment
Microsoft Windows 10 [Version 10.0.17763]
Executing User: LEMONYSNICKET\david
Active User: LEMONYSNICKET\david
Adming Access: No
%APPDATA%: "C:\Users\david\AppData\Roaming"
Latest Installed .Net Framework: 4.7.2
Installed .Net Target Packs: v3.5 v4.0 v4.5 v4.5.1 v4.5.2 v4.6 v4.6.1 v4.7.1 v4.7.2 v4.X
Installed .Net-Core Target Packs: v2.1.600 v2.1.602
pyRevit CLI 0.11.0.0

You'll notice that engine 279 is the attached one because it's the newest one that worked. When I tried to run "pyrevit attach new_test latest --installed" I got the following error:

C:\Users\david>pyrevit attach new_test latest --installed
Error: Engine "0" can not be used as runtime.
Run with "--debug" option to see debug messages

eirannejad added a commit that referenced this issue Jun 3, 2019
Moved "latest" engine logic into the cli alongside "dyanmosafe"
@eirannejad
Copy link
Collaborator

@deddolo Thanks. Found the bug and fixed. Will push with v0.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants