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

Loading OZ hood crashes #44

Open
GamerBoy563 opened this issue Apr 2, 2023 · 3 comments
Open

Loading OZ hood crashes #44

GamerBoy563 opened this issue Apr 2, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@GamerBoy563
Copy link

Traceback (most recent call last):
File "C:\Panda3D-1.11.0-Py39-x64\python\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Panda3D-1.11.0-Py39-x64\python\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "E:\Train Simulator\OpenLevelEditor-1.1.16\OpenLevelEditor-1.1.16\ttle.py", line 263, in
ToontownLevelEditor().run()
File "E:\Train Simulator\OpenLevelEditor-1.1.16\OpenLevelEditor-1.1.16\ttle.py", line 150, in init
self.le = LevelEditor.LevelEditor()
File "E:\Train Simulator\OpenLevelEditor-1.1.16\OpenLevelEditor-1.1.16\toontown\leveleditor\LevelEditor.py", line 109, in init
self.styleManager = LevelStyleManager(NEIGHBORHOODS, NEIGHBORHOOD_CODES)
File "E:\Train Simulator\OpenLevelEditor-1.1.16\OpenLevelEditor-1.1.16\toontown\leveleditor\LevelStyleManager.py", line 21, in init
self.createWallStyleAttributes()
File "E:\Train Simulator\OpenLevelEditor-1.1.16\OpenLevelEditor-1.1.16\toontown\leveleditor\LevelStyleManager.py", line 169, in createWallStyleAttributes
self.createWallStyleMenu(neighborhood, attribute.getDict()))
File "E:\Train Simulator\OpenLevelEditor-1.1.16\OpenLevelEditor-1.1.16\toontown\leveleditor\LevelStyleManager.py", line 252, in createWallStyleMenu
bounds = node.getBounds()
AssertionError: !is_empty() at line 538 of panda/src/pgraph/nodePath.cxx

(please ignore the train simulator directory)

@GamerBoy563 GamerBoy563 added the bug Something isn't working label Apr 2, 2023
@GamerBoy563
Copy link
Author

Bit more info, its trying to find an OZ Town dna file

@GamerBoy563
Copy link
Author

after removing the oz town from the hood json

I now get this

🧬 Reading /e/Train Simulator/OpenLevelEditor-1.1.16/OpenLevelEditor-1.1.16/phase_4/dna/storage.dna
🧬 Reading /e/Train Simulator/OpenLevelEditor-1.1.16/OpenLevelEditor-1.1.16/phase_5/dna/storage_town.dna
🧬 Reading /e/Train Simulator/OpenLevelEditor-1.1.16/OpenLevelEditor-1.1.16/phase_6/dna/storage_OZ.dna
🧬 Reading /e/Train Simulator/OpenLevelEditor-1.1.16/OpenLevelEditor-1.1.16/phase_6/dna/storage_OZ_sz.dna
Loading baseline styles from: outdoor_zone/baseline_styles.txt
Loading wall styles from: outdoor_zone/wall_styles.txt
Assertion failed: !is_empty() at line 538 of panda/src/pgraph/nodePath.cxx
Assertion failed: !is_empty() at line 1243 of panda/src/pgraph/nodePath.cxx
Assertion failed: !is_empty() at line 1964 of panda/src/pgraph/nodePath.cxx
Assertion failed: !is_empty() at line 228 of P:\P3D\p3_py39\built_x64\include\nodePath.I
Traceback (most recent call last):
File "C:\Panda3D-1.11.0-Py39-x64\python\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Panda3D-1.11.0-Py39-x64\python\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "E:\Train Simulator\OpenLevelEditor-1.1.16\OpenLevelEditor-1.1.16\ttle.py", line 258, in
ToontownLevelEditor().run()
File "E:\Train Simulator\OpenLevelEditor-1.1.16\OpenLevelEditor-1.1.16\ttle.py", line 146, in init
self.le = LevelEditor.LevelEditor()
File "E:\Train Simulator\OpenLevelEditor-1.1.16\OpenLevelEditor-1.1.16\toontown\leveleditor\LevelEditor.py", line 105, in init
self.styleManager = LevelStyleManager(NEIGHBORHOODS, NEIGHBORHOOD_CODES)
File "E:\Train Simulator\OpenLevelEditor-1.1.16\OpenLevelEditor-1.1.16\toontown\leveleditor\LevelStyleManager.py", line 21, in init
self.createWallStyleAttributes()
File "E:\Train Simulator\OpenLevelEditor-1.1.16\OpenLevelEditor-1.1.16\toontown\leveleditor\LevelStyleManager.py", line 169, in createWallStyleAttributes
self.createWallStyleMenu(neighborhood, attribute.getDict()))
File "E:\Train Simulator\OpenLevelEditor-1.1.16\OpenLevelEditor-1.1.16\toontown\leveleditor\LevelStyleManager.py", line 252, in createWallStyleMenu
bounds = node.getBounds()
AssertionError: !is_empty() at line 538 of panda/src/pgraph/nodePath.cxx

@drewc5131
Copy link
Collaborator

Probably have to clear the wall style files for OZ. it was developed with clash in mind

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

2 participants