You are running it as file://
It should be http:// or https://
The invalid URL is because those sites are NOT locally on your computer.
You only use file:// if the resources are found locally on your computer.



On Monday, 7 December 2020 at 13:42:30 UTC+11 [email protected] wrote:

> Still haven't been able to get the Belchertown skin to show graphs page or 
> the reports page. I can be sure that the error is due to something I have 
> done or not done correctly.
> The following shows up with the developer console (ctrl shift j ) when 
> opening a graphs page from the home Belchertown screen. Maybe this can show 
> something to someone of more understanding than myself.
> Maybe I should stick with the seasons skin. It seems to work just as it 
> should. thanks
>
> GET file://
> fonts.googleapis.com/css?family=Roboto%3A300%2C400%2C700&ver=1.0 
> net::ERR_INVALID_URL
> index.html:28 GET file://
> stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css 
> net::ERR_INVALID_URL
> index.html:29 GET file://
> cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.9/css/weather-icons.min.css?ver=4.7.4
>  
> net::ERR_INVALID_URL
> index.html:30 GET file://
> ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css 
> net::ERR_INVALID_URL
> index.html:31 GET file://
> stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css 
> net::ERR_INVALID_URL
> index.html:47 GET file://
> ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js 
> net::ERR_INVALID_URL
> index.html:48 GET file://
> ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js 
> net::ERR_INVALID_URL
> index.html:49 GET file://
> cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment-with-locales.min.js 
> net::ERR_INVALID_URL
> index.html:50 GET file://code.highcharts.com/stock/highstock.js 
> net::ERR_INVALID_URL
> index.html:51 GET file://code.highcharts.com/highcharts-more.js 
> net::ERR_INVALID_URL
> index.html:52 GET file://code.highcharts.com/modules/exporting.js 
> net::ERR_INVALID_URL
> index.html:53 GET file://
> stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js 
> net::ERR_INVALID_URL
> belchertown.js?1607307639:37 Debug: skin.conf belchertown_debug enabled
> belchertown.js?1607307639:29 Uncaught ReferenceError: moment is not defined
>     at belchertown.js?1607307639:29
> (anonymous) @ belchertown.js?1607307639:29
> index.html:108 Uncaught ReferenceError: moment is not defined
>     at index.html:108
> (anonymous) @ index.html:108
> responsive-menu.js:1 Uncaught ReferenceError: jQuery is not defined
>     at responsive-menu.js:1
> (anonymous) @ responsive-menu.js:1
> radar.js:8 The AudioContext was not allowed to start. It must be resumed 
> (or created) after a user gesture on the page. https://goo.gl/7K7WLu
> l @ radar.js:8
>
>
> On Thursday, December 3, 2020 at 9:26:21 AM UTC-6 [email protected] 
> wrote:
>
>> Thank you for your replies, Ian and Vince. Was out of town for the 
>> holiday and will investigate according to your answers. I appreciate  your 
>> help.
>>
>> On Fri, Nov 27, 2020, 8:42 AM [email protected] <[email protected]> 
>> wrote:
>>
>>> I am no expert, but sounds like it might be a web server issue rather 
>>> than weewx/belchertown
>>>
>>> Are you see anything in your web server logs?
>>> I am running weewx with belchertown on a raspberry pi Debian 10.6 and my 
>>> apache logs are in
>>> /var/log/apache2 
>>> check for access.log and error.log
>>>
>>> Ian
>>>
>>> On Tuesday, 24 November 2020 at 15:06:36 UTC [email protected] 
>>> wrote:
>>>
>>>> Is there no answer to this issue? Pretty sure that it should be a 
>>>> simple fix if someone can point me in the right direction.
>>>> the seasons skin shows all graphs but the belchertown only has the 
>>>> output above of the " Parent directory etc." for graphs, records, reports.
>>>> Tried on weewx 3.9 with same results using debian install.
>>>> On Saturday, November 21, 2020 at 12:10:58 AM UTC-6 
>>>> [email protected] wrote:
>>>>
>>>>> Have weewx installed on Raspberry pi as a new install using the 
>>>>> setup.py method.
>>>>> Was trying to test the Belchertown skin after an install according to 
>>>>> instructions.
>>>>> The home screen of Belchertown looks normal but the Reports, Graphs 
>>>>> and Records tabs only bring up the following :
>>>>> Index of /home/weewx/public_html/graphs/
>>>>> NameSizeDate Modified
>>>>> index.html <http:///home/weewx/public_html/graphs/index.html>
>>>>> 13.5 kB
>>>>> 11/20/20, 10:45:19 PM
>>>>>
>>>>> Weewx.conf is as follows for the StdReport section
>>>>> [StdReport]
>>>>>     
>>>>>     # Where the skins reside, relative to WEEWX_ROOT
>>>>>     SKIN_ROOT = /home/weewx/skins/
>>>>>     
>>>>>     # Where the generated reports should go, relative to WEEWX_ROOT
>>>>>     HTML_ROOT = /home/weewx/public_html/
>>>>>     
>>>>>     # The database binding indicates which data should be used in 
>>>>> reports.
>>>>>     data_binding = wx_binding
>>>>>     
>>>>>     # Whether to log a successful operation
>>>>>     log_success = True
>>>>>     
>>>>>     # Whether to log an unsuccessful operation
>>>>>     log_failure = False
>>>>>     
>>>>>     # Each of the following subsections defines a report that will be 
>>>>> run.
>>>>>     # See the customizing guide to change the units, plot types and 
>>>>> line
>>>>>     # colors, modify the fonts, display additional sensor data, and 
>>>>> other
>>>>>     # customizations. Many of those changes can be made here by 
>>>>> overriding
>>>>>     # parameters, or by modifying templates within the skin itself.
>>>>>     
>>>>>     [[SeasonsReport]]
>>>>>         # The SeasonsReport uses the 'Seasons' skin, which contains the
>>>>>         # images, templates and plots for the report.
>>>>>         skin = Seasons
>>>>>         enable = false
>>>>>     
>>>>>     [[SmartphoneReport]]
>>>>>         # The SmartphoneReport uses the 'Smartphone' skin, and the 
>>>>> images and
>>>>>         # files are placed in a dedicated subdirectory.
>>>>>         skin = Smartphone
>>>>>         enable = false
>>>>>         HTML_ROOT = public_html/smartphone
>>>>>     
>>>>>     [[MobileReport]]
>>>>>         # The MobileReport uses the 'Mobile' skin, and the images and 
>>>>> files
>>>>>         # are placed in a dedicated subdirectory.
>>>>>         skin = Mobile
>>>>>         enable = false
>>>>>         HTML_ROOT = public_html/mobile
>>>>>     
>>>>>     [[StandardReport]]
>>>>>         # This is the old "Standard" skin. By default, it is not 
>>>>> enabled.
>>>>>         skin = Standard
>>>>>         enable = false
>>>>>     [[Belchertown]]
>>>>>         skin = Belchertown
>>>>>         HTML_ROOT = /home/weewx/public_html/Belchertown
>>>>>         enable = true
>>>>>     
>>>>>     [[FTP]]
>>>>>         # FTP'ing the results to a webserver is treated as just 
>>>>> another report,
>>>>>         # albeit one with an unusual report generator!
>>>>>         skin = Ftp
>>>>>         
>>>>>         # If you wish to use FTP, set "enable" to "true", then
>>>>>         # fill out the next four lines.
>>>>>         # Use quotes around passwords to guard against parsing errors.
>>>>>         enable = false
>>>>>         user = replace_me
>>>>>         password = replace_me
>>>>>         server = replace_me    # The ftp server name, e.g, 
>>>>> www.myserver.org
>>>>>         path = replace_me    # The destination directory, e.g., 
>>>>> /weather
>>>>>         
>>>>>         # Set to True for an FTP over TLS (FTPS) connection. Not all 
>>>>> servers
>>>>>         # support this.
>>>>>         secure_ftp = False
>>>>>         
>>>>>         # To upload files from something other than what HTML_ROOT is 
>>>>> set
>>>>>         # to above, specify a different HTML_ROOT here.
>>>>>         #HTML_ROOT = public_html
>>>>>         
>>>>>         # Most FTP servers use port 21
>>>>>         port = 21
>>>>>         
>>>>>         # Set to 1 to use passive mode, zero for active mode
>>>>>         passive = 1
>>>>>     
>>>>>     [[RSYNC]]
>>>>>         # rsync'ing to a webserver is treated as just another report
>>>>>         skin = Rsync
>>>>>         
>>>>>         # If you wish to use rsync, you must configure passwordless 
>>>>> ssh using
>>>>>         # public/private key authentication from the user account that 
>>>>> weewx
>>>>>         # runs to the user account on the remote machine where the 
>>>>> files
>>>>>         # will be copied.
>>>>>         #
>>>>>         # If you wish to use rsync, set "enable" to "true", then
>>>>>         # fill out server, user, and path.
>>>>>         # The server should appear in your .ssh/config file.
>>>>>         # The user is the username used in the identity file.
>>>>>         # The path is the destination directory, such as 
>>>>> /var/www/html/weather.
>>>>>         # Be sure that the user has write permissions on the 
>>>>> destination!
>>>>>         enable = false
>>>>>         server = replace_me
>>>>>         user = replace_me
>>>>>         path = replace_me
>>>>>         
>>>>>         # To upload files from something other than what HTML_ROOT is 
>>>>> set
>>>>>         # to above, specify a different HTML_ROOT here.
>>>>>         #HTML_ROOT = public_html
>>>>>         
>>>>>         # Rsync can be configured to remove files from the remote 
>>>>> server if
>>>>>         # they don't exist under HTML_ROOT locally. USE WITH CAUTION: 
>>>>> if you
>>>>>         # make a mistake in the remote path, you could could 
>>>>> unintentionally
>>>>>         # cause unrelated files to be deleted. Set to 1 to enable 
>>>>> remote file
>>>>>         # deletion, zero to allow files to accumulate remotely.
>>>>>         delete = 0
>>>>>     What am I missing in my setup to not get the graphs or record 
>>>>> plots to show?
>>>>> Thank you
>>>>>      
>>>>>
>>>> -- 
>>> 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/326d98b7-6c07-4591-9828-8e67dad6171en%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/326d98b7-6c07-4591-9828-8e67dad6171en%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/9da156fe-0a6e-478c-a988-ac484ecc79c3n%40googlegroups.com.

Reply via email to