Jump to content

feliao

Member
  • Posts

    7
  • Joined

  • Last visited

feliao's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. Thanks for having a go at this tricky problem Shawn! So I get quite a lot of outout when I run the PHP test at home: { "response": { "version": "0.1" ,"termsofService": "http://www.wunderground.com/weather/api/d/terms.html" ,"features": { "conditions": 1 } } , "current_observation": { "image": { "url":"http://icons-ak.wxug.com/graphics/wu2/logo_130x80.png", "title":"Weather Underground", "link":"http://www.wunderground.com" }, "display_location": { "full":"Brooklyn, NY", "city":"Brooklyn", etc etc.... And when I run the test at work, all I get is thte following: Resource id # Obviously NOT GOOD :+( In terms of network setup, we have an auto config proxy server at work and that's what I configure against the wi-fi network device via the GUI (advanced -> Proxy -> Automatic Proxy Configuraiton).
  2. Thanks Shawn, I already have a trigger app (keyboard Maestro) that can evan trigger a script when I am connect specifically to the work wireless network. The trouble is working out exactly what command to run... Tried various diffrent things using networksetup but still don't seem to be able to get these workflows to talk to the Internet happily.........
  3. OK, mystery partially solved. Both of David's PHP based workflow worked perfectly after I connect to my home network. Which means it is probaly network related. With Proxy server being the most probably culprit ? @David, any thoughts on whether there is anything unique about your PHP based script in terms of leveraging OS network settings ? Note that I have other non-PHP based workflows that ARE able to query web services and work fine.
  4. Minor correction on the problem I am having problem with the - Weather workflow (http://dferg.us/weather-for-alfred-2/) - Google search suggest (http://dferg.us/google-suggest/) both which are David Fergus' workflow. (BTW I am a big fan of his quality workflows!) All of my other workflows seems to work fine. @David, are there anything specific about these two workflows? Both use PHP?
  5. Nope. No special character. Just type in forecast and get nothing except the error in the console.
  6. Max OX 10.8.4 Alfred V2.0.5 (202) I am a powerpack user, I am referring to these workflows http://dferg.us/weather-for-alfred-2/ https://github.com/zhaocai/alfred2-google-workflow The console errors are taken from the Mac console window straight after I try to execute the workdlow.
  7. Certain workflows don't work for me (Google search suggest, Weather) and I get the following error in the console. By don't work, I don't get any results when I was expecting one in these workflows (ie typng forecast in weather gives me nothing). Alfred 2[19280]: [ERROR] Script XML Parse Error occured Error Domain=NSXMLParserErrorDomain Code=4 "The operation couldn’t be completed. (NSXMLParserErrorDomain error 4.)" I have tried testing my PHP install (php -r 'echo"it works!";.) and my install seems to be fine, Any help would be apprecaited.
×
×
  • Create New...