pyrevitlabs / pyRevit

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

I'm having problem with Revit 2024 pyrevit loader #2301

Closed danielraziel closed 4 months ago

danielraziel commented 4 months ago

✈ Pre-Flight checks

🐞 Describe the bug

Hi, I have tried many ways described in issues, like #1075 and still it doesn't work. tried reinstalling both revit and pyrevit and ironpython. using without ironpyton, with ironpython, different versions of it (2.7.11 2.7.12 3.4.1) but the loader still has the famous (ironpython traceback issue) I don't know how to fix it... can anyone help please?

image image

⌨ Error/Debug Message

C:\Users\Danial>pyrevit attached
==> Attachments
master | Product: "2024 First Customer Ship" | Engine: DEFAULT (2711) | Path: "C:\Users\Danial\AppData\Roaming\pyRevit-Master"

♻️ To Reproduce

No response

⏲️ Expected behavior

No response

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

C:\Users\Danial>pyrevit env
==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
master | Deploy: "basepublic" | Branch: "master" | Version: "4.8.16.24121+2117" | Path: "C:\Users\Danial\AppData\Roaming\pyRevit-Master"
==> Attachments
master | Product: "2024 First Customer Ship" | Engine: DEFAULT (2711) | Path: "C:\Users\Danial\AppData\Roaming\pyRevit-Master"
==> Installed Extensions
==> Default Extension Search Path
C:\Users\Danial\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
==> Extension Sources - Default
https://github.com/pyrevitlabs/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
2024 First Customer Ship | Version: 24.0.4.427 | Build: 20230308_1635(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2024\"
==> Running Revit Instances
PID: 1880 | 2024 First Customer Ship | Version: 24.0.4.427 | Build: 20230308_1635(x64) | Language: 0 | Path: "C:\Program Files\Autodesk\Revit 2024"
==> User Environment
Microsoft Windows 10 [Version 10.0.19045]
Executing User: DESKTOP-T1P8LO0\Danial
Active User: DESKTOP-T1P8LO0\Danial
Admin Access: No
%APPDATA%: "C:\Users\Danial\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.16.24121+2117.23a0b8cbc4babdeb29a0611e159d017bbe9cbad5

Additional context

No response

GianClaudioScarafini commented 4 months ago

I have similar issue with this version: 24.2.10.64

image

jmcouffin commented 4 months ago

both errors are different from #1075 For the first one @danielraziel, use these steps:

jmcouffin commented 4 months ago

/install-fix

github-actions[bot] commented 4 months ago

Hi @danielraziel, Try these steps:

  1. Uninstall pyRevit

  2. Delete C:\ProgramData and %AppData%\ pyRevit and pyrevit-master folders

  3. Move all Revit addins to a temporary location. Usual addins locations include:

    • %AppData%\Autodesk\Revit\Addins
    • %AppData%\Autodesk\ApplicationPlugins
    • %ProgramData%\Autodesk\Revit\Addins
    • %ProgramData%\Autodesk\ApplicationPlugins
  4. [Reboot computer]

  5. Reinstall pyRevit

  6. Started each version of Revit confirming pyRevit successfully compiled at startup.

  7. Move all Revit addins that were moved in step 3 back to their original location. You may want to add them one at a time and start a revit session everytime to figure out which ones are causing the issue.

danielraziel commented 4 months ago

both errors are different from #1075 For the first one @danielraziel, use these steps:

Thanks a lot!! I'll try it and post the result here tomorrow.

danielraziel commented 4 months ago

/install-fix I have moved all of the folders that were mentioned in the guide to another location in desktop, then reboot reinstalled and I still get the same error I believe...

image

jmcouffin commented 4 months ago

maybe this is the issue: https://stackoverflow.com/a/65111729/20894305 Or this https://www.epiusers.help/t/error-when-launching-the-image-data-generated-an-overflow-during-processing/104872/3

danielraziel commented 4 months ago

maybe this is the issue: https://stackoverflow.com/a/65111729/20894305 Or this https://www.epiusers.help/t/error-when-launching-the-image-data-generated-an-overflow-during-processing/104872/3

WOW! Thanks a lot!! it fixed my problem! my display color was different from default! many thanks dear @jmcouffin u r a hero!

jmcouffin commented 4 months ago

Hero I don't know, but glad it helped!

jmcouffin commented 4 months ago

I have similar issue with this version: 24.2.10.64

image

@GianClaudioScarafini you issue is different but this fix should do the job: https://github.com/pyrevitlabs/pyRevit/issues/2301#issuecomment-2203530155 If not, please open a new issue