Comments (3)
I checked the post on alfredforum and figured that my problem might be to do with directory... I paste the debug info here:
[17:41:35.784] Search OmniFocus[Script Filter] Queuing argument 't'
[17:41:36.000] Search OmniFocus[Script Filter] Script with argv '(null)' finished
[17:41:36.003] ERROR: Search OmniFocus[Script Filter] Code 1: .
17:41:35 workflow.py:2061 DEBUG ---------- Search OmniFocus (2.1.3) ----------
17:41:35 workflow.py:1468 DEBUG reading settings from /Users/vpchris/Library/Application Support/Alfred/Workflow Data/net.rhydlewis.alfred.searchomnifocus/settings.json
17:41:35 workflow.py:2343 DEBUG update check not due
17:41:35 search.py:45 DEBUG Started workflow
17:41:35 search.py:162 DEBUG [u't']
17:41:35 workflow.py:1695 DEBUG loading cached data: /Users/vpchris/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/net.rhydlewis.alfred.searchomnifocus/__workflow_latest_version.cpickle
17:41:35 search.py:176 DEBUG Using stored icon_root:'/Applications/OmniFocus.localized/OmniFocus.app/Contents/Resources'
17:41:35 search.py:142 DEBUG Searching tasks
17:41:35 search.py:64 DEBUG SELECT t.persistentIdentifier AS id, t.name AS name, t.dateCompleted as date_completed, t.blockedByFutureStartDate AS blocked_by_future_start_date, p.name AS project_name, t.flagged, t.dateToStart AS start_date, t.inInbox AS in_inbox, t.effectiveInInbox AS effective_in_inbox, t.effectiveDateToStart AS effective_start_date, t.childrenCountAvailable AS child_count, t.blocked AS blocked, pi.status AS status, t.effectiveFlagged, t.dateModified AS modified, t.containingProjectInfo AS parent, t.dateDue AS due_date, t.effectiveContainingProjectInfoRemaining AS project_remaining FROM ((task tt left join projectinfo pi on tt.containingprojectinfo=pi.pk) t left join task p on t.task=p.persistentIdentifier) WHERE (t.effectiveInInbox = 0 AND t.inInbox = 0) AND t.dateCompleted IS NULL AND lower(t.name) LIKE lower('%t%') AND (t.containingProjectInfo <> t.persistentIdentifier OR t.containingProjectInfo is NULL) ORDER BY t.name ASC
17:41:35 search.py:187 DEBUG OmniFocus db not found at /Users/vpchris/Library/Group Containers/34YW5XSRB7.com.omnigroup.OmniFocus/com.omnigroup.OmniFocus3/com.omnigroup.OmniFocusModel/OmniFocusDatabase.db; using /Users/vpchris/Library/Group Containers/34YW5XSRB7.com.omnigroup.OmniFocus/com.omnigroup.OmniFocus3.MacAppStore/com.omnigroup.OmniFocusModel/OmniFocusDatabase.db instead
17:41:35 search.py:197 DEBUG /Users/vpchris/Library/Group Containers/34YW5XSRB7.com.omnigroup.OmniFocus/com.omnigroup.OmniFocus3.MacAppStore/com.omnigroup.OmniFocusModel/OmniFocusDatabase.db
17:41:35 workflow.py:2080 ERROR unable to open database file
Traceback (most recent call last):
File "/Users/vpchris/SynologyDrive/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.F7C2D3A6-3EC1-49B8-B4F1-59A3D762281F/workflow/workflow.py", line 2073, in run
func(self)
File "search.py", line 56, in main
get_results(sql, args.type, factory)
File "search.py", line 65, in get_results
results = run_query(sql)
File "search.py", line 209, in run_query
conn = sqlite3.connect(db_path)
OperationalError: unable to open database file
17:41:35 workflow.py:2103 DEBUG ---------- finished in 0.022s ----------
[17:41:36.007] Search OmniFocus[Script Filter]
<title>Error in workflow 'Search OmniFocus'</title>unable to open database file/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns
from search-omnifocus.
Weird. The workflow can't find your OmniFocus database at the expected location. I don't have access to OmniFocus Enterprise but assuming that it has a different location compared to the regular Mac AppStore app. Can you run this from Terminal.app and share the result?
cd ~/Library/Group\ Containers/
find . -name "OmniFocus*.db"
from search-omnifocus.
./34YW5XSRB7.com.omnigroup.OmniFocus/com.omnigroup.OmniFocus3.enterprise/com.omnigroup.OmniFocusModel/OmniFocusDatabase.db
find: ./group.com.apple.notes: Operation not permitted
Cheers!
from search-omnifocus.
Related Issues (20)
- OF3: Searching new tags is broken HOT 5
- Unable to open database file HOT 1
- Error "unable to open database file" HOT 3
- In the release version 2.0.3, 'version' is still tagged as 2.0.2 HOT 2
- Question: I could have sworn that search-omnifocus used to open new windows on searches... HOT 2
- Use OF3 by default? HOT 3
- Request: Option to search title *and* notes in same command HOT 4
- Request: fuzzier search queries? HOT 3
- No results returned for custom perspectives with .v or .lv HOT 14
- Does it support Alfred 4? HOT 3
- Incompatible in Alfred v3.8.2 HOT 9
- Workflow doesn't show results from OmniFocus after upgrade to 3.5 HOT 2
- time data does not match format '%Y-%m-%dT%H:%M:%S.%fZ' HOT 2
- v2.1.1 is no longer support Alfred 3? HOT 2
- Tasks that inherit completion from their parent still appear as active tasks HOT 1
- .d does not work with the latest Omnifocus and Alfred HOT 6
- List inbox (.li) also shows completed items. HOT 1
- Python 2.7 removed from macOS 12.3 = broken workflow HOT 11
- Search OmniFocus not working in Alfred 5 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from search-omnifocus.