Stefan Kleineikenscheidt Posted September 14, 2018 Author Posted September 14, 2018 Hey @Corina and everyone else, I finally got around to look into the issue – and hopefully fix it with release 1.0.3. Please give it another try. Attention Confluence Cloud users: Please make sure to use an api token as password (more info: https://confluence.atlassian.com/cloud/api-tokens-938839638.html), as passwords won't work anymore. Also make sure to login through a browser in case you have an authentication error. Confluence may display a CAPTCHA. Let me know it that helped. Cheers, -Stefan
benito Posted October 11, 2018 Posted October 11, 2018 Hi @Stefan Kleineikenscheidt I couldn't get the workflow running with version 1.0.3. I checked that I use the proper confluence_baseurl and confluence_username. And I use the api token for the confluence_password. Logout/Login didn't help either (there was no CAPTCHA). Any ideas? Below the logfiles: Starting debug for 'Confluence Quick Search v1.0.3' [2018-10-11 16:21:16][ERROR: input.scriptfilter] Code 1: 16:21:15 workflow.py:1884 DEBUG loading cached data: /Users/<username>/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.k15t.labs.alfredapp.confluence.quicksearch/__workflow_update_status.cpickle 16:21:15 workflow.py:2461 DEBUG update_data: {u'available': False} 16:21:15 workflow.py:2247 DEBUG ---------- Confluence Quick Search v1.0.3 (1.0.3) ---------- 16:21:15 workflow.py:1657 DEBUG reading settings from /Users/<username>/Library/Application Support/Alfred 3/Workflow Data/com.k15t.labs.alfredapp.confluence.quicksearch/settings.json 16:21:15 workflow.py:2531 DEBUG update check not due 16:21:15 workflow.py:2650 DEBUG got password : com.k15t.labs.alfredapp.confluence.quicksearch:confluence_password 16:21:15 alfred-confluence.py:59 INFO ~~ Checking config.. 16:21:15 alfred-confluence.py:60 INFO ~~ baseUrl: <mybaseurl> 16:21:15 alfred-confluence.py:61 INFO ~~ username: <myusername> 16:21:15 alfred-confluence.py:62 INFO ~~ password: <mytoken> 16:21:16 alfred-confluence.py:67 INFO ~~ Status code: 500 16:21:16 alfred-confluence.py:68 INFO ~~ ... Failed. 16:21:16 workflow.py:2266 ERROR HTTP Error 500: Internal Server Error Traceback (most recent call last): File "/Users/<username>/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.<somedigits>/lib/workflow/workflow.py", line 2259, in run func(self) File "alfred-confluence.py", line 128, in main r.raise_for_status() File "/Users/<username>/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.<somedigits>/lib/workflow/web.py", line 405, in raise_for_status raise self.error HTTPError: HTTP Error 500: Internal Server Error 16:21:16 workflow.py:2289 DEBUG ---------- finished in 0.389s ---------- [2018-10-11 16:21:16][WARNING: input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 64.)'. Row 2, Col 165: 'XML declaration allowed only at the start of the document' in XML: <?xml version="1.0" encoding="utf-8"?> <items><item valid="no"><title>Authentication failed.</title><subtitle>CAPTCHA issues? Try to logout and login again in your browser.</subtitle></item></items><?xml version="1.0" encoding="utf-8"?> <items><item valid="no"><title>Error in workflow 'Confluence Quick Search v1.0.3'</title><subtitle>HTTP Error 500: Internal Server Error</subtitle><icon>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns</icon></item></items>
deanishe Posted October 11, 2018 Posted October 11, 2018 That’s a server error, @benito. It’s possibly a problem at their end. Try again in an hour and see if you still get an error.
Tbnvnt Posted December 31, 2018 Posted December 31, 2018 Hello! New user of Alfred, I'm trying to use your workflow. But I got an error: "No confluence base URL set" although I did put a correct one following your how to guide. Here's the debug log: [2018-12-31 14:46:41][ERROR: input.scriptfilter] Code 1: 14:46:40 workflow.py:1884 DEBUG loading cached data: /Users/tbienvenot/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.k15t.labs.alfredapp.confluence.quicksearch/__workflow_update_status.cpickle 14:46:40 workflow.py:2461 DEBUG update_data: {u'available': False, u'version': u'1.0.3', u'download_url': u'https://github.com/skleinei/alfred-confluence/releases/download/1.0.3/alfred-confluence.alfredworkflow'} 14:46:40 workflow.py:2247 DEBUG ---------- Confluence Quick Search v1.0.3 (1.0.3) ---------- 14:46:40 workflow.py:1657 DEBUG reading settings from /Users/tbienvenot/Library/Application Support/Alfred 3/Workflow Data/com.k15t.labs.alfredapp.confluence.quicksearch/settings.json 14:46:40 workflow.py:2531 DEBUG update check not due 14:46:40 alfred-confluence.py:59 INFO ~~ Checking config.. 14:46:40 workflow.py:2266 ERROR cannot concatenate 'str' and 'int' objects Traceback (most recent call last): File "/Users/tbienvenot/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.64DBA4D3-917A-40F6-A301-ACAFBE8F79E2/lib/workflow/workflow.py", line 2259, in run func(self) File "alfred-confluence.py", line 119, in main checkConfig(config) File "alfred-confluence.py", line 60, in checkConfig log.info('~~ baseUrl: ' + config['baseUrl']) TypeError: cannot concatenate 'str' and 'int' objects 14:46:40 workflow.py:2289 DEBUG ---------- finished in 0.062s ---------- [2018-12-31 14:46:41][WARNING: input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 64.)'. Row 2, Col 162: 'XML declaration allowed only at the start of the document' in XML: <?xml version="1.0" encoding="utf-8"?> <items><item valid="no"><title>No Confluence Base URL set.</title><subtitle>Type confluence_baseurl <baseUrl> and hit enter.</subtitle></item></items><?xml version="1.0" encoding="utf-8"?> <items><item valid="no"><title>No Confluence Base URL set.</title><subtitle>Type confluence_baseurl <baseUrl> and hit enter.</subtitle></item><item valid="no"><title>No Confluence Username set. Please run confluence_username</title><subtitle>Type confluence_username <username> and hit enter.</subtitle></item></items><?xml version="1.0" encoding="utf-8"?> <items><item valid="no"><title>No Confluence Base URL set.</title><subtitle>Type confluence_baseurl <baseUrl> and hit enter.</subtitle></item><item valid="no"><title>No Confluence Username set. Please run confluence_username</title><subtitle>Type confluence_username <username> and hit enter.</subtitle></item><item valid="no"><title>No Confluence Password set. Please run confluence_password</title><subtitle>Type confluence_password <password> and hit enter.</subtitle></item></items><?xml version="1.0" encoding="utf-8"?> <items><item valid="no"><title>Error in workflow 'Confluence Quick Search v1.0.3'</title><subtitle>cannot concatenate 'str' and 'int' objects</subtitle><icon>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns</icon></item></items> [2018-12-31 14:46:41][ERROR: input.scriptfilter] Code 1: 14:46:41 workflow.py:1884 DEBUG loading cached data: /Users/tbienvenot/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.k15t.labs.alfredapp.confluence.quicksearch/__workflow_update_status.cpickle 14:46:41 workflow.py:2461 DEBUG update_data: {u'available': False, u'version': u'1.0.3', u'download_url': u'https://github.com/skleinei/alfred-confluence/releases/download/1.0.3/alfred-confluence.alfredworkflow'} 14:46:41 workflow.py:2247 DEBUG ---------- Confluence Quick Search v1.0.3 (1.0.3) ---------- 14:46:41 workflow.py:1657 DEBUG reading settings from /Users/tbienvenot/Library/Application Support/Alfred 3/Workflow Data/com.k15t.labs.alfredapp.confluence.quicksearch/settings.json 14:46:41 workflow.py:2531 DEBUG update check not due 14:46:41 alfred-confluence.py:59 INFO ~~ Checking config.. 14:46:41 workflow.py:2266 ERROR cannot concatenate 'str' and 'int' objects Traceback (most recent call last): File "/Users/tbienvenot/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.64DBA4D3-917A-40F6-A301-ACAFBE8F79E2/lib/workflow/workflow.py", line 2259, in run func(self) File "alfred-confluence.py", line 119, in main checkConfig(config) File "alfred-confluence.py", line 60, in checkConfig log.info('~~ baseUrl: ' + config['baseUrl']) TypeError: cannot concatenate 'str' and 'int' objects 14:46:41 workflow.py:2289 DEBUG ---------- finished in 0.042s ---------- Thanks for your help! Tom
Stefan Kleineikenscheidt Posted January 6, 2019 Author Posted January 6, 2019 Hey Tom, it looks like the Confluence URL is set to an int. Can you try to configure it with a config file (in ~/.alfred-confluence.json) and post that here? Thanks, -Stefan
Corina Posted January 18, 2019 Posted January 18, 2019 Hi there! Anybody else gets error message: Error in workflow `Confluence Quick Serach v1.0.3` Any hint what's wrong? I get the error message since yesterday 17 of january. Best, Corina
daearcdo Posted February 22, 2021 Posted February 22, 2021 HI I login it through Google login, there is any way to login with google account ?
Stefan Kleineikenscheidt Posted September 6, 2022 Author Posted September 6, 2022 Hey @daearcdo, I've just released a new major version of Confluence Quicksearch for Alfred, which used API tokens that should work for your case as well. Read more: https://github.com/skleinei/alfred-confluence/discussions/16 Download: https://github.com/skleinei/alfred-confluence/releases/tag/2.0.0 Hope this may be of help for you! Pearcen 1
Stefan Kleineikenscheidt Posted September 6, 2022 Author Posted September 6, 2022 Important Announcement: With the new 2.0.0 release, I've activated Discussions section on Github. Please post your questions and issues on Github: https://github.com/skleinei/alfred-confluence/discussions/categories/q-a
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now