ENDERZOMBI102 / Retro-Station

A Package about old BEE addons and TWP items port
Other
4 stars 1 forks source link

TNT Turret broke something (Downloaded via Master ZIP File) #8

Closed CubieJudy closed 4 years ago

CubieJudy commented 4 years ago

Traceback (most recent call last): File "F:\Git\BEE2.4\src\BEE2_launch.pyw", line 50, in File "", line 961, in _find_and_load File "", line 950, in _find_and_load_unlocked File "", line 655, in _load_unlocked File "C:\Users\Spencer Brown.virtualenvs\BEE2\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module File "F:\Git\BEE2.4\src\BEE2.py", line 92, in File "F:\Git\BEE2.4\src\packageLoader.py", line 441, in load_packages File "F:\Git\BEE2.4\src\packageLoader.py", line 357, in find_packages File "F:\Git\srctools\srctools\filesys.py", line 115, in read_prop File "F:\Git\srctools\srctools\property_parser.py", line 251, in parse srctools.property_parser.KeyValError: Property cannot have sub-section if it already has an in-line value.

A "name" "value" line cannot then open a block. Error occurred on line 21, with file "C:\Users\keith\Desktop\Beemod\packages\Retro-Station-master:info.txt".

Flash4433 commented 4 years ago

Thank you, I forgot to remove that extra line. I already fixed it.

CubieJudy commented 4 years ago

Ah! I was just about to say i figured out what happened! Awesome to hear this! Can't wait!

Flash4433 commented 4 years ago

It was an issue with the 50's TNT Turret, I forgot to remove a line from the example I used. Basically, it was searching for the files in an empty folder. Not only that but it had to override stuff that didn't exist. Removing that extra line made it use Clean's TNT Turret as a base so it could do the necessary overrides. Thank you for bringing this to our attention!

CubieJudy commented 4 years ago

Ah ha! However I do believe there is more issues.

With the lines seen here { "0" "icon" "palette/oldAp/redturret.png" "0" "bee2" "oldAp/redturret.png" }

It gives an error for having two names in both. I delete the "icon" and "bee2" respectively and it works. However then it gives me

Traceback (most recent call last): File "F:\Git\BEE2.4\src\BEE2_launch.pyw", line 50, in File "", line 961, in _find_and_load File "", line 950, in _find_and_load_unlocked File "", line 655, in _load_unlocked File "C:\Users\Spencer Brown.virtualenvs\BEE2\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module File "F:\Git\BEE2.4\src\BEE2.py", line 92, in File "F:\Git\BEE2.4\src\packageLoader.py", line 548, in load_packages File "F:\Git\BEE2.4\src\packageLoader.py", line 728, in setup_style_tree File "F:\Git\BEE2.4\src\packageLoader.py", line 1057, in modify File "F:\Git\BEE2.4\src\packageLoader.py", line 1080, in _modify_editoritems File "F:\Git\srctools\srctools\property_parser.py", line 707, in getitem ValueError: Can't index a Property without children!

Unsure what this means, but it goes away when i remove the retro pack

Flash4433 commented 4 years ago

Ugh, that's weird... Oh well, I'll have to test it out some more.For that Property error, let me quickly check if the problem is what I think it is...

Flash4433 commented 4 years ago

Did you also remove the "Palette" part? You should remove everything in this screenshot that's on the info.txt. I'll make the needed changes tomorrow, as it's midnight in my zone :P

Flash4433 commented 4 years ago

Screenshot_20200222-235444-725

Flash4433 commented 4 years ago

For some reason, it didn't upload my change two days ago... Fixed now.