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

[Linux, NixOS] BEEmod fails to compile chamber: ImportError: cannot import name 'areaportals' from partially initialized module 'postcomp.transforms' #4458

Open
L1Z3 opened this issue Dec 13, 2024 · 0 comments
Labels
Bug Something isn't working correctly Compile Error Something is preventing the map from compiling

Comments

@L1Z3
Copy link

L1Z3 commented Dec 13, 2024

BEE2 Application Version

Tested on 4.44.0, 4.45.2

BEE2 Package Version

Tested on 4.44.0, 4.45.0

What operating system are you running on?

Linux

Logs and Reports

VRAD failed.

Need implementation of utils.check_shift()!
[I] vrad.main(): BEE2.4.44.0 64-bit VRAD hook initiallised, srctools v2.4.1, Hammer Addons v(unknown)
[I] vrad.main(): Map path is /home/liz/.local/share/Steam/steamapps/common/Portal 2/sdk_content/maps/preview.bsp
[I] vrad.main(): Loading Settings...
[I] vrad.main(): Reading BSP
[I] vrad.main(): Map status: is_peti=True, is_preview=True light_args=FAST
[I] vrad.main(): Done!
[I] vrad.main(): Reading soundscripts...
[W] packlist.load_soundscript_manifest(): Soundscript "scripts/game_sounds_music_A1.txt" does not exist!
[W] packlist.load_soundscript_manifest(): Soundscript "scripts/game_sounds_music_A2.txt" does not exist!
[W] packlist.load_soundscript_manifest(): Soundscript "scripts/game_sounds_music_A3.txt" does not exist!
[W] packlist.load_soundscript_manifest(): Soundscript "scripts/game_sounds_music_A4.txt" does not exist!
[W] packlist.load_soundscript_manifest(): Soundscript "scripts/game_sounds_BR_world.txt" does not exist!
[I] vrad.main(): Reading particles....
[I] vrad.main(): Loading transforms...
[E] logger.except_handler(): Uncaught Exception:
Traceback (most recent call last):
  File "compiler_launch.py", line 37, in <module>
  File "trio/_core/_run.py", line 2407, in run
  File "vrad.py", line 238, in main
  File "vrad.py", line 45, in load_transforms
  File "PyInstaller/loader/pyimod02_importers.py", line 384, in exec_module
  File "transforms_stub.py", line 2, in <module>
ImportError: cannot import name 'areaportals' from partially initialized module 'postcomp.transforms' (most likely due to a circular import) (/home/liz/.local/share/Steam/steamapps/common/Portal 2/bin/linux32/bee2_bin/postcomp/transforms.pyc)
[PYI-1938621:ERROR] Failed to execute script 'compiler_launch' due to unhandled exception!

Additional information

I'm attempting to get BEEmod working on NixOS. With some difficulty, I was able to compile and run the BEEmod app, but when attempting to build any puzzle with BEEmod installed, I get the above error.

@L1Z3 L1Z3 added Bug Something isn't working correctly Compile Error Something is preventing the map from compiling labels Dec 13, 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 correctly Compile Error Something is preventing the map from compiling
Projects
None yet
Development

No branches or pull requests

1 participant