php – PHPMailer erro ao criar :$mail = new PHPMailer();

Estou a tentar mandar um email pelo localhost e me da sempre um erro ao criar o objeto: $mail = new PHPMailer(); Aqui esta uma imagem do erro: https://i.stack.imgur.com/GKPdD.png

<?php
    use PHPMailerPHPMailerPHPMailer;
    if (isset($_POST('name')) && isset($_POST('email'))) {
        $name = $_POST('name');
        $email = $_POST('email');
        $subject = $_POST('subject');
        $body = $_POST('body');

        require "PHPMailer/PHPMailer.php";
        require "PHPMailer/SMTP.php";
        require "PHPMailer/Exception.php";

        $mail = new PHPMailer();

        //SMTP Settings
        $mail->isSMTP();
        $mail->Host = "smtp.gmail.com";
        $mail->SMTPAuth = true;
        $mail->Username = "email";
        $mail->Password = 'pass';
        $mail->Port = 587; //465 ou 587
        $mail->SMTPSecure = "ssl"; //ssl ou tls

        //Email Settings
        $mail->isHTML(true);
        $mail->setFrom($email, $name);
        $mail->addAddress("email");
        $mail->Subject = $subject;
        $mail->Body = $body;


        if ($mail->send()) {
            $status = "success";
            $response = "Email is sent!";
        } else {
            $status = "failed";
            $response = "Something is wrong: <br><br>" . $mail->ErrorInfo;
        }

        exit(json_encode(array("status" => $status, "response" => $response)));


    }
?>

php – Datatable erro 1

Bom dia, sim eu pesquisei horas e não encontrei uma solução para o meu problema.
Seguinte não retorna nada no datatables, e aparece o erro 1. Warning: Invalid JSON response – DataTables, eu abri o debug no firefox e na response não aparece nada!

Eu baixei o ssp.class.php no github https://github.com/DataTables/DataTablesSrc/blob/master/examples/server_side/scripts/ssp.class.php, deletei as 4 linhas que eles pedem, mais o erro ainda aparece!
Em minhas pesquisas achei que colocando este trecho “dataSrc” : “” iria resolver mais nada!

HTML

<div class="table-responsive">
<table class="table table-hover table-secondary" id="view-cargas">
    <thead>
        <tr>
            <th scope="col">Origem</th>
            <th scope="col">Destino</th>
            <th scope="col">Produto</th>
            <th scope="col">Peso</th>
            <th scope="col">Carroceria</th>
            <th scope="col">Pagamento</th>
        </tr>
    </thead>
    <tfoot>
        <tr>
            <th scope="col">Origem</th>
            <th scope="col">Destino</th>
            <th scope="col">Produto</th>
            <th scope="col">Peso</th>
            <th scope="col">Carroceria</th>
            <th scope="col">Pagamento</th>
        </tr>
    </tfoot>
</table>

Jquery

$(document).ready(function(){

    $('#view-cargas').DataTable({
        "language": {
            "url": "<?= HOME;?>/js/datatable-ptbr.json"
        },
        "processing": true,
        "serverSide": true,
        "ajax": {
            "url": "<?= HOME;?>/cargas/ajax/list-item-datatable.php",
            "dataSrc" : "",
            "type": "POST"
        }
    });
});

PHP

<?php
include_once('../../init.php');

$table = 'bt_cargas';
$primaryKey = 'id';

// Matriz de colunas do banco de dados que deve ser lida e enviada de volta para o DataTables.
// O parâmetro `db` representa o nome da coluna no banco de dados, enquanto o parâmetro` dt
// Representa o identificador da coluna DataTables. Nesse caso, thead e tfoot
$columns = array(
    array( 'db' => 'origem_cidade',     'dt' => 0 ),
    array( 'db' => 'destino_estado',    'dt' => 1 ),
    array( 'db' => 'produto_carga',     'dt' => 2 ),
    array( 'db' => 'pagamento',         'dt' => 3 ),
    array( 'db' => 'carroceria',        'dt' => 4 ),
    array( 'db' => 'tipo_carroceria',   'dt' => 5 )
);

$sql_details = array(
    'user' => USERNAME, //Usuário do banco de dados
    'pass' => PASSWORD, //Senha do banco de dados
    'db'   => DATABASE, //Banco de dados
    'host' => HOSTNAME  //Host
);

require_once (DIR.'/ssp.class.php');
echo json_encode(
    SSP::simple( $_POST, $sql_details, $table, $primaryKey, $columns );
);

javascript – Erro com arquivo.js: Unexpected identifier

Estou com um problema no código quando inicializa (linha 176, marquei com um *)

var tabuleiro = document.getElementById('tab')
var espacos = document.getElementsByName('espacos')
var botao_reiniciar = document.getElementById('botao_reiniciar')

var Menu_Versus_X = document.getElementById('Menu_Versus_X')             //menu, para mudar a cor, desing indicativo de quem vai jogar
var Menu_Versus_O = document.getElementById('Menu_Versus_O')

var pontos_X = 0
var pontos_O = 0
var vitoria = false                       
var placar = document.getElementById('placar')
var contagem_para_empate = 0
//----------Variável nescessária para a condição de quem esta jogando (Quem_Joga)(Condição 1*) e escolha aleatória de quem comeca--------

var opcoes = ("X","O");
var Quem_Joga = ((opcoes(Math.random() < 0.5 ? 0 : 1)));
window.alert(`'${Quem_Joga}' começa! O jogo vai até 3 pontos!`)

//----------------------------------------------------------------------------------------

function Selecionar_Espaco(){  //(JOGO SE BASEA NESSA FUNCTION)
    
    if (vitoria == false) {                  //se a vitória for false, continue o jogo, se vitoria for true, ele acaba
        
        var espaco_selecionado = event.target   //Identificação de qual div (a1, a2...) o jogador esta clicando

         //------------------------ERRO se a casa clicada ja estiver selecionada-----------------------------------------------------
        if (espaco_selecionado.innerHTML == 'X' || espaco_selecionado.innerHTML == 'O' || espaco_selecionado == tabuleiro){  
            window.alert('Casa já selecionada!')
            return
        }
        //------------------------------------------------------------------------------------------------------

        contagem_para_empate += 1                //se ela ficar = 9 o progama da empate (9 quadrados) (*3)

        //----------------------------------QUEM TA JOGANDO X--------------------------------------

        if (Quem_Joga == 'X'){ //(1*)       //Jogador1: marcação da casa e analise de qual jogador vai jogar
            Menu_Versus_X.style.color = 'black'
            Menu_Versus_O.style.color = 'greenyellow'
            espaco_selecionado.innerHTML = 'X'
            Quem_Joga = 'O'                //Quando o jogador1 jogar, tal recebe 'O' (quer dizer que a proxima condicao(1*) sera falsa, passando a vez para o jogador2(2*)) 

//----------------------------------------------------CONDICOES DE VITORIA JOGADOR X---------------------------------------------------------
        if ((a1.innerHTML == 'X' && a2.innerHTML == 'X' && a3.innerHTML == 'X') || (b1.innerHTML == 'X' &&  b2.innerHTML == 'X' && b3.innerHTML == 'X') || (c1.innerHTML == 'X' && c2.innerHTML == 'X' && c3.innerHTML == 'X') || (a1.innerHTML == 'X' && b2.innerHTML == 'X' && c3.innerHTML == 'X') || (a3.innerHTML == 'X' && b2.innerHTML == 'X' && c1.innerHTML == 'X') || (a1.innerHTML == 'X' && b1.innerHTML == 'X' && c1.innerHTML == 'X') || (a2.innerHTML == 'X' && b2.innerHTML == 'X' && c2.innerHTML == 'X') || (a3.innerHTML == 'X' && b3.innerHTML == 'X' && c3.innerHTML == 'X')){     

            if (pontos_X < 2){     
                pontos_X += 1
                contagem_para_empate = 0
                window.alert(` Rodada ganhada pelo jogador1 ( X ) ! `)
                espacos.forEach(function(n){
                    n.innerHTML = '';
                })

            }else{           //Se o ponto de X for NÃO for menor que dois (quer dizer q vai ser  = 3) entao ele ganha (vai ate 3 pontos)
                window.alert('VITORIA DO JOGADOR1 ( X )')
                pontos_X += 1
                vitoria = true
                Menu_Versus_O.style.color = 'red'
                Menu_Versus_X.style.color = 'blue'
            }

        }
        //------------------------------------------------------------------------------------------------------------------------------------

            //----------------------------------QUEM TA JOGANDO O--------------------------------------
        }else{ //(2*)  
            espaco_selecionado.innerHTML = 'O'        //Jogador2
            Quem_Joga = 'X'
            Menu_Versus_O.style.color = 'black'
            Menu_Versus_X.style.color = 'greenyellow'

            //------------------------------------------CONDICOES DE VITORIA JOGADOR O---------------------------------------------------------
            if ((a1.innerHTML == 'O' && a2.innerHTML == 'O' && a3.innerHTML == 'O') || (b1.innerHTML == 'O' &&  b2.innerHTML == 'O' && b3.innerHTML == 'O') || (c1.innerHTML == 'O' && c2.innerHTML == 'O' && c3.innerHTML == 'O') || (a1.innerHTML == 'O' && b2.innerHTML == 'O' && c3.innerHTML == 'O') || (a3.innerHTML == 'O' && b2.innerHTML == 'O' && c1.innerHTML == 'O') || (a1.innerHTML == 'O' && b1.innerHTML == 'O'  && c1.innerHTML == 'O') || (a2.innerHTML == 'O' && b2.innerHTML == 'O' && c2.innerHTML == 'O') || (a3.innerHTML == 'O' && b3.innerHTML == 'O' && c3.innerHTML == 'O')){     

                if (pontos_O < 2){     
                    pontos_O += 1
                    window.alert(` Rodada ganhada pelo jogador1 ( O ) ! `)
                    contagem_para_empate = 0
*                    espacos.forEach(function(n){
                        n.innerHTML = '';
                    })

                }else{
                    window.alert('VITORIA DO JOGADOR1 ( O )')
                    pontos_O += 1
                    vitoria = true
                    Menu_Versus_X.style.color = 'red'
                    Menu_Versus_O.style.color = 'blue'
                }

            }
            //------------------------------------------------------------------------------------------------------------------------------
        }

        placar.innerHTML = `<fieldset>${pontos_X} X ${pontos_O}</fieldset>` //mudanca do placar se tiver vitoria (esta dentro do bloco (if vitoria = false))

        //--------------------------------------EMPATE---------------------------------------------------
        if (contagem_para_empate == 9){  //(*3)
                window.alert('EMPATE')
                contagem_para_empate = 0

                espacos.forEach(function(n){
                    n.innerHTML = '';
                })
            }
        //------------------------------------------------------------------------------------------
        
    }   

}

//----------Reinicia pontos, placar, contagem_empate - coloca vitora como false novamente - escolhe um player - limpa a tabela---------------
function reiniciar(){
    espacos.forEach(function(n){
        n.innerHTML = '';
    });

    pontos_O = 0
    pontos_X = 0
    contagem_para_empate = 0
    vitoria = false

    Quem_Joga = ((opcoes(Math.random() < 0.5 ? 0 : 1)));
    window.alert(`'${Quem_Joga}' começa! O jogo vai até 3 pontos!`)

    placar.innerHTML = `<fieldset>${pontos_X} X ${pontos_O}</fieldset>`
    Menu_Versus_O.style.color = 'black'
    Menu_Versus_X.style.color = 'black'
}

Electron gerando o erro “gl_utils(316)… GL_INVALID_OPERATION”

Algumas vezes quando eu executo minha aplicação em Electron, é impresso no console (da aplicação e não do browser) a seguinte mensagem:

(10596::0630/003827.588:ERROR:gl_utils.cc(316)) (.DisplayCompositor) GL_INVALID_O
PERATION: invalid maibox name.
(10596::0630/003827.588:ERROR:gl_utils.cc(316)) (.DisplayCompositor) GL_INVALID_O
PERATION: texture is not a shared image.

Aparentemente esse erro não está gerando problemas na aplicação, porém ainda assim algumas vezes essa mensagem é impressa e eu gostaria de saber o porquê disso.

Infelizmente não vou poder colocar meu código aqui pois a minha aplicação já está muito grande e eu não tenho a menor ideia do porquê deste erro para conseguir localizar o bloco de código que está causando isso.

Mas para ajudar a encontrar a solução, os únicos códigos que possuem ligação com o Electron é o arquivo principal que contém apenas o mesmo código presente na documentação do framework, e um pequeno bloco de código em um dos arquivos HTML para alterar a configuração da janela.

const browserWindow = electron.remote.getCurrentWindow();
browserWindow.setResizable(true);
browserWindow.setSize(1280, 720);
browserWindow.center();

Não preciso que apontem linha de código ou algo do tipo. Apenas quero saber quais as causas para gerar este erro e o que deve ser feito a respeito.

excel – importar dados XML eSocial / erro namespace versão diferente

Cada alteração da CTPS Digital gera um evento no eSocial, o qual disponibiliza um arquivo XML.
Exporto todos os eventos para um pasta e crio um relatório no excel.
Ocorre que após a mudança da versão v02_04 para a v02_05, o namespace mudou.
Passou de:

Para:

Quando vou em no Excel / Desenvolvedor / Importar, não importa os dados dos arquivos gerados pela versão atual.

Como faço para alterar o Código-fonte do Mapa XML para considerar os dois namespace como válidos?
Obrigado

javascript – Erro no efeito de transição de imagem

Criei uma pagina com efeito de transição na imagem com jquery e Javascript baseado em um tutorial, porém ao adiconar o Jquery e javascript não aparece as imagens.

Segue o codigo JS:

       $(window).scroll(function(){
        var $window = $(window),
        $body = ('body'),
        $panel = $('.section');

        var scroll = $window.scrollTop() + ($window.height() / 3);

        $panel.each(function(){
            var $this = $(this);
            if ($this.position().top <= scroll && $this.position().top + $this.height() > scroll){
                $body.removeClass(function (index, css){
                    return (css.match (/(^|s)color-s+/g) || ().join(' '));});

                    $('.section').removeClass('active');
                    $this.addClass('active');
                    
                    }
                    });
                    }).scroll();

Esse é o codigo com o js que daria o efeito nas imagens: http://ugla.us/com-javascript/

Sem o Javascript ta a parte HTML e CSS ta 100% porém falta o js não está funcionando: http://ugla.us/sem-javascript/

Se alguemm poder dar uma força, fiz e refiz o tutorial porém não deu certo.

javascript – Angular 9 + erro ao passar variável na função direto do html

Galera, tenho uma dúvida sobre um erro que eu não entendo o porque. Tenho uma função que eu executo mediante a um clique, essa função tem que passar um único valor e está passando(testado via console.log). Função abaixo:

  removeL(form) {
    form = { idAcesso: form };
    console.log(form); // Testado e retornando tudo certo // idAcesso: "4"
    this.passosService.postRemoveL(form).subscribe(
      data => {
        if (!data.erro) {
          window.location.reload();
        }
      });
  }

  postRemoveL(form) {
    const url = 'http://localhost:80/admecp/admegp/getLC.php?xp0d1s6to=' + this.token;
    return this.http.post<any>(url, JSON.stringify(form))
      .pipe(map(dados => {
        return dados.invalid? this.authService.gout() : dados;
      }));
  }
  console.log(JSON.stringify(form)); // "idAcesso":"4"

O problema é que ele não retorna o valor esperado, se eu coloco o número 4 manualmente, ele retorna certo this.passosService.postRemoveL('4').

Se eu coloco manualmente o número 4 numa variável e passo a variável, ele retorna corretamente também.
form = { idAcesso: '4'};

código HTML:

<a href="javascript:;" class="mr-2 text-danger" (click)="removeL(item.id)">
  <i class="fas fa-minus-circle fa-xs"></i>
</a>

E advinha, se eu coloco manualmente o número 4 no HTML, ele funciona!!! (click)="removeL(4)" .

Por favor, alguém sabe o problema? Eu já testei o back com o postman e phpmyadmin, então sei que o problema dificilmente é nele, fora que este backend é mais pra testar, não sou o resposável por esta parte, mas na dúvida, vou postar o código também.

  if($method === 'POST'){
    $body = file_get_contents('php://input');
    $text = postaDadosUsers ($_GET('xp0d1s6to'), json_decode($body, true));
    echo $text;
    exit;
  }

  function postaDadosUsers($tk, $dados){
    $id = $dados('idAcesso');
    $link = connect ();
    if ($result = mysqli_query($link, "call adm_remvl_stu('$tk','$id')")) {
        mysqli_close($link);
        if($row = mysqli_fetch_row($result)){
            if ($row(0) == 'fr'){
                return json_encode($resp = array('invalid' => $row(0)));
            }
            return json_encode($resp = array('ok' => $row(0)));
        }
    }
  }

Ele não retorna erro. O código da requisição é 200, mas falta a resposta, além de não atualizar o BD.

Com o postman, tudo funciona, testando na aplicação mas inserindo os valores de forma manual, também funciona.

E aí? Alguma luz? Grato desde já!!!

java – Não consigo encontrar uma solução para este erro: Cannot unwrap Serializable to format other than byte[]

Estou desenvolvendo um projeto pessoal com a finalidade de aprender um pouco de JPA, mas estou tenddo problemas em minha aplicação. Já tentei adicionar novas dependencias no projeto, mas não deu certo, ja tentei utilizar outras interfaces mas tambem não rolou.
Aqui vai o codigo:

Classe Client.java

package br.com.jpa.banco.model;

import java.math.BigInteger;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.transaction.Transactional;

import org.apache.commons.lang3.SerializationUtils;
import org.hibernate.id.IdentifierGeneratorHelper.BigIntegerHolder;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Entity
@Table(name = “clients”)
@Data
@EqualsAndHashCode
@NoArgsConstructor
@Transactional
public class Clients {

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column
private BigIntegerHolder idClients;

@Column
private String loginCliente;

@Column
private String password;

}

Classe ClientDAO.java:

package br.com.jpa.banco.persist;

import java.io.Serializable;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import javax.swing.text.html.ObjectView;

import com.fasterxml.jackson.annotation.JsonUnwrapped;

import br.com.jpa.banco.model.Clients;

public class ClientDAO{

static EntityManagerFactory emf = Persistence.createEntityManagerFactory("Clients-PU");

public static EntityManager getEntityManager() {
    return emf.createEntityManager();
}

public void saveClients(Clients cli) throws Exception{
    
    EntityManager manager  = getEntityManager();
    
    manager.getTransaction().begin();
    
    
    
    manager.persist(cli);
    
    manager.getTransaction().commit();
}

CadClient.java

package br.com.jpa.banco.interfaces;

import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.SQLException;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JTextField;

import br.com.jpa.banco.model.Clients;
import br.com.jpa.banco.persist.ClientDAO;

public class CadClientes {

private JFrame cadastroDeClientes;
private JLabel lbLogin,lbSenha;
private JTextField txLogin, txSenha;
private JButton btCadastro, btFechar;

public void setCadastroDeClientes() {
    cadastroDeClientes = new JFrame();
    cadastroDeClientes.setSize(300, 200);
    cadastroDeClientes.getContentPane().add(getLbLogin());
    cadastroDeClientes.getContentPane().add(getLbSenha());
    cadastroDeClientes.getContentPane().add(getTxLogin());
    cadastroDeClientes.getContentPane().add(getTxSenha());
    cadastroDeClientes.getContentPane().add(getBtCadastro());
    cadastroDeClientes.getContentPane().add(getBtFechar());
    cadastroDeClientes.setLocationRelativeTo(null);
    cadastroDeClientes.setLayout(null);
    cadastroDeClientes.setVisible(true);
}

public JLabel getLbLogin() {
    lbLogin = new JLabel("Login");
    lbLogin.setBounds(10, 10, 100, 20);
    return lbLogin;
}

public JLabel getLbSenha() {
    lbSenha = new JLabel("Senha");
    lbSenha.setBounds(10, 40, 100, 20);
    return lbSenha;
}

public JTextField getTxLogin() {
    txLogin = new JTextField();
    txLogin.setBounds(60, 10, 100, 20);
    return txLogin;
}

public JTextField getTxSenha() {
    txSenha = new JTextField();
    txSenha.setBounds(60, 40, 100, 20);
    return txSenha;
}

public JButton getBtCadastro() {
    btCadastro = new JButton("Cadastro");
    btCadastro.setBounds(10, 80, 100, 40);
    btCadastro.addActionListener(new ActionListener() {
                @Override
        public void actionPerformed(ActionEvent e) {
            if(txLogin.getText().equals("")&&txSenha.getText().equals("")) {
                JOptionPane.showMessageDialog(null, "Entre com login e senha");
            }else {
                Clients client = new Clients();
                ClientDAO dao = new ClientDAO();
                client.setLoginCliente(txLogin.getText());
                client.setPassword(txSenha.getText());
                
                try {
                    dao.saveClients(client);
                } catch (Exception e1) {
                    e1.printStackTrace();
                    System.out.println(e1.getMessage());
                    JOptionPane.showMessageDialog(null, e1.getMessage());
                }                   
                
                JOptionPane.showMessageDialog(null, "cadastrado");
                txLogin.setText("");
                txSenha.setText("");
            }
        }
    });
    return btCadastro;
}

public JButton getBtFechar() {
    btFechar = new JButton("Fechar");
    btFechar.setBounds(120, 80, 100, 40);
    btFechar.setBackground(Color.red);
    btFechar.addActionListener(new ActionListener() {
        @Override
        public void actionPerformed(ActionEvent e) {
            cadastroDeClientes.dispose();
        }
    });
    return btFechar;
}

public static void main(String() args) {
    new CadClientes().setCadastroDeClientes();
}

}

persistence.xml:

<?xml version="1.0" encoding="UTF-8"?>

org.hibernate.jpa.HibernatePersistenceProvider
br.com.jpa.banco.model.Clients

    <properties>
        <property name="hibernate.cache.provider_class" value="org.hibernate.cache.SingletonEhCacheProvider" />

        <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5Dialect" />
        <property name="hibernate.hbm2ddl.auto" value="update" />
        <property name="hibernate.show_sql" value="false" />
        <property name="hibernate.format_sql" value="true" />

        <property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver" />
        <property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/banco?useTimezone=true&amp;serverTimezone=UTC" />
        <property name="javax.persistence.jdbc.user" value="root" />
        <property name="javax.persistence.jdbc.password" value="root" />
    
</properties>

</persistence-unit>

pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

4.0.0
JPAProject
JPAProject
0.0.1-SNAPSHOT

src

src

**/*.java

maven-compiler-plugin
3.8.0

1.8
1.8

org.hibernate.javax.persistence
hibernate-jpa-2.1-api
1.0.2.Final

org.projectlombok
lombok
1.18.10
provided

mysql
mysql-connector-java
8.0.19

org.hibernate.orm
hibernate-core
6.0.0.Alpha2

    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-entitymanager</artifactId>
        <version>5.4.6.Final</version>
    </dependency>
    
    
    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-annotations</artifactId>
        <version>3.5.6-Final</version>
    </dependency>

    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-api</artifactId>
        <version>2.0.0-alpha1</version>
    </dependency>
    
            
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-lang3</artifactId>
      <version>3.10</version>
    </dependency>
    
    <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-annotations</artifactId>
        <version>2.10.4</version>
    </dependency>
    
            

antlr
antlr
2.7.7

dom4j
dom4j
1.6.1

org.hibernate.validator
hibernate-validator
6.0.18.Final

org.javassist
javassist
3.26.0-GA

org.jboss.logging
jboss-logging
3.4.1.Final

org.jboss.logmanager
jboss-logmanager
2.1.14.Final
test

org.jboss.spec.javax.transaction
jboss-transaction-api_1.1_spec
1.0.1.Final

Erro que está aparecendo:

jun 20, 2020 9:14:38 PM org.hibernate.jpa.internal.util.LogHelper logPersistenceUnitInformation

INFO: HHH000204: Processing PersistenceUnitInfo (
name: Clients-PU
…)
jun 20, 2020 9:14:38 PM org.hibernate.Version logVersion
INFO: HHH000412: Hibernate Core {6.0.0.Alpha2}
jun 20, 2020 9:14:38 PM org.hibernate.cfg.Environment
INFO: HHH000206: hibernate.properties not found
jun 20, 2020 9:14:38 PM org.hibernate.annotations.common.reflection.java.JavaReflectionManager
INFO: HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
jun 20, 2020 9:14:39 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
WARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class is com.mysql.cj.jdbc.Driver’. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
jun 20, 2020 9:14:39 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
INFO: HHH10001005: using driver (com.mysql.jdbc.Driver) at URL (jdbc:mysql://localhost:3306/banco?useTimezone=true&serverTimezone=UTC)
jun 20, 2020 9:14:39 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
INFO: HHH10001001: Connection properties: {password=****, user=root}
jun 20, 2020 9:14:39 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
INFO: HHH10001003: Autocommit mode: false
jun 20, 2020 9:14:39 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections
INFO: HHH000115: Hibernate connection pool size: 20 (min=1)
jun 20, 2020 9:14:40 PM org.hibernate.dialect.Dialect
INFO: HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
jun 20, 2020 9:14:40 PM org.hibernate.envers.boot.internal.EnversServiceImpl configure
INFO: Envers integration enabled? : true
jun 20, 2020 9:14:40 PM org.hibernate.envers.boot.internal.AdditionalJaxbMappingProducerImpl produceAdditionalMappings
INFO: Generating Envers XML mappings.
jun 20, 2020 9:14:40 PM org.hibernate.validator.internal.util.Version
INFO: HV000001: Hibernate Validator 6.0.18.Final
jun 20, 2020 9:14:41 PM org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl getIsolatedConnection
INFO: HHH10001501: Connection obtained from JdbcConnectionAccess (org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@5f07d031) for (non-JTA) DDL execution was not in auto-commit mode; the Connection ‘local transaction’ will be committed and the Connection will be set into auto-commit mode.
jun 20, 2020 9:14:41 PM org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator initiateService
INFO: HHH000490: Using JtaPlatform implementation: (org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform)
java.lang.UnsupportedOperationException: Cannot unwrap Serializable to format other than byte()
at org.hibernate.type.descriptor.java.spi.JavaTypeDescriptorRegistry$OnTheFlySerializableJavaDescriptor.unwrap(JavaTypeDescriptorRegistry.java:261)
at org.hibernate.type.descriptor.java.spi.JavaTypeDescriptorRegistry$OnTheFlySerializableJavaDescriptor.unwrap(JavaTypeDescriptorRegistry.java:226)
at org.hibernate.type.descriptor.sql.spi.VarbinarySqlDescriptor$1.doBind(VarbinarySqlDescriptor.java:67)
at org.hibernate.sql.AbstractJdbcValueBinder.bind(AbstractJdbcValueBinder.java:69)
at org.hibernate.sql.ast.tree.expression.LiteralParameter.bindParameterValue(LiteralParameter.java:86)
at org.hibernate.sql.exec.internal.JdbcMutationExecutorImpl.execute(JdbcMutationExecutorImpl.java:61)
at org.hibernate.sql.exec.internal.JdbcMutationExecutorImpl.execute(JdbcMutationExecutorImpl.java:109)
at org.hibernate.metamodel.model.domain.internal.entity.SingleTableEntityTypeDescriptor.executeOperation(SingleTableEntityTypeDescriptor.java:768)
at org.hibernate.metamodel.model.domain.internal.entity.SingleTableEntityTypeDescriptor.executeInsert(SingleTableEntityTypeDescriptor.java:384)
at org.hibernate.metamodel.model.domain.internal.entity.SingleTableEntityTypeDescriptor.executeInsert(SingleTableEntityTypeDescriptor.java:376)
at org.hibernate.metamodel.model.domain.internal.entity.SingleTableEntityTypeDescriptor.insertInternal(SingleTableEntityTypeDescriptor.java:204)
at org.hibernate.metamodel.model.domain.spi.AbstractEntityTypeDescriptor.insert(AbstractEntityTypeDescriptor.java:885)
at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:79)
at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:643)
at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:278)
at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:259)
at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:313)
at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:392)
at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:301)
at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:208)
at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:139)
at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)
at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)
at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:59)
at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:776)
at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:761)
at br.com.jpa.banco.persist.ClientDAO.saveClients(ClientDAO.java:37)
at br.com.jpa.banco.interfaces.CadClientes$1.actionPerformed(CadClientes.java:77)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6636)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6401)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

python 3.x – erro ao instalar o chatterbot

Microsoft Windows (versão 10.0.19041.329)
(c) 2020 Microsoft Corporation. Todos os direitos reservados.

C:Usersdai>pip3 install chatterbot
Collecting chatterbot
Using cached ChatterBot-1.0.5-py2.py3-none-any.whl (67 kB)
Requirement already satisfied: pymongo<4.0,>=3.3 in c:usersdaiappdatalocalprogramspythonpython38-32libsite-packages (from chatterbot) (3.10.1)
Collecting mathparse<0.2,>=0.1
Using cached mathparse-0.1.2-py3-none-any.whl (7.2 kB)
Collecting python-dateutil<2.8,>=2.7
Using cached python_dateutil-2.7.5-py2.py3-none-any.whl (225 kB)
Collecting spacy<2.2,>=2.1
Using cached spacy-2.1.9.tar.gz (30.7 MB)
Installing build dependencies … error
ERROR: Command errored out with exit status 1:
command: ‘c:usersdaiappdatalocalprogramspythonpython38-32python.exe’ ‘c:usersdaiappdatalocalprogramspythonpython38-32libsite-packagespip’ install –ignore-installed –no-user –prefix ‘C:UsersdaiAppDataLocalTemppip-build-env-agir421yoverlay’ –no-warn-script-location –no-binary :none: –only-binary :none: -i https://pypi.org/simple — setuptools ‘wheel>0.32.0,<0.33.0’ Cython ‘cymem>=2.0.2,<2.1.0’ ‘preshed>=2.0.1,<2.1.0’ ‘murmurhash>=0.28.0,<1.1.0’ ‘thinc>=7.0.8,<7.1.0’
cwd: None
Complete output (128 lines):
Collecting setuptools
Using cached setuptools-47.3.1-py3-none-any.whl (582 kB)
Collecting wheel<0.33.0,>0.32.0
Using cached wheel-0.32.3-py2.py3-none-any.whl (21 kB)
Collecting Cython
Using cached Cython-0.29.20-cp38-cp38-win32.whl (1.6 MB)
Collecting cymem<2.1.0,>=2.0.2
Using cached cymem-2.0.3.tar.gz (51 kB)
Collecting preshed<2.1.0,>=2.0.1
Using cached preshed-2.0.1.tar.gz (113 kB)
Collecting murmurhash<1.1.0,>=0.28.0
Using cached murmurhash-1.0.2.tar.gz (35 kB)
Collecting thinc<7.1.0,>=7.0.8
Using cached thinc-7.0.8.tar.gz (1.9 MB)
Collecting blis<0.3.0,>=0.2.1
Using cached blis-0.2.4.tar.gz (1.5 MB)
Collecting wasabi<1.1.0,>=0.0.9
Using cached wasabi-0.6.0-py3-none-any.whl (20 kB)
Processing c:usersdaiappdatalocalpipcachewheelsde98d27bcfd18543fcec187232f52d9e378de821ca1eeb5cc1cd5af0srsly-1.0.2-cp38-cp38-win32.whl
Collecting numpy>=1.7.0
Using cached numpy-1.18.5-cp38-cp38-win32.whl (10.8 MB)
Collecting plac<1.0.0,>=0.9.6
Using cached plac-0.9.6-py2.py3-none-any.whl (20 kB)
Collecting tqdm<5.0.0,>=4.10.0
Using cached tqdm-4.46.1-py2.py3-none-any.whl (63 kB)
Building wheels for collected packages: cymem, preshed, murmurhash, thinc, blis
Building wheel for cymem (setup.py): started
Building wheel for cymem (setup.py): still running…
Building wheel for cymem (setup.py): finished with status ‘done’
Created wheel for cymem: filename=cymem-2.0.3-cp38-cp38m-win32.whl size=30419 sha256=db4bd79278c357da61768b246e19447ea0a6ed91a05d9c0cafb85c31d936709c
Stored in directory: c:usersdaiappdatalocalpipcachewheels43d7c84c0244e21da410478ba980042a9bffcda25dabd89abef2b16e
Building wheel for preshed (setup.py): started
Building wheel for preshed (setup.py): finished with status ‘done’
Created wheel for preshed: filename=preshed-2.0.1-cp38-cp38m-win32.whl size=69054 sha256=52fa268d955dd29480aed4c8dfe390e82224047beee44dfb9846860bf10a8adf
Stored in directory: c:usersdaiappdatalocalpipcachewheels5ad0297f6993a759349eae3d0ecca7e2fbc88acdd8650b25e6c6ad8a
Building wheel for murmurhash (setup.py): started
Building wheel for murmurhash (setup.py): finished with status ‘done’
Created wheel for murmurhash: filename=murmurhash-1.0.2-cp38-cp38m-win32.whl size=20255 sha256=78b743c3ee5945a42d47e4d9c78d890a7f61fe20ee2008df5db0200f21b578a5
Stored in directory: c:usersdaiappdatalocalpipcachewheels5f275d8a3fd6c561d8e9153367deae8537016079687c7229e6a78a4
Building wheel for thinc (setup.py): started
Building wheel for thinc (setup.py): still running…
Building wheel for thinc (setup.py): still running…
Building wheel for thinc (setup.py): still running…
Building wheel for thinc (setup.py): finished with status ‘done’
Created wheel for thinc: filename=thinc-7.0.8-cp38-cp38-win32.whl size=1880699 sha256=29a4ad7a5f30c57f3585055b0e7116063a66d903d0061878ced0ea7dc149bd4e
Stored in directory: c:usersdaiappdatalocalpipcachewheelsf45bcc8a96be826c5d22ca28e3c30f785b22edc57ffb2d349fa780be
Building wheel for blis (setup.py): started
Building wheel for blis (setup.py): finished with status ‘error’
ERROR: Command errored out with exit status 1:
command: ‘c:usersdaiappdatalocalprogramspythonpython38-32python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv(0) = ‘”‘”‘C:UsersdaiAppDataLocalTemppip-install-0tt7d6szblissetup.py'”‘”‘; file='”‘”‘C:UsersdaiAppDataLocalTemppip-install-0tt7d6szblissetup.py'”‘”‘;f=getattr(tokenize, ‘”‘”‘open'”‘”‘, open)(file);code=f.read().replace(‘”‘”‘rn'”‘”‘, ‘”‘”‘n'”‘”‘);f.close();exec(compile(code, file, ‘”‘”‘exec'”‘”‘))’ bdist_wheel -d ‘C:UsersdaiAppDataLocalTemppip-wheel-h44n5kyd’
cwd: C:UsersdaiAppDataLocalTemppip-install-0tt7d6szblis
Complete output (31 lines):
BLIS_COMPILER? None
running bdist_wheel
running build
running build_py
creating build
creating buildlib.win32-3.8
creating buildlib.win32-3.8blis
copying blisabout.py -> buildlib.win32-3.8blis
copying blisbenchmark.py -> buildlib.win32-3.8blis
copying blis_init_.py -> buildlib.win32-3.8blis
creating buildlib.win32-3.8blistests
copying blistestscommon.py -> buildlib.win32-3.8blistests
copying blisteststest_dotv.py -> buildlib.win32-3.8blistests
copying blisteststest_gemm.py -> buildlib.win32-3.8blistests
copying blistests_init_.py -> buildlib.win32-3.8blistests
copying bliscy.pyx -> buildlib.win32-3.8blis
copying blispy.pyx -> buildlib.win32-3.8blis
copying bliscy.pxd -> buildlib.win32-3.8blis
copying blis_init_.pxd -> buildlib.win32-3.8blis
running build_ext
c:usersdaiappdatalocalprogramspythonpython38-32libsite-packagesCythonCompilerMain.py:369: FutureWarning: Cython directive ‘language_level’ not set, using 2 for now (Py2). This will change in a later release! File: C:UsersdaiAppDataLocalTemppip-install-0tt7d6szblisbliscy.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
c:usersdaiappdatalocalprogramspythonpython38-32libsite-packagesCythonCompilerMain.py:369: FutureWarning: Cython directive ‘language_level’ not set, using 2 for now (Py2). This will change in a later release! File: C:UsersdaiAppDataLocalTemppip-install-0tt7d6szblisblispy.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
Processing bliscy.pyx
Processing blispy.pyx
error: (WinError 2) O sistema não pode encontrar o arquivo especificado
msvc
py_compiler msvc
{‘LS_COLORS’: ‘rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:’, ‘HOSTTYPE’: ‘x86_64’, ‘LESSCLOSE’: ‘/usr/bin/lesspipe %s %s’, ‘LANG’: ‘C.UTF-8’, ‘OLDPWD’: ‘/home/matt/repos/flame-blis’, ‘VIRTUAL_ENV’: ‘/home/matt/repos/cython-blis/env3.6’, ‘USER’: ‘matt’, ‘PWD’: ‘/home/matt/repos/cython-blis’, ‘HOME’: ‘/home/matt’, ‘NAME’: ‘LAPTOP-OMKOB3VM’, ‘XDG_DATA_DIRS’: ‘/usr/local/share:/usr/share:/var/lib/snapd/desktop’, ‘SHELL’: ‘/bin/bash’, ‘TERM’: ‘xterm-256color’, ‘SHLVL’: ‘1’, ‘LOGNAME’: ‘matt’, ‘PATH’: ‘/home/matt/repos/cython-blis/env3.6/bin:/tmp/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu/Scripts:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu:/mnt/c/Python37/Scripts:/mnt/c/Python37:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/WiFi/bin:/mnt/c/Program Files/Common Files/Intel/WirelessCommon:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/LLVM/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files/nodejs:/mnt/c/Users/matt/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/matt/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/matt/AppData/Roaming/npm:/snap/bin:/mnt/c/Program Files/Oracle/VirtualBox’, ‘PS1’: ‘(env3.6) (e)0;u@h: wa)${debian_chroot:+($debian_chroot)}(33(01;32m)u@h(33(00m):(33(01;34m)w(33(00m)$ ‘, ‘VAGRANT_HOME’: ‘/home/matt/.vagrant.d/’, ‘LESSOPEN’: ‘| /usr/bin/lesspipe %s’, ‘‘: ‘/home/matt/repos/cython-blis/env3.6/bin/python’}
clang -c C:UsersdaiAppDataLocalTemppip-install-0tt7d6szblisblis_srcconfigbulldozerbli_cntx_init_bulldozer.c -o C:UsersdaiAppDataLocalTemptmpiabp5mm7bli_cntx_init_bulldozer.o -O2 -funroll-all-loops -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING=”0.5.0-6″ -DBLIS_IS_BUILDING_LIBRARY -Iincludewindows-x86_64 -I.frame3 -I.frameindukernels -I.frame1m -I.frame1f -I.frame1 -I.frameinclude -IC:UsersdaiAppDataLocalTemppip-install-0tt7d6szblisblis_srcincludewindows-x86_64
—————————————-
ERROR: Failed building wheel for blis
Running setup.py clean for blis
Successfully built cymem preshed murmurhash thinc
Failed to build blis
Installing collected packages: setuptools, wheel, Cython, cymem, preshed, murmurhash, numpy, blis, wasabi, srsly, plac, tqdm, thinc
Running setup.py install for blis: started
Running setup.py install for blis: finished with status ‘error’
ERROR: Command errored out with exit status 1:
command: ‘c:usersdaiappdatalocalprogramspythonpython38-32python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv(0) = ‘”‘”‘C:UsersdaiAppDataLocalTemppip-install-0tt7d6szblissetup.py'”‘”‘; file='”‘”‘C:UsersdaiAppDataLocalTemppip-install-0tt7d6szblissetup.py'”‘”‘;f=getattr(tokenize, ‘”‘”‘open'”‘”‘, open)(file);code=f.read().replace(‘”‘”‘rn'”‘”‘, ‘”‘”‘n'”‘”‘);f.close();exec(compile(code, file, ‘”‘”‘exec'”‘”‘))’ install –record ‘C:UsersdaiAppDataLocalTemppip-record-j6my9qklinstall-record.txt’ –single-version-externally-managed –prefix ‘C:UsersdaiAppDataLocalTemppip-build-env-agir421yoverlay’ –compile –install-headers ‘C:UsersdaiAppDataLocalTemppip-build-env-agir421yoverlayIncludeblis’
cwd: C:UsersdaiAppDataLocalTemppip-install-0tt7d6szblis
Complete output (31 lines):
BLIS_COMPILER? None
running install
running build
running build_py
creating build
creating buildlib.win32-3.8
creating buildlib.win32-3.8blis
copying blisabout.py -> buildlib.win32-3.8blis
copying blisbenchmark.py -> buildlib.win32-3.8blis
copying blis_init
.py -> buildlib.win32-3.8blis
creating buildlib.win32-3.8blistests
copying blistestscommon.py -> buildlib.win32-3.8blistests
copying blisteststest_dotv.py -> buildlib.win32-3.8blistests
copying blisteststest_gemm.py -> buildlib.win32-3.8blistests
copying blistests_init_.py -> buildlib.win32-3.8blistests
copying bliscy.pyx -> buildlib.win32-3.8blis
copying blispy.pyx -> buildlib.win32-3.8blis
copying bliscy.pxd -> buildlib.win32-3.8blis
copying blis_init_.pxd -> buildlib.win32-3.8blis
running build_ext
c:usersdaiappdatalocalprogramspythonpython38-32libsite-packagesCythonCompilerMain.py:369: FutureWarning: Cython directive ‘language_level’ not set, using 2 for now (Py2). This will change in a later release! File: C:UsersdaiAppDataLocalTemppip-install-0tt7d6szblisbliscy.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
c:usersdaiappdatalocalprogramspythonpython38-32libsite-packagesCythonCompilerMain.py:369: FutureWarning: Cython directive ‘language_level’ not set, using 2 for now (Py2). This will change in a later release! File: C:UsersdaiAppDataLocalTemppip-install-0tt7d6szblisblispy.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
Processing bliscy.pyx
Processing blispy.pyx
error: (WinError 2) O sistema não pode encontrar o arquivo especificado
msvc
py_compiler msvc
{‘LS_COLORS’: ‘rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:’, ‘HOSTTYPE’: ‘x86_64’, ‘LESSCLOSE’: ‘/usr/bin/lesspipe %s %s’, ‘LANG’: ‘C.UTF-8’, ‘OLDPWD’: ‘/home/matt/repos/flame-blis’, ‘VIRTUAL_ENV’: ‘/home/matt/repos/cython-blis/env3.6’, ‘USER’: ‘matt’, ‘PWD’: ‘/home/matt/repos/cython-blis’, ‘HOME’: ‘/home/matt’, ‘NAME’: ‘LAPTOP-OMKOB3VM’, ‘XDG_DATA_DIRS’: ‘/usr/local/share:/usr/share:/var/lib/snapd/desktop’, ‘SHELL’: ‘/bin/bash’, ‘TERM’: ‘xterm-256color’, ‘SHLVL’: ‘1’, ‘LOGNAME’: ‘matt’, ‘PATH’: ‘/home/matt/repos/cython-blis/env3.6/bin:/tmp/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu/Scripts:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu:/mnt/c/Python37/Scripts:/mnt/c/Python37:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/WiFi/bin:/mnt/c/Program Files/Common Files/Intel/WirelessCommon:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/LLVM/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files/nodejs:/mnt/c/Users/matt/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/matt/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/matt/AppData/Roaming/npm:/snap/bin:/mnt/c/Program Files/Oracle/VirtualBox’, ‘PS1’: ‘(env3.6) (e)0;u@h: wa)${debian_chroot:+($debian_chroot)}(33(01;32m)u@h(33(00m):(33(01;34m)w(33(00m)$ ‘, ‘VAGRANT_HOME’: ‘/home/matt/.vagrant.d/’, ‘LESSOPEN’: ‘| /usr/bin/lesspipe %s’, ‘_’: ‘/home/matt/repos/cython-blis/env3.6/bin/python’}
clang -c C:UsersdaiAppDataLocalTemppip-install-0tt7d6szblisblis_srcconfigbulldozerbli_cntx_init_bulldozer.c -o C:UsersdaiAppDataLocalTemptmpmxjmzh02bli_cntx_init_bulldozer.o -O2 -funroll-all-loops -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING=”0.5.0-6″ -DBLIS_IS_BUILDING_LIBRARY -Iincludewindows-x86_64 -I.frame3 -I.frameindukernels -I.frame1m -I.frame1f -I.frame1 -I.frameinclude -IC:UsersdaiAppDataLocalTemppip-install-0tt7d6szblisblis_srcincludewindows-x86_64
—————————————-
ERROR: Command errored out with exit status 1: ‘c:usersdaiappdatalocalprogramspythonpython38-32python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv(0) = ‘”‘”‘C:UsersdaiAppDataLocalTemppip-install-0tt7d6szblissetup.py'”‘”‘; file='”‘”‘C:UsersdaiAppDataLocalTemppip-install-0tt7d6szblissetup.py'”‘”‘;f=getattr(tokenize, ‘”‘”‘open'”‘”‘, open)(file);code=f.read().replace(‘”‘”‘rn'”‘”‘, ‘”‘”‘n'”‘”‘);f.close();exec(compile(code, file, ‘”‘”‘exec'”‘”‘))’ install –record ‘C:UsersdaiAppDataLocalTemppip-record-j6my9qklinstall-record.txt’ –single-version-externally-managed –prefix ‘C:UsersdaiAppDataLocalTemppip-build-env-agir421yoverlay’ –compile –install-headers ‘C:UsersdaiAppDataLocalTemppip-build-env-agir421yoverlayIncludeblis’ Check the logs for full command output.

ERROR: Command errored out with exit status 1: ‘c:usersdaiappdatalocalprogramspythonpython38-32python.exe’ ‘c:usersdaiappdatalocalprogramspythonpython38-32libsite-packagespip’ install –ignore-installed –no-user –prefix ‘C:UsersdaiAppDataLocalTemppip-build-env-agir421yoverlay’ –no-warn-script-location –no-binary :none: –only-binary :none: -i https://pypi.org/simple — setuptools ‘wheel>0.32.0,<0.33.0’ Cython ‘cymem>=2.0.2,<2.1.0’ ‘preshed>=2.0.1,<2.1.0’ ‘murmurhash>=0.28.0,<1.1.0’ ‘thinc>=7.0.8,<7.1.0’ Check the logs for full command output.

dart – Flutter – estou tendo um erro snapshot stream

estou fazendo um app de taxi moto e quero que as requisicoes feitas pelos passageiros estejam dentro de um range de 500 metros por ex para os motoristas
Tenho um app móbile com backend do firebase. Estou usando streams para retornar dados do BD. Como posso modificar o stream de dados antes de renderizar não tela de app com condições. Ele passa pela condicao no log. Mas renderiza todos dados na telainserir a descrição da imagem aqui