YukiGasai / obsidian-todo-widget

Android Widget to display todo list from markdown file
Apache License 2.0
87 stars 5 forks source link

No todos error #7

Open iloukine opened 10 months ago

iloukine commented 10 months ago

Hello, No matter how much I double check my vault name, or file name I still get that error on the widget screen. If I click the title the correct file opens, but no matter the formatting I use, I cannot get the anything to show. I have my todos spread out over different note and folders and use dataview to pull them into indexes based on tags. I thought that was the issue and created a simple MD file with just a few tasks and it still didn't show up. Would this widget be able to show dataview content? Or just the raw tasks in the MD?

Btw, thanks for your hard work. The only thing in my eyes that's stops Obsidian from being the definitive notes app is notifications and widgets.

iloukine commented 10 months ago

I apologize. I just looked into the closed issues and found that dataview is a no go. Please ignore that part of my message. But I can still not see tasks even if they are in the file itself.

YukiGasai commented 10 months ago

Hi, can you give me your test configuration, so I can reproduce your setup? Did you make sure to allow the app read and write permission?

You can check the todo-widget=log folder inside your documents folder. There should be two log files. Please check there for any error or warning messages.

AxelBuendiaCnam commented 10 months ago

Hi, first of all your app is great, thank you very much! I noticed that when the vault is on the sdcard, the widget cannot print the todos... Even if I paste the real path such as /storage/A9D0-C8E2/Documents/Obsidian Thanks for your help.

Depixelate commented 8 months ago

I had the exact same problem, and after looking at the logs just like @YukiGasai said, I think I've found the solution. After selecting the folder using the 'SELECT' button, the app only receives the name of the folder, and not the full path, including containing folders (For example, when selecting a folder '/Documents/MyVault', the app will only receive the path '/MyVault'). This can be fixed by manually typing the full folder path. For some reason clicking the title still opens the correct file though.

nmay231 commented 4 months ago

@YukiGasai I also am having issues with reading todo files on sd cards similar to @AxelBuendiaCnam.

I have a bunch of errors in warn.txt along the lines of:

[2024-04-29 21:14:23]:FsHelper.loadTextData File not found: /storage/emulated/0/Android/md.obsidian/obsidian-main/Groceries.md

This is when selecting the folder /Android/md.obsidian/obsidian-main on the sd card.