The location of the executable is there because it is installed liked that 
to run on the local server.

If I try to do sudo PYTHONPATH=/home/weewx/bin python3 
/var/www/html/weewx/weather34/w34highcharts/wee_reports_w34 I get this:

*pi@raspberrypi*:*~ $* sudo su

root@raspberrypi:/home/pi# sudo PYTHONPATH=/home/weewx/bin python3 
/var/www/html/weewx/weather34/w34highcharts/wee_reports_w34

Using configuration file /home/weewx/weewx.conf

Generating for all time

Traceback (most recent call last):

  File "/var/www/html/weewx/weather34/w34highcharts/wee_reports_w34", line 
99, in <module>

    main()

  File "/var/www/html/weewx/weather34/w34highcharts/wee_reports_w34", line 
68, in main

    config_dict['StdReport']['w34Highcharts']['CheetahGenerator'] =  
{'search_list_extensions': 'user.w34highchartsSearchX.w34highcharts_' + 
args[1].split('/')[-1].split('.')[0], 'encoding': 'strict_ascii', 'ToDate': 
{'DayJSON': {'template': args[1],'HTML_ROOT': args[2]}}}

IndexError: list index out of range


Il giorno mercoledì 12 agosto 2020 alle 03:27:38 UTC+2 tke...@gmail.com ha 
scritto:

> You're probably right. I suspect the custom weather34 installer went a 
> little ... off track. 
>
> On Tue, Aug 11, 2020 at 6:02 PM J D <balloon...@gmail.com> wrote:
>
>> This is not a weewx issue or a python path issue. The file is in the 
>> correct location, but the troubleshooting guide must be done to find out 
>> why there is an error.
>>
>
>>
>> On Tuesday, August 11, 2020 at 3:27:16 PM UTC-7, Mauro De Lauretis wrote:
>>>
>>> Hi all!
>>> I'm running the last version of weewx with python3 on my Raspberry Pi.
>>> As skin I use the weather34 weewx version (
>>> https://github.com/steepleian/weewx-Weather34)
>>>
>>> There are also incorporated highcharts that are created live from the 
>>> database when selecting on the website.
>>> However, a part of them won't work with my setup and this Is the message 
>>> I get:
>>>
>>>
>>> root@raspberrypi:~# sudo python3 
>>> /var/www/html/weewx/weather34/w34highcharts/wee_reports_w34
>>>
>>> Traceback (most recent call last):
>>>
>>>   File "/var/www/html/weewx/weather34/w34highcharts/wee_reports_w34", 
>>> line 8, in <module>
>>>
>>>     import weewx
>>>
>>> ModuleNotFoundError: No module named 'weewx'
>>>
>>>
>>>
>>>
>>> Do you have any ideas what the issue could be?
>>>
>>>
>>> Thanks
>>>
>>>
>>> Mauro
>>>
>> -- 
>>
> 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 on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/ca782342-2160-4630-aee3-438d53a85c50o%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/ca782342-2160-4630-aee3-438d53a85c50o%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b5d05819-d3ff-4d3c-9057-c449e9939bfan%40googlegroups.com.

Reply via email to