Jump to content

Recommended Posts



Many thanks for the guidance,





Yep. I grabbed the idea from Cheaters. It's actually an Automator application with a single action that is something like view web page in pop-up.

Just open the application in Automator, and you can see how to alter it.

A few notes: usually the action is follows some sort of "specify a URL" that uses the URL as a variable. The viewer one that I created doesn't have that, but, instead it opens the viewer with a terminal command that specifies the URL.

If you want to serve code locally and use something dynamic (PHP, Rails, Python), then the file to open needs to be in your webserver root. For this workflow, I'm launching a PHP test server that's part of PHP 5.4 and pointing the URL to that (and killing the webserver after a certain time of idleness). You can look more into the code to see how I do that.


Link to post
  • 2 weeks later...
  • Replies 99
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Finally here: Update your workflows with the Packal Updater.   There is a longer explanation on the Packal page, so just check that one out, but I'll give you a short version here.   The updater w

Glad it fixed it.   Open the GUI. In the status tab, you should see "xxx workflows can be downloaded from packal" or something. If you don't see that, then all that are possible have already been do

I forgot to mention, if you have Alfred Cron installed, the workflow will give you an option to install a script that will check for workflow updates once per day. You can easily change the timing by

Has it been telling you to do that for long or just a couple of minutes? And when did you last update the manifest?


The reason for the first question is that the manifest gets "healed" on the server about once an hour, and that problem happens when a workflow author submits an update on Packal without updating the `version` number itself the first time and then goes back to change it.


Try to force-update the manifest, and let me know if the problem is still there.

Link to post

Okay, good. For now that problem will appear randomly but go away within not too much time.


I can't remember exactly what I meant for "up-to-date" in the workflow. It's either that it has been updated within the last seven days or 24 hours (I remember switching it back and forth). For future reference, the easiest way to update the manifest is from the GUI. Just open that thing and press "(update)" next to the message that indicates when the manifest was last updated.


If that doesn't work, then there are some more forceful instructions written up about 1.5 to .5 pages back in this thread that involve opening up the internals of the workflow and forcing an update from the command line.


Glad it fixed itself.

Link to post

I can't update any workflow, get always this error on a Mac and Mac Book.




 I use the newest Mavericks, Alfred and Packal Version. Also deleted once the Alfred Bundler. Any suggestions?

Edited by Davide
Link to post

@Davide: Can you do me a favor to grab some more error information?


Follow these steps:


1) Open the workflow folder in Terminal (or iTerm).

  a ) to find the workflow folder, open Alfred's Preferences; select `Packal Updater`; ctl+click -> show in finder

  b ) grab that crazy looking directory path, and `cd` to it

2) Type this command from the workflow root:

php cli/packal.php doUpdate com.targumanu.imdbsearch

There is a chance that it'll say :

Error: Cannot verify signature for imdb_search.alfredworkflow from com.targumanu.imdbsearch.

If that's the case, then I'll at least be able to verify the bug. Then I'll just have to track down whether or not it comes from the server, a post-processing script, or the client side. But it gives me a much better place to look.



Edit: why did this change an outline item into an emoticon?

Edit: forgot the cli/ part of the path

Edited by Shawn Rice
Link to post

Hi Shawn,

thanks for your help. Terminal tells me 

Davides-Mac-mini:~ Davides_Mac$ cd /Users/Davides_Mac/ownCloud/Apps/Alfred/Alfred.alfredpreferences/workflows/user.workflow.61A33C75-A8B1-49E6-9BBF-04F8798BB2A3 
Davides-Mac-mini:user.workflow.61A33C75-A8B1-49E6-9BBF-04F8798BB2A3 Davides_Mac$ php packal.php doUpdate com.targumanu.imdbsearch
Could not open input file: packal.php

Could the problem be that I sync the Alfred preferences on a "own cloud" server?

Link to post

Quick apology: I know what the bug is, but I need to get my head back into the codebase before I can take care of it.


Right now, I'm bogged down in finishing the new version of the bundler (which will also make this workflow more stable and faster and better), and so I'm living in that API that we've created and jumping between Bash, PHP, and Ruby, so my head is in a weird space. I'll fix this soon.

Link to post
  • 1 month later...

Okay, this should have been fixed. Let me know if it doesn't work now (it seems to be working on my end).


Also, I had to re-queue a bunch of workflows to be re-processed, so those will all appear as updates even though they're the same version. Also, if you're a workflow author and are wondering why you just got another confirmation email from Packal about a workflow... well, I had to re-queue yours. Apologies.

Link to post
  • 3 months later...

I have the latest version of Spotifious workflow and Packal Updater suggests me a downgrade:




That was a temporary glitch. Basically, the metadata hadn't caught up to the update notification. The server does a corrective on the metadata every few hours to make sure that it was entered properly; if you happen to look for updates during the middle of that, then it will send out the wrong metadata, so it was actually trying to upgrade you from 0.11.2 => 0.11.2.


It's sorted out by now, right?

Link to post

Hm. Can you check a few things for me?




Open the GUI for the Packal updater and manually update the manifest. Then, select the update menu in that GUI and tell me if the update is still pending. If so, then...


(2) Open the workflow preferences and select "Spotifious"; then ctrl+click on it and select "Show in Finder"; then open the "packal" folder, and then open "package.xml" What are the values there for "version" and "updated"?

Link to post

The first step fixed the problem. I didn't know this GUI for Packal Updater. Thank you, Shawn!


Whew. Glad that worked because that was the easiest fix. The GUI is pretty nice, and it makes it much easier to use the updater if you're like me and have installed way too many workflows.

Link to post
  • 1 month later...
  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...