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

Explore errors found in CWTools log #398

Open
maxice8 opened this issue Nov 19, 2023 · 5 comments
Open

Explore errors found in CWTools log #398

maxice8 opened this issue Nov 19, 2023 · 5 comments

Comments

@maxice8
Copy link
Collaborator

maxice8 commented Nov 19, 2023

[Info  - 7:16:27 PM] Unexpected scope { root = province this = province }
[Info  - 7:16:27 PM] Unexpected scope { root = province this = province }
[Info  - 7:16:27 PM] Unexpected scope { root = province this = province }
[Info  - 7:16:27 PM] Unexpected scope { root = province this = province }
[Info  - 7:16:27 PM] Unexpected scope { root = province this = province }
[Info  - 7:16:27 PM] Unexpected scope { root = province this = province }
[Info  - 7:16:27 PM] Unexpected scope { root = province this = province }
[Info  - 7:16:27 PM] Unexpected scope capital_scope
[Info  - 7:16:27 PM] Unexpected scope capital_scope
[Info  - 7:16:27 PM] Unexpected scope capital_scope
[Info  - 7:16:27 PM] Unexpected scope capital_scope
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/dlc_metadata/dlc_metadata.cwt (13,2--13,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/trade_consolidated.cwt (60,2--60,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/governments_and_reforms.cwt (45,2--45,61) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/governments_and_reforms.cwt (70,2--70,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/governments_and_reforms.cwt (89,2--89,32) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/governments_and_reforms.cwt (114,2--114,38) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/religions_and_related.cwt (42,2--42,44) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/religions_and_related.cwt (53,2--53,43) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/religions_and_related.cwt (64,2--64,36) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/religions_and_related.cwt (73,2--73,35) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/religions_and_related.cwt (82,2--82,49) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected node skip_root_key found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/ages.cwt (18,2--18,35) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/countries_consolidated.cwt (8,2--8,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/countries_consolidated.cwt (13,2--13,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/countries_consolidated.cwt (18,2--18,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected scope owner
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/00_small_types_consolidated.cwt (130,2--130,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/00_small_types_consolidated.cwt (135,2--135,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/00_small_types_consolidated.cwt (141,2--141,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/unit_types.cwt (6,2--6,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf start_from_root found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/on_actions.cwt (4,8--4,29) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf start_from_root found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/custom_gui.cwt (5,2--5,23) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf start_from_root found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/custom_gui.cwt (11,2--11,23) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf start_from_root found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/custom_gui.cwt (17,2--17,23) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf start_from_root found in type definition at /home/howard/Repositories/cwtools-eu4-config/common/custom_gui.cwt (23,2--23,23) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/history/history_consolidated.cwt (9,8--9,28) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/history/history_consolidated.cwt (29,2--29,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/history/history_consolidated.cwt (42,2--42,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/history/history_consolidated.cwt (50,2--50,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/map/default_map.cwt (4,2--4,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/map/ambient_objects_and_terrain.cwt (34,2--34,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/map/tiles.cwt (4,2--4,22) IsSynthetic=false
[Info  - 7:16:27 PM] Unexpected leaf name_from_file found in type definition at /home/howard/Repositories/cwtools-eu4-config/gfx/sprite_packsorder.cwt (5,2--5,22) IsSynthetic=false```
@17blue17
Copy link
Collaborator

cwtools log or the game error log? If CWtools then sounds like a cascade error - ie one error makes all the rest of the code show errors also.

@maxice8
Copy link
Collaborator Author

maxice8 commented Nov 19, 2023

cwtools log, that one is from CWTools' initialization, it is telling us that certain pieces of our CWTools rules have Unexpected elements (a/k/a they are not working as we expect them to be)

@17blue17
Copy link
Collaborator

Well there is a file in cwtools that has game directories. I never understood what it does. Also maybe we need new types setup for new files?

That last one for sprite packs order I know is set up and working. I am not familar with IsSynthetic = False for sprite packs. Is that something custom you added?

@17blue17
Copy link
Collaborator

also where can I find this log?

@maxice8
Copy link
Collaborator Author

maxice8 commented Nov 19, 2023

Use the DEveloper: Show Log option in VSCode and navigate to the Paradox Language Server tab

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants