This is in python-nvd3, NVD3Chart.py. Can you please open an issue with them? It seems we can override the setting in Airflow so we can workaround it, but they should fix this.
Bolke > On 30 Jan 2017, at 10:50, Сёмочкин Максим Викторович <[email protected]> wrote: > > I checked again and it seems I saw the problem. > In the Airflow (more precisely in the Flask) the necessary files are loaded > from the directory static no problem with that. > But at some point in the code the method is called chart.buildhtml(), then a > representation of a chart object will become an html that among other things > contains the lines: > <link > href="https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.7.0/nv.d3.min.css" > rel="stylesheet" /> > <script > src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script> > <script > src="https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.7.0/nv.d3.min.js"></script> > > -----Original Message----- > From: Bolke de Bruin [mailto:[email protected]] > Sent: Monday, January 30, 2017 11:55 AM > To: [email protected] > Subject: Re: nvd3 is an external resource > > Did you double check btw? The nvd3 libraries are pulled from a local > resources as far as I can see. > > - Bolke > >> On 30 Jan 2017, at 09:45, Bolke de Bruin <[email protected]> wrote: >> >> That is indeed unfortunate. python-nvd3 pulls its in this way (thus not >> Airflow itself). It might be a config thing with them. >> >> Bolke >> >>> On 30 Jan 2017, at 09:42, Сёмочкин Максим Викторович <[email protected]> >>> wrote: >>> >>> Hello! >>> Did I understand correctly that version 1.8 is a library for drawing charts >>> (nvd3) is loaded from external resource - cloudflare? >>> Our problem is that the Airflow is installed in a closed network segment >>> that has no Internet access >> >
