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

constantly says 'new version available' but won't update #11

Open
stacksjb opened this issue May 9, 2019 · 6 comments
Open

constantly says 'new version available' but won't update #11

stacksjb opened this issue May 9, 2019 · 6 comments
Assignees
Labels

Comments

@stacksjb
Copy link

stacksjb commented May 9, 2019

I've installed on a fresh Alfred install, and the only thing I get when I run it is "new version available, press enter to update" (airport workflow:update) - but it will not update.

@stacksjb stacksjb changed the title constantly say s" constantly says 'new version available' but won't update May 9, 2019
@otherguy otherguy self-assigned this May 9, 2019
@otherguy otherguy added the bug label May 9, 2019
@otherguy
Copy link
Owner

otherguy commented May 9, 2019

Thanks! Can you tell me which version you installed and where you got it from?

@stacksjb
Copy link
Author

stacksjb commented May 9, 2019

@stacksjb
Copy link
Author

stacksjb commented May 9, 2019

Are there any dependencies needed that I should check?

@stacksjb
Copy link
Author

stacksjb commented May 9, 2019

Here's the debug log from Alfred when attempting to execute and/or hit enter on the update:

`Starting debug for 'Airports'

[2019-05-09 12:54:31][input.scriptfilter] Queuing argument 'D'
[2019-05-09 12:54:31][input.scriptfilter] Queuing argument 'DF'
[2019-05-09 12:54:31][input.scriptfilter] Script with argument '(null)' finished
[2019-05-09 12:54:31][STDERR: input.scriptfilter] .
12:54:31 workflow.py:2055 DEBUG ---------- Airports (0.1.6) ----------
12:54:31 workflow.py:1462 DEBUG reading settings from /Users/local.user/Library/Application Support/Alfred 3/Workflow Data/tirol.basecamp.alfredworkflow.airport-codes/settings.json
12:54:31 workflow.py:2339 DEBUG update check not due
12:54:31 workflow.py:2248 DEBUG set last run version: 0.1.6
12:54:31 workflow.py:2097 DEBUG ---------- finished in 0.068s ----------
[2019-05-09 12:54:31][input.scriptfilter] {"items": [{"valid": false, "subtitle": "", "title": "Please enter 2 or more characters!"}]}
[2019-05-09 12:54:31][input.scriptfilter] Queuing argument 'DFU'
[2019-05-09 12:54:32][input.scriptfilter] Script with argument '(null)' finished
[2019-05-09 12:54:32][STDERR: input.scriptfilter] .
12:54:32 workflow.py:2055 DEBUG ---------- Airports (0.1.6) ----------
12:54:32 workflow.py:1462 DEBUG reading settings from /Users/local.user/Library/Application Support/Alfred 3/Workflow Data/tirol.basecamp.alfredworkflow.airport-codes/settings.json
12:54:32 workflow.py:2339 DEBUG update check not due
12:54:32 workflow.py:2248 DEBUG set last run version: 0.1.6
12:54:32 workflow.py:2097 DEBUG ---------- finished in 0.058s ----------
[2019-05-09 12:54:32][input.scriptfilter] {"items": [{"valid": false, "subtitle": "", "title": "Please enter 2 or more characters!"}]}
[2019-05-09 12:54:32][input.scriptfilter] Script with argument '(null)' finished
[2019-05-09 12:54:32][STDERR: input.scriptfilter] .
12:54:32 workflow.py:2055 DEBUG ---------- Airports (0.1.6) ----------
12:54:32 workflow.py:1462 DEBUG reading settings from /Users/local.user/Library/Application Support/Alfred 3/Workflow Data/tirol.basecamp.alfredworkflow.airport-codes/settings.json
12:54:32 workflow.py:2339 DEBUG update check not due
12:54:32 airports.py:108 INFO Searching airports for 'DFU'...
12:54:32 workflow.py:1689 DEBUG loading cached data: /Users/local.user/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/tirol.basecamp.alfredworkflow.airport-codes/__workflow_update_status.cpickle
12:54:32 workflow.py:2269 DEBUG update_data: {u'available': True, u'version': u'0.1.6', u'download_url': u'https://github.com/otherguy/alfred-airports-workflow/releases/download/0.1.6/airport-0.1.6.alfredworkflow'}
12:54:32 workflow.py:1689 DEBUG loading cached data: /Users/local.user/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/tirol.basecamp.alfredworkflow.airport-codes/airports.cpickle
12:54:32 workflow.py:2248 DEBUG set last run version: 0.1.6
12:54:32 workflow.py:2097 DEBUG ---------- finished in 0.059s ----------
[2019-05-09 12:54:32][input.scriptfilter] {"items": [{"autocomplete": "workflow:update", "valid": false, "subtitle": "Press enter to install the update.", "icon": {"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"}, "title": "New version available"}]}
[2019-05-09 12:54:33][input.scriptfilter] Queuing argument 'workflow:update'
[2019-05-09 12:54:33][input.scriptfilter] Script with argument '(null)' finished
[2019-05-09 12:54:33][STDERR: input.scriptfilter] .
12:54:33 workflow.py:2055 DEBUG ---------- Airports (0.1.6) ----------
12:54:33 workflow.py:1462 DEBUG reading settings from /Users/local.user/Library/Application Support/Alfred 3/Workflow Data/tirol.basecamp.alfredworkflow.airport-codes/settings.json
12:54:33 workflow.py:2339 DEBUG update check not due
12:54:33 airports.py:108 INFO Searching airports for 'workflow:update'...
12:54:33 workflow.py:1689 DEBUG loading cached data: /Users/local.user/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/tirol.basecamp.alfredworkflow.airport-codes/__workflow_update_status.cpickle
12:54:33 workflow.py:2269 DEBUG update_data: {u'available': True, u'version': u'0.1.6', u'download_url': u'https://github.com/otherguy/alfred-airports-workflow/releases/download/0.1.6/airport-0.1.6.alfredworkflow'}
12:54:33 workflow.py:1689 DEBUG loading cached data: /Users/local.user/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/tirol.basecamp.alfredworkflow.airport-codes/airports.cpickle
12:54:33 workflow.py:2248 DEBUG set last run version: 0.1.6
12:54:33 workflow.py:2097 DEBUG ---------- finished in 0.058s ----------
[2019-05-09 12:54:33][input.scriptfilter] {"items": [{"autocomplete": "workflow:update", "valid": false, "subtitle": "Press enter to install the update.", "icon": {"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"}, "title": "New version available"}]}`

@stacksjb
Copy link
Author

stacksjb commented May 9, 2019

The file listed under 'download_url" is the same as the one already installed; downloading manually makes no difference.

@stacksjb
Copy link
Author

stacksjb commented May 9, 2019

This line is also interesting: "Script with argument '(null)' finished
[2019-05-09 12:54:32][STDERR: input.scriptfilter] ."
Somehow, the "DFU" is not being passed to the script.

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

No branches or pull requests

2 participants