Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Things.sqlite3 move in Things 3.12.6 #30

Closed
brokosz opened this issue Aug 4, 2020 · 5 comments
Closed

Things.sqlite3 move in Things 3.12.6 #30

brokosz opened this issue Aug 4, 2020 · 5 comments

Comments

@brokosz
Copy link

brokosz commented Aug 4, 2020

Cultured Code moved the Things db in 3.12.6 to ~/Library/Group Containers. Subsequently, things.sh fails locating the file:

$ things.sh today
Error: file is not a database
ERROR: line 1 - command 'eval "${!method}"' exited with status: 26.
ERROR: In ::queryToday::invokePlugin::parse::main::main called at line 48.
DEBUG: From function ::queryToday::invokePlugin::parse::main::main (line 48).

replacing
readonly DEFAULT_DB=~/Library/Containers/com.culturedcode.ThingsMac/Data/Library/Application\ Support/Cultured\ Code/Things/Things.sqlite3
with
readonly DEFAULT_DB="/Library/Group Containers/JLMPQHK86H.com.culturedcode.ThingsMac/Things.sqlite3"
restored access for me, though I don't know if the JLMPQHK86H part is unique per user...

@AlexanderWillner
Copy link
Owner

Thank you. Seems the JLMPQHK86H is not unique per user.

@AlexanderWillner
Copy link
Owner

@brokosz As I currently have only the beta installed: are you sure it's readonly DEFAULT_DB="/Library/Group Containers/JLMPQHK86H.com.culturedcode.ThingsMac/Things.sqlite3" and not readonly DEFAULT_DB="~/Library/Group Containers/JLMPQHK86H.com.culturedcode.ThingsMac/Things.sqlite3"?

@brokosz
Copy link
Author

brokosz commented Aug 6, 2020

Sorry @AlexanderWillner - I had to go check... for me it actually only works with the full path, not the ~ path. so mine is actually /Users/<USERNAME>/Library/Group Containers/JLMPQHK86H.com.culturedcode.ThingsMac/Things.sqlite3. I'm sure there's an env var I'm missing to get it work off the local path

@AlexanderWillner
Copy link
Owner

Ok, thanks. Will push an update soon.

@AlexanderWillner
Copy link
Owner

Fixed in release 2.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants