liamcain / obsidian-things-logbook

Sync your Things 3 Logbook with Obsidian
MIT License
120 stars 22 forks source link

Sync failed #45

Closed yoghurtdewdew closed 1 year ago

yoghurtdewdew commented 1 year ago

Before Submitting: Double-check that you are running the latest version of the plugin. The bug might have already been fixed πŸ˜„

Describe the bug

Sync failed A clear and concise description of what the bug is.

Steps to reproduce

⌘P and choose Things Logbook: sync

  1. Go to '...'
  2. Click on '....'
  3. See error

Expected behavior

Sync succeed A clear and concise description of what you expected to happen.

Screenshots

image image image

If applicable, add screenshots to help explain your problem.

Environment (please specify)

OS

macOS 13.4.1 (c) [Windows/macOS/Linux]

Obsidian Version (e.g. v0.10.6)

v 1.3.5 (Settings β†’ About β†’ Current Version)

Theme (if applicable):

minimal If the bug is visual, please provide the name of the Community Theme you're using.

pwflint commented 1 year ago

In a recent update Things changed the path for main database. There is a similar issue discussed in #44.

To work around in macOS:

  1. Navigate to ~/Library/Group Containers/JLMPQHK86H.com.culturedcode.ThingsMac and open the Readme - Database moved (<date>) file. Copy the path in the file.
  2. Open the main.js file in .obsidian/plugins/things-logbook in the affected vault.
  3. Find "THINGS_DB_PATH =" in the .js file and paste the new path from the Readme file.
  4. Restart Obsidian, logbook plugin can now sync.

Additional comments that might be helpful here.

yoghurtdewdew commented 1 year ago

That's really helpful! Thanks so much it's working now!

But I found some new different problems and have a new question:

As you can see it is successful to sync in 2 daily notes now. But in Things I found 2+ date. Is this normal?

Another problem is that the project is not showed as the parents of there tasks, and the titles were not shown. I wish there would be some perfect indentation for area-project(and its description as notes)-titles(⚠️)-tasks(and its notes) levels.

My suggested format: area: format of title with a lower lever than section heading; project: format of todo for completed/incompleted project, and format of list for unchecked project; titles: format of list tasks: format of todo for completed/incompleted tasks

And another question is that: if I changed the section heading and canceled mark in settings, would it sync duplicate things or sync the old versions to new ones?

image image image image
pwflint commented 1 year ago

If you are finding new/different issues I suggest filing a new issue or feature request.

yoghurtdewdew commented 1 year ago

Thanks for your kind advice and I have put them in new issues.

Thanks for your great creativity and awesome plugins!