SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.8k stars 1.13k forks source link

error: Couldn't find qml root folder #1564

Closed heinezen closed 1 year ago

heinezen commented 1 year ago

From https://github.com/SFTtech/openage/issues/1562

@zoli111 gets an error saying game couldn't find qml root folder

INFO [py] launching openage v0.3.0-3130-g2ea6e0ee
INFO [py] compiled by GNU 13.2.1
INFO [py] openage nyan API modpack is up to date
INFO [py] Found modpack hd_base
INFO [py] Found modpack engine
INFO [py] Found modpack trial_base
INFO loading configuration files...
INFO [py] loading config file [Union(<openage.util.fslike.union.Union object at 0x7f58faa58c50>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7f58fab721d0>.root @ (b'assets',))]:cfg/keybinds.oac...
INFO launching engine with root directoryPath(Union(<openage.util.fslike.union.Union object at 0x7f58faa58c50>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7f58fab721d0>.root @ (b'assets',)):)
INFO loading configuration files...
INFO [py] loading config file [Union(<openage.util.fslike.union.Union object at 0x7f58faa58c50>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7f58fab721d0>.root @ (b'assets',))]:cfg/keybinds.oac...
INFO Found modpack: hd_base
INFO Found modpack: engine
INFO Found modpack: trial_base
INFO Created game simulation
INFO Activated modpack: engine
INFO Activated modpack: hd_base
INFO Created 3 threads (24 available)
INFO [T2] Presenter: Launching subsystems...
INFO [T1] Time loop started
INFO [T2] Presenter: Initializing graphics subsystems...
INFO [T3] Loading .nyan file: engine/util/game_entity_formation.nyan
INFO [T3] Loading .nyan file: engine/util/formation.nyan
INFO [T3] Loading .nyan file: engine/root.nyan
INFO [T3] Loading .nyan file: engine/util/effect_batch/property/type.nyan
INFO [T3] Loading .nyan file: engine/util/effect_batch/property.nyan
INFO [T3] Loading .nyan file: engine/util/effect_batch/type.nyan
INFO [T3] Loading .nyan file: engine/util/effect_batch.nyan
INFO [T3] Loading .nyan file: engine/effect/discrete.nyan
INFO [T3] Loading .nyan file: engine/effect.nyan
INFO [T3] Loading .nyan file: engine/effect/property.nyan
INFO [T3] Loading .nyan file: engine/util/animation_override.nyan
INFO [T3] Loading .nyan file: engine/ability.nyan
INFO [T3] Loading .nyan file: engine/ability/property.nyan
INFO [T3] Loading .nyan file: engine/util/graphics.nyanGame still not launches though, but I believe it's out of the scope of this issue.
INFO [T3] Loading .nyan file: engine/util/price_mode.nyan
INFO [T3] Loading .nyan file: engine/util/selection_box.nyan
INFO [T3] Loading .nyan file: engine/util/variant/type.nyan
INFO [T3] Loading .nyan file: engine/util/variant.nyan
INFO [T3] Loading .nyan file: engine/util/patch.nyan
INFO [T3] Loading .nyan file: engine/util/patch/property.nyan
INFO [T3] Loading .nyan file: engine/util/game_entity.nyan
INFO [T3] Loading .nyan file: engine/util/game_entity_type.nyan
INFO [T3] Loading .nyan file: engine/modifier.nyan
INFO [T3] Loading .nyan file: engine/modifier/property.nyan
INFO [T3] Loading .nyan file: engine/util/selection_box/type.nyan
INFO [T3] Loading .nyan file: engine/util/language/translated.nyan
INFO [T3] Loading .nyan file: engine/util/language/translated/type.nyan
INFO [T3] Loading .nyan file: engine/util/language.nyan
INFO [T3] Loading .nyan file: engine/util/sound.nyan
INFO [T3] Loading .nyan file: engine/util/calculation_type.nyan
INFO [T3] Loading .nyan file: engine/util/progress_status.nyan
INFO [T3] Loading .nyan file: engine/util/progress_type.nyan
INFO [T3] Loading .nyan file: engine/util/animation_override/type.nyan
INFO [T3] Loading .nyan file: engine/util/price_pool.nyan
INFO [T3] Loading .nyan file: engine/util/herdable_mode/type.nyan
INFO [T3] Loading .nyan file: engine/util/herdable_mode.nyan
INFO [T3] Loading .nyan file: engine/util/payment_mode.nyan
INFO [T3] Loading .nyan file: engine/util/create.nyan
INFO [T3] Loading .nyan file: engine/util/logic.nyan
INFO [T3] Loading .nyan file: engine/util/placement_mode.nyan
INFO [T3] Loading .nyan file: engine/util/cost.nyan
INFO [T3] Loading .nyan file: engine/util/diplomatic_stance/type.nyan
INFO [T3] Loading .nyan file: engine/util/diplomatic_stance.nyan
INFO [T3] Loading .nyan file: engine/util/setup.nyan
INFO [T3] Loading .nyan file: engine/util/resource.nyan
INFO [T3] Loading .nyan file: engine/util/cost/type.nyan
INFO [T3] Loading .nyan file: engine/util/attribute.nyan
INFO [T3] Loading .nyan file: engine/util/exchange_mode.nyan
INFO [T3] Loading .nyan file: engine/util/logic/gate/type.nyan
INFO [T3] Loading .nyan file: engine/util/logic/gate.nyan
INFO [T3] Loading .nyan file: engine/util/logic/literal_scope/type.nyan
INFO [T3] Loading .nyan file: engine/util/logic/literal_scope.nyan
INFO [T3] Loading .nyan file: engine/util/logic/literal.nyan
INFO [T3] Loading .nyan file: engine/util/logic/literal/type.nyan
INFO [T3] Loading .nyan file: engine/util/tech.nyan
INFO [T3] Loading .nyan file: engine/util/tech_type.nyan
INFO [T3] Loading .nyan file: engine/util/state_machine.nyan
INFO [T3] Loading .nyan file: engine/util/transform_pool.nyan
INFO [T3] Loading .nyan file: engine/util/logic/const.nyan
INFO [T3] Loading .nyan file: engine/util/modifier_scope.nyan
INFO [T3] Loading .nyan file: engine/util/production_mode.nyan
INFO [T3] Loading .nyan file: engine/util/passable_mode.nyan
INFO [T3] Loading .nyan file: engine/util/distribution_type.nyan
INFO [T3] Loading .nyan file: engine/util/attribute_change_type/type.nyan
INFO [T3] Loading .nyan file: engine/util/attribute_change_type.nyan
INFO [T3] Loading .nyan file: engine/util/progress.nyan
INFO [T3] Loading .nyan file: engine/util/progress/property.nyan
INFO [T3] Loading .nyan file: engine/util/dropoff_type.nyan
INFO [T3] Loading .nyan file: engine/util/progress_type/type.nyan
INFO [T3] Loading .nyan file: engine/util/calculation_type/type.nyan
INFO [T3] Loading .nyan file: engine/util/container_type.nyan
INFO [T3] Loading .nyan file: engine/util/trade_route.nyan
INFO [T3] Loading .nyan file: engine/util/placement_mode/type.nyan
INFO [T3] Loading .nyan file: engine/util/storage.nyan
INFO [T3] Loading .nyan file: engine/util/resource_spot.nyan
INFO [T3] Loading .nyan file: engine/util/research.nyan
INFO [T3] Loading .nyan file: engine/util/taunt.nyan
INFO [T3] Loading .nyan file: engine/util/modifier_scope/type.nyan
INFO [T3] Loading .nyan file: engine/util/passable_mode/type.nyan
INFO [T3] Loading .nyan file: engine/util/payment_mode/type.nyan
INFO [T3] Loading .nyan file: engine/util/distribution_type/type.nyan
INFO [T3] Loading .nyan file: engine/util/exchange_mode/type.nyan
INFO [T3] Loading .nyan file: engine/util/move_mode/type.nyan
INFO [T3] Loading .nyan file: engine/util/move_mode.nyan
INFO [T3] Loading .nyan file: engine/util/target_mode/type.nyan
INFO [T3] Loading .nyan file: engine/util/target_mode.nyan
INFO [T3] Loading .nyan file: engine/util/production_mode/type.nyan
INFO [T3] Loading .nyan file: engine/util/patch/property/type.nyan
INFO [T3] Loading .nyan file: engine/util/hitbox.nyan
INFO [T3] Loading .nyan file: engine/util/terrain.nyan
INFO [T3] Loading .nyan file: engine/util/terrain_type.nyan
INFO [T3] Loading .nyan file: engine/util/game_entity_stance/type.nyan
INFO [T3] Loading .nyan file: engine/util/game_entity_stance.nyan
INFO [T3] Loading .nyan file: engine/util/lock.nyan
INFO [T3] Loading .nyan file: engine/util/trade_route/type.nyan
INFO [T3] Loading .nyan file: engine/util/dropoff_type/type.nyan
INFO [T3] Loading .nyan file: engine/util/price_mode/type.nyan
INFO [T3] Loading .nyan file: engine/util/game_entity_type/type.nyan
INFO [T3] Loading .nyan file: engine/util/terrain_type/type.nyan
INFO [T3] Loading .nyan file: engine/util/mod.nyan
INFO [T3] Loading .nyan file: engine/util/lure_type.nyan
INFO [T3] Loading .nyan file: engine/util/accuracy.nyan
INFO [T3] Loading .nyan file: engine/util/exchange_rate.nyan
INFO [T3] Loading .nyan file: engine/util/storage/resource_container/type.nyan
INFO [T3] Loading .nyan file: engine/util/cheat.nyan
INFO [T3] Loading .nyan file: engine/util/tech_type/type.nyan
INFO [T3] Loading .nyan file: engine/util/progress/property/type.nyan
INFO [T3] Loading .nyan file: engine/util/convert_type.nyan
INFO [T3] Loading .nyan file: engine/resistance/continuous/time_relative_progress/type.nyan
INFO [T3] Loading .nyan file: engine/resistance/continuous/time_relative_progress.nyan
INFO [T3] Loading .nyan file: engine/resistance/continuous.nyan
INFO [T3] Loading .nyan file: engine/resistance.nyan
INFO [T3] Loading .nyan file: engine/resistance/property.nyan
INFO [T3] Loading .nyan file: engine/resistance/continuous/flat_attribute_change/type.nyan
INFO [T3] Loading .nyan file: engine/resistance/continuous/flat_attribute_change.nyan
INFO [T3] Loading .nyan file: engine/resistance/continuous/time_relative_attribute.nyan
INFO [T3] Loading .nyan file: engine/resistance/continuous/type.nyan
INFO [T3] Loading .nyan file: engine/resistance/continuous/time_relative_attribute/type.nyan
INFO [T3] Loading .nyan file: engine/resistance/discrete/flat_attribute_change/type.nyan
INFO [T3] Loading .nyan file: engine/resistance/discrete/flat_attribute_change.nyan
INFO [T3] Loading .nyan file: engine/resistance/discrete.nyan
INFO [T3] Loading .nyan file: engine/resistance/discrete/type.nyan
INFO [T3] Loading .nyan file: engine/resistance/discrete/convert.nyan
INFO [T3] Loading .nyan file: engine/resistance/discrete/convert/type.nyan
INFO [T3] Loading .nyan file: engine/resistance/property/type.nyan
INFO [T3] Loading .nyan file: engine/effect/continuous/time_relative_progress/type.nyan
INFO [T3] Loading .nyan file: engine/effect/continuous/time_relative_progress.nyan
INFO [T3] Loading .nyan file: engine/effect/continuous.nyan
INFO [T3] Loading .nyan file: engine/effect/continuous/flat_attribute_change/type.nyan
INFO [T3] Loading .nyan file: engine/effect/continuous/flat_attribute_change.nyan
INFO [T3] Loading .nyan file: engine/effect/continuous/time_relative_attribute.nyan
INFO [T3] Loading .nyan file: engine/effect/continuous/type.nyan
INFO [T3] Loading .nyan file: engine/effect/continuous/time_relative_attribute/type.nyan
INFO [T3] Loading .nyan file: engine/effect/discrete/flat_attribute_change/type.nyan
INFO [T3] Loading .nyan file: engine/effect/discrete/flat_attribute_change.nyan
INFO [T3] Loading .nyan file: engine/effect/discrete/type.nyan
INFO [T3] Loading .nyan file: engine/effect/discrete/convert.nyan
INFO [T3] Loading .nyan file: engine/effect/discrete/convert/type.nyan
INFO [T3] Loading .nyan file: engine/effect/property/type.nyan
INFO [T3] Loading .nyan file: engine/modifier/property/type.nyan
INFO [T3] Loading .nyan file: engine/modifier/resistance/flat_attribute_change/type.nyan
INFO [T3] Loading .nyan file: engine/modifier/type.nyan
INFO [T3] Loading .nyan file: engine/ability/type.nyan
INFO [T3] Loading .nyan file: engine/modifier/effect/flat_attribute_change/type.nyan
INFO [T3] Loading .nyan file: engine/modifier/effect/type.nyan
INFO [T3] Loading .nyan file: engine/modifier/multiplier/effect/type.nyan
INFO [T3] Loading .nyan file: engine/ability/property/type.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/mill/mill.nyan
INFO [T3] Loading .nyan file: hd_base/data/util/terrain_type/types.nyan
INFO [T3] Loading .nyan file: hd_base/data/util/resource/types.nyan
INFO [T3] Loading .nyan file: hd_base/data/util/game_entity_type/types.nyan
INFO [T3] Loading .nyan file: hd_base/data/util/convert_type/types.nyan
INFO [T3] Loading .nyan file: hd_base/data/util/logic/death/death.nyan
INFO [T3] Loading .nyan file: hd_base/data/resistance/discrete/flat_attribute_change/fallback.nyan
INFO [T3] Loading .nyan file: hd_base/data/resistance/property/types.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/villager/villager.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/university/university.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/treadmill_crane/treadmill_crane.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/siege_engineers/siege_engineers.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/scorpion/scorpion.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/mangonel/mangonel.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/mangonel/projectiles/mangonel_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/fishing_ship/fishing_ship.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/fishing_trap/fishing_trap.nyan
INFO [T3] Loading .nyan file: hd_base/data/terrain/farm_construction2/farm_construction2.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/farm/farm.nyan
INFO [T3] Loading .nyan file: hd_base/data/terrain/farm_crops/farm_crops.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/scorpion/projectiles/scorpion_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/bombard_tower/bombard_tower.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/dock/dock.nyan
INFO [T2] Compiled with Qt 6.5.3 and run with Qt 6.5.3
INFO [T3] Loading .nyan file: hd_base/data/util/logic/garrison_empty/garrison_empty.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/shipwright/shipwright.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/careening/careening.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/turtle_ship/turtle_ship.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/trade_cog/trade_cog.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/longboat/longboat.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/galley/war_galley.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/galley/galley.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/galley/projectiles/galley_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/fire_trireme/fire_trireme.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/fire_trireme/fast_fire_ship.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/demo_ship/heavy_demolition_ship.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/demo_ship/demo_ship.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/cannon_galleon/cannon_galleon.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/cannon_galleon/projectiles/cannon_galleon_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/heavy_plow/heavy_plow.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/town_center/town_center.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/town_watch/town_watch.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/town_patrol/town_patrol.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/loom/loom.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/deer/deer.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/imperial_age/imperial_age.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/university/imperial_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/stable/imperial_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/scout_cavalry/scout_cavalry.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/mining_camp/imperial_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/market/imperial_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/barracks/imperial_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/archery_range/imperial_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/dry_dock/dry_dock.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/turkey/turkey.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/bombard_tower/bombard_tower.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/woad_raider/woad_raider.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/throwing_axeman/throwing_axeman.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/teutonic_knight/teutonic_knight.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/skirmisher/skirmisher.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/plumed_archer/plumed_archer.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/plumed_archer/projectiles/plumed_archer_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/petard/petard.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/monk/monk.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/mameluke/mameluke.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/mameluke/projectiles/mameluke_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/longbowman/longbowman.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/longbowman/projectiles/longbowman_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/janissary/janissary.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/relic/relic.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/jaguar_warrior/jaguar_warrior.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/hand_cannoneer/hand_cannoneer.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/hand_cannoneer/projectiles/hand_cannoneer_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/berserk/berserk.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/archer/archer.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/archer/projectiles/archer_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/bombard_tower/projectiles/bombard_tower_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/feudal_age/feudal_age.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/mining_camp/feudal_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/mill/feudal_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/dock/feudal_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/barracks/feudal_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/snowy_conifer/snowy_conifer.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/bamboo_forest/bamboo_forest.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/turtle_ship/projectiles/turtle_ship_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/terrain/farm_construction1/farm_construction1.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/archery_range/archery_range.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/thumb_ring/thumb_ring.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/war_waggon/war_waggon.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/horse_archer/projectiles/horse_archer_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/chu_ko_nu/projectiles/chu_ko_nu_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/parthian_tactics/parthian_tactics.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/war_waggon/projectiles/war_waggon_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/skirmisher/elite_skirmisher.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/horse_archer/horse_archer.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/horse_archer/heavy_cavalry_archer.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/archer/crossbowman.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/archer/arbalest.nyan
INFO [T3] Loading .nyan file: hd_base/data/util/attribute_change_type/types.nyan
INFO [T3] Loading .nyan file: hd_base/data/effect/discrete/flat_attribute_change/fallback.nyan
INFO [T3] Loading .nyan file: hd_base/data/effect/discrete/flat_attribute_change/min_damage.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/chu_ko_nu/chu_ko_nu.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/fire_trireme/projectiles/fire_trireme_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/boar/boar.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/mangudai/mangudai.nyan
INFO [T3] Loading .nyan file: hd_base/data/terrain/farm_construction3/farm_construction3.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/keep/keep.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/tower/keep_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/civ/vikings/vikings.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/berserkergang/berserkergang.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/longboat/elite_longboat.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/berserk/elite_berserk.nyan
INFO [T3] Loading .nyan file: hd_base/data/civ/koreans/koreans.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/shinkichon/shinkichon.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/turtle_ship/elite_turtle_ship.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/war_waggon/elite_war_waggon.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/house/feudal_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/util/modifier/flyover_cliff/flyover_cliff.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/heated_shot/heated_shot.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/guard_tower/guard_tower.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/tower/guard_tower_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/util/attribute/types.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/throwing_axeman/projectiles/throwing_axeman_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/fortified_wall/fortified_wall.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/stone_wall/fortified_wall_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/stone_gate/stone_gate.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/berry_bush/berry_bush.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/spearman/spearman.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/hand_cart/hand_cart.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/horse_collar/horse_collar.nyan
INFO [T3] Loading .nyan file: hd_base/data/util/formation/subformations.nyan
INFO [T3] Loading .nyan file: hd_base/data/terrain/foundation/foundation.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/huscarl/huscarl.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/castle_age/castle_age.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/stable/castle_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/mill/castle_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/market/castle_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/house/castle_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/dock/castle_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/blacksmith/castle_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/barracks/castle_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/archery_range/castle_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/masonry/masonry.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/crop_rotation/crop_rotation.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/transport_ship/transport_ship.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/war_elephant/war_elephant.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/trade_cart/trade_cart.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/tarkan/tarkan.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/conquistador/conquistador.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/conquistador/projectiles/conquistador_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/cataphract/cataphract.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/camel_rider/camel_rider.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/town_center/projectiles/town_center_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/barracks/barracks.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/tracking/tracking.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/squires/squires.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/spearman/pikeman.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/spearman/helbardier.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/militia/two_handed_swordsman.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/militia/swordsman.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/militia/longswordsman.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/militia/champion.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/eagle_warrior/elite_eagle_warrior.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/ram/ram.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/forest_tree/forest_tree.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/skirmisher/projectiles/skirmisher_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/longboat/projectiles/longboat_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/util/formation/types.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/architecture/architecture.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/blacksmith/blacksmith.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/ring_archer_armor/ring_archer_armor.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/plate_mail_armor/plate_mail_armor.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/plate_barding_armor/plate_barding_armor.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/padded_archer_armor/padded_archer_armor.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/leather_archer_armor/leather_archer_armor.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/forging/forging.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/fletching/fletching.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/tower/projectiles/tower_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/castle/projectiles/castle_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/chain_mail_armor/chain_mail_armor.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/chain_barding_armor/chain_barding_armor.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/scale_mail_armor/scale_mail_armor.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/bracer/bracer.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/bodkin_arrow/bodkin_arrow.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/blast_furnace/blast_furnace.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/scale_barding_armor/scale_barding_armor.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/house/house.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/eagle_warrior/eagle_warrior.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/stone_wall/stone_wall.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/cannon_galleon/elite_war_galley.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/oak_tree/oak_tree.nyan
INFO [T3] Loading .nyan file: hd_base/data/util/modifier/elevation_difference/elevation_difference.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/jungle_tree/jungle_tree.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/mangudai/projectiles/mangudai_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/effect/discrete/flat_attribute_change/min_heal.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/lumber_camp/lumber_camp.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/two_man_saw/two_man_saw.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/double_bit_axe/double_bit_axe.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/bow_saw/bow_saw.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/gold_mine/gold_mine.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/market/market.nyan
INFO [T3] Loading .nyan file: hd_base/data/util/resource/market_trading.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/guilds/guilds.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/coinage/coinage.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/cartography/cartography.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/caravan/caravan.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/mining_camp/mining_camp.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/stone_shaft_mining/stone_shaft_mining.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/stone_mining/stone_mining.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/gold_shaft_mining/gold_shaft_mining.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/gold_mining/gold_mining.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/monastery/monastery.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/theocracy/theocracy.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/sanctity/sanctity.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/redemption/redemption.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/illumination/illumination.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/heresy/heresy.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/fervor/fervor.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/faith/faith.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/block_printing/block_printing.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/atonement/atonement.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/conifer/conifer.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/wonder/wonder.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/banking/banking.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/missionary/missionary.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/trebuchet/trebuchet.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/castle/castle.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/spies/spies.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/sappers/sappers.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/hoardings/hoardings.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/conscription/conscription.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/outpost/outpost.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/sheep/sheep.nyan
INFO [T3] Loading .nyan file: hd_base/data/util/diplomatic_stance/types.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/ballistics/ballistics.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/palisade/palisade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/mining_camp/castle_age_upgrade.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/palm_tree/palm_tree.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/herbal_medicine/herbal_medicine.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/knight/knight.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/militia/militia.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/wheel_barrow/wheel_barrow.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/galley/galleon.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/siege_workshop/siege_workshop.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/scorpion/heavy_scorpion.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/ram/siege_ram.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/ram/capped_ram.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/mangonel/siege_onager.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/mangonel/onager.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/stable/stable.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/husbandry/husbandry.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/bloodlines/bloodlines.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/scout_cavalry/light_cavalry.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/scout_cavalry/hussar.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/knight/paladin.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/knight/chevalier.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/camel_rider/heavy_camel_rider.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/samurai/samurai.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/tower/tower.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/murder_holes/murder_holes.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/stone_mine/stone_mine.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/iron_casting/iron_casting.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/janissary/projectiles/janissary_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/cannon_galleon/cannon_galleon.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/bombard_cannon/bombard_cannon.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/bombard_cannon/projectiles/bombard_cannon_projectiles.nyan
INFO [T3] Loading .nyan file: hd_base/data/util/construct_type/types.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/chemistry/chemistry.nyan
INFO [T2] Created OpenGL context version 4.6
INFO [T2] Created Qt window with OpenGL context.
INFO [T2] Created OpenGL renderer
INFO [T2] Created asset manager
INFO [T2] Created new camera at position (12.2474, 10, 12.2474)
INFO [T2] Created OpenGL shader program
INFO [T2] Created render stage 'Skybox'
INFO [T2] Created OpenGL shader program
INFO [T2] Created render stage 'Terrain'
INFO [T2] Created OpenGL shader program
INFO [T2] Created render stage 'World'
INFO [T2] Presenter: Initializing GUI with Qt backend

FATAL: terminate has been called

uncaught exception

Traceback (most recent call last):
  File ?, in ? [0x7f5903eaa9eb]
  File ?, in ? [0x7f59040e1943]
  File ?, in ? [0x7f59048f06b1]
  File ?, in ? [0x7f59048f068c]
  File ?, in openage::presenter::Presenter::run(bool)+0x6e [0x7f5904a0bcac]
  File ?, in openage::presenter::Presenter::init_graphics(bool)+0x806 [0x7f5904a0af76]
  File ?, in openage::presenter::Presenter::init_gui()+0x1c2 [0x7f5904a0a01c]
  File ?, in openage::error::Error::Error(openage::log::message const&, bool, bool)+0xba [0x7f59048f2e42]
  File "libopenage/presenter/presenter.cpp", line 162, in void openage::presenter::Presenter::init_gui()
openage::error::Error: could not find qml root folder Path(Union(<openage.util.fslike.union.Union object at 0x7f58faa58c50>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7f58fab721d0>.root @ (b'assets',)):/assets/test/qml)

current stack:

Traceback (most recent call last):
  File ?, in ? [0x7f5903eaa9eb]
  File ?, in ? [0x7f59040e1943]
  File ?, in ? [0x7f59048f06b1]
  File ?, in ? [0x7f59048f068c]
  File ?, in openage::presenter::Presenter::run(bool)+0x6e [0x7f5904a0bcac]
  File ?, in openage::presenter::Presenter::init_graphics(bool)+0x806 [0x7f5904a0af76]
  File ?, in openage::presenter::Presenter::init_gui()+0x1f5 [0x7f5904a0a04f]
  File ?, in ? [0x7f59040b03ed]
  File ?, in ? [0x7f59040b0189]
  File ?, in ? [0x7f59040b011c]
  File ?, in openage::error::terminate_handler()+0x1da [0x7f59048f3a83]

handing over to the system...

terminate called after throwing an instance of 'openage::error::Error'
  what():  could not find qml root folder Path(Union(<openage.util.fslike.union.Union object at 0x7f58faa58c50>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7f58fab721d0>.root @ (b'assets',)):/assets/test/qml)
Aborted (core dumped)

Originally posted by @zoli111 in https://github.com/SFTtech/openage/issues/1562#issuecomment-1751767383

heinezen commented 1 year ago

@zoli111 Can you check if https://github.com/SFTtech/openage/pull/1565 fixes this?

zoli111 commented 1 year ago

Unfortunately no. I got almost the same error:


FATAL: terminate has been called

uncaught exception

Traceback (most recent call last):
  File ?, in ? [0x7f709f2aa9eb]
  File ?, in ? [0x7f709f4e1943]
  File ?, in ? [0x7f709fcf06b1]
  File ?, in ? [0x7f709fcf068c]
  File ?, in openage::presenter::Presenter::run(bool)+0x6e [0x7f709fe0bcac]
  File ?, in openage::presenter::Presenter::init_graphics(bool)+0x806 [0x7f709fe0af76]
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/ring_archer_armor/ring_archer_armor.nyan
  File ?, in openage::presenter::Presenter::init_gui()+0x1c2 [0x7f709fe0a01c]
  File ?, in openage::error::Error::Error(openage::log::message const&, bool, bool)+0xba [0x7f709fcf2e42]
  File "libopenage/presenter/presenter.cpp", line 162, in void openage::presenter::Presenter::init_gui()
openage::error::Error: could not find qml root folder Path(Union(<openage.util.fslike.union.Union object at 0x7f7095e3c750>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7f7095f4cbd0>.root @ (b'assets',)):/assets/test/qml)

current stack:

Traceback (most recent call last):
  File ?, in ? [0x7f709f2aa9eb]
  File ?, in ? [0x7f709f4e1943]
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/plate_mail_armor/plate_mail_armor.nyan
  File ?, in ? [0x7f709fcf06b1]
  File ?, in ? [0x7f709fcf068c]
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/plate_barding_armor/plate_barding_armor.nyan
  File ?, in openage::presenter::Presenter::run(bool)+0x6e [0x7f709fe0bcac]
  File ?, in openage::presenter::Presenter::init_graphics(bool)+0x806 [0x7f709fe0af76]
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/padded_archer_armor/padded_archer_armor.nyan
  File ?, in openage::presenter::Presenter::init_gui()+0x1f5 [0x7f709fe0a04f]
  File ?, in ? [0x7f709f4b03ed]
  File ?, in ? [0x7f709f4b0189]
  File ?, in ? [0x7f709f4b011c]
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/leather_archer_armor/leather_archer_armor.nyan
  File ?, in openage::error::terminate_handler()+0x1da [0x7f709fcf3a83]

handing over to the system...

terminate called after throwing an instance of 'openage::error::Error'
  what():  could not find qml root folder Path(Union(<openage.util.fslike.union.Union object at 0x7f7095e3c750>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7f7095f4cbd0>.root @ (b'assets',)):/assets/test/qml)
Aborted (core dumped)```
heinezen commented 1 year ago

Hmm.. but the directory assets/test/qml exists right?

zoli111 commented 1 year ago

Yes. I cloned your repo, switched to the mentioned branch (and merged fix/asset-path-union to make path handling work). Also checked the existence of the added files and they are in place.

heinezen commented 1 year ago

Something with the path must be wrong. I've updated the PR to output the used path into the logs. Can you check again to see which asset path is used?

zoli111 commented 1 year ago

Something with the path must be wrong. I've updated the PR to output the used path into the logs. Can you check again to see which asset path is used?

Where can I find the logs?

heinezen commented 1 year ago

it should be printed to the console as a message right before the error

zoli111 commented 1 year ago

Here is the message: INFO [T2] Presenter: Setting QML root to Path(Union(<openage.util.fslike.union.Union object at 0x7f5e21596110>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7f5e21800290>.root @ (b'assets',)):/assets/test/qml)

heinezen commented 1 year ago

The log message sgould pretty print the union path instead of writing

<openage.util.fslike.union.Union object at 0x7f5e21596110>.root @ (b'assets',)

e.g.

Union(/home/christoph/git/openage/assets).root @ (b'assets',)

maybe that's part of the problem? I'll look into it.

heinezen commented 1 year ago

Can you try the latest updates to https://github.com/SFTtech/openage/pull/1565 and paste the last console output? It should print a native path now.

zoli111 commented 1 year ago

Is it... possible that I still get no visible path?

Yes, I double checked if I'm on the right branch and commit, even checked if the changes in file exist.

So here is the full error:



uncaught exception

Traceback (most recent call last):
  File ?, in ? [0x7fc4492aa9eb]
  File ?, in ? [0x7fc4494e1943]
  File ?, in ? [0x7fc449cf06b1]
  File ?, in ? [0x7fc449cf068c]
  File ?, in openage::presenter::Presenter::run(bool)+0x6e [0x7fc449e0bf28]
  File ?, in openage::presenter::Presenter::init_graphics(bool)+0x806 [0x7fc449e0b1f2]
  File ?, in openage::presenter::Presenter::init_gui()+0x199 [0x7fc449e09ff3]
  File ?, in openage::util::Path::resolve_native_path(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const+0x113 [0x7fc449ee3a59]
  File ?, in openage::util::Path::resolve_native_path_r[abi:cxx11]() const+0xae [0x7fc449ee3738]
  File ?, in openage::error::Error::Error(openage::log::message const&, bool, bool)+0xba [0x7fc449cf2e42]
  File "libopenage/util/path.cpp", line 185, in std::string openage::util::Path::resolve_native_path_r() const
openage::error::Error: failed to locate readable path: Path(Union(<openage.util.fslike.union.Union object at 0x7fc43ff94e50>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7fc4400a8150>.root @ (b'assets',)):/assets/test/qml)

current stack:

Traceback (most recent call last):
  File ?, in ? [0x7fc4492aa9eb]
  File ?, in ? [0x7fc4494e1943]
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/theocracy/theocracy.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/sanctity/sanctity.nyan
  File ?, in ? [0x7fc449cf06b1]
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/redemption/redemption.nyan
  File ?, in ? [0x7fc449cf068c]
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/illumination/illumination.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/heresy/heresy.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/fervor/fervor.nyan
  File ?, in openage::presenter::Presenter::run(bool)+0x6e [0x7fc449e0bf28]
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/faith/faith.nyan
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/block_printing/block_printing.nyan
  File ?, in openage::presenter::Presenter::init_graphics(bool)+0x806 [0x7fc449e0b1f2]
INFO [T3] Loading .nyan file: hd_base/data/tech/generic/atonement/atonement.nyan
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/conifer/conifer.nyan
  File ?, in openage::presenter::Presenter::init_gui()+0x199 [0x7fc449e09ff3]
  File ?, in openage::util::Path::resolve_native_path(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const+0x113 [0x7fc449ee3a59]
INFO [T3] Loading .nyan file: hd_base/data/game_entity/generic/wonder/wonder.nyan
  File ?, in openage::util::Path::resolve_native_path_r[abi:cxx11]() const+0xe6 [0x7fc449ee3770]
  File ?, in ? [0x7fc4494b03ed]
  File ?, in ? [0x7fc4494b0189]
  File ?, in ? [0x7fc4494b011c]
  File ?, in openage::error::terminate_handler()+0x1da [0x7fc449cf3a83]

handing over to the system...

terminate called after throwing an instance of 'openage::error::Error'
  what():  failed to locate readable path: Path(Union(<openage.util.fslike.union.Union object at 0x7fc43ff94e50>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7fc4400a8150>.root @ (b'assets',)):/assets/test/qml)
Aborted (core dumped)```
heinezen commented 1 year ago

@zoli111 The thing is there should definitely be a readable path because the file we access are on the file system. The OS should be able to return a native path string.

So either this is a permission error (which I doubt because it can load the nyan files fine) or somethings wrong with the path object here that prevents it from accessing the files properly. We might have to do some back ad forth here to figure out what's wrong, since I can't reproduce this at all.

zoli111 commented 1 year ago

We might have to do some back ad forth here to figure out what's wrong, since I can't reproduce this at all.

I can help test on weekends because I'm not home during the week, and my laptop isn't fast enough to build openage multiple times, aand I have to study anyway.

heinezen commented 1 year ago

Okay, new try with https://github.com/SFTtech/openage/pull/1566 . Can you run that and check the output? It should list all dirs starting with the asset directory.

I can help test on weekends because I'm not home during the week, and my laptop isn't fast enough to build openage multiple times, aand I have to study anyway.

I'm positive we can still solve this quickly :D @zoli111

heinezen commented 1 year ago

Resolved itself (see https://github.com/SFTtech/openage/pull/1566#issuecomment-1752028058)