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

ModBuilder calls "onInstall" script even if bundle pack is not enabled for install #43

Open
xezon opened this issue Jun 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@xezon
Copy link
Contributor

xezon commented Jun 22, 2024

Reproducible in Sample Project when selecting that is not "ProjectCore".

Perhaps also affects other callback types.

Call script D:\Projects\TheSuperHackers\GeneralsModBuilderSample\Project\Scripts\Python\OnInstallPack ...
OnInstallPack.py called ...
ERROR CALLSTACK
Traceback (most recent call last):
  File "gui\gui.py", line 421, in _DoWork
  File "gui\gui.py", line 309, in <lambda>
  File "buildfunctions.py", line 122, in RunWithConfig
  File "build\engine.py", line 295, in Run
  File "build\engine.py", line 970, in __Install
  File "build\engine.py", line 372, in __SendBundleEvents
  File "build\engine.py", line 334, in __CallScript
  File "D:\Projects\TheSuperHackers\GeneralsModBuilderSample\Project\Scripts\Python\OnInstallPack.py", line 10, in OnEvent
    assert rawBuildThing != None, "_rawBuildThing kwargs not found"
AssertionError: _rawBuildThing kwargs not found
@xezon xezon added the bug Something isn't working label Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant