Hi,
For what it is worth. The file is not corrupt it just has tabs set to 8 
spaces for indentation and space indentation set to 4 spaces. So if you 
replace the tabs with 8 spaces and leave the spaces along the file should 
indent correctly. If you use an Eclipse editor with a python plugin you can 
easily see this.
Thanks

On Friday, February 21, 2020 at 3:37:45 PM UTC-7, G Hammer wrote:
>
> Perhaps, but it is working on my production system at the moment under 
> python 2.7
>
> On Fri, Feb 21, 2020, 5:34 PM vince <[email protected] <javascript:>> 
> wrote:
>
>> On Friday, February 21, 2020 at 2:27:34 PM UTC-8, J D wrote:
>>>
>>> Sorry to tell you but what you posted has indentation problems in many 
>>> places. I would spend some time reading the link I sent you about python 
>>> indentation and try it again.
>>>
>>>>
>>>>
>> The file you are starting with is hosed on the github side.  No way it 
>> works as-is with weewx of any version.
>>
>> There are 39 places on 32 lines.   Simply substituting 4-spaces for 1-tab 
>> globally doesn't do it, as it results in hosed space-based indenting that 
>> needs hand-fixing to add/delete spaces so the actual code works.
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/wlufg8AdT0E/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/7fc0a424-79d3-4c43-b01e-65d83d858a4b%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/7fc0a424-79d3-4c43-b01e-65d83d858a4b%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e2a02ce0-514d-4d27-9310-91fba364c386%40googlegroups.com.

Reply via email to