We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
just installed Release v1.5 and am getting this error out-of-the-box....
[2018-04-02 10:13:20][ERROR: input.scriptfilter] Code 1: 10:13:20 workflow.py:2249 DEBUG workflow version: 0.1.5 10:13:20 workflow.py:1657 DEBUG reading settings from /Users/asher/Library/Application Support/Alfred 3/Workflow Data/tirol.basecamp.alfredworkflow.airport-codes/settings.json 10:13:20 workflow.py:2532 DEBUG Update check not due 10:13:20 workflow.py:1884 DEBUG loading cached data: /Users/asher/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/tirol.basecamp.alfredworkflow.airport-codes/__workflow_update_status.cpickle 10:13:20 workflow.py:2462 DEBUG update_data: {u'available': False, u'version': u'0.1.5', u'download_url': u'https://github.com/darkwinternight/alfred-airports-workflow/releases/download/0.1.5/airport-0.1.5.alfredworkflow'} 10:13:20 workflow.py:1884 DEBUG loading cached data: /Users/asher/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/tirol.basecamp.alfredworkflow.airport-codes/airports.cpickle ./lib/unidecode/__init__.py:46: RuntimeWarning: Argument <class 'dotmap.DotMap'> is not an unicode object. Passing an encoded string will likely have unexpected results. _warn_if_not_unicode(string) 10:13:20 workflow.py:2267 ERROR 'DotMap' object is not callable Traceback (most recent call last): File "/Users/asher/Creative Cloud Files/syncs/alfred/Alfred.alfredpreferences/workflows/user.workflow.2ED64D4C-5C4B-4C24-9FD3-6B155864D5E7/workflow/workflow.py", line 2260, in run func(self) File "airports.py", line 100, in main filtered_airports = wf.filter(airportquery, all_airports, key_for_airports, min_score=70, match_on=MATCH_ATOM | MATCH_SUBSTRING, include_score=True) File "/Users/asher/Creative Cloud Files/syncs/alfred/Alfred.alfredpreferences/workflows/user.workflow.2ED64D4C-5C4B-4C24-9FD3-6B155864D5E7/workflow/workflow.py", line 2076, in filter value = key(item).strip() File "airports.py", line 71, in key_for_airports searchkey = '{},{},{},{},{}'.format(unidecode(airport.iata_code), unidecode(airport.name), unidecode(airport.icao_code), unidecode(airport.country), unidecode(airport.city)) File "./lib/unidecode/__init__.py", line 48, in unidecode_expect_ascii bytestring = string.encode('ASCII') TypeError: 'DotMap' object is not callable 10:13:20 workflow.py:2290 DEBUG workflow finished in 0.721 seconds [2018-04-02 10:13:21][ERROR: input.scriptfilter] Code 1: 10:13:21 workflow.py:2249 DEBUG workflow version: 0.1.5 10:13:21 workflow.py:1657 DEBUG reading settings from /Users/asher/Library/Application Support/Alfred 3/Workflow Data/tirol.basecamp.alfredworkflow.airport-codes/settings.json 10:13:21 workflow.py:2532 DEBUG Update check not due 10:13:21 workflow.py:1884 DEBUG loading cached data: /Users/asher/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/tirol.basecamp.alfredworkflow.airport-codes/__workflow_update_status.cpickle 10:13:21 workflow.py:2462 DEBUG update_data: {u'available': False, u'version': u'0.1.5', u'download_url': u'https://github.com/darkwinternight/alfred-airports-workflow/releases/download/0.1.5/airport-0.1.5.alfredworkflow'} 10:13:21 workflow.py:1884 DEBUG loading cached data: /Users/asher/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/tirol.basecamp.alfredworkflow.airport-codes/airports.cpickle ./lib/unidecode/__init__.py:46: RuntimeWarning: Argument <class 'dotmap.DotMap'> is not an unicode object. Passing an encoded string will likely have unexpected results. _warn_if_not_unicode(string) 10:13:21 workflow.py:2267 ERROR 'DotMap' object is not callable Traceback (most recent call last): File "/Users/asher/Creative Cloud Files/syncs/alfred/Alfred.alfredpreferences/workflows/user.workflow.2ED64D4C-5C4B-4C24-9FD3-6B155864D5E7/workflow/workflow.py", line 2260, in run func(self) File "airports.py", line 100, in main filtered_airports = wf.filter(airportquery, all_airports, key_for_airports, min_score=70, match_on=MATCH_ATOM | MATCH_SUBSTRING, include_score=True) File "/Users/asher/Creative Cloud Files/syncs/alfred/Alfred.alfredpreferences/workflows/user.workflow.2ED64D4C-5C4B-4C24-9FD3-6B155864D5E7/workflow/workflow.py", line 2076, in filter value = key(item).strip() File "airports.py", line 71, in key_for_airports searchkey = '{},{},{},{},{}'.format(unidecode(airport.iata_code), unidecode(airport.name), unidecode(airport.icao_code), unidecode(airport.country), unidecode(airport.city)) File "./lib/unidecode/__init__.py", line 48, in unidecode_expect_ascii bytestring = string.encode('ASCII') TypeError: 'DotMap' object is not callable 10:13:21 workflow.py:2290 DEBUG workflow finished in 0.682 seconds```
The text was updated successfully, but these errors were encountered:
@RedcoatAsher I know it's been a while but please try with the latest 0.1.6 version! You have to download that one manually, I'm afraid.
0.1.6
Sorry, something went wrong.
otherguy
No branches or pull requests
just installed Release v1.5 and am getting this error out-of-the-box....
The text was updated successfully, but these errors were encountered: