This works on my local machine but not on a server location. I get this error,
File "/.../repo/wsgi/web2py/applications/nws3_good/controllers/default.py" <https://v232-oasis.rhcloud.com/admin/default/edit/nws3_good/controllers/default.py>, line 105, in weatherfeed extaport = airportname + '.rss' TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' On the local machine, this works to get an airport location, then delivers the observation. Further testing needed. On Saturday, July 27, 2013 6:16:41 PM UTC-5, greaneym wrote: > > > Sorry, there is a problem, wait to test. > > thanks > > On Saturday, July 27, 2013 5:48:40 PM UTC-5, greaneym wrote: >> >> I have updated this app to use city,state for the location rather than >> zipcode, and added checks for None, and some validations. If anyone has >> time for further tests, this would be very helpful. I removed the zipcode >> since people only really know their own zip codes typically and the NWS >> says it is preferable to use city, state for the location. >> >> Besides any comments, I would most like to know how to make this as small >> as possible for the purpose of experimenting with it as a mobile app? >> >> thanks! >> >> On Thursday, July 25, 2013 8:02:39 AM UTC-5, Massimo Di Pierro wrote: >>> >>> One problem I see is that the zip code is validated but one may still >>> pass zip codes which pass validations but are invalid (in the sense that >>> they produce no data) and the page displays "None". >>> >>> On Sunday, 21 July 2013 17:17:48 UTC-5, Massimo Di Pierro wrote: >>>> >>>> Thank you margaret. Will test it asap. >>>> >>>> Massimo >>>> >>>> On Saturday, 20 July 2013 16:18:10 UTC-5, greaneym wrote: >>>>> >>>>> Hello, >>>>> >>>>> I would like to share an app with the web2py community, and also am >>>>> asking for help testing it. >>>>> >>>>> https://github.com/greaneym/weather >>>>> >>>>> It needs more work but please feel free to try it. It gave me some >>>>> practice using BeautifulSoup. It uses the National Weather Service's web >>>>> service to provide weather near you (US only). >>>>> >>>>> Thanks! >>>>> Margaret >>>>> >>>> -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.