Giter VIP home page Giter VIP logo

Comments (6)

blacksmithgu avatar blacksmithgu commented on June 4, 2024 1

No, it's good that you did that - I can fix it so it doesn't error on empty fields before I release.

from obsidian-dataview.

blacksmithgu avatar blacksmithgu commented on June 4, 2024

If no errors, then I think the issue is just that the tags YAML option is somewhat open-ended. The obsidian standard is that tags should be a YAML list - so your tags should be

tags: ["foo"]

or

tags:
  - foo

from obsidian-dataview.

blacksmithgu avatar blacksmithgu commented on June 4, 2024

Oh, whoops, I just saw you added no console errors. I think the issue is just tags. How do you normally use the tags YAML field?

from obsidian-dataview.

liamcain avatar liamcain commented on June 4, 2024

Okay, I switched to using the multiline syntax for tags and now I see the following error in the console:

Uncaught (in promise) TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at populateContextFrontmatter (eval at <anonymous> (app.js:1), <anonymous>:9755:39)
    at populateContextFrontmatter (eval at <anonymous> (app.js:1), <anonymous>:9766:17)
    at populateContextFromMeta (eval at <anonymous> (app.js:1), <anonymous>:9786:9)
    at _loop_1 (eval at <anonymous> (app.js:1), <anonymous>:9803:23)
    at execute (eval at <anonymous> (app.js:1), <anonymous>:9859:27)
    at DataviewTableRenderer.onload (eval at <anonymous> (app.js:1), <anonymous>:10102:22)
    at DataviewTableRenderer.e.load (app.js:1)
    at t.e.addChild (app.js:1)
    at Object.addChild (app.js:1)

How do you normally use the tags YAML field?

I normally use the multiline syntax, just messed up the test file 🙈

from obsidian-dataview.

liamcain avatar liamcain commented on June 4, 2024

Oh, whoops. So I removed the empty "aliases" key and now it's working!

I normally keep an empty aliases and tags key in my file to add them easily, but makes sense that would mess things up.

from obsidian-dataview.

liamcain avatar liamcain commented on June 4, 2024

Will close this since I have things working now. This plugin is seriously awesome, and I love how ambitious the roadmap looks!

from obsidian-dataview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.