Joe O.
-
Posts
16 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by Joe O.
-
-
I'll try that in a few days. I reverted back to the older version, just to get it working again.
Thank you for the reply!
-
I just got an update that broke the workflow again. Now it's pulling from an older profile and doesn't see my current profile.
Line 50 of the main.py file reads:
outlookData = homePath + OUTLOOK_DATA_PARENT + profile + OUTLOOK_DATA_FOLDER
log.info(outlookData)When it used to read:
outlookData = homePath + r'/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/'
Any recommendations on a fix?
-
Can't wait!
-
Awesome! Great job with this workflow!
Are you planing to add search for contacts and events?
Thank you again for your help!
-
Finder brings back results for everything and usually the email is at the bottom or does shows 5 results.
-
BINGO!!!!
It works!! You guys are AWESOME!!
Thank you!
-
I just did that... and it's still not working.
Here is the debug
Starting debug for 'Outlook Search'
[2019-02-25 07:49:42][ERROR: input.scriptfilter] Code 1: File "main.py", line 1
SyntaxError: encoding problem: uff-8
[2019-02-25 07:49:43][ERROR: input.scriptfilter] Code 1: File "main.py", line 1
SyntaxError: encoding problem: uff-8
[2019-02-25 07:49:43][ERROR: input.scriptfilter] Code 1: File "main.py", line 1
SyntaxError: encoding problem: uff-8
[2019-02-25 07:49:43][ERROR: input.scriptfilter] Code 1: File "main.py", line 1
SyntaxError: encoding problem: uff-8
[2019-02-25 07:49:43][ERROR: input.scriptfilter] Code 1: File "main.py", line 1
SyntaxError: encoding problem: uff-8
[2019-02-25 07:49:43][ERROR: input.scriptfilter] Code 1: File "main.py", line 1
SyntaxError: encoding problem: uff-8
[2019-02-25 07:49:47][ERROR: input.scriptfilter] Code 1: File "main.py", line 1
SyntaxError: encoding problem: uff-8
[2019-02-25 07:49:47][ERROR: input.scriptfilter] Code 1: File "main.py", line 1
SyntaxError: encoding problem: uff-8
[2019-02-25 07:49:47][ERROR: input.scriptfilter] Code 1: File "main.py", line 1
SyntaxError: encoding problem: uff-8
[2019-02-25 07:49:48][ERROR: input.scriptfilter] Code 1: File "main.py", line 1
SyntaxError: encoding problem: uff-8
[2019-02-25 07:49:48][ERROR: input.scriptfilter] Code 1: File "main.py", line 1
SyntaxError: encoding problem: uff-8
[2019-02-25 07:49:49][ERROR: input.scriptfilter] Code 1: File "main.py", line 1
SyntaxError: encoding problem: uff-8 -
Ok. I think we're getting closer!
This is what I see
/Users/JOE/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/JOE/Data/Outlook.sqlite
and
/Users/JOE/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/JOE2/Data/Outlook.sqlite
The JOE profile shows:
And the JOE2 profile shows:
Clearly, JOE2 is the correct and current profile. What do I do to point Aldred at this one?
-
Oh... LOL. Thank you!! Here it is:
Starting debug for 'Outlook Search'
[2019-02-22 08:04:11][STDERR: input.scriptfilter] 08:04:11 workflow.py:1689 DEBUG loading cached data: /Users/JOE/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.xericwei.alfred/__workflow_update_status.cpickle
08:04:11 workflow.py:2269 DEBUG update_data: {u'available': False}
.
08:04:11 workflow.py:2055 DEBUG ---------- Outlook Search (0.1.0) ----------
08:04:11 workflow.py:1462 DEBUG reading settings from /Users/JOE/Library/Application Support/Alfred 3/Workflow Data/com.xericwei.alfred/settings.json
08:04:11 workflow.py:2339 DEBUG update check not due
08:04:11 main.py:34 INFO searching mail with keyword
08:04:11 workflow.py:2248 DEBUG set last run version: 0.1.0
08:04:11 workflow.py:2097 DEBUG ---------- finished in 0.036s ----------
[2019-02-22 08:04:11][STDERR: input.scriptfilter] 08:04:11 workflow.py:1689 DEBUG loading cached data: /Users/JOE/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.xericwei.alfred/__workflow_update_status.cpickle
08:04:11 workflow.py:2269 DEBUG update_data: {u'available': False}
.
08:04:11 workflow.py:2055 DEBUG ---------- Outlook Search (0.1.0) ----------
08:04:11 workflow.py:1462 DEBUG reading settings from /Users/JOE/Library/Application Support/Alfred 3/Workflow Data/com.xericwei.alfred/settings.json
08:04:11 workflow.py:2339 DEBUG update check not due
08:04:11 main.py:34 INFO searching mail with keyword
08:04:11 workflow.py:2248 DEBUG set last run version: 0.1.0
08:04:11 workflow.py:2097 DEBUG ---------- finished in 0.025s ----------
[2019-02-22 08:04:11][ERROR: input.scriptfilter] Code 1: 08:04:11 workflow.py:1689 DEBUG loading cached data: /Users/JOE/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.xericwei.alfred/__workflow_update_status.cpickle
08:04:11 workflow.py:2269 DEBUG update_data: {u'available': False}
.
08:04:11 workflow.py:2055 DEBUG ---------- Outlook Search (0.1.0) ----------
08:04:11 workflow.py:1462 DEBUG reading settings from /Users/JOE/Library/Application Support/Alfred 3/Workflow Data/com.xericwei.alfred/settings.json
08:04:11 workflow.py:2339 DEBUG update check not due
08:04:11 main.py:51 INFO /Users/JOE/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/
08:04:11 main.py:63 INFO query string is: kat
08:04:11 main.py:64 INFO query page is: 0
08:04:11 workflow.py:1579 DEBUG data `pagesize` stored as `cpickle`
08:04:11 workflow.py:1594 DEBUG stored data loaded: /Users/JOE/Library/Application Support/Alfred 3/Workflow Data/com.xericwei.alfred/pagesize.cpickle
08:04:11 workflow.py:1565 DEBUG no data stored for `folder`
08:04:11 workflow.py:2074 ERROR unable to open database file
Traceback (most recent call last):
File "/Users/JOE/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.88E5C3CF-CD49-4826-9B12-DC868CC4938C/workflow/workflow.py", line 2067, in run
func(self)
File "main.py", line 32, in main
handle(wf, query)
File "main.py", line 91, in handle
con = sqlite3.connect(outlookData + 'Outlook.sqlite')
OperationalError: unable to open database file
08:04:11 workflow.py:2097 DEBUG ---------- finished in 0.027s ----------
[2019-02-22 08:04:12][ERROR: input.scriptfilter] Code 1: 08:04:11 workflow.py:1689 DEBUG loading cached data: /Users/JOE/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.xericwei.alfred/__workflow_update_status.cpickle
08:04:11 workflow.py:2269 DEBUG update_data: {u'available': False}
.
08:04:11 workflow.py:2055 DEBUG ---------- Outlook Search (0.1.0) ----------
08:04:11 workflow.py:1462 DEBUG reading settings from /Users/JOE/Library/Application Support/Alfred 3/Workflow Data/com.xericwei.alfred/settings.json
08:04:11 workflow.py:2339 DEBUG update check not due
08:04:11 main.py:51 INFO /Users/JOE/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/
08:04:11 main.py:63 INFO query string is: kati
08:04:11 main.py:64 INFO query page is: 0
08:04:11 workflow.py:1579 DEBUG data `pagesize` stored as `cpickle`
08:04:11 workflow.py:1594 DEBUG stored data loaded: /Users/JOE/Library/Application Support/Alfred 3/Workflow Data/com.xericwei.alfred/pagesize.cpickle
08:04:11 workflow.py:1565 DEBUG no data stored for `folder`
08:04:11 workflow.py:2074 ERROR unable to open database file
Traceback (most recent call last):
File "/Users/JOE/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.88E5C3CF-CD49-4826-9B12-DC868CC4938C/workflow/workflow.py", line 2067, in run
func(self)
File "main.py", line 32, in main
handle(wf, query)
File "main.py", line 91, in handle
con = sqlite3.connect(outlookData + 'Outlook.sqlite')
OperationalError: unable to open database file
08:04:11 workflow.py:2097 DEBUG ---------- finished in 0.027s ----------
[2019-02-22 08:04:14][ERROR: input.scriptfilter] Code 1: 08:04:14 workflow.py:1689 DEBUG loading cached data: /Users/JOE/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.xericwei.alfred/__workflow_update_status.cpickle
08:04:14 workflow.py:2269 DEBUG update_data: {u'available': False}
.
08:04:14 workflow.py:2055 DEBUG ---------- Outlook Search (0.1.0) ----------
08:04:14 workflow.py:1462 DEBUG reading settings from /Users/JOE/Library/Application Support/Alfred 3/Workflow Data/com.xericwei.alfred/settings.json
08:04:14 workflow.py:2339 DEBUG update check not due
08:04:14 main.py:51 INFO /Users/JOE/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/
08:04:14 main.py:63 INFO query string is: katie
08:04:14 main.py:64 INFO query page is: 0
08:04:14 workflow.py:1579 DEBUG data `pagesize` stored as `cpickle`
08:04:14 workflow.py:1594 DEBUG stored data loaded: /Users/JOE/Library/Application Support/Alfred 3/Workflow Data/com.xericwei.alfred/pagesize.cpickle
08:04:14 workflow.py:1565 DEBUG no data stored for `folder`
08:04:14 workflow.py:2074 ERROR unable to open database file
Traceback (most recent call last):
File "/Users/JOE/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.88E5C3CF-CD49-4826-9B12-DC868CC4938C/workflow/workflow.py", line 2067, in run
func(self)
File "main.py", line 32, in main
handle(wf, query)
File "main.py", line 91, in handle
con = sqlite3.connect(outlookData + 'Outlook.sqlite')
OperationalError: unable to open database file
08:04:14 workflow.py:2097 DEBUG ---------- finished in 0.026s ---------so
-
@xeric Thank you for the reply and offer to help!
I followed the instructions above and for some reason, I get no debug output... after 10-20 min it still reads "Starting debug for 'Outlook Search'"
Any ideas?
-
On 2/4/2019 at 1:40 PM, cortig said:
A path issue (lets say, your database had to be renamed because of a corruption, do you have more than one profile folder in ~/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/?)
I think I do have a path issue:
Any suggestions I how I fix it? Not sure why there are two profiles. I haven't had a corruption in the past few years.
-
I use Outlook for Mac (v16.22) and Alfred doesn't see any of the email or calendar events. I have added it to search results, or least tried to. See below, the 2011 was an older version still in finder.
I have also tried Outlook workflows, but it doesn't see the Outlook Database:
Does anyhow have any idea on how to fix this?
-
Thank you! I'll try this out and let you know how it goes!
-
-
Workflow for Outlook V16 Search
in Share your Workflows
Posted
Great! Thanks for letting me know!