grimborg / obsidian-ironsworn

Ironsworn for Obsidian
Creative Commons Zero v1.0 Universal
28 stars 1 forks source link

StarforgedOracle File Error "Could not read file cache." #1

Open willshattuck opened 2 years ago

willshattuck commented 2 years ago

Hi. Thanks for making this. I was just researching how to do exactly this but was probably going to have to figure out how to do it programmatically when you already did. I'm having an issue though.

Some tables in StarforgedOracleTables aren't working. Below is the error I saw when viewing factions in the main page. I'm not sure what's going on. I just learned about Obsidian and am not sure about the linking process, but it seems like something may be broken either on my end or on the .md files. Not sure though. Thanks

Will

FACTIONS ERROR FACTIONS ERROR

ERROR Starforged Oracle Tables Error

EDIT MODE EDIT MODE

PREVIEW MODE PREVIEW MODE

willshattuck commented 2 years ago

I fixed the error manually. There were missing references to the tables.

dice: 1d100 NameTemplate
1 - 40 dice: [[StarforgedOracleTables#^FactionsLegacy]] dice: [[StarforgedOracleTables#^FactionsAffiliation]]
41 - 55 dice: [[StarforgedOracleTables#^FactionsLegacy]] dice: [[StarforgedOracleTables#^FactionsIdentity]]
56 - 70 dice: [[StarforgedOracleTables#^FactionsIdentity]] of the dice: [[StarforgedOracleTables#^FactionsLegacy]] dice: [[StarforgedOracleTables#^FactionsAffiliation]]
71 - 100 dice: [[StarforgedOracleTables#^FactionsAffiliation]] of the dice: [[StarforgedOracleTables#^FactionsLegacy]] dice: [[StarforgedOracleTables#^FactionsIdentity]]

^FactionsNameTemplate

I am not sure how to fix it in python.

skpy commented 1 year ago

Just wanted to say thanks @willshattuck ! You fixed the problem for me.

willshattuck commented 1 year ago

Other than highlighting the issue I'm not sure what I did. :-)