Jump to content
deanishe

Packal Search — search for cool new workflows from the comfort of Alfred

Recommended Posts

Packal.org Alfred Workflow Search

 

Search Packal.org's collection of workflows from the comfort of Alfred.

 

demo.gif

 

Downloading

Get the workflow from GitHub or Packal.

 

Usage

 

  • packal workflows [query] — View/search for workflows by name/category/author/tag
  • — Open workflow page on Packal.org in your browser
  • ⌘+↩ — View/search workflows by the same author

 

  • packal tags [query] — View/search workflow tags
  • or — View/search workflows with selected tag

 

  • packal categories [query] — View/search workflow categories
  • or — View/search workflows in selected category

 

  • packal authors [query] — View/search workflow authors
  • or — View/search workflows by selected author

 

  • packal versions [query] — View/search OS X versions and compatible workflows
  • or — View/search workflows compatible with selected OS X version

 

  • packal status — Show a list of workflows that are out-of-date or are available on Packal.org, but were installed from elsewhere (i.e. they contain no Packal metadata, so can't be versioned by this workflow or updated by the Packal update workflow).

 

Icons

Sometimes, an icon is shown after a workflow's name. They have the following meanings:

 

8q9hkD5.png

 

Thanks, Licence

Thanks to Shawn Patrick Rice for building Packal.org.

Much use made of docopt and Alfred-Workflow.

This workflow, excluding the Packal icon, is released under the MIT Licence.

The Packal icon is the property of Shawn Patrick Rice.

 

 

 

 

Edited by deanishe
Fix formatting borked by IPBoard update

Share this post


Link to post

It really is an ugly icon though. I should take some time and try to design a much better one. Unless someone wants to do me the favor (any good graphic designers reading this?)...

I'll be thinking about that for you.  I enjoy making cool icons.

Share this post


Link to post

Hmm. Could you run the packal status command and then packal workflows workflow:openlog, and post/message me the last sections of the log containing the full error message? (Or capture the output in Alfred's debugger.)

Share this post


Link to post

Hmm. Could you run the packal status command and then packal workflows workflow:openlog, and post/message me the last sections of the log containing the full error message? (Or capture the output in Alfred's debugger.)

 

11:33:22 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:22 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:22 packal.py:138 DEBUG    187 workflows in cache
11:33:22 packal.py:138 DEBUG    187 workflows in cache
11:33:22 packal.py:158 DEBUG    187 workflows found in cache
11:33:22 packal.py:158 DEBUG    187 workflows found in cache
11:33:22 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:22 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:22 packal.py:138 DEBUG    187 workflows in cache
11:33:22 packal.py:138 DEBUG    187 workflows in cache
11:33:22 packal.py:158 DEBUG    187 workflows found in cache
11:33:22 packal.py:158 DEBUG    187 workflows found in cache
11:33:22 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:22 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:22 packal.py:138 DEBUG    187 workflows in cache
11:33:22 packal.py:138 DEBUG    187 workflows in cache
11:33:22 packal.py:158 DEBUG    187 workflows found in cache
11:33:22 packal.py:158 DEBUG    187 workflows found in cache
11:33:22 packal.py:282 DEBUG    Workflow IPhone Tethering status : 3
11:33:22 packal.py:282 DEBUG    Workflow IPhone Tethering status : 3
11:33:22 packal.py:80 DEBUG    14 days, 10:32:36.556591  -->  346.54 hours ago
11:33:22 packal.py:80 DEBUG    14 days, 10:32:36.556591  -->  346.54 hours ago
11:33:22 packal.py:282 DEBUG    Workflow Help Workflows status : 3
11:33:22 packal.py:282 DEBUG    Workflow Help Workflows status : 3
11:33:22 packal.py:80 DEBUG    89 days, 12:56:03.557179  -->  2148.93 hours ago
11:33:22 packal.py:80 DEBUG    89 days, 12:56:03.557179  -->  2148.93 hours ago
11:33:22 packal.py:282 DEBUG    DwellClick Workflow status : 3
11:33:22 packal.py:282 DEBUG    DwellClick Workflow status : 3
11:33:22 packal.py:80 DEBUG    35 days, 0:01:10.557731  -->  840.02 hours ago
11:33:22 packal.py:80 DEBUG    35 days, 0:01:10.557731  -->  840.02 hours ago
11:33:22 packal.py:282 DEBUG    Scratchpad Workflow status : 3
11:33:22 packal.py:282 DEBUG    Scratchpad Workflow status : 3
11:33:22 packal.py:80 DEBUG    61 days, 8:14:07.558290  -->  1472.24 hours ago
11:33:22 packal.py:80 DEBUG    61 days, 8:14:07.558290  -->  1472.24 hours ago
11:33:22 packal.py:282 DEBUG    Todo Workflow status : 3
11:33:22 packal.py:282 DEBUG    Todo Workflow status : 3
11:33:22 packal.py:80 DEBUG    12 days, 2:42:10.558906  -->  290.70 hours ago
11:33:22 packal.py:80 DEBUG    12 days, 2:42:10.558906  -->  290.70 hours ago
11:33:22 packal.py:282 DEBUG    Packal Workflow Search status : 0
11:33:22 packal.py:282 DEBUG    Packal Workflow Search status : 0
11:33:22 packal.py:80 DEBUG    1 day, 0:52:21.559444  -->  24.87 hours ago
11:33:22 packal.py:80 DEBUG    1 day, 0:52:21.559444  -->  24.87 hours ago
11:33:22 packal.py:282 DEBUG    Tmux Workflow status : 3
11:33:22 packal.py:282 DEBUG    Tmux Workflow status : 3
11:33:22 packal.py:80 DEBUG    22 days, 0:03:08.559980  -->  528.05 hours ago
11:33:22 packal.py:80 DEBUG    22 days, 0:03:08.559980  -->  528.05 hours ago
11:33:22 packal.py:282 DEBUG    Alfred Workflow Builder QuickRef status : 3
11:33:22 packal.py:282 DEBUG    Alfred Workflow Builder QuickRef status : 3
11:33:22 packal.py:80 DEBUG    29 days, 10:29:09.560512  -->  706.49 hours ago
11:33:22 packal.py:80 DEBUG    29 days, 10:29:09.560512  -->  706.49 hours ago
11:33:22 packal.py:282 DEBUG    App Install status : 3
11:33:22 packal.py:282 DEBUG    App Install status : 3
11:33:22 packal.py:80 DEBUG    22 days, 22:09:04.561042  -->  550.15 hours ago
11:33:22 packal.py:80 DEBUG    22 days, 22:09:04.561042  -->  550.15 hours ago
11:33:22 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:22 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:22 packal.py:138 DEBUG    187 workflows in cache
11:33:22 packal.py:138 DEBUG    187 workflows in cache
11:33:22 packal.py:158 DEBUG    187 workflows found in cache
11:33:22 packal.py:158 DEBUG    187 workflows found in cache
11:33:22 packal.py:282 DEBUG    DwellClick Workflow status : 3
11:33:22 packal.py:282 DEBUG    DwellClick Workflow status : 3
11:33:22 packal.py:80 DEBUG    35 days, 0:01:10.707281  -->  840.02 hours ago
11:33:22 packal.py:80 DEBUG    35 days, 0:01:10.707281  -->  840.02 hours ago
11:33:22 packal.py:282 DEBUG    Scratchpad Workflow status : 3
11:33:22 packal.py:282 DEBUG    Scratchpad Workflow status : 3
11:33:22 packal.py:80 DEBUG    61 days, 8:14:07.707963  -->  1472.24 hours ago
11:33:22 packal.py:80 DEBUG    61 days, 8:14:07.707963  -->  1472.24 hours ago
11:33:22 packal.py:282 DEBUG    Todo Workflow status : 3
11:33:22 packal.py:282 DEBUG    Todo Workflow status : 3
11:33:22 packal.py:80 DEBUG    12 days, 2:42:10.708604  -->  290.70 hours ago
11:33:22 packal.py:80 DEBUG    12 days, 2:42:10.708604  -->  290.70 hours ago
11:33:22 packal.py:282 DEBUG    Packal Workflow Search status : 0
11:33:22 packal.py:282 DEBUG    Packal Workflow Search status : 0
11:33:22 packal.py:80 DEBUG    1 day, 0:52:21.709303  -->  24.87 hours ago
11:33:22 packal.py:80 DEBUG    1 day, 0:52:21.709303  -->  24.87 hours ago
11:33:22 packal.py:282 DEBUG    Tmux Workflow status : 3
11:33:22 packal.py:282 DEBUG    Tmux Workflow status : 3
11:33:22 packal.py:80 DEBUG    22 days, 0:03:08.709842  -->  528.05 hours ago
11:33:22 packal.py:80 DEBUG    22 days, 0:03:08.709842  -->  528.05 hours ago
11:33:22 packal.py:282 DEBUG    Workflow IPhone Tethering status : 3
11:33:22 packal.py:282 DEBUG    Workflow IPhone Tethering status : 3
11:33:22 packal.py:80 DEBUG    14 days, 10:32:36.710381  -->  346.54 hours ago
11:33:22 packal.py:80 DEBUG    14 days, 10:32:36.710381  -->  346.54 hours ago
11:33:22 packal.py:282 DEBUG    Workflow Help Workflows status : 3
11:33:22 packal.py:282 DEBUG    Workflow Help Workflows status : 3
11:33:22 packal.py:80 DEBUG    89 days, 12:56:03.710934  -->  2148.93 hours ago
11:33:22 packal.py:80 DEBUG    89 days, 12:56:03.710934  -->  2148.93 hours ago
11:33:22 packal.py:282 DEBUG    Alfred Workflow Builder QuickRef status : 3
11:33:22 packal.py:282 DEBUG    Alfred Workflow Builder QuickRef status : 3
11:33:22 packal.py:80 DEBUG    29 days, 10:29:09.711617  -->  706.49 hours ago
11:33:22 packal.py:80 DEBUG    29 days, 10:29:09.711617  -->  706.49 hours ago
11:33:22 packal.py:282 DEBUG    App Install status : 3
11:33:22 packal.py:282 DEBUG    App Install status : 3
11:33:22 packal.py:80 DEBUG    22 days, 22:09:04.712504  -->  550.15 hours ago
11:33:22 packal.py:80 DEBUG    22 days, 22:09:04.712504  -->  550.15 hours ago
11:33:22 packal.py:282 DEBUG    Manage Alfred Extension status : 3
11:33:22 packal.py:282 DEBUG    Manage Alfred Extension status : 3
11:33:22 packal.py:80 DEBUG    29 days, 10:14:08.713224  -->  706.24 hours ago
11:33:22 packal.py:80 DEBUG    29 days, 10:14:08.713224  -->  706.24 hours ago
11:33:22 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:22 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:22 packal.py:138 DEBUG    187 workflows in cache
11:33:22 packal.py:138 DEBUG    187 workflows in cache
11:33:22 packal.py:158 DEBUG    187 workflows found in cache
11:33:22 packal.py:158 DEBUG    187 workflows found in cache
11:33:23 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:23 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:23 packal.py:138 DEBUG    187 workflows in cache
11:33:23 packal.py:138 DEBUG    187 workflows in cache
11:33:23 packal.py:158 DEBUG    187 workflows found in cache
11:33:23 packal.py:158 DEBUG    187 workflows found in cache
11:33:23 packal.py:282 DEBUG    DwellClick Workflow status : 3
11:33:23 packal.py:282 DEBUG    DwellClick Workflow status : 3
11:33:23 packal.py:80 DEBUG    35 days, 0:01:11.548119  -->  840.02 hours ago
11:33:23 packal.py:80 DEBUG    35 days, 0:01:11.548119  -->  840.02 hours ago
11:33:23 packal.py:282 DEBUG    Scratchpad Workflow status : 3
11:33:23 packal.py:282 DEBUG    Scratchpad Workflow status : 3
11:33:23 packal.py:80 DEBUG    61 days, 8:14:08.548723  -->  1472.24 hours ago
11:33:23 packal.py:80 DEBUG    61 days, 8:14:08.548723  -->  1472.24 hours ago
11:33:23 packal.py:282 DEBUG    Todo Workflow status : 3
11:33:23 packal.py:282 DEBUG    Todo Workflow status : 3
11:33:23 packal.py:80 DEBUG    12 days, 2:42:11.549282  -->  290.70 hours ago
11:33:23 packal.py:80 DEBUG    12 days, 2:42:11.549282  -->  290.70 hours ago
11:33:23 packal.py:282 DEBUG    Packal Workflow Search status : 0
11:33:23 packal.py:282 DEBUG    Packal Workflow Search status : 0
11:33:23 packal.py:80 DEBUG    1 day, 0:52:22.549840  -->  24.87 hours ago
11:33:23 packal.py:80 DEBUG    1 day, 0:52:22.549840  -->  24.87 hours ago
11:33:23 packal.py:282 DEBUG    Tmux Workflow status : 3
11:33:23 packal.py:282 DEBUG    Tmux Workflow status : 3
11:33:23 packal.py:80 DEBUG    22 days, 0:03:09.550386  -->  528.05 hours ago
11:33:23 packal.py:80 DEBUG    22 days, 0:03:09.550386  -->  528.05 hours ago
11:33:23 packal.py:282 DEBUG    Workflow IPhone Tethering status : 3
11:33:23 packal.py:282 DEBUG    Workflow IPhone Tethering status : 3
11:33:23 packal.py:80 DEBUG    14 days, 10:32:37.550938  -->  346.54 hours ago
11:33:23 packal.py:80 DEBUG    14 days, 10:32:37.550938  -->  346.54 hours ago
11:33:23 packal.py:282 DEBUG    Workflow Help Workflows status : 3
11:33:23 packal.py:282 DEBUG    Workflow Help Workflows status : 3
11:33:23 packal.py:80 DEBUG    89 days, 12:56:04.551484  -->  2148.93 hours ago
11:33:23 packal.py:80 DEBUG    89 days, 12:56:04.551484  -->  2148.93 hours ago
11:33:23 packal.py:282 DEBUG    Alfred Workflow Builder QuickRef status : 3
11:33:23 packal.py:282 DEBUG    Alfred Workflow Builder QuickRef status : 3
11:33:23 packal.py:80 DEBUG    29 days, 10:29:10.552028  -->  706.49 hours ago
11:33:23 packal.py:80 DEBUG    29 days, 10:29:10.552028  -->  706.49 hours ago
11:33:23 packal.py:282 DEBUG    App Install status : 3
11:33:23 packal.py:282 DEBUG    App Install status : 3
11:33:23 packal.py:80 DEBUG    22 days, 22:09:05.552578  -->  550.15 hours ago
11:33:23 packal.py:80 DEBUG    22 days, 22:09:05.552578  -->  550.15 hours ago
11:33:23 packal.py:282 DEBUG    Manage Alfred Extension status : 3
11:33:23 packal.py:282 DEBUG    Manage Alfred Extension status : 3
11:33:23 packal.py:80 DEBUG    29 days, 10:14:09.553123  -->  706.24 hours ago
11:33:23 packal.py:80 DEBUG    29 days, 10:14:09.553123  -->  706.24 hours ago
11:33:23 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:23 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:23 packal.py:138 DEBUG    187 workflows in cache
11:33:23 packal.py:138 DEBUG    187 workflows in cache
11:33:23 packal.py:158 DEBUG    187 workflows found in cache
11:33:23 packal.py:158 DEBUG    187 workflows found in cache
11:33:24 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:24 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:24 packal.py:138 DEBUG    187 workflows in cache
11:33:24 packal.py:138 DEBUG    187 workflows in cache
11:33:24 packal.py:158 DEBUG    187 workflows found in cache
11:33:24 packal.py:158 DEBUG    187 workflows found in cache
11:33:24 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:24 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:24 packal.py:138 DEBUG    187 workflows in cache
11:33:24 packal.py:138 DEBUG    187 workflows in cache
11:33:24 packal.py:158 DEBUG    187 workflows found in cache
11:33:24 packal.py:158 DEBUG    187 workflows found in cache
11:33:24 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:24 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:24 packal.py:138 DEBUG    187 workflows in cache
11:33:24 packal.py:138 DEBUG    187 workflows in cache
11:33:24 packal.py:158 DEBUG    187 workflows found in cache
11:33:24 packal.py:158 DEBUG    187 workflows found in cache
11:33:24 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:24 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:24 packal.py:138 DEBUG    187 workflows in cache
11:33:24 packal.py:138 DEBUG    187 workflows in cache
11:33:24 packal.py:158 DEBUG    187 workflows found in cache
11:33:24 packal.py:158 DEBUG    187 workflows found in cache
11:33:25 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:25 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:25 packal.py:138 DEBUG    187 workflows in cache
11:33:25 packal.py:138 DEBUG    187 workflows in cache
11:33:25 packal.py:158 DEBUG    187 workflows found in cache
11:33:25 packal.py:158 DEBUG    187 workflows found in cache
11:33:25 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:25 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:33:25 packal.py:138 DEBUG    187 workflows in cache
11:33:25 packal.py:138 DEBUG    187 workflows in cache
11:33:25 packal.py:158 DEBUG    187 workflows found in cache
11:33:25 packal.py:158 DEBUG    187 workflows found in cache
11:33:25 workflow.py:724 DEBUG    Opening workflow log file
11:33:25 workflow.py:724 DEBUG    Opening workflow log file

Share this post


Link to post

Now using Alfred's debbuger.


 


Starting debug for 'Packal Search'


 


[ERROR: alfred.workflow.input.scriptfilter] Code 0: 11:36:38 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache


11:36:38 workflow.py:921 DEBUG    Loading cached data from : /Users/usuario/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache


11:36:38 packal.py:138 DEBUG    187 workflows in cache


11:36:38 packal.py:138 DEBUG    187 workflows in cache


11:36:38 packal.py:158 DEBUG    187 workflows found in cache


11:36:38 packal.py:158 DEBUG    187 workflows found in cache


11:36:38 workflow.py:1199 ERROR    u'status'


Traceback (most recent call last):


  File "/Users/usuario/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.32CED95A-0D1C-401D-A1CB-468F5F02712F/workflow/workflow.py", line 1197, in run


    func(self)


  File "packal.py", line 176, in run


    return self.do_status()


  File "packal.py", line 201, in do_status


    if workflow['status'] == STATUS_UPDATE_AVAILABLE:


KeyError: u'status'


11:36:38 workflow.py:1199 ERROR    u'status'


Traceback (most recent call last):


  File "/Users/usuario/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.32CED95A-0D1C-401D-A1CB-468F5F02712F/workflow/workflow.py", line 1197, in run


    func(self)


  File "packal.py", line 176, in run


    return self.do_status()


  File "packal.py", line 201, in do_status


    if workflow['status'] == STATUS_UPDATE_AVAILABLE:


KeyError: u'status'


Share this post


Link to post

Thanks!

I think I found the bug. I've fixed it (hopefully) and uploaded the new version (1.1.1) to Packal and GitHub.
 
It should fix the problem. You should force the workflow to update its cache first with packal update, however, as the cache will contain bad data.

Share this post


Link to post

Thanks!

I think I found the bug. I've fixed it (hopefully) and uploaded the new version (1.1.1) to Packal and GitHub.

 

It should fix the problem. You should force the workflow to update its cache first with packal update, however, as the cache will contain bad data.

 

It's working now. Thank you!

Share this post


Link to post

Sadly, this is still broken in the latest version:

 

[ERROR: alfred.workflow.input.scriptfilter] Code 0: 11:16:01 workflow.py:921 DEBUG    Loading cached data from : /Users/neilio/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:16:01 workflow.py:921 DEBUG    Loading cached data from : /Users/neilio/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
11:16:01 packal.py:138 DEBUG    258 workflows in cache
11:16:01 packal.py:138 DEBUG    258 workflows in cache
11:16:01 packal.py:158 DEBUG    258 workflows found in cache

Share this post


Link to post

Since a couple of weeks, the packal workflow in my laptop doesn't load the workflows... This is what I get when I try to update the workflow list: 

 

[ERROR: alfred.workflow.action.script] Code 0: 19:50:16 workflow.py:921 DEBUG    Loading cached data from : /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
19:50:16 workflow.py:921 DEBUG    Loading cached data from : /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
19:50:16 packal.py:138 DEBUG    259 workflows in cache
19:50:16 packal.py:138 DEBUG    259 workflows in cache
19:50:16 packal.py:158 DEBUG    259 workflows found in cache
19:50:16 packal.py:158 DEBUG    259 workflows found in cache
19:50:16 packal.py:314 DEBUG    Updating workflow lists...
19:50:16 packal.py:314 DEBUG    Updating workflow lists...
19:50:16 packal.py:319 DEBUG    update command : [u'/usr/bin/python', u'/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.79DC40D2-D3F5-4CEF-B11B-4E9D8C572FDE/update_workflows.py', u'--force-update']
19:50:16 packal.py:319 DEBUG    update command : [u'/usr/bin/python', u'/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.79DC40D2-D3F5-4CEF-B11B-4E9D8C572FDE/update_workflows.py', u'--force-update']
19:50:16 background.py:218 DEBUG    Executing task `update` in background...
19:50:16 background.py:218 DEBUG    Executing task `update` in background...
[INFO: alfred.workflow.action.script] Processing output 'alfred.workflow.output.notification' with arg ''
Edited by Sebastian Daza

Share this post


Link to post

It doesn't work...

 

[ERROR: alfred.workflow.action.script] Code 0: 12:31:37 workflow.py:921 DEBUG    Loading cached data from : /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
12:31:37 workflow.py:921 DEBUG    Loading cached data from : /Users/sdaza/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
12:31:37 packal.py:138 DEBUG    259 workflows in cache
12:31:37 packal.py:138 DEBUG    259 workflows in cache
12:31:37 packal.py:158 DEBUG    259 workflows found in cache
12:31:37 packal.py:158 DEBUG    259 workflows found in cache
12:31:37 packal.py:314 DEBUG    Updating workflow lists...
12:31:37 packal.py:314 DEBUG    Updating workflow lists...
12:31:37 packal.py:319 DEBUG    update command : [u'/usr/bin/python', u'/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.79DC40D2-D3F5-4CEF-B11B-4E9D8C572FDE/update_workflows.py', u'--force-update']
12:31:37 packal.py:319 DEBUG    update command : [u'/usr/bin/python', u'/Users/sdaza/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.79DC40D2-D3F5-4CEF-B11B-4E9D8C572FDE/update_workflows.py', u'--force-update']
12:31:37 background.py:218 DEBUG    Executing task `update` in background...
12:31:37 background.py:218 DEBUG    Executing task `update` in background...

Share this post


Link to post

Any chance of updating this for Yosemite? Most queries work actually, but not 'packal status', which was what induced me to download this in the first place, as it would help me update my workflows manually so that any customization is not lost by updating automatically through Packal.

Error: 'nothing found - try another query'.

Thanks!

Share this post


Link to post

The latest version (1.1.3) works fine for me on Yosemite…
 
You could try clearing the cache by entering packal tags workflow:delcache into Alfred. If that doesn't work, please post the results from Alfred's debugger.

Share this post


Link to post

Thanks for fast reply!

 

Cleared the cache but still get the error:

 

[ERROR: alfred.workflow.input.scriptfilter] Code 0: 22:19:05 workflow.py:940 DEBUG    Loading cached data from : /Users/*/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache

22:19:05 packal.py:138 DEBUG    404 workflows in cache

22:19:05 packal.py:158 DEBUG    404 workflows found in cache

 

Thanks!

Edited by M1m1s

Share this post


Link to post

That's not an error. If it were an error, it would say ERROR or CRITICAL, not DEBUG. Alfred's just wrongly reports it as an error.
 
There should be a lot more output than that. It should look more like this:
 

[ERROR: alfred.workflow.input.scriptfilter] Code 0: 22:41:13 workflow.py:940 DEBUG    Loading cached data from : /Volumes/Users/daj/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache
22:41:13 packal.py:138 DEBUG    404 workflows in cache
22:41:13 packal.py:158 DEBUG    404 workflows found in cache
22:41:13 packal.py:282 DEBUG    Homebrew and Cask for Alfred status : 1
22:41:13 packal.py:80 DEBUG    13 days, 12:26:47.195720  -->  324.45 hours ago
22:41:13 packal.py:282 DEBUG    Pocket for Alfred status : 2
22:41:13 packal.py:80 DEBUG    13 days, 12:24:59.196125  -->  324.42 hours ago
22:41:13 packal.py:282 DEBUG    Alfred Emoji Workflow status : 2
22:41:13 packal.py:80 DEBUG    19 days, 9:11:22.196480  -->  465.19 hours ago
22:41:13 packal.py:282 DEBUG    Audio Swith status : 2
22:41:13 packal.py:80 DEBUG    46 days, 8:30:57.196828  -->  1112.52 hours ago
22:41:13 packal.py:282 DEBUG    alfred-pinboard status : 2
22:41:13 packal.py:80 DEBUG    54 days, 18:36:23.197175  -->  1314.61 hours ago
22:41:13 packal.py:282 DEBUG    MailTo status : 2
22:41:13 packal.py:80 DEBUG    59 days, 20:44:57.197533  -->  1436.75 hours ago
22:41:13 packal.py:282 DEBUG    Resolve URL status : 2
22:41:13 packal.py:80 DEBUG    82 days, 21:59:57.197886  -->  1990.00 hours ago
22:41:13 packal.py:282 DEBUG    ssh status : 2
22:41:13 packal.py:80 DEBUG    82 days, 22:11:58.198238  -->  1990.20 hours ago
22:41:13 packal.py:282 DEBUG    Searchio! status : 2
22:41:13 packal.py:80 DEBUG    82 days, 22:13:58.198583  -->  1990.23 hours ago
22:41:13 packal.py:282 DEBUG    Git Repos status : 2
22:41:13 packal.py:80 DEBUG    82 days, 22:19:57.198931  -->  1990.33 hours ago
22:41:13 packal.py:282 DEBUG    Convert status : 2
22:41:13 packal.py:80 DEBUG    83 days, 0:11:57.199286  -->  1992.20 hours ago
22:41:13 packal.py:282 DEBUG    Urban Dictionary status : 2
22:41:13 packal.py:80 DEBUG    102 days, 10:26:57.199629  -->  2458.45 hours ago
22:41:13 packal.py:282 DEBUG    Kill Process status : 2
22:41:13 packal.py:80 DEBUG    106 days, 3:00:55.199974  -->  2547.02 hours ago
22:41:13 packal.py:282 DEBUG    Duden Search status : 2
...

Share this post


Link to post

Thanks! Today I entered 'packal status', pressed enter, and got something like 'talking to the server' for an instant but then nothing. When I type 'packal status' and press enter, I get the message: 'nothing found - try another query'.

 

Debugger info is probably the same as last time:

 

[ERROR: alfred.workflow.input.scriptfilter] Code 0: 11:15:44 workflow.py:940 DEBUG    Loading cached data from : /Users/*/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-packal-search/workflows.cache

11:15:44 packal.py:138 DEBUG    404 workflows in cache

11:15:44 packal.py:158 DEBUG    404 workflows found in cache

Share this post


Link to post

That likely just means that all your workflows are up-to-date and were installed from Packal (if available from there).
 
If you want to verify that, open one of your workflows in Finder and rename its packal subdirectory.
 
Run packal update and then packal status in Alfred. You should then see the workflow you just molested listed with a red question mark next to it (available from Packal but not installed from there).

 

You should probably then rename the packal subdirectory back again.

Edited by deanishe

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...