Ir para conteúdo
  • Cadastre-se

  • Este tópico foi criado há 1925 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

Postado (editado)

OI o meu da um erro isso no log :

 

C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(95) Error: E2029 Statement expected but '<' found
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(96) Error: E2125 EXCEPT or FINALLY expected
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(96) Error: E2029 ';' expected but 'TRY' found
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(114) Error: E2003 Undeclared identifier: 'InternalErrorCode'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(114) Error: E2003 Undeclared identifier: 'HTTPResultCode'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(114) Error: E2003 Undeclared identifier: 'AURL'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(115) Error: E2003 Undeclared identifier: 'E'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(116) Error: E2029 '.' expected but ';' found
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(52) Error: E2065 Unsatisfied forward or external declaration: 'TDFeHttpWinHttp.ConfigConnection'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(53) Error: E2065 Unsatisfied forward or external declaration: 'TDFeHttpWinHttp.GetLastErrorDesc'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(60) Error: E2065 Unsatisfied forward or external declaration: 'TDFeHttpWinHttp.Abortar'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeSSL.pas(2786) Fatal: F2063 Could not compile used unit 'ACBrDFeHttpWinApi.pas'
Compilation failure
Erro ao compilar o pacote "ACBr_DFeComum.dpk".

Editado por dreamsoft_PR
  • Moderadores
Postado

Você deve ter tido conflitos na atualização por conta de alterações locais.

Use a opção "Resolve" do TortoiseSVN pra resolver os conflitos, ou reverta os fontes pra descartar as alterações locais.

Equipe ACBr BigWings
Ajude o Projeto ACBr crescer - Assine o SAC

Projeto ACBr

 

 

Postado

fiz isso limpou mas deu o mesmo erro

Embarcadero Delphi for Win32 compiler version 30.0
Copyright (c) 1983,2015 Embarcadero Technologies, Inc.
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(95) Error: E2029 Statement expected but '<' found
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(96) Error: E2125 EXCEPT or FINALLY expected
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(96) Error: E2029 ';' expected but 'TRY' found
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(114) Error: E2003 Undeclared identifier: 'InternalErrorCode'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(114) Error: E2003 Undeclared identifier: 'HTTPResultCode'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(114) Error: E2003 Undeclared identifier: 'AURL'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(115) Error: E2003 Undeclared identifier: 'E'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(116) Error: E2029 '.' expected but ';' found
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(52) Error: E2065 Unsatisfied forward or external declaration: 'TDFeHttpWinHttp.ConfigConnection'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(53) Error: E2065 Unsatisfied forward or external declaration: 'TDFeHttpWinHttp.GetLastErrorDesc'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(60) Error: E2065 Unsatisfied forward or external declaration: 'TDFeHttpWinHttp.Abortar'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeSSL.pas(2786) Fatal: F2063 Could not compile used unit 'ACBrDFeHttpWinApi.pas'
Compilation failure
Erro ao compilar o pacote "ACBr_DFeComum.dpk".
Abortando... Ocorreram erros na compilação dos pacotes.

  • Moderadores
Postado
4 minutos atrás, dreamsoft_PR disse:

fiz isso limpou mas deu o mesmo erro

Se o erro continua ainda deve ter conflitos.

5 minutos atrás, dreamsoft_PR disse:

C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(95) Error: E2029 Statement expected but '<' found

Abra esse fonte e veja como está a linha 95:

image.png

Como pode ver não tem caractere "<" aí...

Equipe ACBr BigWings
Ajude o Projeto ACBr crescer - Assine o SAC

Projeto ACBr

 

 

  • Consultores
Postado

Exclui a pastas Lib de dentro da pasta do svn

 

Consultora ACBr Pro

Juliomar Marchetti

Ajude o Projeto ACBr crescer - Seja Pro

discord: juliomar
telegram: juliomar
e-mail: [email protected]
http://www.juliomarmarchetti.com.br

 

MVP_NewLogo_100x100_Transparent-02.png
Projeto ACBr - A maior comunidade Open Source de Automação Comercial do Brasil


Participe de nosso canal no Discord e fique ainda mais próximo da Comunidade !!

Postado (editado)
4 horas atrás, BigWings disse:

Se o erro continua ainda deve ter conflitos.

Abra esse fonte e veja como está a linha 95:

image.png

Como pode ver não tem caractere "<" aí...

tem esse

procedure TDFeHttpWinHttp.Execute;
begin
  inherited;

  // Enviando, dispara exceptions no caso de erro //
  try
//<<<<<<< .mine anulei esse 
    try
      // Enviando, dispara exceptions no caso de erro //
      FWinHTTPReqResp.Execute(ConteudoXML, Resp);
      // DEBUG //
      //Resp.SaveToFile('c:\temp\ReqResp.xml');

      Resp.Position := 0;
      Result := String( ReadStrFromStream(Resp, Resp.Size) );

      // Verifica se o ResultCode é: 200 OK; 201 Created; 202 Accepted
      // https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
      if not (FWinHTTPReqResp.HTTPResultCode in [200, 201, 202]) then
        raise EACBrDFeException.Create(Result);

    except
      On E: Exception do
      begin
        raise EACBrDFeException.CreateDef( Format( cACBrDFeSSLEnviarException,
                                           [InternalErrorCode, HTTPResultCode, AURL] ) + sLineBreak +
                                           E.Message ) ;
      end;
    end;
/// .r18406
    try
      // Enviando, dispara exceptions no caso de erro //
      FWinHTTPReqResp.Execute(ConteudoXML, Resp);
      // DEBUG //
      //Resp.SaveToFile('c:\temp\ReqResp.xml');

      Resp.Position := 0;
      Result := String( ReadStrFromStream(Resp, Resp.Size) );

      // Verifica se o ResultCode é: 200 OK; 201 Created; 202 Accepted
      // https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
      if not (FWinHTTPReqResp.HTTPResultCode in [200, 201, 202]) then
        raise EACBrDFeException.Create('');

    except
      On E: Exception do
      begin
        raise EACBrDFeException.CreateDef( Format( cACBrDFeSSLEnviarException,
                                           [InternalErrorCode, HTTPResultCode, AURL] ) + sLineBreak +
                                           E.Message ) ;
      end;
    end;
=======
    FWinHTTPReqResp.Execute(DataResp);
    HeaderResp.Text := FWinHTTPReqResp.HeaderResp.Text;
///.r21492
  finally
    FpHTTPResultCode := FWinHTTPReqResp.HttpResultCode;
    FpInternalErrorCode := FWinHTTPReqResp.InternalErrorCode;
  end;

  // DEBUG //
  //DataResp.SaveToFile('c:\temp\ReqResp.xml');
end;
 

3 horas atrás, Juliomar Marchetti disse:

Exclui a pasta Lib de dentro da pasta do svn

exclui tambem a pasta mas o erro continua

agora deu isso:

 

Compiling package C:\Componentes Delphi10\ACBR\Pacotes\Delphi\ACBrDFe\ACBr_DFeComum.dpk
"C:\Program Files (x86)\Embarcadero\Studio\17.0\bin\dcc32.exe" "C:\Componentes Delphi10\ACBR\Pacotes\Delphi\ACBrDFe\ACBr_DFeComum.dpk"
Embarcadero Delphi for Win32 compiler version 30.0
Copyright (c) 1983,2015 Embarcadero Technologies, Inc.
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(98) Error: E2003 Undeclared identifier: 'ConteudoXML'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(98) Error: E2003 Undeclared identifier: 'Resp'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(102) Error: E2066 Missing operator or semicolon
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(103) Error: E2003 Undeclared identifier: 'Result'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(103) Error: E2029 ')' expected but identifier 'Size' found
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(107) Error: E2066 Missing operator or semicolon
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(114) Error: E2003 Undeclared identifier: 'AURL'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(121) Error: E2250 There is no overloaded version of 'Execute' that can be called with these arguments
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(125) Error: E2066 Missing operator or semicolon
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(126) Error: E2029 ')' expected but identifier 'Size' found
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(130) Error: E2066 Missing operator or semicolon
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(133) Error: E2029 'END' expected but 'EXCEPT' found
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(135) Error: E2029 ';' expected but 'BEGIN' found
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(137) Error: E2003 Undeclared identifier: 'InternalErrorCode'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(137) Error: E2003 Undeclared identifier: 'HTTPResultCode'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(137) Error: E2003 Undeclared identifier: 'AURL'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(138) Error: E2003 Undeclared identifier: 'E'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(139) Error: E2029 '.' expected but ';' found
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(52) Error: E2065 Unsatisfied forward or external declaration: 'TDFeHttpWinHttp.ConfigConnection'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(53) Error: E2065 Unsatisfied forward or external declaration: 'TDFeHttpWinHttp.GetLastErrorDesc'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeHttpWinApi.pas(60) Error: E2065 Unsatisfied forward or external declaration: 'TDFeHttpWinHttp.Abortar'
C:\Componentes Delphi10\ACBR\Fontes\ACBrDFe\ACBrDFeSSL.pas(2786) Fatal: F2063 Could not compile used unit 'ACBrDFeHttpWinApi.pas'
Compilation failure
Erro ao compilar o pacote "ACBr_DFeComum.dpk".
Abortando... Ocorreram erros na compilação dos pacotes.
 

Editado por dreamsoft_PR
mudei o texto
  • Consultores
Postado

Isso dai geralmente é coisas do windows ou antivirus que não apaga os arquivos e fica preso

 

Consultora ACBr Pro

Juliomar Marchetti

Ajude o Projeto ACBr crescer - Seja Pro

discord: juliomar
telegram: juliomar
e-mail: [email protected]
http://www.juliomarmarchetti.com.br

 

MVP_NewLogo_100x100_Transparent-02.png
Projeto ACBr - A maior comunidade Open Source de Automação Comercial do Brasil


Participe de nosso canal no Discord e fique ainda mais próximo da Comunidade !!

  • Consultores
Postado

Obrigado por reportar.

Fechando. Para novas dúvidas, criar um novo tópico.

 

Consultora ACBr Pro

Juliomar Marchetti

Ajude o Projeto ACBr crescer - Seja Pro

discord: juliomar
telegram: juliomar
e-mail: [email protected]
http://www.juliomarmarchetti.com.br

 

MVP_NewLogo_100x100_Transparent-02.png
Projeto ACBr - A maior comunidade Open Source de Automação Comercial do Brasil


Participe de nosso canal no Discord e fique ainda mais próximo da Comunidade !!

  • Este tópico foi criado há 1925 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.
Visitante
Este tópico está agora fechado para novas respostas
×
×
  • Criar Novo...

Informação Importante

Colocamos cookies em seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies, caso contrário, assumiremos que você está bem para continuar.

The popup will be closed in 10 segundos...
The popup will be closed in 10 segundos...