decaf-dev / obsidian-dataloom

Weave together data from diverse sources and display them in different views. Inspired by Excel spreadsheets and Notion.so.
https://dataloom.xyz/
MIT License
914 stars 33 forks source link

file was broken #798

Closed yakee99 closed 12 months ago

yakee99 commented 1 year ago

Describe the bug

file was broken

Steps to reproduce

no

Expected behavior

no

Are you using the mobile app?

Yes

Obsidian debug info

Plugin version: 8.6.4 File version: 8.6.4 Failed migration: null Error message: { "model": { "columns": [ null, { "type": "Expected \"text\" | \"embed\" | \"file\" | \"number\" | \"tag\" | \"multi-tag\" | \"date\" | \"checkbox\" | \"creation-time\" | \"last-edited-time\", but was missing" } ] } }

Relevant log output

Plugin version: 8.6.4
File version: 8.6.4
Failed migration: null
Error message: {
  "model": {
    "columns": [
      null,
      {
        "type": "Expected \"text\" | \"embed\" | \"file\" | \"number\" | \"tag\" | \"multi-tag\" | \"date\" | \"checkbox\" | \"creation-time\" | \"last-edited-time\", but was missing"
      }
    ]
  }
}
decaf-dev commented 12 months ago

Hi @yakee99. It looks like the column type is probably still currency or some other type. Please open your file in a text editor. Try renaming it to one of the values listed in the error message: "text" or "embed" or "number", etc.

For example. If I have a column with the type: "currency"

{
  columns: [
      {
         type: "currency"
      }
   ]
}

I can rename the value of the type key to "text". I then can save the file and reopen my loom file.

{
  columns: [
      {
         type: "text"
      }
   ]
}
decaf-dev commented 12 months ago

If you need help, please post your loom file content, and I can fix it for you.

yakee99 commented 12 months ago

yes,its solved. when i change one column from checkbox to text, the content type was missed. and finally i find that. thank your help.