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

BEE2.4 ARTIFACT BUILD: The application sometimes can crash when launching. #2001

Open
LautaroL20 opened this issue Nov 26, 2023 · 5 comments
Labels
App Crash Something is causing the app to crash Bug Something isn't working correctly

Comments

@LautaroL20
Copy link
Member

LautaroL20 commented Nov 26, 2023

On first launch, the application will crash, but on a second launch it will work.

Traceback (most recent call last):
  File "app\BEE2.py", line 116, in init_app
  File "app\UI.py", line 1812, in init_windows
  File "BEE2_config.py", line 77, in read_settings
  File "BEE2_config.py", line 57, in apply_settings
  File "app\selector_win.py", line 156, in load_handler
  File "app\selector_win.py", line 114, in parse
  File "app\selector_win.py", line 114, in <dictcomp>
  File "srctools\property_parser.py", line 494, in find_children
  File "srctools\property_parser.py", line 478, in find_all
  File "srctools\property_parser.py", line 754, in __iter__
ValueError: Can't iterate through Property('_version', '1') without children!
[INFO] UI.quit_application(): Shutting down application.

Artifact app: beemod2_6095b208c79342ae7ad43f2fbc4353ab1f2b4318_win32
Artifact packages: beemod2_a15f14901c413a13e624b750e33947724b9b04c9_packages

@LautaroL20 LautaroL20 added Bug Something isn't working correctly App Crash Something is causing the app to crash labels Nov 26, 2023
@LautaroL20
Copy link
Member Author

Now I have tried to launch the public BEEmod release and I have experienced this crash as well:

Traceback (most recent call last):
  File "app\BEE2.py", line 116, in init_app
  File "app\UI.py", line 1812, in init_windows
  File "BEE2_config.py", line 77, in read_settings
  File "BEE2_config.py", line 57, in apply_settings
  File "app\selector_win.py", line 156, in load_handler
  File "app\selector_win.py", line 114, in parse
  File "app\selector_win.py", line 114, in <dictcomp>
  File "srctools\property_parser.py", line 494, in find_children
  File "srctools\property_parser.py", line 478, in find_all
  File "srctools\property_parser.py", line 754, in __iter__
ValueError: Can't iterate through Property('_version', '1') without children!
[INFO] UI.quit_application(): Shutting down application.

@TeamSpen210
Copy link
Member

This traceback seems to suggest a real old version, are there any extra files in the install folder or something that it could be loading?

@LautaroL20
Copy link
Member Author

TeamSpen2010 said: "This traceback seems to suggest a real old version"

When this crash happened the first time, I was using the arctifact app and packages that are mentioned in this post desc.

@vrad-exe
Copy link
Member

Does this work now if you download the latest build? Also I guess make sure to delete the previous build beforehand or install it to a different location to be sure there are no old files left over

@LautaroL20
Copy link
Member Author

vrad-exe said: "Does this work now if you download the latest build?"

This is my situation... unfortunately, some hardware pieces from my PC died recently, so until I replace these, will not be able to test anything. Right now I am using my phone which is trash btw, so I am not sure when I am going to be able to repair my PC... I think that when I finally get my PC ready, I will install Windows 10, because I must admit that Win 7 is definitelly dead (Steam, Python, new games, all this no longer has support right now) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Crash Something is causing the app to crash Bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

3 participants