View Single Post
Old 10-14-2011, 11:21 AM   #6
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by g8dhe View Post
Thanks Starson17, that was the problem, an old version, I pulled it out of the Zip a few months back and it didn't work then, so put it to one side to investigate after a holiday, and have only just got back to it!
So final question - for the time being - what's the best way of automating getting the latest version of a recipe are they downloadable, rather than relying on the Zip copy ?
You can always grab builtin recipes online. There's a link in my sticky to the code for all recipes. When Kovid updates a recipe, I believe that link points to the new code.

When run from the GUI, the current version of a builtin recipe is always grabbed. I don't know for certain how this process interfaces with the command line. I believe you can run a builtin recipe by recipe name and it will do the same fetch, while if you run it pointing to a local recipe filename it will use that local file, not the online updated version. I've never actually tested this out, so report back if you figure it out for sure.

Finally, I suspect you could emulate the procedure that a GUI run builtin uses to grab the current version if you can't make one of the above work for you.
Starson17 is offline   Reply With Quote