Not a lot to go on here. Nothing in weewx uses the function str.format(), so I'm not sure what is creating this exception.
Weewx should run on Python v2.5, v2.6, or v2.7. Could you please try running weewxd directly from the command line <http://weewx.com/docs/usersguide.htm#Running_directly>? It should show you the stack trace. -tk On Fri, Mar 17, 2017 at 1:50 PM, gearoid <[email protected]> wrote: > engine: Loading station type Vantage > (weewx.drivers.vantage) > > Mar 17 19:53:57 weewx[1915]: import of driver failed: zero length field > name in format (<type 'exceptions.ValueError'>) > > Mar 17 19:53:57 weewx[1915]: engine: Unable to load driver: zero length > field name in format > > Mar 17 19:53:57 weewx[1915]: **** Exiting... > > Is there a 2.7 requirement ? > > > Also, To get this far I had to install the backport of python-importlib > from the EPEL, which resolved the following: > > import of driver failed: No module named importlib (<type > 'exceptions.ImportError'>) > > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
