问:
Cordova build apk after doing changes in plugins java files
Each time when I change a plugin's java file I have to remove android platform add platform back than I can build apk with those changes.

```<code>cordova platform remove android

cordova platform add android@11.0.0
</code>```

There is a faster way to build it without removing it?

Thanks

Body:
Each time when I change a plugin's java file I have to remove android platform add platform back than I can build apk with those changes.

cordova platform remove android

cordova platform add android@11.0.0

There is a faster way to build it without removing it?

Thanks


来源: stackexchange

问:
question 1 is repeat 2 time in this quiz project in flutter
in my terminal the random listed properly and the questions are properly ordered, but question 1 is repeated twice.

code

```<code>genrandomarray() {
        var distinctIds = [];
        var rand =  Random();
        for (int i = 1;;) {
          distinctIds.add(rand.nextInt(10) + i);
          random_array = distinctIds.toSet().toList();
          if (random_array.length <10) {
            continue;
          } else {
            break;
          }
        }
        print(random_array);
      }

void nextquestion() {
    canceltimer = false;
    timer = 10;
    setState(() {
      if (j < 10) {
        i = random_array[j];
        j++;
      } else {
        Navigator.of(context).pushReplacement(MaterialPageRoute(
          builder: (context) => resultpage(marks: marks),
        ));
      }
</code>```

ContentLicense: CC BY-SA 4.0

Body:
in my terminal the random listed properly and the questions are properly ordered, but question 1 is repeated twice.

code

genrandomarray() {
        var distinctIds = [];
        var rand =  Random();
        for (int i = 1;;) {
          distinctIds.add(rand.nextInt(10) + i);
          random_array = distinctIds.toSet().toList();
          if (random_array.length <10) {
            continue;
          } else {
            break;
          }
        }
        print(random_array);
      }

void nextquestion() {
    canceltimer = false;
    timer = 10;
    setState(() {
      if (j < 10) {
        i = random_array[j];
        j++;
      } else {
        Navigator.of(context).pushReplacement(MaterialPageRoute(
          builder: (context) => resultpage(marks: marks),
        ));
      }


问:
Docker: Cannot connect to database after pull private image from self-hosted registry
I have a project written in nest.js as nodejs framework and using typeorm(postgres) as database. I ran it using docker compose up and there is no problem in run and send request to it. I deploy it to a self-hosted registry using gitlab-ci but after pulling the created image from gitlab-ci and run the image, the nest.js app cannot connect to database with the following error:

```<code>[Nest] 1  - 12/16/2022, 7:32:15 AM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
Error: getaddrinfo ENOTFOUND db
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26)
</code>```

this is my Dockerfile:

```<code>FROM node:16-bullseye-slim
EXPOSE 3000
RUN mkdir /app && chown -R node:node /app
WORKDIR /app
USER node
ARG NPM_TOKEN
COPY .npmrc .npmrc
COPY package*.json yarn*.lock ./
COPY --chown=node:node . .
RUN yarn && yarn build && yarn cache clean
RUN rm -f .npmrc
CMD ["node", "./dist/main.js"]
</code>```

and my docker-compose.yml:

```<code>services:
  app:
    build:
      dockerfile: Dockerfile
      context: .
      args:
        NPM_TOKEN: $NPM_TOKEN
    volumes:
      - .:/app
    ports:
      - "3000:3000"
    depends_on:
      db:
        condition: service_healthy

  db:
    image: postgres
    environment:
      POSTGRES_USER: $DB_USER
      POSTGRES_PASSWORD: $DB_PASS
      POSTGRES_DB: $DB_NAME
    healthcheck:
      test: [ "CMD", "pg_isready", "-q", "-d", "${DB_NAME}", "-U", "${DB_USER}" ]
      timeout: 45s
      interval: 10s
      retries: 10
</code>```

.env:

```<code>SERVER_HOST=0.0.0.0
SERVER_PORT=3000

# Database
DB_HOST=db
DB_PORT=5432
DB_USER=postgres
DB_PASS=password
DB_NAME=discussion
DB_SYNC=true
DB_AUTOLOAD=true

DEVELOPMENT=true
NPM_TOKEN=
</code>```

and finally my gitlab-ci.yml:

```<code>build:
  stage: build
  image:
    name: gcr.io/kaniko-project/executor:debug
    entrypoint: [""]
    pull_policy: always
  variables:
    VERSION: $CI_COMMIT_SHORT_SHA
  script:
    - mkdir -p /kaniko/.docker
    - echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$(echo -n ${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD} | base64 -w 0)\"}}}" > /kaniko/.docker/config.json
    - cp .env.default .env
    - echo $NPM_TOKEN >> .env
    - ls -a
    - touch deploy.env
    - >-
      /kaniko/executor
      --context $CI_PROJECT_DIR
      --dockerfile $CI_PROJECT_DIR/Dockerfile
      --destination $CI_REGISTRY_IMAGE:$VERSION
      --build-arg NPM_TOKEN=$NPM_TOKEN
    - |
      cat << EOF  > deploy.env
      IMAGE_REF=$CI_REGISTRY_IMAGE:$VERSION
      EOF
  after_script:
    - cat deploy.env
  artifacts:
    reports:
      dotenv: deploy.env
</code>```

Note that I have no problem in running using docker compose up in my local machine

Body:
I have a project written in nest.js as nodejs framework and using typeorm(postgres) as database. I ran it using docker compose up and there is no problem in run and send request to it. I deploy it to a self-hosted registry using gitlab-ci but after pulling the created image from gitlab-ci and run the image, the nest.js app cannot connect to database with the following error:

[Nest] 1  - 12/16/2022, 7:32:15 AM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
Error: getaddrinfo ENOTFOUND db
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26)

this is my Dockerfile:

FROM node:16-bullseye-slim
EXPOSE 3000
RUN mkdir /app && chown -R node:node /app
WORKDIR /app
USER node
ARG NPM_TOKEN
COPY .npmrc .npmrc
COPY package*.json yarn*.lock ./
COPY --chown=node:node . .
RUN yarn && yarn build && yarn cache clean
RUN rm -f .npmrc
CMD ["node", "./dist/main.js"]

and my docker-compose.yml:

services:
  app:
    build:
      dockerfile: Dockerfile
      context: .
      args:
        NPM_TOKEN: $NPM_TOKEN
    volumes:
      - .:/app
    ports:
      - "3000:3000"
    depends_on:
      db:
        condition: service_healthy

  db:
    image: postgres
    environment:
      POSTGRES_USER: $DB_USER
      POSTGRES_PASSWORD: $DB_PASS
      POSTGRES_DB: $DB_NAME
    healthcheck:
      test: [ "CMD", "pg_isready", "-q", "-d", "${DB_NAME}", "-U", "${DB_USER}" ]
      timeout: 45s
      interval: 10s
      retries: 10

.env:

SERVER_HOST=0.0.0.0
SERVER_PORT=3000

# Database
DB_HOST=db
DB_PORT=5432
DB_USER=postgres
DB_PASS=password
DB_NAME=discussion
DB_SYNC=true
DB_AUTOLOAD=true

DEVELOPMENT=true
NPM_TOKEN=

and finally my gitlab-ci.yml:

build:
  stage: build
  image:
    name: gcr.io/kaniko-project/executor:debug
    entrypoint: [""]
    pull_policy: always
  variables:
    VERSION: $CI_COMMIT_SHORT_SHA
  script:
    - mkdir -p /kaniko/.docker
    - echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$(echo -n ${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD} | base64 -w 0)\"}}}" > /kaniko/.docker/config.json
    - cp .env.default .env
    - echo $NPM_TOKEN >> .env
    - ls -a
    - touch deploy.env
    - >-
      /kaniko/executor
      --context $CI_PROJECT_DIR
      --dockerfile $CI_PROJECT_DIR/Dockerfile
      --destination $CI_REGISTRY_IMAGE:$VERSION
      --build-arg NPM_TOKEN=$NPM_TOKEN
    - |
      cat << EOF  > deploy.env
      IMAGE_REF=$CI_REGISTRY_IMAGE:$VERSION
      EOF
  after_script:
    - cat deploy.env
  artifacts:
    reports:
      dotenv: deploy.env

Note that I have no problem in running using docker compose up in my local machine


问:
Tensorflow eye function
I am trying to use the tf.linalg.eye function in TensorFlow to create a identity matrix, but I am having trouble understanding how to use the num_rows and num_columns arguments. Can someone explain how these arguments are used to determine the size of the identity matrix, and provide an example of how to use tf.linalg.eye to create a 3x3 identity matrix?

I need clarificationon how to use the num_rows and num_columns arguments to determine the size of the identity matrix, and to provide an example of how to create a 3x3 identity matrix using the tf.linalg.eye function.

Title: Tensorflow eye function


问:
Loading a different component in parent page when clicking a button/div inside another component in React
I have got a basic React Page like this (Ignore the colors :))

Rootcontainer.tsx

```<code>  return (
   <RootDiv>
      <AppBar open={open} onDrawerOpen={handleDrawerOpen}  />
      <Drawer open={open} onDrawerClose={handleDrawerClose} />

        <Container  maxWidth="xl" sx={{  height:'95%', mb:'10px'}}  >
        <DrawerHeader />
          <h2>{title}</h2>
          <Paper elevation={1} sx={{bgcolor:"orange", height:.9}}>
            <RecipeLanding />
          </Paper>

        </Container>
    </RootDiv>
  );
</code>```

That button Search and View Recipes are from RecipeLanding Component

RecipeLanding.tsx

```<code>return(
    <div>
        <Card title="New Recipe" description="New Recipe Description" />
        <Card title="New Recipe" description="New Recipe Description" />
        <Card title="New Recipe" description="New Recipe Description" />
        <Card title="New Recipe" description="New Recipe Description" />
        <Card title="New Recipe" description="New Recipe Description" />
    </div>
);
</code>```

My attempt is to load/replace/Switch the RecipeLanding component when clicking on any of those cards. So instead of RecipeLanding component, it would be NewRecipe or ViewRecipe.. something like that.

Very new in React.. No idea how to apply routnig here.

Body:
I have got a basic React Page like this (Ignore the colors :))

Rootcontainer.tsx

  return (
   <RootDiv>
      <AppBar open={open} onDrawerOpen={handleDrawerOpen}  />
      <Drawer open={open} onDrawerClose={handleDrawerClose} />

        <Container  maxWidth="xl" sx={{  height:'95%', mb:'10px'}}  >
        <DrawerHeader />

{title}

          <Paper elevation={1} sx={{bgcolor:"orange", height:.9}}>
            <RecipeLanding />
          </Paper>

        </Container>
    </RootDiv>
  );

That button Search and View Recipes are from RecipeLanding Component

RecipeLanding.tsx

return(

        <Card title="New Recipe" description="New Recipe Description" />
        <Card title="New Recipe" description="New Recipe Description" />
        <Card title="New Recipe" description="New Recipe Description" />
        <Card title="New Recipe" description="New Recipe Description" />
        <Card title="New Recipe" description="New Recipe Description" />

);

My attempt is to load/replace/Switch the RecipeLanding component when clicking on any of those cards. So instead of RecipeLanding component, it would be NewRecipe or ViewRecipe.. something like that.

Very new in React.. No idea how to apply routnig here.


问:
Error inspecting states in the "s3" backend: S3 bucket does not exist
(I am new to this)

I am getting bellow error. I have recreated the S3 bucket so S3 bucket exit. I am building the Job from Jenkins but getting below error:

```<code>*mError inspecting states in the "s3" backend:
    S3 bucket does not exist.

The referenced S3 bucket must have been previously created. If the S3 bucket
was created within the last minute, please wait for a minute or two and try
again.

Error: NoSuchBucket: The specified bucket does not exist
    status code: 404, request id: DYAYRHWTW78XAKK5, host id: j6D4Tz3pfEmBBN/gEFKgKrY7JasryFp19UjXJL+7reoK0nn1WnnqZXLSgSJiL+/09foJSgVPUyg=*
</code>```

I have remove the .terraform directory from my system. but still getting same error I used terraform init to re-create the .terraform.

I'm building from the Jenkins server. what else can I do?

as previously suggested by the member here. I have removed .terraform directory. Although I'm using Jenkins to initiate the build. someone said I have to erase the .terraform from jenkins server, but i don't know how to locate that file from Jenkins server.

Please see full Log below:

```<code>Started by user admin
Obtained jenkinsfile from git https://Adeboy007@bitbucket.org/adeboy007/tomcat-pipeline.git
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/tomcat-pipeline
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential bitbucket
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/tomcat-pipeline/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://Adeboy007@bitbucket.org/adeboy007/tomcat-pipeline.git # timeout=10
Fetching upstream changes from https://Adeboy007@bitbucket.org/adeboy007/tomcat-pipeline.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
using GIT_ASKPASS to set credentials bitbucket
 > git fetch --tags --force --progress -- https://Adeboy007@bitbucket.org/adeboy007/tomcat-pipeline.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 61de65ab355b6faa5171142415c8ab56504f4758 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 61de65ab355b6faa5171142415c8ab56504f4758 # timeout=10
Commit message: "change a to s"
 > git rev-list --no-walk e181749493b7349ac4018dd85186ccda89f24423 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $AWS_ACCESS_KEY_ID or $AWS_SECRET_ACCESS_KEY
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (checkout)
[Pipeline] echo
Pulling changes from the branch master
[Pipeline] git
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential bitbucket
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/tomcat-pipeline/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://Adeboy007@bitbucket.org/adeboy007/tomcat-pipeline.git # timeout=10
Fetching upstream changes from https://Adeboy007@bitbucket.org/adeboy007/tomcat-pipeline.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
using GIT_ASKPASS to set credentials bitbucket
 > git fetch --tags --force --progress -- https://Adeboy007@bitbucket.org/adeboy007/tomcat-pipeline.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 61de65ab355b6faa5171142415c8ab56504f4758 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 61de65ab355b6faa5171142415c8ab56504f4758 # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D master # timeout=10
 > git checkout -b master 61de65ab355b6faa5171142415c8ab56504f4758 # timeout=10
Commit message: "change a to s"
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (terraform plan)
[Pipeline] sh
+ pwd
/var/lib/jenkins/workspace/tomcat-pipeline
+ terraform init -input=true

[0m[1mInitializing the backend...[0m
[0m[0m[1mBackend configuration changed![0m

Terraform has detected that the configuration specified for the backend
has changed. Terraform will now check for existing state in the backends.

[0m
[31m
[1m[31mError: [0m[0m[1mError inspecting states in the "s3" backend:
    S3 bucket does not exist.

The referenced S3 bucket must have been previously created. If the S3 bucket
was created within the last minute, please wait for a minute or two and try
again.

Error: NoSuchBucket: The specified bucket does not exist
    status code: 404, request id: DYAYRHWTW78XAKK5, host id: j6D4Tz3pfEmBBN/gEFKgKrY7JasryFp19UjXJL+7reoK0nn1WnnqZXLSgSJiL+/09foJSgVPUyg=

Prior to changing backends, Terraform inspects the source and destination
states to determine what kind of migration steps need to be taken, if any.
Terraform failed to load the states. The data in both the source and the
destination remain unmodified. Please resolve the above error and try again.[0m

[0m[0m[0m
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (terraform apply approval)
Stage "terraform apply approval" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (terraform apply)
Stage "terraform apply" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (terraform destroy approval)
Stage "terraform destroy approval" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (terraform destroy)
Stage "terraform destroy" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE
</code>```

Body:
(I am new to this)

I am getting bellow error. I have recreated the S3 bucket so S3 bucket exit. I am building the Job from Jenkins but getting below error:

*mError inspecting states in the "s3" backend:
    S3 bucket does not exist.

The referenced S3 bucket must have been previously created. If the S3 bucket
was created within the last minute, please wait for a minute or two and try
again.

Error: NoSuchBucket: The specified bucket does not exist
    status code: 404, request id: DYAYRHWTW78XAKK5, host id: j6D4Tz3pfEmBBN/gEFKgKrY7JasryFp19UjXJL+7reoK0nn1WnnqZXLSgSJiL+/09foJSgVPUyg=*

I have remove the .terraform directory from my system. but still getting same error I used terraform init to re-create the .terraform.

I'm building from the Jenkins server. what else can I do?

as previously suggested by the member here. I have removed .terraform directory. Although I'm using Jenkins to initiate the build. someone said I have to erase the .terraform from jenkins server, but i don't know how to locate that file from Jenkins server.

Please see full Log below:

Started by user admin
Obtained jenkinsfile from git https://Adeboy007@bitbucket.org/adeboy007/tomcat-pipeline.git
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/tomcat-pipeline
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential bitbucket
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/tomcat-pipeline/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://Adeboy007@bitbucket.org/adeboy007/tomcat-pipeline.git # timeout=10
Fetching upstream changes from https://Adeboy007@bitbucket.org/adeboy007/tomcat-pipeline.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
using GIT_ASKPASS to set credentials bitbucket
 > git fetch --tags --force --progress -- https://Adeboy007@bitbucket.org/adeboy007/tomcat-pipeline.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 61de65ab355b6faa5171142415c8ab56504f4758 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 61de65ab355b6faa5171142415c8ab56504f4758 # timeout=10
Commit message: "change a to s"
 > git rev-list --no-walk e181749493b7349ac4018dd85186ccda89f24423 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $AWS_ACCESS_KEY_ID or $AWS_SECRET_ACCESS_KEY
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (checkout)
[Pipeline] echo
Pulling changes from the branch master
[Pipeline] git
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential bitbucket
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/tomcat-pipeline/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://Adeboy007@bitbucket.org/adeboy007/tomcat-pipeline.git # timeout=10
Fetching upstream changes from https://Adeboy007@bitbucket.org/adeboy007/tomcat-pipeline.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
using GIT_ASKPASS to set credentials bitbucket
 > git fetch --tags --force --progress -- https://Adeboy007@bitbucket.org/adeboy007/tomcat-pipeline.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 61de65ab355b6faa5171142415c8ab56504f4758 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 61de65ab355b6faa5171142415c8ab56504f4758 # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D master # timeout=10
 > git checkout -b master 61de65ab355b6faa5171142415c8ab56504f4758 # timeout=10
Commit message: "change a to s"
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (terraform plan)
[Pipeline] sh
+ pwd
/var/lib/jenkins/workspace/tomcat-pipeline
+ terraform init -input=true

[0m[1mInitializing the backend...[0m
[0m[0m[1mBackend configuration changed![0m

Terraform has detected that the configuration specified for the backend
has changed. Terraform will now check for existing state in the backends.

[0m
[31m
[1m[31mError: [0m[0m[1mError inspecting states in the "s3" backend:
    S3 bucket does not exist.

The referenced S3 bucket must have been previously created. If the S3 bucket
was created within the last minute, please wait for a minute or two and try
again.

Error: NoSuchBucket: The specified bucket does not exist
    status code: 404, request id: DYAYRHWTW78XAKK5, host id: j6D4Tz3pfEmBBN/gEFKgKrY7JasryFp19UjXJL+7reoK0nn1WnnqZXLSgSJiL+/09foJSgVPUyg=

Prior to changing backends, Terraform inspects the source and destination
states to determine what kind of migration steps need to be taken, if any.
Terraform failed to load the states. The data in both the source and the
destination remain unmodified. Please resolve the above error and try again.[0m

[0m[0m[0m
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (terraform apply approval)
Stage "terraform apply approval" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (terraform apply)
Stage "terraform apply" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (terraform destroy approval)
Stage "terraform destroy approval" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (terraform destroy)
Stage "terraform destroy" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE


问:
I want use a child theme to change wordpress dashboard by code
I want to customize the display of the red box and add some listening events to the green box check box.
Page Screenshot

I try to write my own js file to control the above listening event, but my js file doesn't work
my php code :

```<code>add_action( 'wp_enqueue_scripts', 'multi_child_style' );
function multi_child_style() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    wp_enqueue_script( 'script', get_stylesheet_directory_uri() . '/admin/script.js', array( 'jquery' ), '', true );
}
</code>```

JS Code:

```<code>jQuery(document).ready(function () {
    console.log('hello world');
});
</code>```

Body:
I want to customize the display of the red box and add some listening events to the green box check box.
Page Screenshot

I try to write my own js file to control the above listening event, but my js file doesn't work
my php code :

add_action( 'wp_enqueue_scripts', 'multi_child_style' );
function multi_child_style() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    wp_enqueue_script( 'script', get_stylesheet_directory_uri() . '/admin/script.js', array( 'jquery' ), '', true );
}

JS Code:

jQuery(document).ready(function () {
    console.log('hello world');
});


问:
locked REF not change while moving range in openyxl. is there any solution to reefer correct cell
I am trying to move cells 6 rows below but locked ref value not changed.

My code:

```<code>kpi["TITAN EE"].move_range("A385:Z411",  rows=6,cols=0,translate=True)
</code>```

I want to change locked ref value while moving cell.

Body:
I am trying to move cells 6 rows below but locked ref value not changed.

My code:

kpi["TITAN EE"].move_range("A385:Z411",  rows=6,cols=0,translate=True)

I want to change locked ref value while moving cell.


问:
How can i automize my js.app with github actions?
I´ll try the first time an automisation of an .js Projekt wit GITHUB-ACTIONS. and i´ll deploy it automatically. Could anyone help me..

I´ve read the docs, but i´m new in this field. I could not find a answer.


问:
I'm using Sqlite3 and can't insert more than one row even with the while loop
I'm developing iOS app with Swift now and trying to use local database for a certain function. I have no problem creating the table, but no matter how I try, I cannot insert more than one row. I tried the for loop to put 8 rows at once and it says "success" when I check the status. But when I check the result by selecting the data, only the first row is in the table.

Here is my code of using the loop

```<code>    @objc func handleShowSearchBar() {
        LocalDatabaseManager.sharedInstance.createSiteTable()
        myAPI.sharedInstance.SearchClient(clientName: "") { rtCode, searchClientResult in
            if rtCode == 0 {
                var i = 0
                while i < searchClientResult.count {
                    LocalDatabaseManager.sharedInstance.insertSiteData(sequence: i, clientKey: searchClientResult[i].clientKey,
                                                                       clientName: searchClientResult[i].clientName)
                    if i == 8 {
                          break
                      }
                    i += 1
                }
            }
        } onFailed: { errCode, errMsg in
            print(errCode, errMsg)
        }
    }
</code>```

when I click the search bar, it automatically calls another API(linkSearchClient). Everything is retrieved from the searchClient function and  I can see that I'm getting the datas all correctly. But I don't know why, but it fails to insert every data at once.

```<code>    func insertSiteData(sequence: Int, clientKey: String, clientName: String) {
        let insertQuery = "insert into siteTable (sequence, clientKey, clientName) values (?, ?, ?);"
        var statement: OpaquePointer? = nil

        if sqlite3_prepare_v2(self.db, insertQuery, -1, &statement, nil) == SQLITE_OK {
            sqlite3_bind_int(statement, 1, Int32(sequence))
            sqlite3_bind_text(statement, 2, (clientKey as NSString).utf8String, -1, nil)
            sqlite3_bind_text(statement, 3, (clientName as NSString).utf8String, -1, nil)
        } else {
            print("\nsqlite binding failure")
        }
        if sqlite3_step(statement) == SQLITE_DONE {
            print("\nsqlite insertion success")
        } else {
            print("\nsqlite step failure")
        }
            sqlite3_finalize(statement)
    }
</code>```

It is my code to insert the data. I think that it only executes the first row over and over again.

so let's say I want to add
(1, abc, apple)
(2, def, banana)

but the result only shows apple even though it goes through the loop.

I'm trying to figure this out for 2 days but still no clue why it only inserts the first row.
Any kind of help would be very much appreciated.
Thank you in advance.

```<code></code>```

Body:
I'm developing iOS app with Swift now and trying to use local database for a certain function. I have no problem creating the table, but no matter how I try, I cannot insert more than one row. I tried the for loop to put 8 rows at once and it says "success" when I check the status. But when I check the result by selecting the data, only the first row is in the table.

Here is my code of using the loop

    @objc func handleShowSearchBar() {
        LocalDatabaseManager.sharedInstance.createSiteTable()
        myAPI.sharedInstance.SearchClient(clientName: "") { rtCode, searchClientResult in
            if rtCode == 0 {
                var i = 0
                while i < searchClientResult.count {
                    LocalDatabaseManager.sharedInstance.insertSiteData(sequence: i, clientKey: searchClientResult[i].clientKey,
                                                                       clientName: searchClientResult[i].clientName)
                    if i == 8 {
                          break
                      }
                    i += 1
                }
            }
        } onFailed: { errCode, errMsg in
            print(errCode, errMsg)
        }
    }

when I click the search bar, it automatically calls another API(linkSearchClient). Everything is retrieved from the searchClient function and  I can see that I'm getting the datas all correctly. But I don't know why, but it fails to insert every data at once.

    func insertSiteData(sequence: Int, clientKey: String, clientName: String) {
        let insertQuery = "insert into siteTable (sequence, clientKey, clientName) values (?, ?, ?);"
        var statement: OpaquePointer? = nil

        if sqlite3_prepare_v2(self.db, insertQuery, -1, &statement, nil) == SQLITE_OK {
            sqlite3_bind_int(statement, 1, Int32(sequence))
            sqlite3_bind_text(statement, 2, (clientKey as NSString).utf8String, -1, nil)
            sqlite3_bind_text(statement, 3, (clientName as NSString).utf8String, -1, nil)
        } else {
            print("\nsqlite binding failure")
        }
        if sqlite3_step(statement) == SQLITE_DONE {
            print("\nsqlite insertion success")
        } else {
            print("\nsqlite step failure")
        }
            sqlite3_finalize(statement)
    }

It is my code to insert the data. I think that it only executes the first row over and over again.

so let's say I want to add
(1, abc, apple)
(2, def, banana)

but the result only shows apple even though it goes through the loop.

I'm trying to figure this out for 2 days but still no clue why it only inserts the first row.
Any kind of help would be very much appreciated.
Thank you in advance.


问:
Failure to running Flutter
I new to flutter.. I'm try to running flutter app version 2.2.3 on local but I got this error. I don't have any idea how to fix it so far.

I've install same version as app.

```<code>flutter --version
Flutter 2.2.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f4abaa0735 (1 year, 6 months ago) • 2021-07-01 12:46:11 -0700
Engine • revision 241c87ad80
Tools • Dart 2.13.4
</code>```

This is the error that I am getting in debug console : when I run: flutter run --enable-software-rendering

```<code>    Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/macbookpro/downloads/flutter/.pub-cache/hosted/pub.dartlang.org/multipart_request-0.3.1/android/src/main/java/com/brainants/multipartrequest/MultipartRequestPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
An exception has occurred in the compiler (1.8.0_242-release). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.AssertionError: annotationType(): unrecognized Attribute name MODULE (class com.sun.tools.javac.util.UnsharedNameTable$NameImpl)
        at com.sun.tools.javac.util.Assert.error(Assert.java:133)
        at com.sun.tools.javac.code.TypeAnnotations.annotationType(TypeAnnotations.java:231)
        at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.separateAnnotationsKinds(TypeAnnotations.java:294)
        at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.visitVarDef(TypeAnnotations.java:1164)
        at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:852)
        at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
        at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.scan(TypeAnnotations.java:275)
        at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57)
        at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.visitClassDef(TypeAnnotations.java:1042)
        at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)
        at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
        at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.scan(TypeAnnotations.java:275)
        at com.sun.tools.javac.code.TypeAnnotations$1.run(TypeAnnotations.java:127)
        at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:152)
        at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:129)
        at com.sun.tools.javac.comp.Enter.complete(Enter.java:512)
        at com.sun.tools.javac.comp.Enter.main(Enter.java:471)
        at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:982)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:857)
        at com.sun.tools.javac.main.Main.compile(Main.java:523)
        at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
        at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
        at org.gradle.api.internal.tasks.compile.AnnotationProcessingCompileTask.call(AnnotationProcessingCompileTask.java:93)
        at org.gradle.api.internal.tasks.compile.ResourceCleaningCompilationTask.call(ResourceCleaningCompilationTask.java:57)
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:54)
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:39)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:100)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:52)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
        at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:51)
        at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:37)
        at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:39)
        at org.gradle.api.internal.tasks.compile.incremental.IncrementalCompilerFactory$2.execute(IncrementalCompilerFactory.java:101)
        at org.gradle.api.internal.tasks.compile.incremental.IncrementalCompilerFactory$2.execute(IncrementalCompilerFactory.java:97)
        at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:60)
        at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:44)
        at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:59)
        at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:51)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
        at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler.execute(CompileJavaBuildOperationReportingCompiler.java:51)
        at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:158)
        at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:126)
        at com.android.build.gradle.tasks.AndroidJavaCompile.compile(AndroidJavaCompile.kt:237)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:103)
        at org.gradle.api.internal.project.taskfactory.IncrementalTaskInputsTaskAction.doExecute(IncrementalTaskInputsTaskAction.java:47)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:42)
        at org.gradle.api.internal.project.taskfactory.AbstractIncrementalTaskAction.execute(AbstractIncrementalTaskAction.java:25)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:28)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$5.run(ExecuteActionsTaskExecuter.java:476)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:461)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:444)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$200(ExecuteActionsTaskExecuter.java:93)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:237)
        at org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$0(ExecuteStep.java:32)
        at java.util.Optional.map(Optional.java:215)
        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:32)
        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:26)
        at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:58)
        at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:35)
        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48)
        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:33)
        at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:39)
        at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:73)
        at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:54)
        at org.gradle.internal.execution.steps.CatchExceptionStep.execute(CatchExceptionStep.java:35)
        at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51)
        at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:45)
        at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:31)
        at org.gradle.internal.execution.steps.CacheStep.executeWithoutCache(CacheStep.java:208)
        at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:70)
        at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:45)
        at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:49)
        at org.gradle.internal.execution.steps.StoreSnapshotsStep.execute(StoreSnapshotsStep.java:43)
        at org.gradle.internal.execution.steps.StoreSnapshotsStep.execute(StoreSnapshotsStep.java:32)
        at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:38)
        at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:24)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:96)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:89)
        at java.util.Optional.map(Optional.java:215)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:54)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38)
        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:76)
        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:37)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:36)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:26)
        at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:90)
        at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:48)
        at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:69)
        at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:47)
        at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:140)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:62)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:108)
        at org.gradle.api.internal.tasks.execution.ResolveBeforeExecutionOutputsTaskExecuter.execute(ResolveBeforeExecutionOutputsTaskExecuter.java:67)
        at org.gradle.api.internal.tasks.execution.ResolveAfterPreviousExecutionStateTaskExecuter.execute(ResolveAfterPreviousExecutionStateTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:94)
        at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:95)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
        at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:43)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:355)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:134)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:129)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:202)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:193)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:129)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
        at java.lang.Thread.run(Thread.java:748)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 31s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                       361.4s
Exception: Gradle task assembleDebug failed with exit code 1
</code>```

Hope you all can help

Thanks in advance

Title: Failure to running Flutter

Body:
I new to flutter.. I'm try to running flutter app version 2.2.3 on local but I got this error. I don't have any idea how to fix it so far.

I've install same version as app.

flutter --version
Flutter 2.2.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f4abaa0735 (1 year, 6 months ago) • 2021-07-01 12:46:11 -0700
Engine • revision 241c87ad80
Tools • Dart 2.13.4

This is the error that I am getting in debug console : when I run: flutter run --enable-software-rendering

    Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/macbookpro/downloads/flutter/.pub-cache/hosted/pub.dartlang.org/multipart_request-0.3.1/android/src/main/java/com/brainants/multipartrequest/MultipartRequestPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
An exception has occurred in the compiler (1.8.0_242-release). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.AssertionError: annotationType(): unrecognized Attribute name MODULE (class com.sun.tools.javac.util.UnsharedNameTable$NameImpl)
        at com.sun.tools.javac.util.Assert.error(Assert.java:133)
        at com.sun.tools.javac.code.TypeAnnotations.annotationType(TypeAnnotations.java:231)
        at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.separateAnnotationsKinds(TypeAnnotations.java:294)
        at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.visitVarDef(TypeAnnotations.java:1164)
        at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:852)
        at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
        at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.scan(TypeAnnotations.java:275)
        at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57)
        at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.visitClassDef(TypeAnnotations.java:1042)
        at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)
        at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
        at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.scan(TypeAnnotations.java:275)
        at com.sun.tools.javac.code.TypeAnnotations$1.run(TypeAnnotations.java:127)
        at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:152)
        at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:129)
        at com.sun.tools.javac.comp.Enter.complete(Enter.java:512)
        at com.sun.tools.javac.comp.Enter.main(Enter.java:471)
        at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:982)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:857)
        at com.sun.tools.javac.main.Main.compile(Main.java:523)
        at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
        at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
        at org.gradle.api.internal.tasks.compile.AnnotationProcessingCompileTask.call(AnnotationProcessingCompileTask.java:93)
        at org.gradle.api.internal.tasks.compile.ResourceCleaningCompilationTask.call(ResourceCleaningCompilationTask.java:57)
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:54)
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:39)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:100)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:52)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
        at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:51)
        at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:37)
        at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:39)
        at org.gradle.api.internal.tasks.compile.incremental.IncrementalCompilerFactory$2.execute(IncrementalCompilerFactory.java:101)
        at org.gradle.api.internal.tasks.compile.incremental.IncrementalCompilerFactory$2.execute(IncrementalCompilerFactory.java:97)
        at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:60)
        at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:44)
        at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:59)
        at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:51)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
        at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler.execute(CompileJavaBuildOperationReportingCompiler.java:51)
        at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:158)
        at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:126)
        at com.android.build.gradle.tasks.AndroidJavaCompile.compile(AndroidJavaCompile.kt:237)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:103)
        at org.gradle.api.internal.project.taskfactory.IncrementalTaskInputsTaskAction.doExecute(IncrementalTaskInputsTaskAction.java:47)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:42)
        at org.gradle.api.internal.project.taskfactory.AbstractIncrementalTaskAction.execute(AbstractIncrementalTaskAction.java:25)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:28)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$5.run(ExecuteActionsTaskExecuter.java:476)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:461)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:444)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$200(ExecuteActionsTaskExecuter.java:93)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:237)
        at org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$0(ExecuteStep.java:32)
        at java.util.Optional.map(Optional.java:215)
        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:32)
        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:26)
        at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:58)
        at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:35)
        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48)
        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:33)
        at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:39)
        at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:73)
        at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:54)
        at org.gradle.internal.execution.steps.CatchExceptionStep.execute(CatchExceptionStep.java:35)
        at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51)
        at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:45)
        at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:31)
        at org.gradle.internal.execution.steps.CacheStep.executeWithoutCache(CacheStep.java:208)
        at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:70)
        at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:45)
        at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:49)
        at org.gradle.internal.execution.steps.StoreSnapshotsStep.execute(StoreSnapshotsStep.java:43)
        at org.gradle.internal.execution.steps.StoreSnapshotsStep.execute(StoreSnapshotsStep.java:32)
        at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:38)
        at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:24)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:96)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:89)
        at java.util.Optional.map(Optional.java:215)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:54)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38)
        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:76)
        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:37)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:36)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:26)
        at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:90)
        at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:48)
        at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:69)
        at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:47)
        at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:140)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:62)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:108)
        at org.gradle.api.internal.tasks.execution.ResolveBeforeExecutionOutputsTaskExecuter.execute(ResolveBeforeExecutionOutputsTaskExecuter.java:67)
        at org.gradle.api.internal.tasks.execution.ResolveAfterPreviousExecutionStateTaskExecuter.execute(ResolveAfterPreviousExecutionStateTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:94)
        at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:95)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
        at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:43)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:355)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:134)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:129)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:202)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:193)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:129)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
        at java.lang.Thread.run(Thread.java:748)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 31s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                       361.4s
Exception: Gradle task assembleDebug failed with exit code 1

Hope you all can help

Thanks in advance


问:
Can sparql count the same statement of triples?
I want to count triples with the same statement , is that possible?

I have an turtle file of ontology , and i want to count the triples in apache jena fuseki server.

for an example , i have some triples like this :

```<code>###  http://www.semanticweb.org/hp/ontologies/2022/11/Papua#pemerintah
:pemerintah rdf:type owl:NamedIndividual ,
                     :Topik ;
            :melakukan :positif ;
            :melalui :positif ;
            :meluncurkan :positif ;
            :membangun :positif ;
            :menegaskan :positif ;
            :mengalokasikan :positif ;
            :mengedepankan :positif ;
            :sejahterahkan :positif ;
            :sejahterahkan :positif ;
            :sejahterahkan :positif ;
            :sejahterahkan :positif ;
            :sejahterahkan :positif ;
            :sejahterahkan :positif .

</code>```

Can i count how many triples for :pemerintah :sejatherahkan :positif ?
when i count it , is the result is 6 or just 1?
And can you show me how to count that?

Body:
I want to count triples with the same statement , is that possible?

I have an turtle file of ontology , and i want to count the triples in apache jena fuseki server.

for an example , i have some triples like this :

###  http://www.semanticweb.org/hp/ontologies/2022/11/Papua#pemerintah
:pemerintah rdf:type owl:NamedIndividual ,
                     :Topik ;
            :melakukan :positif ;
            :melalui :positif ;
            :meluncurkan :positif ;
            :membangun :positif ;
            :menegaskan :positif ;
            :mengalokasikan :positif ;
            :mengedepankan :positif ;
            :sejahterahkan :positif ;
            :sejahterahkan :positif ;
            :sejahterahkan :positif ;
            :sejahterahkan :positif ;
            :sejahterahkan :positif ;
            :sejahterahkan :positif .

Can i count how many triples for :pemerintah :sejatherahkan :positif ?
when i count it , is the result is 6 or just 1?
And can you show me how to count that?


问:
What to do to run cytoscape library nodes above 1000 with good speed in react?
Normally, when the web upload comes, it is ready to use after 13 seconds of uploading in 10000 nodes

Can the speed be increased?

When I installed this library and used it in React, its speed was good in nodes under 5000, but in the data of 1000 thousand and above, it naturally had problems?

Can this problem be solved and the data above 1000 can be rendered well?


问:
My password always rejected when try to connect Clickhouse server
I have an issue about Clickhouse server. I ran the server on Docker and I am trying the connect server on Java language but I have an issue. My password is always rejected but my password is correct. What can I do? Where is my mistake?

```<code>public static void main(String[] args) throws Exception {
    Properties prop = new Properties();
    prop.setProperty("ssl", "false");
    prop.setProperty("sslmode", "NONE"); // NONE to trust all servers; STRICT for trusted only
    prop.setProperty("username", "default");
    prop.setProperty("password", "AufsdfFMdfsdfPffdsdBIgxasdzqqfdoıfksdfz");
    Connection conn = DriverManager.getConnection("jdbc:ch:https://localhost:18123/", prop);

    Statement stmt = conn.createStatement();
    stmt.execute("CREATE TABLE IF NOT EXISTS jdbc_test(idx Int8, str String) ENGINE = MergeTree ORDER BY idx");

    try (PreparedStatement ps = conn.prepareStatement(
            "insert into jdbc_test select col1, col2 from input('col1 Int8, col2 String')")) {
        for (int i = 0; i < 10; i++) {
            ps.setInt(1, i);
            ps.setString(2, "test:" + i); // col1
            // parameters will be write into buffered stream immediately in binary format
            ps.addBatch();
        }
        // stream everything on-hand into ClickHouse
        ps.executeBatch();
    }

    ResultSet rs = stmt.executeQuery("select * from jdbc_test");
    while (rs.next()) {
        System.out.println(String.format("idx: %s str: %s", rs.getString(1), rs.getString(2)));
    }
}
</code>```

My error below.

```<code>Exception in thread "main" java.sql.SQLException: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name.
</code>```

Body:
I have an issue about Clickhouse server. I ran the server on Docker and I am trying the connect server on Java language but I have an issue. My password is always rejected but my password is correct. What can I do? Where is my mistake?

public static void main(String[] args) throws Exception {
    Properties prop = new Properties();
    prop.setProperty("ssl", "false");
    prop.setProperty("sslmode", "NONE"); // NONE to trust all servers; STRICT for trusted only
    prop.setProperty("username", "default");
    prop.setProperty("password", "AufsdfFMdfsdfPffdsdBIgxasdzqqfdoıfksdfz");
    Connection conn = DriverManager.getConnection("jdbc:ch:https://localhost:18123/", prop);

    Statement stmt = conn.createStatement();
    stmt.execute("CREATE TABLE IF NOT EXISTS jdbc_test(idx Int8, str String) ENGINE = MergeTree ORDER BY idx");

    try (PreparedStatement ps = conn.prepareStatement(
            "insert into jdbc_test select col1, col2 from input('col1 Int8, col2 String')")) {
        for (int i = 0; i < 10; i++) {
            ps.setInt(1, i);
            ps.setString(2, "test:" + i); // col1
            // parameters will be write into buffered stream immediately in binary format
            ps.addBatch();
        }
        // stream everything on-hand into ClickHouse
        ps.executeBatch();
    }

    ResultSet rs = stmt.executeQuery("select * from jdbc_test");
    while (rs.next()) {
        System.out.println(String.format("idx: %s str: %s", rs.getString(1), rs.getString(2)));
    }
}

My error below.

Exception in thread "main" java.sql.SQLException: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name.


问:
Questions about the processing of CRNN
I'm studying the CRNN(Convolutional Recurrent Neural Network). I will use the CRNN model for image classification or gesture recognition. I have some questions about the CRNN model.

There is a video consisting of 20 frames of a 7x7 image. What is the difference between having 20 images reshaped to 7x140 and learning on the CNN model and having 20 7x7 images trained on the CRNN model?

Many studies are using the CRNN model for real-time gesture recognition. Assume that learning one gesture with 20 images. When using it in real-time, for input data, should I collect 20 images and input them all at once, or should I input one image immediately?

Much appreciated for your time

Title: Questions about the processing of CRNN


问:
FastAPI WebSocket
I have a background process, which does a file preparation after receiving a file on the endpoint.
I have a websocket defined also:

```<code>@app.websocket_route("/ws/{uid}")
async def websocket(websocket: WebSocket):
    await websocket.accept()

    await websocket.send_text("Hello")
    await websocket.close()
</code>```

This solution sends the Hello text when the user connects.

But I want to send the text only after the background process is finished.
So my aim is to define a websocket in other function and from there send the text to a websocket.
How can i do it?

Title: FastAPI WebSocket

Body:
I have a background process, which does a file preparation after receiving a file on the endpoint.
I have a websocket defined also:

@app.websocket_route("/ws/{uid}")
async def websocket(websocket: WebSocket):
    await websocket.accept()

    await websocket.send_text("Hello")
    await websocket.close()

This solution sends the Hello text when the user connects.

But I want to send the text only after the background process is finished.
So my aim is to define a websocket in other function and from there send the text to a websocket.
How can i do it?


问:
InvalidArgumentError after step 6 during my training on TPU at Kaggle
I am getting an error when I train my model with TPU on kaggle. I already looked around the internet but can get any solution. Note that it is working if I use GPU but I run OOM error.

Here is the parameter:

```<code>batch_size = 8 * strategy.num_replicas_in_sync
tensorflow v 2.4.1
TPU v3-8
</code>```

Here is my code

try: # detect TPUs
    tpu = tf.distribute.cluster_resolver.TPUClusterResolver.connect() # TPU detection
    strategy = tf.distribute.TPUStrategy(tpu)
except ValueError: # detect GPUs
    strategy = tf.distribute.MirroredStrategy() # for GPU or multi-GPU machinesof multi-GPU machines

image_shape =(224, 224,3)
batch_size = 8 * strategy.num_replicas_in_sync
N_epoch = 200 # number of epoches

# I created the model using the strategy
with strategy.scope():
    model = ... # I create the model here

def train_step(in_one, in_two):
    loss_ = model.train_on_batch([in_one,], [in_two,])
    return loss_

for epoch in range(N_epoch):
    for step, (in_one, in_two) in enumerate(zip(data_one, data_two)):
        loss_ = train_step(in_one, in_two)
        if step % 1 == 0:
            print("epoch> %d | step> %d | loss>%.2f" % (epoch+1,step, loss_))
```
<p>The training process is working fine till it's reach the step 6.</p>
<p>Here is the output of my training with the error</p>
```epoch> 1 | step> 0 | loss>0.09
epoch> 1 | step> 1 | loss>0.08
epoch> 1 | step> 2 | loss>0.07
epoch> 1 | step> 3 | loss>0.07
epoch> 1 | step> 4 | loss>0.07
epoch> 1 | step> 5 | loss>0.08
epoch> 1 | step> 6 | loss>0.07
2022-12-16 06:28:40.938812: W tensorflow/core/distributed_runtime/eager/remote_tensor_handle_data.cc:76] Unable to destroy remote tensor handles. If you are running a tf.function, it usually indicates some op in the graph gets an error: 9 root error(s) found.
  (0) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_63]]
  (1) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_95]]
  (2) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_111]]
  (3) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_47]]
  (4) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_35854588329 ... [truncated]
2022-12-16 06:28:40.940134: W ./tensorflow/core/distributed_runtime/eager/destroy_tensor_handle_node.h:57] Ignoring an error encountered when deleting remote tensors handles: Invalid argument: Unable to find the relevant tensor remote_handle: Op ID: 17806, Output num: 0
Additional GRPC error information from remote target /job:worker/replica:0/task:0:
:{"created":"@1671172120.940038755","description":"Error received from peer ipv4:10.0.0.2:8470","file":"external/com_github_grpc_grpc/src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"Unable to find the relevant tensor remote_handle: Op ID: 17806, Output num: 0","grpc_status":3}
---------------------------------------------------------------------------
InvalidArgumentError                      Traceback (most recent call last)
/tmp/ipykernel_20/2809624530.py in <module>
     11     # Train the discriminator & generator on one batch of real images.
     12     for step, (low, high) in enumerate(zip(dataL_all, dataH_all)):
---> 13         loss_ = train_step(low, high)
     14         historic.append(loss_)
     15

/tmp/ipykernel_20/2809624530.py in train_step(low, high)
      1 def train_step(low, high):
----> 2     loss_ = model.train_on_batch([low,], [high,])
      3 #     tensorboard.on_epoch_end(epoch, named_logs(model, loss_))
      4     return loss_
      5

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py in train_on_batch(self, x, y, sample_weight, class_weight, reset_metrics, return_dict)
   1729     if reset_metrics:
   1730       self.reset_metrics()
-> 1731     logs = tf_utils.to_numpy_or_python_type(logs)
   1732     if return_dict:
   1733       return logs

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/utils/tf_utils.py in to_numpy_or_python_type(tensors)
    512     return t  # Don't turn ragged or sparse tensors to NumPy.
    513
--> 514   return nest.map_structure(_to_single_numpy_or_python_type, tensors)
    515
    516

/opt/conda/lib/python3.7/site-packages/tensorflow/python/util/nest.py in map_structure(func, *structure, **kwargs)
    657
    658   return pack_sequence_as(
--> 659       structure[0], [func(*x) for x in entries],
    660       expand_composites=expand_composites)
    661

/opt/conda/lib/python3.7/site-packages/tensorflow/python/util/nest.py in <listcomp>(.0)
    657
    658   return pack_sequence_as(
--> 659       structure[0], [func(*x) for x in entries],
    660       expand_composites=expand_composites)
    661

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/utils/tf_utils.py in _to_single_numpy_or_python_type(t)
    508   def _to_single_numpy_or_python_type(t):
    509     if isinstance(t, ops.Tensor):
--> 510       x = t.numpy()
    511       return x.item() if np.ndim(x) == 0 else x
    512     return t  # Don't turn ragged or sparse tensors to NumPy.

/opt/conda/lib/python3.7/site-packages/tensorflow/python/framework/ops.py in numpy(self)
   1069     """
   1070     # TODO(slebedev): Consider avoiding a copy for non-CPU or remote tensors.
-> 1071     maybe_arr = self._numpy()  # pylint: disable=protected-access
   1072     return maybe_arr.copy() if isinstance(maybe_arr, np.ndarray) else maybe_arr
   1073

/opt/conda/lib/python3.7/site-packages/tensorflow/python/framework/ops.py in _numpy(self)
   1037       return self._numpy_internal()
   1038     except core._NotOkStatusException as e:  # pylint: disable=protected-access
-> 1039       six.raise_from(core._status_to_exception(e.code, e.message), None)  # pylint: disable=protected-access
   1040
   1041   @property

/opt/conda/lib/python3.7/site-packages/six.py in raise_from(value, from_value)

InvalidArgumentError: 9 root error(s) found.
  (0) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_63]]
  (1) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_95]]
  (2) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_111]]
  (3) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_47]]
  (4) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_35854588329 ... [truncated]
```

Body:
I am getting an error when I train my model with TPU on kaggle. I already looked around the internet but can get any solution. Note that it is working if I use GPU but I run OOM error.

Here is the parameter:

batch_size = 8 * strategy.num_replicas_in_sync
tensorflow v 2.4.1
TPU v3-8

Here is my code

try: # detect TPUs
    tpu = tf.distribute.cluster_resolver.TPUClusterResolver.connect() # TPU detection
    strategy = tf.distribute.TPUStrategy(tpu)
except ValueError: # detect GPUs
    strategy = tf.distribute.MirroredStrategy() # for GPU or multi-GPU machinesof multi-GPU machines

image_shape =(224, 224,3)
batch_size = 8 * strategy.num_replicas_in_sync
N_epoch = 200 # number of epoches

# I created the model using the strategy
with strategy.scope():
    model = ... # I create the model here

def train_step(in_one, in_two):
    loss_ = model.train_on_batch([in_one,], [in_two,])
    return loss_

for epoch in range(N_epoch):
    for step, (in_one, in_two) in enumerate(zip(data_one, data_two)):
        loss_ = train_step(in_one, in_two)
        if step % 1 == 0:
            print("epoch> %d | step> %d | loss>%.2f" % (epoch+1,step, loss_))

The training process is working fine till it's reach the step 6.

Here is the output of my training with the error

epoch> 1 | step> 0 | loss>0.09
epoch> 1 | step> 1 | loss>0.08
epoch> 1 | step> 2 | loss>0.07
epoch> 1 | step> 3 | loss>0.07
epoch> 1 | step> 4 | loss>0.07
epoch> 1 | step> 5 | loss>0.08
epoch> 1 | step> 6 | loss>0.07
2022-12-16 06:28:40.938812: W tensorflow/core/distributed_runtime/eager/remote_tensor_handle_data.cc:76] Unable to destroy remote tensor handles. If you are running a tf.function, it usually indicates some op in the graph gets an error: 9 root error(s) found.
  (0) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_63]]
  (1) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_95]]
  (2) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_111]]
  (3) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_47]]
  (4) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_35854588329 ... [truncated]
2022-12-16 06:28:40.940134: W ./tensorflow/core/distributed_runtime/eager/destroy_tensor_handle_node.h:57] Ignoring an error encountered when deleting remote tensors handles: Invalid argument: Unable to find the relevant tensor remote_handle: Op ID: 17806, Output num: 0
Additional GRPC error information from remote target /job:worker/replica:0/task:0:
:{"created":"@1671172120.940038755","description":"Error received from peer ipv4:10.0.0.2:8470","file":"external/com_github_grpc_grpc/src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"Unable to find the relevant tensor remote_handle: Op ID: 17806, Output num: 0","grpc_status":3}
---------------------------------------------------------------------------
InvalidArgumentError                      Traceback (most recent call last)
/tmp/ipykernel_20/2809624530.py in <module>
     11     # Train the discriminator & generator on one batch of real images.
     12     for step, (low, high) in enumerate(zip(dataL_all, dataH_all)):
---> 13         loss_ = train_step(low, high)
     14         historic.append(loss_)
     15

/tmp/ipykernel_20/2809624530.py in train_step(low, high)
      1 def train_step(low, high):
----> 2     loss_ = model.train_on_batch([low,], [high,])
      3 #     tensorboard.on_epoch_end(epoch, named_logs(model, loss_))
      4     return loss_
      5

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py in train_on_batch(self, x, y, sample_weight, class_weight, reset_metrics, return_dict)
   1729     if reset_metrics:
   1730       self.reset_metrics()
-> 1731     logs = tf_utils.to_numpy_or_python_type(logs)
   1732     if return_dict:
   1733       return logs

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/utils/tf_utils.py in to_numpy_or_python_type(tensors)
    512     return t  # Don't turn ragged or sparse tensors to NumPy.
    513
--> 514   return nest.map_structure(_to_single_numpy_or_python_type, tensors)
    515
    516

/opt/conda/lib/python3.7/site-packages/tensorflow/python/util/nest.py in map_structure(func, *structure, **kwargs)
    657
    658   return pack_sequence_as(
--> 659       structure[0], [func(*x) for x in entries],
    660       expand_composites=expand_composites)
    661

/opt/conda/lib/python3.7/site-packages/tensorflow/python/util/nest.py in <listcomp>(.0)
    657
    658   return pack_sequence_as(
--> 659       structure[0], [func(*x) for x in entries],
    660       expand_composites=expand_composites)
    661

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/utils/tf_utils.py in _to_single_numpy_or_python_type(t)
    508   def _to_single_numpy_or_python_type(t):
    509     if isinstance(t, ops.Tensor):
--> 510       x = t.numpy()
    511       return x.item() if np.ndim(x) == 0 else x
    512     return t  # Don't turn ragged or sparse tensors to NumPy.

/opt/conda/lib/python3.7/site-packages/tensorflow/python/framework/ops.py in numpy(self)
   1069     """
   1070     # TODO(slebedev): Consider avoiding a copy for non-CPU or remote tensors.
-> 1071     maybe_arr = self._numpy()  # pylint: disable=protected-access
   1072     return maybe_arr.copy() if isinstance(maybe_arr, np.ndarray) else maybe_arr
   1073

/opt/conda/lib/python3.7/site-packages/tensorflow/python/framework/ops.py in _numpy(self)
   1037       return self._numpy_internal()
   1038     except core._NotOkStatusException as e:  # pylint: disable=protected-access
-> 1039       six.raise_from(core._status_to_exception(e.code, e.message), None)  # pylint: disable=protected-access
   1040
   1041   @property

/opt/conda/lib/python3.7/site-packages/six.py in raise_from(value, from_value)

InvalidArgumentError: 9 root error(s) found.
  (0) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_63]]
  (1) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_95]]
  (2) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_111]]
  (3) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_358545883293887456/_5/_47]]
  (4) Invalid argument: {{function_node __inference_train_function_69334}} Compilation failure: Reshape's input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can't infer the output dimension %reshape.7586 = f32[3920,16,384]{2,1,0} reshape(f32[62720,384]{1,0} %transpose.7577), metadata={op_type="Reshape" op_name="model/swin_transformer_block_1/window_attention_1/name1/attn/qkv/Tensordot"}.
    TPU compilation failed
     [[{{node tpu_compile_succeeded_assert/_358545883293887456/_5}}]]
     [[tpu_compile_succeeded_assert/_35854588329 ... [truncated]