Giter Site home page Giter Site logo

Comments (10)

clm66 avatar clm66 commented on July 28, 2024

After reading your hints to a similar issue I found out, that this curl command in power shell on the charts.js gives an error, see below.
getting through the initial launch dialog of IE as described here:
https://stackoverflow.com/questions/38005341/the-response-content-cannot-be-parsed-because-the-internet-explorer-engine-is-no
also didn't help.
Any ideas what I could do here?


**_Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users...> curl https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.min.js

curl : The response content cannot be parsed because the Internet Explorer engine is not available, or Internet
Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.
At line:1 char:1

from better-access-charts.

KDGundermann avatar KDGundermann commented on July 28, 2024

Hi clm,

is this the Demo application? In the demo application we are using the download from a CDN by default
Are you able to download it from a browser on this machines?
Maybe something (Webproxy, Firewall, Virus Scan) is blocking access to this download ?

from better-access-charts.

clm66 avatar clm66 commented on July 28, 2024

Hi,
no it's not the demo and it works on some TS mashines and on some not.

from better-access-charts.

team-moeller avatar team-moeller commented on July 28, 2024

Hi there!
It sounds like there is a problem with your access to the internet on some of your machines.
Let's investigate this a bit systematically:

  1. Step: Download the demo database
  2. Step: Try it on a computer where you think it works
  3. Step: Try it on a computer, where it does not work normally
    If you fail here, this means that there is a problem on your machine, not in the demo database.
  4. Step: Save the script files on your hdd and set the source for the scripts to "local file"
    If this works, this means that the problem is in downloading the script files from the CDN.

If the problem occurs at step 4, I cannot help you. You must investigate where the problem with the internet and the access to the CDN is.

from better-access-charts.

team-moeller avatar team-moeller commented on July 28, 2024

Hi @clm66 ,
did you already find the time to work on this problem? Is the problem still existing?

from better-access-charts.

clm66 avatar clm66 commented on July 28, 2024

Hi,
thank's a lot for your efforts - I try to follow your steps on the weekend and will notify you then,
best regards,
Claus

from better-access-charts.

clm66 avatar clm66 commented on July 28, 2024

Hi again,
on mashine 1 the demo worked, on mashine 2 not - as in my own database.
But step 4 worked on mashine 2! I downloaded the files to disk and with source = local file it works!
I imorted the configuration form in my own database and there it works now also!
So thanks a lot!

Do you have an idea, why downloading the script files from the CDN failes on mashine 2 ?
Probably it would be better to get this fixed, instead of having the files local, as the file may change in the future and would have to control this?

thanks again!

from better-access-charts.

team-moeller avatar team-moeller commented on July 28, 2024

Hi @clm66 !
To my experience this is mostly a security issue.
Let's try the following steps:

  • open the demo on a computer, where it does not work
  • check "Save html file for debugging" on the chart tab
  • click "Create Chart"
  • navigate to the folder, where the database is stored
  • look for a file named "Better AccessChart_NNNNNNNN.html"
  • open this file in your browser
  • press F12
  • switch to Network tab

As an alternative:

  • try to PING the address of the CDN

At the end:

  • ask your system admin or security admin for help

Good luck!

from better-access-charts.

clm66 avatar clm66 commented on July 28, 2024

Hi,
I tried this -> the error msg 'Chart is undifined' appears in the demo file
when I open the file "Better AccessChart_NNNNNNNN.html" the chart appears and the network tab shows this:

BAC

but what can i find out from this?

from better-access-charts.

team-moeller avatar team-moeller commented on July 28, 2024

Hi @clm66 ,
let me summarize what I understood:

  • you tried the demo and got an error message
  • than you double clicked on the generated html file on the same machine
  • then the chart was shown

I never was in a situation like that. It sounds like a problem with the firewall. Maybe there are different rules for Access and a html-file.
Sorry, I have no better answer.

from better-access-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.