-
Posts
9 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by doctorwho
-
-
> That's not quite the same as "cannot search through chrome bookmarks"…
~Got it, will update the title of the post.~ --Okay, not able to do this
Also, the searching through one profile occurred only after seeing your question about the number of profiles, so.So, removed the `Work` profile and just having my `Home` profile on Chrome. Still not able to search through the bookmarks present in the `Home` profile (which is the only profile on Chrome now)
Feels more like a Chrome issue though. Is it?
-
- macOS: High Sierra 10.13
- chrome version: Version 62.0.3202.62
- num of chrome profiles: two (`Work` and `Home`)
- able to search through bookmarks in `Work` profile but not `Home`
- removed both profiles and added them again in order: `Home` and then `Work`
- even now, only able to search for bookmarks in `Work` profile
Note: Not sure how to check which is the default profile
-
alfred version:
Alfred 3.5.1
issue:
- cannot search through chrome bookmarks
- can search through safari bookmarks
-
Stefan,
Had configured the base_url correctly, just didn't want to enter the name of my company and so used "mycompanyname"
Tried it again and got the same results.
There was no ~/.alfred-confluence.json file.
Attached is the contents of settings.json file from `/Users/myuser/Library/Application Support/Alfred 3/Workflow Data/com.k15t.labs.alfredapp.confluence.quicksearch/`,{ "__workflow_last_version": "1.0.2", "confluence_baseUrl": "https://mycompanyname.jira.com/wiki/", "confluence_username": "shriram@mycompanyname.com" }
Also, one thing, debug log for the just tried attempt shows this,Quick Search URL: https://mycompanyname.jira.com/wiki//rest/quicknav/1/search?os_authType=basic&query=tick 18:57:24 workflow.py:2243 ERROR No JSON object could be decoded
The URL returned has two "/" after https://myco.....com/wiki.
I typed in that URL in a browser tab and got a 404.
When I typed in the URL as "https://mycompanyname.jira.com/wiki/rest/quicknav/1/search?os_authType=basic&query=tick", a .json object was returned.
I had set the confluence_baseurl as: https://mycompanyname.jira.com/wiki
Should I try something different?
Appreciate all the help.
Thanks,
Shriram
-
Hi Stefan,
Afraid that didn't help. This is what I tried,
- there was no ~/.alfred-confluence.json created
- and this error was happening
- so, created ~/.alfred-confluence.json
- tried again and still got same errormy confluence url is of format company.jira.com/wiki, will that change anything?
-
Hi Stefan,
Configured by just typing 'confluence_baseurl' without the 'c' and still having the issue.
Below is the complete logs (earlier log filtered by Alfred's "interesting information")[2017-06-06 10:13:27][ERROR: input.scriptfilter] Code 1: 10:13:25 workflow.py:1859 DEBUG Loading cached data from : /Users/myusername/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.k15t.labs.alfredapp.confluence.quicksearch/__workflow_update_status.cpickle 10:13:25 workflow.py:2444 DEBUG update_data : {u'available': False} 10:13:25 workflow.py:2225 DEBUG Workflow version : 1.0.2 10:13:25 workflow.py:1628 DEBUG Reading settings from `/Users/myusername/Library/Application Support/Alfred 3/Workflow Data/com.k15t.labs.alfredapp.confluence.quicksearch/settings.json` ... 10:13:25 workflow.py:2514 DEBUG Update check not due 10:13:25 workflow.py:2633 DEBUG Got password : com.k15t.labs.alfredapp.confluence.quicksearch:confluence_password 10:13:25 alfred-confluence.py:99 DEBUG Quick Search URL: https://mycompanyname.jira.com/wiki/rest/quicknav/1/search?os_authType=basic&query=myquery 10:13:26 workflow.py:2243 ERROR No JSON object could be decoded Traceback (most recent call last): File "/Users/myusername/alfred/Alfred.alfredpreferences/workflows/user.workflow.3843EB14-BDB0-474B-9840-DDE6E3DB23E4/lib/workflow/workflow.py", line 2236, in run func(self) File "alfred-confluence.py", line 108, in main result = r.json() File "/Users/myusername/alfred/Alfred.alfredpreferences/workflows/user.workflow.3843EB14-BDB0-474B-9840-DDE6E3DB23E4/lib/workflow/web.py", line 269, in json return json.loads(self.content, self.encoding or 'utf-8') File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 351, in loads return cls(encoding=encoding, **kw).decode(s) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded 10:13:26 workflow.py:2267 DEBUG Workflow finished in 1.070 seconds. [2017-06-06 10:13:27][input.scriptfilter] <?xml version="1.0" encoding="utf-8"?> <items><item valid="no"><title>Error in workflow 'com.k15t.labs.alfredapp.confluence.quicksearch'</title><subtitle>No JSON object could be decoded</subtitle><icon>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns</icon></item></items>
Thanks! -
On 5/17/2017 at 0:01 AM, mcoppola said:
Hey Stefan,
Thank you for creating and publishing this workflow!
I'm trying to use it and have run into an error, wondering if you may have any insight to the problem. I am seeing "No JSON object could be decoded", when attempting a search. (screenshot below) Seems like the authentication has worked, but I may have something misconfigured.
Thanks for the help!
-Matt
Hi,- having the same error
- debug logs from when trying to run the workflow,Starting debug for 'Confluence Quick Search v1.0.2' [2017-06-04 15:59:31][ERROR: input.scriptfilter] Code 1: 15:59:30 workflow.py:1859 DEBUG Loading cached data from : /Users/myusername/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.k15t.labs.alfredapp.confluence.quicksearch/__workflow_update_status.cpickle 15:59:30 workflow.py:2444 DEBUG update_data : {u'available': False} 15:59:30 workflow.py:2225 DEBUG Workflow version : 1.0.2 15:59:30 workflow.py:1628 DEBUG Reading settings from `/Users/myusername/Library/Application Support/Alfred 3/Workflow Data/com.k15t.labs.alfredapp.confluence.quicksearch/settings.json` ... 15:59:30 workflow.py:2514 DEBUG Update check not due 15:59:30 workflow.py:2633 DEBUG Got password : com.k15t.labs.alfredapp.confluence.quicksearch:confluence_password 15:59:30 alfred-confluence.py:99 DEBUG Quick Search URL: https://myconfluencepage.jira.com/wiki/rest/quicknav/1/search?os_authType=basic&query=v 15:59:31 workflow.py:2243 ERROR No JSON object could be decoded Traceback (most recent call last): File "/Users/myusername/alfred/Alfred.alfredpreferences/workflows/user.workflow.3843EB14-BDB0-474B-9840-DDE6E3DB23E4/lib/workflow/workflow.py", line 2236, in run func(self) File "alfred-confluence.py", line 108, in main result = r.json() File "/Users/myusername/alfred/Alfred.alfredpreferences/workflows/user.workflow.3843EB14-BDB0-474B-9840-DDE6E3DB23E4/lib/workflow/web.py", line 269, in json return json.loads(self.content, self.encoding or 'utf-8') File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 351, in loads return cls(encoding=encoding, **kw).decode(s) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded 15:59:31 workflow.py:2267 DEBUG Workflow finished in 1.093 seconds.
Appreciate the help
-
Hi,
Getting an error while trying to initialize the shortcut
Error logs when “./alfred-chrome $cr“ from terminal,-bash: “./alfred-chrome: No such file or directory
Error logs in application window,
Starting debug for 'Alfred Chrome' [2017-04-16 22:18:15][ERROR: input.scriptfilter] Code 1: Google Chrome cannot be found. Nothing to do! :( [2017-04-16 22:18:15][ERROR: input.scriptfilter] JSON error: JSON text did not start with array or object and option to allow fragments not set. in JSON: Google Chrome cannot be found. Nothing to do! :(
I am syncing Alfred preferences via Dropbox
Cannot search through `Google Chrome` bookmarks [Fixed 3.6 b893 pre-release]
in Closed
Posted
Used the info on that link to create a symlink for the bookmarks file I wanted.
Thanks a bunch!
Below is some info which might help in troubleshooting:
- I deleted both my profiles (on 2017-10-22)
- Which deleted the profile folder `Default`
- And when i added both the profiles again (same date), two directories `Profile 2` and `Profile 4` was created in /Users/myusername/Library/Application Support/Google/Chrome
- Think that the current Chrome version is calling the folders not by my profile name but as `Profile 1`, `Profile 2`, (like a profile ID)
- But there is no `Default` folder
- And think Alfred is looking for the bookmarks in the folder `Default`