Coder Social home page Coder Social logo

j143 / airflow-site Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/airflow-site

0.0 0.0 0.0 145.57 MB

Apache Airflow Website

Home Page: https://airflow.apache.org/

HTML 98.62% Dockerfile 0.01% CSS 0.28% JavaScript 1.10% Shell 0.01% Python 0.01% SCSS 0.01%

airflow-site's Introduction

airflow-site's People

Contributors

aelzeiny avatar aijamalnk avatar alex-zenml avatar alexandraabbas avatar alokshenoy avatar asafmaor avatar ashb avatar chriscardillo avatar christopherpetrino avatar davidmanukian avatar douwem avatar ephraimbuddy avatar feluelle avatar fokko avatar hsnprsd avatar j143 avatar jbampton avatar jedcunningham avatar josh-fell avatar kaxil avatar kgabryje avatar louisguitton avatar mik-laj avatar pahwaranger avatar potiuk avatar ryanahamilton avatar ryw avatar shubham0824 avatar turbaszek avatar xd-deng avatar

Watchers

 avatar

airflow-site's Issues

git submodule update failed

Error message:

airflow-site> git submodule update --init --recursive
Submodule '.github/actions/JamesIves-github-pages-deploy-action' ([email protected]:JamesIves/github-pages-deploy-action.git) registered for 
path '.github/actions/JamesIves-github-pages-deploy-action'
Submodule '.github/actions/pre-commmit-action' ([email protected]:pre-commit/action.git) registered for path '.github/actions/pre-commmit-action'
Submodule 'landing-pages/site/themes/docsy' (https://github.com/google/docsy.git) registered for path 'landing-pages/site/themes/docsy'
Cloning into 'F:/Repo/P005/sml/airflow-site/.github/actions/JamesIves-github-pages-deploy-action'...
Host key verification failed.
fatal: Could not read from remote repository.

and the repository exists.
ns/JamesIves-github-pages-deploy-action' failed
Failed to clone '.github/actions/JamesIves-github-pages-deploy-action'. Retry scheduled
Cloning into 'F:/Repo/P005/sml/airflow-site/.github/actions/pre-commmit-action'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:pre-commit/action.git' into submodule path 'F:/Repo/P005/sml/airflow-site/.github/actions/pre-commmit-action' failed
Failed to clone '.github/actions/pre-commmit-action'. Retry scheduled
Cloning into 'F:/Repo/P005/sml/airflow-site/landing-pages/site/themes/docsy'...
Cloning into 'F:/Repo/P005/sml/airflow-site/.github/actions/JamesIves-github-pages-deploy-action'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:JamesIves/github-pages-deploy-action.git' into submodule path 'F:/Repo/P005/sml/airflow-site/.github/actions/JamesIves-github-pages-deploy-action' failed
Failed to clone '.github/actions/JamesIves-github-pages-deploy-action' a second time, aborting
PS F:\Repo\P005\sml\airflow-site> ssh-keyscan -t rsa -H github.com >> ~/.ssh/known_hosts
# github.com:22 SSH-2.0-babeld-88f31a42
PS F:\Repo\P005\sml\airflow-site> git submodule update --init --recursive
Cloning into 'F:/Repo/P005/sml/airflow-site/.github/actions/JamesIves-github-pages-deploy-action'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:JamesIves/github-pages-deploy-action.git' into submodule path 'F:/Repo/P005/sml/airflow-site/.github/actions/JamesIves-github-pages-deploy-action' failed
Failed to clone '.github/actions/JamesIves-github-pages-deploy-action'. Retry scheduled
Cloning into 'F:/Repo/P005/sml/airflow-site/.github/actions/pre-commmit-action'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:pre-commit/action.git' into submodule path 'F:/Repo/P005/sml/airflow-site/.github/actions/pre-commmit-action' failed
Failed to clone '.github/actions/pre-commmit-action'. Retry scheduled
Cloning into 'F:/Repo/P005/sml/airflow-site/.github/actions/JamesIves-github-pages-deploy-action'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:JamesIves/github-pages-deploy-action.git' into submodule path 'F:/Repo/P005/sml/airflow-site/.github/actions/JamesIves-github-pages-deploy-action' failed
Failed to clone '.github/actions/JamesIves-github-pages-deploy-action' a second time, aborting

I did

ssh-keyscan -t rsa -H github.com >> ~/.ssh/known_hosts

too.

Rewrite ./site.sh to Python

Tasks

  • 1. Create a python template for the script
  • 2. Run a basic setup of docker
  • 3. Implement logging
  • 4. Interaction between docker container and script
  • 5. Run commands inside the docker container
  • 6. How to check whether a command exists

setup tasks

found no layout file for "HTML" for kind "taxonomy" Hugo

hugo v0.90.0-DEV+extended linux/amd64 BuildDate=unknown
INFO 2021/11/19 14:31:54 syncing static files to /workspace/airflow-site/landing-pages/dist/
WARN 2021/11/19 14:31:54 found no layout file for "HTML" for layout "search" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2021/11/19 14:31:54 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2021/11/19 14:31:54 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2021/11/19 14:31:54 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2021/11/19 14:31:54 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
ERROR 2021/11/19 14:31:54 render of "page" failed: "/workspace/airflow-site/landing-pages/site/layouts/blog/baseof.html:23:7": execute of template failed: template: blog/single.html:23:7: executing "blog/single.html" at <partial "head.html" .>: error calling partial: partial "head.html" not found
ERROR 2021/11/19 14:31:54 render of "page" failed: "/workspace/airflow-site/landing-pages/site/layouts/blog/baseof.html:23:7": execute of template failed: template: blog/single.html:23:7: executing "blog/single.html" at <partial "head.html" .>: error calling partial: partial "head.html" not found
ERROR 2021/11/19 14:31:54 render of "page" failed: "/workspace/airflow-site/landing-pages/site/layouts/blog/baseof.html:23:7": execute of template failed: template: blog/single.html:23:7: executing "blog/single.html" at <partial "head.html" .>: error calling partial: partial "head.html" not found
ERROR 2021/11/19 14:31:54 render of "page" failed: "/workspace/airflow-site/landing-pages/site/layouts/blog/baseof.html:23:7": execute of template failed: template: blog/single.html:23:7: executing "blog/single.html" at <partial "head.html" .>: error calling partial: partial "head.html" not found
Error: Error building site: failed to render pages: render of "page" failed: "/workspace/airflow-site/landing-pages/site/layouts/blog/baseof.html:23:7": execute of template failed: template: blog/single.html:23:7: executing "blog/single.html" at <partial "head.html" .>: error calling partial: partial "head.html" not found

error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?

full log
error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
  492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
      |                                      ^~~~~~~~~~~
      |                                      remove_cv
/home/gitpod/.node-gyp/16.13.0/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
  492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
      |                                      ^~~~~~~~~~~
      |                                      remove_cv
/home/gitpod/.node-gyp/16.13.0/include/node/v8-internal.h:492:50: error: template argument 2 is invalid
  492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
      |                                                  ^
/home/gitpod/.node-gyp/16.13.0/include/node/v8-internal.h:492:63: error: ‘::Perform’ has not been declared
  492 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
      |                                                               ^~~~~~~
In file included from ../src/binding.cpp:1:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
 2298 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
      |                                                              ^
../src/binding.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE render(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cpp:284:98: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
  284 |     int status = uv_queue_work(uv_default_loop(), &ctx_w->request, compile_it, (uv_after_work_cb)MakeCallback);
      |                                                                                                  ^~~~~~~~~~~~
../src/binding.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE render_file(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cpp:320:98: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
  320 |     int status = uv_queue_work(uv_default_loop(), &ctx_w->request, compile_it, (uv_after_work_cb)MakeCallback);
      |                                                                                                  ^~~~~~~~~~~~
In file included from ../../nan/nan.h:54,
                 from ../src/binding.cpp:1:
../src/binding.cpp: At global scope:
/home/gitpod/.node-gyp/16.13.0/include/node/node.h:821:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
  821 |       (node::addon_register_func) (regfunc),                          \
      |                                           ^
/home/gitpod/.node-gyp/16.13.0/include/node/node.h:855:3: note: in expansion of macro ‘NODE_MODULE_X’
  855 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
      |   ^~~~~~~~~~~~~
../src/binding.cpp:358:1: note: in expansion of macro ‘NODE_MODULE’
  358 | NODE_MODULE(binding, RegisterModule);
      | ^~~~~~~~~~~
make: *** [binding.target.mk:133: Release/obj.target/binding/src/binding.o] Error 1
make: Leaving directory '/workspace/airflow-site/landing-pages/node_modules/node-sass/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/workspace/airflow-site/landing-pages/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Linux 5.4.0-1051-gke
gyp ERR! command "/home/gitpod/.nvm/versions/node/v16.13.0/bin/node" "/workspace/airflow-site/landing-pages/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /workspace/airflow-site/landing-pages/node_modules/node-sass
gyp ERR! node -v v16.13.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 

Solution:

Using C++17 version as

yarn install -std=c++17

References
[1] nodejs/node#38367

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.