Author Topic: [SOLVED] ERROR: Failed to load rulset from mod (yaml-cpp)  (Read 13497 times)

Offline GreyManNo2

  • Squaddie
  • *
  • Posts: 6
    • View Profile
[SOLVED] ERROR: Failed to load rulset from mod (yaml-cpp)
« on: May 18, 2015, 02:48:19 pm »
Hi all, firstly let me congratulate the OpenXcom team for such a magnificent & stellar job. I have used OpenXcom previously and I love it.

I decided to go back and do a fresh install. After downloading the nightly git version for Linux, I compiled it successfully (using make -f Makefile.simple). Before compiling, I added my UFO data (patched with the OpenXcom Universal Patch) and TFTD data to the bin/UFO and bin/TFTD folders respectively. However when I tried to run openxcom, I got this error below, it look obvious to me but I'm not quite sure though I noticed that the directory structure for OpenXcom is now different from my previously working installation. The (edited) openxcom.log included the error at the end:
Quote
[18-05-2015 12:04:30]   [INFO]   Data folder is: ./
[18-05-2015 12:04:30]   [INFO]   Data search is:
[18-05-2015 12:04:30]   [INFO]   - /media2/GAMES/OPENXCOM/openxcom/data/
[18-05-2015 12:04:30]   [INFO]   - $HOME/.local/share/openxcom/
[18-05-2015 12:04:30]   [INFO]   - /usr/local/share/openxcom/
[18-05-2015 12:04:30]   [INFO]   - /usr/share/openxcom/
[18-05-2015 12:04:30]   [INFO]   - ./
[18-05-2015 12:04:30]   [INFO]   User folder is: /media2/GAMES/OPENXCOM/openxcom/user/
[18-05-2015 12:04:30]   [INFO]   Config folder is: /media2/GAMES/OPENXCOM/openxcom/config/
[18-05-2015 12:04:30]   [INFO]   Options loaded successfully.
[18-05-2015 12:04:30]   [INFO]   Scanning standard mods in './standard'...
[18-05-2015 12:04:30]   [INFO]   - ./standard/Aliens_Pick_Up_Weapons
[18-05-2015 12:04:30]   [INFO]   - ./standard/Limit_Craft_Item_Capacities
[18-05-2015 12:04:30]   [INFO]   - ./standard/PSX_Static_Cydonia_Map
[18-05-2015 12:04:30]   [INFO]   - ./standard/UFOextender_Gun_Melee
[18-05-2015 12:04:30]   [INFO]   - ./standard/UFOextender_Psionic_Line_Of_Fire
[18-05-2015 12:04:30]   [INFO]   - ./standard/UFOextender_Starting_Avalanches
[18-05-2015 12:04:30]   [INFO]   - ./standard/XcomUtil_Always_Daytime
[18-05-2015 12:04:30]   [INFO]   - ./standard/XcomUtil_Always_Nighttime
[18-05-2015 12:04:30]   [INFO]   - ./standard/XcomUtil_Fighter_Transports
[18-05-2015 12:04:30]   [INFO]   - ./standard/XcomUtil_High_Explosive_Damage
[18-05-2015 12:04:30]   [INFO]   - ./standard/XcomUtil_Improved_Ground_Tanks
[18-05-2015 12:04:30]   [INFO]   - ./standard/XcomUtil_Improved_Heavy_Laser
[18-05-2015 12:04:30]   [INFO]   - ./standard/XcomUtil_No_Psionics
[18-05-2015 12:04:30]   [INFO]   - ./standard/XcomUtil_Pistol_Auto_Shot
[18-05-2015 12:04:30]   [INFO]   - ./standard/XcomUtil_Skyranger_Weapon_Slot
[18-05-2015 12:04:30]   [INFO]   - ./standard/XcomUtil_Starting_Defensive_Base
[18-05-2015 12:04:30]   [INFO]   - ./standard/XcomUtil_Starting_Defensive_Improved_Base
[18-05-2015 12:04:30]   [INFO]   - ./standard/XcomUtil_Starting_Improved_Base
[18-05-2015 12:04:30]   [INFO]   - ./standard/XcomUtil_Statstrings
[18-05-2015 12:04:30]   [INFO]   - ./standard/xcom1
[18-05-2015 12:04:30]   [INFO]   - ./standard/xcom2
[18-05-2015 12:04:30]   [INFO]   Scanning user mods in '/media2/GAMES/OPENXCOM/openxcom/user/mods'...
[18-05-2015 12:04:30]   [INFO]   Mapping resource files...
[18-05-2015 12:04:30]   [INFO]     mapping resources in: ./standard/xcom1
[18-05-2015 12:04:30]   [INFO]     mapping resources in: ./UFO
[18-05-2015 12:04:30]   [INFO]     mapping resources in: ./common
[18-05-2015 12:04:30]   [INFO]   SDL initialized successfully.
[18-05-2015 12:04:30]   [INFO]   SDL_mixer initialized successfully.
[18-05-2015 12:04:30]   [INFO]   Attempting to set display to 640x400x8...
[18-05-2015 12:04:30]   [INFO]   Display set to 640x400x8.
[18-05-2015 12:04:30]   [INFO]   Loading rulesets...
[18-05-2015 12:04:31]   [INFO]   - ./standard/xcom1/alienDeployments.rul
[18-05-2015 12:04:31]   [WARN]   disabling mod with invalid ruleset: xcom1
[18-05-2015 12:04:31]   [ERROR]   failed to load ruleset from mod 'UFO: Enemy Unknown / X-Com: UFO Defense' (yaml-cpp: error at line 0, column 0: invalid node; this may result from using a map iterator as a sequence iterator, or vice-versa); disabling mod for next startup

Hopefully it was something that I may have missed.
« Last Edit: May 18, 2015, 11:48:40 pm by GreyManNo2 »

Offline winterheart

  • Colonel
  • ****
  • Posts: 180
  • Fellow Squaddie
    • View Profile

Offline myk002

  • Colonel
  • ****
  • Posts: 227
    • View Profile
Re: ERROR: Failed to load rulset from mod (yaml-cpp)
« Reply #2 on: May 18, 2015, 04:10:24 pm »
hrm, it works just fine for me when I test.  Are you sure your ruleset files are good?  Here's what I did to test (on OSX -- paths are different, but actions are the same):

Code: [Select]
git clone https://github.com/SupSuper/OpenXcom.git
cd OpenXcom
cd bin/UFO/
tar xzf ~/src/openxcom.data/xcom.data.patched.tgz
cd ../../src/
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig CXX=/usr/bin/clang++ CXXFLAGS="-O2 -I/usr/local/Cellar/boost/1.57.0/include" make -f Makefile.simple -j10
cd ../bin/
./openxcom

and here's my openxcom.log output for comparison:
Spoiler:
Code: [Select]
$ cat openxcom.log
[18-05-2015 06:33:35] [INFO] Data folder is:
[18-05-2015 06:33:35] [INFO] Data search is:
[18-05-2015 06:33:35] [INFO] - /Users/username/Library/Application Support/OpenXcom/
[18-05-2015 06:33:35] [INFO] - /Users/username/Library/Gentoo/usr/share/openxcom/
[18-05-2015 06:33:35] [INFO] - Users/Shared/OpenXcom/
[18-05-2015 06:33:35] [INFO] - ./
[18-05-2015 06:33:35] [INFO] User folder is: /Users/username/Library/Application Support/OpenXcom/
[18-05-2015 06:33:35] [INFO] Config folder is: /Users/username/Library/Application Support/OpenXcom/
[18-05-2015 06:33:35] [INFO] Options loaded successfully.
[18-05-2015 06:33:35] [INFO] Scanning standard mods in 'standard'...
[18-05-2015 06:33:35] [INFO] - standard/Aliens_Pick_Up_Weapons
[18-05-2015 06:33:35] [INFO] - standard/Limit_Craft_Item_Capacities
[18-05-2015 06:33:35] [INFO] - standard/PSX_Static_Cydonia_Map
[18-05-2015 06:33:35] [INFO] - standard/UFOextender_Gun_Melee
[18-05-2015 06:33:35] [INFO] - standard/UFOextender_Psionic_Line_Of_Fire
[18-05-2015 06:33:35] [INFO] - standard/UFOextender_Starting_Avalanches
[18-05-2015 06:33:35] [INFO] - standard/XcomUtil_Always_Daytime
[18-05-2015 06:33:35] [INFO] - standard/XcomUtil_Always_Nighttime
[18-05-2015 06:33:35] [INFO] - standard/XcomUtil_Fighter_Transports
[18-05-2015 06:33:35] [INFO] - standard/XcomUtil_High_Explosive_Damage
[18-05-2015 06:33:35] [INFO] - standard/XcomUtil_Improved_Ground_Tanks
[18-05-2015 06:33:35] [INFO] - standard/XcomUtil_Improved_Heavy_Laser
[18-05-2015 06:33:35] [INFO] - standard/XcomUtil_No_Psionics
[18-05-2015 06:33:35] [INFO] - standard/XcomUtil_Pistol_Auto_Shot
[18-05-2015 06:33:35] [INFO] - standard/XcomUtil_Skyranger_Weapon_Slot
[18-05-2015 06:33:35] [INFO] - standard/XcomUtil_Starting_Defensive_Base
[18-05-2015 06:33:35] [INFO] - standard/XcomUtil_Starting_Defensive_Improved_Base
[18-05-2015 06:33:35] [INFO] - standard/XcomUtil_Starting_Improved_Base
[18-05-2015 06:33:35] [INFO] - standard/XcomUtil_Statstrings
[18-05-2015 06:33:35] [INFO] - standard/xcom1
[18-05-2015 06:33:35] [INFO] - standard/xcom2
[18-05-2015 06:33:35] [INFO] Scanning user mods in '/Users/username/Library/Application Support/OpenXcom/mods'...
[18-05-2015 06:33:35] [INFO] - /Users/username/Library/Application Support/OpenXcom/mods/AmigaFonts
[18-05-2015 06:33:35] [INFO] - /Users/username/Library/Application Support/OpenXcom/mods/Final Mod Pack
[18-05-2015 06:33:35] [INFO] - /Users/username/Library/Application Support/OpenXcom/mods/MykMod
[18-05-2015 06:33:35] [INFO] - /Users/username/Library/Application Support/OpenXcom/mods/Piratez
[18-05-2015 06:33:35] [INFO] Mapping resource files...
[18-05-2015 06:33:35] [INFO]   mapping resources in: /Users/username/Library/Application Support/OpenXcom/mods/MykMod
[18-05-2015 06:33:35] [INFO]   mapping resources in: /Users/username/Library/Application Support/OpenXcom/mods/AmigaFonts
[18-05-2015 06:33:35] [INFO]   mapping resources in: /Users/username/Library/Application Support/OpenXcom/mods/Final Mod Pack
[18-05-2015 06:33:35] [INFO]   mapping resources in: standard/UFOextender_Psionic_Line_Of_Fire
[18-05-2015 06:33:35] [INFO]   mapping resources in: standard/XcomUtil_Starting_Improved_Base
[18-05-2015 06:33:35] [INFO]   mapping resources in: standard/XcomUtil_Statstrings
[18-05-2015 06:33:35] [INFO]   mapping resources in: standard/xcom1
[18-05-2015 06:33:35] [INFO]   mapping resources in: UFO
[18-05-2015 06:33:35] [INFO]   mapping resources in: common
[18-05-2015 06:33:35] [INFO] SDL initialized successfully.
[18-05-2015 06:33:35] [INFO] SDL_mixer initialized successfully.
[18-05-2015 06:33:35] [INFO] Attempting to set display to 1440x900x32...
[18-05-2015 06:33:36] [INFO] Display set to 1440x900x32.
[18-05-2015 06:33:36] [INFO] Loading rulesets...
[18-05-2015 06:33:36] [INFO] - standard/xcom1/alienDeployments.rul
[18-05-2015 06:33:36] [INFO] - standard/xcom1/alienItemLevels.rul
[18-05-2015 06:33:36] [INFO] - standard/xcom1/alienMissions.rul
[18-05-2015 06:33:36] [INFO] - standard/xcom1/alienRaces.rul
[18-05-2015 06:33:36] [INFO] - standard/xcom1/armors.rul
[18-05-2015 06:33:36] [INFO] - standard/xcom1/countries.rul
[18-05-2015 06:33:36] [INFO] - standard/xcom1/craftWeapons.rul
[18-05-2015 06:33:36] [INFO] - standard/xcom1/crafts.rul
[18-05-2015 06:33:36] [INFO] - standard/xcom1/cutscenes.rul
[18-05-2015 06:33:36] [INFO] - standard/xcom1/extraSprites.rul
[18-05-2015 06:33:36] [INFO] - standard/xcom1/facilities.rul
[18-05-2015 06:33:36] [INFO] - standard/xcom1/font.rul
[18-05-2015 06:33:36] [INFO] - standard/xcom1/globe.rul
[18-05-2015 06:33:36] [INFO] - standard/xcom1/interfaces.rul
[18-05-2015 06:33:36] [INFO] - standard/xcom1/inventories.rul
[18-05-2015 06:33:36] [INFO] - standard/xcom1/items.rul
[18-05-2015 06:33:37] [INFO] - standard/xcom1/manufacture.rul
[18-05-2015 06:33:37] [INFO] - standard/xcom1/mapScripts.rul
[18-05-2015 06:33:37] [INFO] - standard/xcom1/mcdPatches.rul
[18-05-2015 06:33:37] [INFO] - standard/xcom1/music.rul
[18-05-2015 06:33:37] [INFO] - standard/xcom1/regions.rul
[18-05-2015 06:33:37] [INFO] - standard/xcom1/research.rul
[18-05-2015 06:33:37] [INFO] - standard/xcom1/soldiers.rul
[18-05-2015 06:33:37] [INFO] - standard/xcom1/startingBase.rul
[18-05-2015 06:33:37] [INFO] - standard/xcom1/terrains.rul
[18-05-2015 06:33:37] [INFO] - standard/xcom1/ufoTrajectories.rul
[18-05-2015 06:33:37] [INFO] - standard/xcom1/ufopaedia.rul
[18-05-2015 06:33:37] [INFO] - standard/xcom1/ufos.rul
[18-05-2015 06:33:37] [INFO] - standard/xcom1/units.rul
[18-05-2015 06:33:37] [INFO] - standard/xcom1/vars.rul
[18-05-2015 06:33:37] [INFO] - standard/XcomUtil_Statstrings/XcomUtil_Statstrings.rul
[18-05-2015 06:33:37] [INFO] - standard/XcomUtil_Starting_Improved_Base/XcomUtil_Starting_Improved_Base.rul
[18-05-2015 06:33:37] [INFO] - standard/UFOextender_Psionic_Line_Of_Fire/UFOextender_Psionic_Line_Of_Fire.rul
[18-05-2015 06:33:37] [INFO] - /Users/username/Library/Application Support/OpenXcom/mods/Final Mod Pack/FinalModPack.rul
[18-05-2015 06:33:38] [INFO] - /Users/username/Library/Application Support/OpenXcom/mods/AmigaFonts/AmigaFont.rul
[18-05-2015 06:33:38] [INFO] - /Users/username/Library/Application Support/OpenXcom/mods/MykMod/MykMod.rul
[18-05-2015 06:33:38] [INFO] - /Users/username/Library/Application Support/OpenXcom/mods/MykMod/Statstrings.rul
[18-05-2015 06:33:38] [INFO] Rulesets loaded successfully.
[18-05-2015 06:33:38] [INFO] Loading resources...
[18-05-2015 06:33:38] [INFO] Loading font... AmigaFont.dat
[18-05-2015 06:33:39] [INFO] Loading extra resources from ruleset...
[18-05-2015 06:33:39] [INFO] Resources loaded successfully.
[18-05-2015 06:33:39] [INFO] Loading language...
[18-05-2015 06:33:39] [INFO] Language loaded successfully.
[18-05-2015 06:33:39] [INFO] OpenXcom started successfully!

and the md5sums of the xcom1 ruleset files that gave you the error:
Spoiler:
Code: [Select]
$ md5sum bin/standard/xcom1/*rul
1f5601b81985b9b9fd6feaa241aabc8a  bin/standard/xcom1/alienDeployments.rul
b572d7ca898a2af0e9ab01202eab90b5  bin/standard/xcom1/alienItemLevels.rul
5f1a84ad55e1cd4154c79bd4818e3bd8  bin/standard/xcom1/alienMissions.rul
60d0227012963d172bfd13dec3e074d6  bin/standard/xcom1/alienRaces.rul
bf138fd45fe2991375d1323bc2221e16  bin/standard/xcom1/armors.rul
6d3ab292735f39fbdc38e2ada22c7548  bin/standard/xcom1/countries.rul
d7693ffb019bf4cb3bb814b57b14f935  bin/standard/xcom1/craftWeapons.rul
031a21d0d4c4b6b229650052613318ba  bin/standard/xcom1/crafts.rul
f510f520324e0ade1ac6f906c46cdfcb  bin/standard/xcom1/cutscenes.rul
c20d4736f692e58c6746fd97d7fb112b  bin/standard/xcom1/extraSprites.rul
106b80dd4c627994aa48c6cd123b8f52  bin/standard/xcom1/facilities.rul
ff842dc648931768fbe466bf43fd1285  bin/standard/xcom1/font.rul
2717d173f9e402c7cd4e603b1fcf0308  bin/standard/xcom1/globe.rul
90a41e28fa8254b4fc4ddea693ea6021  bin/standard/xcom1/interfaces.rul
87f88f496a9b9ecb5beae28f63b3a49e  bin/standard/xcom1/inventories.rul
2ee6ce401e7814594eb1931e86a39951  bin/standard/xcom1/items.rul
5663a71b6f7ff29f8e84295d8c28d670  bin/standard/xcom1/manufacture.rul
e1d0e94976ddeccdc1bed803380cde42  bin/standard/xcom1/mapScripts.rul
b809c0205c805694dfc434316df988c3  bin/standard/xcom1/mcdPatches.rul
ef125975dbb93fba44f10a6c5e671108  bin/standard/xcom1/music.rul
b6326a0d28a585934731fe5d7c8e8d56  bin/standard/xcom1/regions.rul
ae54a2b236f12e262ee706f674b601af  bin/standard/xcom1/research.rul
a7a76a3e011ab61b620ad11032c2d52f  bin/standard/xcom1/soldiers.rul
df98b1c264cae53a98342969530f2d57  bin/standard/xcom1/startingBase.rul
523b53ab880736561629aefab4059163  bin/standard/xcom1/terrains.rul
2b3792a28ebe5abcbbaa49d9312584c8  bin/standard/xcom1/ufoTrajectories.rul
c17ae90a38ef0668c1c2e0e16cf67fa3  bin/standard/xcom1/ufopaedia.rul
73a7cf22b0797f5d65deb413ebfd278c  bin/standard/xcom1/ufos.rul
26578a5f09cc4a85124a68f40aa7186f  bin/standard/xcom1/units.rul
36741c11dd36981e0fecae2b9576a698  bin/standard/xcom1/vars.rul
« Last Edit: May 18, 2015, 04:43:17 pm by myk002 »

Offline GreyManNo2

  • Squaddie
  • *
  • Posts: 6
    • View Profile
Re: ERROR: Failed to load rulset from mod (yaml-cpp)
« Reply #3 on: May 18, 2015, 07:13:41 pm »
@ winterheart
I tried cmake and got the same error.

@ myk002

After trying cmake, I went back to compiling via 'make -f Makefile.simple' with a fresh installation just to make sure and indeed I still got the same error. There is a warning in my  openxcom.log about invalid  ruleset for xcom1. I am not sure excatly what to look for to check if my ruleset files are good.

Spoiler:
[18-05-2015 17:01:03]   [INFO]   Data folder is: ./
[18-05-2015 17:01:03]   [INFO]   Data search is:
[18-05-2015 17:01:03]   [INFO]   - /media2/GAMES/OPENXCOM/openxcom/data/
[18-05-2015 17:01:03]   [INFO]   - $HOME/.local/share/openxcom/
[18-05-2015 17:01:03]   [INFO]   - /usr/local/share/openxcom/
[18-05-2015 17:01:03]   [INFO]   - /usr/share/openxcom/
[18-05-2015 17:01:03]   [INFO]   - ./
[18-05-2015 17:01:03]   [INFO]   User folder is: /media2/GAMES/OPENXCOM/openxcom/user/
[18-05-2015 17:01:03]   [INFO]   Config folder is: /media2/GAMES/OPENXCOM/openxcom/config/
[18-05-2015 17:01:03]   [INFO]   Options loaded successfully.
[18-05-2015 17:01:03]   [INFO]   Scanning standard mods in './standard'...
[18-05-2015 17:01:03]   [INFO]   - ./standard/Aliens_Pick_Up_Weapons
[18-05-2015 17:01:03]   [INFO]   - ./standard/Limit_Craft_Item_Capacities
[18-05-2015 17:01:03]   [INFO]   - ./standard/PSX_Static_Cydonia_Map
[18-05-2015 17:01:03]   [INFO]   - ./standard/UFOextender_Gun_Melee
[18-05-2015 17:01:03]   [INFO]   - ./standard/UFOextender_Psionic_Line_Of_Fire
[18-05-2015 17:01:03]   [INFO]   - ./standard/UFOextender_Starting_Avalanches
[18-05-2015 17:01:03]   [INFO]   - ./standard/XcomUtil_Always_Daytime
[18-05-2015 17:01:03]   [INFO]   - ./standard/XcomUtil_Always_Nighttime
[18-05-2015 17:01:03]   [INFO]   - ./standard/XcomUtil_Fighter_Transports
[18-05-2015 17:01:03]   [INFO]   - ./standard/XcomUtil_High_Explosive_Damage
[18-05-2015 17:01:03]   [INFO]   - ./standard/XcomUtil_Improved_Ground_Tanks
[18-05-2015 17:01:03]   [INFO]   - ./standard/XcomUtil_Improved_Heavy_Laser
[18-05-2015 17:01:03]   [INFO]   - ./standard/XcomUtil_No_Psionics
[18-05-2015 17:01:03]   [INFO]   - ./standard/XcomUtil_Pistol_Auto_Shot
[18-05-2015 17:01:03]   [INFO]   - ./standard/XcomUtil_Skyranger_Weapon_Slot
[18-05-2015 17:01:03]   [INFO]   - ./standard/XcomUtil_Starting_Defensive_Base
[18-05-2015 17:01:03]   [INFO]   - ./standard/XcomUtil_Starting_Defensive_Improved_Base
[18-05-2015 17:01:03]   [INFO]   - ./standard/XcomUtil_Starting_Improved_Base
[18-05-2015 17:01:03]   [INFO]   - ./standard/XcomUtil_Statstrings
[18-05-2015 17:01:03]   [INFO]   - ./standard/xcom1
[18-05-2015 17:01:03]   [INFO]   - ./standard/xcom2
[18-05-2015 17:01:03]   [INFO]   Scanning user mods in '/media2/GAMES/OPENXCOM/openxcom/user/mods'...
[18-05-2015 17:01:03]   [INFO]   Mapping resource files...
[18-05-2015 17:01:03]   [INFO]     mapping resources in: ./standard/xcom1
[18-05-2015 17:01:03]   [INFO]     mapping resources in: ./UFO
[18-05-2015 17:01:03]   [INFO]     mapping resources in: ./common
[18-05-2015 17:01:03]   [INFO]   SDL initialized successfully.
[18-05-2015 17:01:04]   [INFO]   SDL_mixer initialized successfully.
[18-05-2015 17:01:04]   [INFO]   Attempting to set display to 640x400x8...
[18-05-2015 17:01:04]   [INFO]   Display set to 640x400x8.
[18-05-2015 17:01:04]   [INFO]   Loading rulesets...
[18-05-2015 17:01:04]   [INFO]   - ./common/Ruleset/soldierNames.rul
[18-05-2015 17:01:04]   [INFO]   - ./standard/xcom1/alienDeployments.rul
[18-05-2015 17:01:04]   [WARN]   disabling mod with invalid ruleset: xcom1
[18-05-2015 17:01:04]   [ERROR]   failed to load ruleset from mod 'UFO: Enemy Unknown / X-Com: UFO Defense' (yaml-cpp: error at line 0, column 0: invalid node; this may result from using a map iterator as a sequence iterator, or vice-versa); disabling mod for next startup

Btw, the md5sums of my xcom1 ruleset files:

Spoiler:
e609441d2e556c2605972ed3d17ab880  standard/xcom1/alienDeployments.rul
b572d7ca898a2af0e9ab01202eab90b5  standard/xcom1/alienItemLevels.rul
5f1a84ad55e1cd4154c79bd4818e3bd8  standard/xcom1/alienMissions.rul
60d0227012963d172bfd13dec3e074d6  standard/xcom1/alienRaces.rul
bf138fd45fe2991375d1323bc2221e16  standard/xcom1/armors.rul
6d3ab292735f39fbdc38e2ada22c7548  standard/xcom1/countries.rul
031a21d0d4c4b6b229650052613318ba  standard/xcom1/crafts.rul
d7693ffb019bf4cb3bb814b57b14f935  standard/xcom1/craftWeapons.rul
f510f520324e0ade1ac6f906c46cdfcb  standard/xcom1/cutscenes.rul
c20d4736f692e58c6746fd97d7fb112b  standard/xcom1/extraSprites.rul
106b80dd4c627994aa48c6cd123b8f52  standard/xcom1/facilities.rul
ff842dc648931768fbe466bf43fd1285  standard/xcom1/font.rul
2717d173f9e402c7cd4e603b1fcf0308  standard/xcom1/globe.rul
90a41e28fa8254b4fc4ddea693ea6021  standard/xcom1/interfaces.rul
87f88f496a9b9ecb5beae28f63b3a49e  standard/xcom1/inventories.rul
2ee6ce401e7814594eb1931e86a39951  standard/xcom1/items.rul
5663a71b6f7ff29f8e84295d8c28d670  standard/xcom1/manufacture.rul
e1d0e94976ddeccdc1bed803380cde42  standard/xcom1/mapScripts.rul
b809c0205c805694dfc434316df988c3  standard/xcom1/mcdPatches.rul
ef125975dbb93fba44f10a6c5e671108  standard/xcom1/music.rul
b6326a0d28a585934731fe5d7c8e8d56  standard/xcom1/regions.rul
ae54a2b236f12e262ee706f674b601af  standard/xcom1/research.rul
a7a76a3e011ab61b620ad11032c2d52f  standard/xcom1/soldiers.rul
df98b1c264cae53a98342969530f2d57  standard/xcom1/startingBase.rul
523b53ab880736561629aefab4059163  standard/xcom1/terrains.rul
c17ae90a38ef0668c1c2e0e16cf67fa3  standard/xcom1/ufopaedia.rul
73a7cf22b0797f5d65deb413ebfd278c  standard/xcom1/ufos.rul
2b3792a28ebe5abcbbaa49d9312584c8  standard/xcom1/ufoTrajectories.rul
26578a5f09cc4a85124a68f40aa7186f  standard/xcom1/units.rul
36741c11dd36981e0fecae2b9576a698  standard/xcom1/vars.rul
A quick glance showed just one difference from the one you posted - the 1st one, i.e., alienDeployments.rul file.

Something must have changed because it was only about 5 months ago when I last compiled and run openxcom o.k.

Offline myk002

  • Colonel
  • ****
  • Posts: 227
    • View Profile
Re: ERROR: Failed to load rulset from mod (yaml-cpp)
« Reply #4 on: May 18, 2015, 08:38:26 pm »
that is true -- a change to alienDeployments.rul just got merged (that I wrote), so that md5sum difference may not be relevant.  could you tar up your installation directory and send me a dropbox link?  I'll check it out.

Offline GreyManNo2

  • Squaddie
  • *
  • Posts: 6
    • View Profile
Re: ERROR: Failed to load rulset from mod (yaml-cpp)
« Reply #5 on: May 18, 2015, 09:03:37 pm »
that is true -- a change to alienDeployments.rul just got merged (that I wrote), so that md5sum difference may not be relevant.  could you tar up your installation directory and send me a dropbox link?  I'll check it out.
Hi, I just sent you a PM with the dropbox link. Thanks.

Offline GreyManNo2

  • Squaddie
  • *
  • Posts: 6
    • View Profile
Re: ERROR: Failed to load rulset from mod (yaml-cpp)
« Reply #6 on: May 18, 2015, 11:48:05 pm »
Right after I PMed myk002, checked my OpenXcom installation and found it o.k., suggested that I try older version of yaml-cpp. Bingo it worked.

It's likely due to my Debian/testing box that recently got a boatload of updates as stable version of Debian was frozen to codename 'Jessie' and testing version is now codename 'Stretch' with new packages making way from Debian unstable/sid. So yaml-cpp version went from 0.5.1-1 to 0.5.2-1, and I had to downgrade yaml-cpp in order to make this work.

Downgrade from
Spoiler:
libyaml-cpp-dev:
  Installed: 0.5.2-1
  Candidate: 0.5.2-1
  Version table:
 *** 0.5.2-1 0
        500 https://ftp.de.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status

libyaml-cpp0.5:
  Installed: 0.5.2-1
  Candidate: 0.5.2-1
  Version table:
 *** 0.5.2-1 0
        500 https://ftp.de.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status
to
Spoiler:
libyaml-cpp0.5:
  Installed: 0.5.1-1
  Candidate: 0.5.2-1
  Version table:
     0.5.2-1 0
        500 https://ftp.de.debian.org/debian/ testing/main amd64 Packages
 *** 0.5.1-1 0
        100 /var/lib/dpkg/status

libyaml-cpp-dev:
  Installed: 0.5.1-1
  Candidate: 0.5.2-1
  Version table:
     0.5.2-1 0
        500 https://ftp.de.debian.org/debian/ testing/main amd64 Packages
 *** 0.5.1-1 0
        100 /var/lib/dpkg/status

So myk002, thanks a lot for the assistance!  :)

Offline myk002

  • Colonel
  • ****
  • Posts: 227
    • View Profile
Re: [SOLVED] ERROR: Failed to load rulset from mod (yaml-cpp)
« Reply #7 on: May 19, 2015, 12:13:02 am »
n/p.  I'll clarify the wiki too so it explicitly says that later versions of yaml-cpp do not work.

Offline winterheart

  • Colonel
  • ****
  • Posts: 180
  • Fellow Squaddie
    • View Profile
Re: [SOLVED] ERROR: Failed to load rulset from mod (yaml-cpp)
« Reply #8 on: May 19, 2015, 07:45:38 am »
That weird. We should provide forward compatibility...

Offline winterheart

  • Colonel
  • ****
  • Posts: 180
  • Fellow Squaddie
    • View Profile

Offline GreyManNo2

  • Squaddie
  • *
  • Posts: 6
    • View Profile
Re: [SOLVED] ERROR: Failed to load rulset from mod (yaml-cpp)
« Reply #10 on: May 28, 2015, 12:35:13 pm »
This commit in yaml-cpp is cause: https://github.com/jbeder/yaml-cpp/commit/1025f76df1b32b6ec3571ca928d7797a768a3341
Thanks for checking it out. So, I'm wondering if it's fixed with new commit? Or it will take some time?

Offline stradian

  • Squaddie
  • *
  • Posts: 1
    • View Profile
Re: [SOLVED] ERROR: Failed to load rulset from mod (yaml-cpp)
« Reply #11 on: May 29, 2015, 10:48:26 pm »
Thanks for checking it out. So, I'm wondering if it's fixed with new commit? Or it will take some time?

If you are on archlinux, you can fix this problem immediately. Download and build Downgrade https://aur.archlinux.org/packages/downgrade/ from the AUR.

Pass this in the command line:
Code: [Select]
#downgrade yaml-cpp
Select "yaml-cpp-0.5.1-1-x86_64.pkg.tar.xz" When it gives you a prompt.

Next, you have to rebuild openxcom, or it will segfault.

I hope this helps.

Offline LyTchet

  • Squaddie
  • *
  • Posts: 1
    • View Profile
Re: [SOLVED] ERROR: Failed to load rulset from mod (yaml-cpp)
« Reply #12 on: July 24, 2015, 10:05:22 am »
Hi,

I'm using Debian Testing too, so I've been bitten by this bug too.

I'm currently working on adding this game to "game-data-packager", a tool that automate
the creation of a local .deb package with game assets from; for all the reverse-engineered games
with a free engine & non-free assets:

https://anonscm.debian.org/cgit/pkg-games/game-data-packager.git/tree/data

That weird. We should provide forward compatibility...

I think too, I've modified install/debian/control to pin this precise version of libyamlcpp
and recreated a .deb that will now forbid that libyamlcpp got updated.

Hopefully, I don't use the other reverse-dependecies of libyaml-cpp (librime: "Chinese input lib" &
libopensurgsim: "Realtime surgical simulation" - I prefer Surgeon Simulator 2013  ;) )

I don't feel this is really "[SOLVED]", will openxcom will get to work with new libyamlcpp someday ?

Cheers & thanks for the awesome work

Offline winterheart

  • Colonel
  • ****
  • Posts: 180
  • Fellow Squaddie
    • View Profile
Re: [SOLVED] ERROR: Failed to load rulset from mod (yaml-cpp)
« Reply #13 on: August 05, 2015, 12:10:16 pm »
Hello.

I forgot to mention, this problem not of OpenXcom, but yaml-cpp. JonnyH done awesome work (https://github.com/jbeder/yaml-cpp/commit/b426fafff6238dda8d86fa668f585cba732dd272) to fix some regressions in library. Unfortunately, 0.5.3 no yet released.