gearoid, did you figure this out? I'm up against the same issue on centos 
6.9, python 2.66 and weewx 3.7.1. vantage driver. 

On Saturday, March 18, 2017 at 11:34:36 AM UTC-5, gearoid wrote:
>
> I'll do that, although it could be a few days until I get a chance.
> It works fine using the Simulator station type and is also posting data to 
> windguru.
> This started when I modify the config to use the vantage driver.
>
>
> On Friday, 17 March 2017 19:14:14 UTC-4, Tom Keffer wrote:
>>
>> 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.

Reply via email to