Hi,

yeah, I can confirm, clean ubuntu 18.04.5 install on a x86_64 virtual 
machine fails with 4.5.1  install, but works fine with this modified 
version!  Thanks!

keskiviikko 7. huhtikuuta 2021 klo 21.45.56 UTC+3 Tom Keffer kirjoitti:

> It probably did not work on V4.4.0, but it's only a problem when doing a 
> new installation. Using wee_config directly (as opposed to through 
> setup.py) works as it should.
>
> You can get the modified version of setup.py here 
> <https://raw.githubusercontent.com/weewx/weewx/master/setup.py>.
>
> On Wed, Apr 7, 2021 at 11:19 AM Pasi Sainio <[email protected]> wrote:
>
>> I went for pure ascii name for my setup, I'll try this with another 
>> install on the weekend.  Not sure anymore if it worked with 4.4.0 either.
>>
>> sunnuntai 4. huhtikuuta 2021 klo 22.22.32 UTC+3 Tom Keffer kirjoitti:
>>
>>> Pasi,
>>>
>>> Could you try again, making one small change? In setup.py, change this
>>>
>>>     proc = subprocess.Popen(args,
>>>                             env={'PYTHONPATH': install_lib},
>>>                             stdin=sys.stdin,
>>>                             stdout=sys.stdout,
>>>                             stderr=sys.stderr)
>>> to this
>>>
>>>     os.environ['PYTHONPATH'] = install_lib
>>>     proc = subprocess.Popen(args,
>>>                             # env={'PYTHONPATH': install_lib},
>>>                             stdin=sys.stdin,
>>>                             stdout=sys.stdout,
>>>                             stderr=sys.stderr)
>>>
>>> In summary, you are adding one line, and commenting out one line.
>>>
>>> Then give it another try.
>>>
>>> If you are not comfortable doing this, we'll figure out another solution.
>>>
>>> -tk
>>>
>>> On Sun, Apr 4, 2021 at 12:46 AM Pasi Sainio <[email protected]> wrote:
>>>
>>>>
>>>> Handling utf-8 letter is broken in the installer. If I set Description 
>>>> to Kyrölä, new install fails with:
>>>> Traceback (most recent call last): 
>>>>  File "/home/weewx/bin/wee_config", line 123, in <module> 
>>>>    main() 
>>>>  File "/home/weewx/bin/wee_config", line 117, in main 
>>>>    config_mgr.run(args, options) 
>>>>  File "/home/weewx/bin/weecfg/config.py", line 126, in run 
>>>>    backup_path = weecfg.save(config_dict, output_path, not 
>>>> options.no_backup) 
>>>>  File "/home/weewx/bin/weecfg/__init__.py", line 215, in save 
>>>>    config_dict.write(fd) 
>>>>  File "/usr/lib/python3/dist-packages/configobj.py", line 2119, in 
>>>> write 
>>>>    'ascii') 
>>>> UnicodeEncodeError: 'utf-8' codec can't encode characters in position 
>>>> 953-954: surrogates not allowed
>>>>
>>>> However, if I make initial config with 4.4.0, seems to work fine, even 
>>>> reconfigure with 4.5.x goes without errors.
>>>>
>>>>
>>>> lauantai 3. huhtikuuta 2021 klo 17.43.44 UTC+3 [email protected] 
>>>> kirjoitti:
>>>>
>>> Was seeing if I can embark on project to convert Seasons charts to json 
>>>>> based interactive highcharts. But way out of my depth.
>>>>>
>>>>> On Tuesday, 30 March 2021 at 13:02:04 UTC+5:30 [email protected] 
>>>>> wrote:
>>>>>
>>>>>> The original graphs engine with that day-night-background-coloring is 
>>>>>> nice, too.
>>>>>>
>>>>>> [email protected] schrieb am Montag, 29. März 2021 um 13:21:51 
>>>>>> UTC+2:
>>>>>>
>>>>>>> Hoping to see Seasons skin with Highcharts support out of the box 
>>>>>>> with new json support. Something that I would love - in fact seeing how 
>>>>>>> I 
>>>>>>> can do it myself..
>>>>>>>
>>>>>>> On Monday, 29 March 2021 at 02:21:38 UTC+5:30 [email protected] 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> All is well in my environment...  Running for 68+ hours.
>>>>>>>>
>>>>>>>> Devuan 3 (beowulf)
>>>>>>>> Linux 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 
>>>>>>>> GNU/Linux
>>>>>>>> Python 3.7.3 (set via "alternatives")
>>>>>>>> weewx 4.5.0b2 (setup.py install, using MariaDB)
>>>>>>>> weatherflow-udp (1.13 2021-02-22 by Jan-Jaap van der Geer)
>>>>>>>>
>>>>>>>> I haven't exercised any of the "new features" or functionality.
>>>>>>>> Am looking forward to v4.5 final release.
>>>>>>>>
>>>>>>>> Thanks!
>>>>>>>>
>>>>>>>> On Wednesday, March 24, 2021 at 4:10:20 PM UTC-5 Tom Keffer wrote:
>>>>>>>>
>>>>>>>>>  <snippage>
>>>>>>>>>
>>>>>>>>
>>>>>>>>> Feedback is very welcome!!
>>>>>>>>>
>>>>>>>>> -tk
>>>>>>>>>
>>>>>>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "weewx-development" 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-development/b333a1f6-8f9c-4ebc-8ebe-bb1d6d73a8e2n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-development/b333a1f6-8f9c-4ebc-8ebe-bb1d6d73a8e2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-development" 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-development/bf8a324d-cef3-4f1b-bc5f-b5b68c4ba2ben%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-development/bf8a324d-cef3-4f1b-bc5f-b5b68c4ba2ben%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/d6f7990b-f7f7-4efa-a1d4-768a460af9ben%40googlegroups.com.

Reply via email to