Moses Posted July 28, 2014 Share Posted July 28, 2014 Shawn, Many thanks for the guidance, Best, 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 comment
mAAdhaTTah Posted August 11, 2014 Share Posted August 11, 2014 For some reason, Packal is telling me to downgrade to the previous version (1.2 for this workflow is current) then giving me an error when I select it: https://www.evernote.com/shard/s89/sh/b04cbef4-a2cd-4730-b44c-10a06258b551/f1e8aac0e422ee2a731ab97eb70d42ec Link to comment
rice.shawn Posted August 11, 2014 Author Share Posted August 11, 2014 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 comment
mAAdhaTTah Posted August 11, 2014 Share Posted August 11, 2014 (edited) How do I force-update the manifest? It says it's up-to-date. Edit: Actually, it looks like the problem has gone away... Edited August 11, 2014 by mAAdhaTTah Link to comment
rice.shawn Posted August 11, 2014 Author Share Posted August 11, 2014 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 comment
Davide Posted August 12, 2014 Share Posted August 12, 2014 (edited) 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? Thanks! Edited August 13, 2014 by Davide Link to comment
rice.shawn Posted August 12, 2014 Author Share Posted August 12, 2014 @Davide: I'll look into it and get back to you. Link to comment
rice.shawn Posted August 13, 2014 Author Share Posted August 13, 2014 (edited) @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 August 13, 2014 by Shawn Rice Link to comment
Davide Posted August 13, 2014 Share Posted August 13, 2014 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 comment
rice.shawn Posted August 13, 2014 Author Share Posted August 13, 2014 Nope. The problem is that I gave you the wrong path. I corrected it above. Change the command to php cli/packal.php doUpdate com.targumanu.imdbsearch Link to comment
targumanu Posted August 13, 2014 Share Posted August 13, 2014 I've been getting the same update error recently. I just followed your diagnostics instructions and got the following message: Error: Cannot verify signature for pocket-for-alfred.alfredworkflow from com.fniephaus.pocket. (I'm on Yosemite public beta) Link to comment
rice.shawn Posted August 13, 2014 Author Share Posted August 13, 2014 Okay, I think I know what's going wrong since it's happening on both Mavericks (I think) and Yosemite. I'll see if I can get the time to fix it later today. Link to comment
Davide Posted August 13, 2014 Share Posted August 13, 2014 @Shawn Ok - now: Error: Cannot verify signature for imdb_search.alfredworkflow from com.targumanu.imdbsearch. Link to comment
rice.shawn Posted August 19, 2014 Author Share Posted August 19, 2014 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 comment
rice.shawn Posted September 23, 2014 Author Share Posted September 23, 2014 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 comment
xilopaint Posted December 27, 2014 Share Posted December 27, 2014 I have the latest version of Spotifious workflow and Packal Updater suggests me a downgrade: Link to comment
rice.shawn Posted December 27, 2014 Author Share Posted December 27, 2014 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 comment
xilopaint Posted December 28, 2014 Share Posted December 28, 2014 It's sorted out by now, right? No, it's not, Shawn. Link to comment
rice.shawn Posted December 28, 2014 Author Share Posted December 28, 2014 Hm. Can you check a few things for me? (1) 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"? xilopaint 1 Link to comment
xilopaint Posted December 28, 2014 Share Posted December 28, 2014 The first step fixed the problem. I didn't know this GUI for Packal Updater. Thank you, Shawn! Link to comment
rice.shawn Posted December 28, 2014 Author Share Posted December 28, 2014 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 comment
Cedric Posted January 30, 2015 Share Posted January 30, 2015 Hello, Sorry if this question has been posted before, but how do I make the transition between non packal workflows and packal workflows ? Do I have to delete all the old ones and redownload them from Packal ? Thanks. Link to comment
rice.shawn Posted January 30, 2015 Author Share Posted January 30, 2015 Just download them from Packal and double-click them (to reinstall). That will replace them. Link to comment
lotux Posted February 8, 2015 Share Posted February 8, 2015 Hello Shawn, I found that I cannot launch Packal Updater, but I can use the Packal Search workflow. Weird. Anyone can help? Thanks in advance. Link to comment
rice.shawn Posted February 8, 2015 Author Share Posted February 8, 2015 Can you try to launch the Packal "GUI"? Just try that without the "packal setup" and the regular argument "packal" with no subargument. It should be the first option, and it will work as long as you're running either Mavericks or Yosemite. Let me know what happens. lotux 1 Link to comment
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