Tom’s way works. Did it yesterday.

On Wednesday, January 1, 2025 at 11:29:28 AM UTC-8 Jamie Stephens wrote:

> Thanks. I'll try that. I found another thread on the issue, and it read 
> like  the user downloaded the release, and it worked.
> https://groups.google.com/g/weewx-user/c/JgwO68aMyMY/m/26JdC0BhAgAJ
>
>
> On Wed, Jan 1, 2025 at 1:38 PM Tom Keffer <tke...@gmail.com> wrote:
>
>> This was fixed in a PR 
>> <https://github.com/poblabs/weewx-belchertown/pull/944> last summer, but 
>> there does not seem to have been a release since then.
>>
>> Try installing from HEAD:
>>
>> weectl extension install 
>> https://github.com/poblabs/weewx-belchertown/archive/refs/heads/master.zip
>>
>>
>> On Wed, Jan 1, 2025 at 9:25 AM Jamie Stephens <jamie.s...@gmail.com> 
>> wrote:
>>
>>> I did a fresh install and got stumped on why I can't get Belchertown 
>>> skin to work. I get the below error, which seems to point to the issue of 
>>> the Python local change. but I'm running 3.14 
>>>
>>> downloaded the skin via github  here
>>>
>>> https://github.com/poblabs/weewx-belchertown/releases/tag/weewx-belchertown-1.3.1
>>>
>>> jamie@jamieandbrooke:~$ weectl report run Belchertown
>>> Using configuration file /etc/weewx/weewx.conf
>>> The following reports will be run: Belchertown
>>> Generating as of last timestamp in the database.
>>> Traceback (most recent call last):
>>>   File "/usr/share/weewx/weewx/reportengine.py", line 248, in run
>>>     obj.start()
>>>   File "/usr/share/weewx/weewx/reportengine.py", line 465, in start
>>>     self.run()
>>>   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 166, in run
>>>     ngen = self.generate(gen_dict[section_name], section_name, 
>>> self.gen_ts)
>>>           
>>>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in 
>>> generate
>>>     ngen += self.generate(section[subsection], subsection, gen_ts)
>>>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 226, in 
>>> generate
>>>     ngen += self.generate(section[subsection], subsection, gen_ts)
>>>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 309, in 
>>> generate
>>>     searchList = self._getSearchList(encoding, timespan,
>>>                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 401, in 
>>> _getSearchList
>>>     search_list += obj.get_extension_list(timespan, db_lookup)
>>>                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>   File "/etc/weewx/bin/user/belchertown.py", line 619, in 
>>> get_extension_list
>>>     locale.format("%.1f", 0),
>>>     ^^^^^^^^^^^^^
>>> AttributeError: module 'locale' has no attribute 'format'. Did you mean: 
>>> '_format'?
>>> Done.
>>>
>>> -- 
>>> 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 weewx-user+...@googlegroups.com.
>>> To view this discussion visit 
>>> https://groups.google.com/d/msgid/weewx-user/6cbbc97d-214d-4e5e-93d7-024c17f5784an%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/6cbbc97d-214d-4e5e-93d7-024c17f5784an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
>>
> 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/QUw0S02TVeE/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com.
>> To view this discussion visit 
>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEDySM_dtmskSkE-381tXFb0QomJbqqmYW%2Boq8vhKgMo9w%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEDySM_dtmskSkE-381tXFb0QomJbqqmYW%2Boq8vhKgMo9w%40mail.gmail.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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/df1896e0-468b-4e2b-9324-972367793d03n%40googlegroups.com.

Reply via email to