getting error while executing liquibase as file not found in loaddata - liquibase

1.getting error as file not found while execution loaddata in liquibase execution
2.file is present in same folder but still gives exception
3.error
liquibase.exception.UnexpectedLiquibaseException: Data file Billing_APIs_CSV.csv was not found

Related

ImportError: DLL load failed while importing QtCore: . Failed to execute script file.exe due to unhandled exception

I'm using python 3.8 via anaconda.
I created a .py file and converted it to .exe file with pyinstaller. When I try to open the .exe file (Atualiza_Bases_dados_GUI.exe) I get the error:
ImportError: DLL load failed while importing QtCore: . Failed to execute file.exe script due to unhandled exception!
enter image description here
Can anyone help me?
Thanks

Running SSIS packages as SQL Server Agent Job failed

it is the first time and my first post in "stackoverflow" and I hope, that you can help me regarding my project.
Once I start the corresponding Job in SSMS, which I have created, I get the following error message:
Executed as user: XXXX Microsoft (R) SQL Server Execute Package
Utility Version 13.0.5026.0 for 32-bit Copyright (C) 2016 Microsoft.
All rights reserved. Started: 15:36:23 Error: 2021-10-11
15:36:23.51 Code: 0xC0011007 Source:
{BE14993C-9347-4920-8C3C-97E254866D05} Description: Unable to
load the package as XML because of package does not have a valid XML
format. A specific XML parser error will be posted. End Error Error:
2021-10-11 15:36:23.51 Code: 0xC0011002 Source:
{BE14993C-9347-4920-8C3C-97E254866D05} Description: Failed to
open package file "D:\Test\XXX.dtsx" due to error 0x80070003 "The
system cannot find the path specified.". This occurs when loading a
package and the file cannot be opened or loaded correctly into the XML
document. This can be the result of specifying an incorrect file name
when calling LoadPackage or the specified XML file has an incorrect
format. End Error Could not load package "D:\Test\XXXX.dtsx" because
of error 0xC0011002. Description: Failed to open package file
"D:\Test\XXXX.dtsx" due to error 0x80070003 "The system cannot find
the path specified.". This occurs when loading a package and the file
cannot be opened or loaded correctly into the XML document. This can
be the result of specifying an incorrect file name when calling
LoadPackage or the specified XML file has an incorrect format.
Source: {BE14993C-9347-4920-8C3C-97E254866D05} Started: 15:36:23
Finished: 15:36:23 Elapsed: 0.016 seconds. The package could not be
found. The step failed.
I have already tried the following points:
The permissions which I log in on the appropriate server, etc.
I have created a "Credential" & "Proxy" and configurated/managed it
Check the "DelayValidation" in Visual Studio (is "True")
TargetServerVersion is on "SQL Server 2019"
Security => ProtectionLevel is on "EncryptSensitiveWithUserKey"
Many thanks for your assist.
Best Regards,
Safak
I see that the path of the package using is a path server server. If that's the case replace it with UNC path in format //machinename/ c$/...
The account executing package from job has no access to path. If that's the case give account access to the path

Build failed.Step 2: Build and initialize the new recipe. Initialize the system

I'm trying to install Spartacus for SAP Commerce 2005 following the guide:
https://sap.github.io/spartacus-docs/installing-sap-commerce-cloud-2005/
At Step 2-3 (Initialize the system using the following command) I've got an error:
[testClassesScanner] Found 12 ordercalculation testclasses in 7.191 ms
[touch] Creating C:\CX2005\hybris\temp\hybris\touch\ordercalculation_testsrctouch
[copy] Copying 1 file to C:\CX2005\hybris\bin\modules\integration-apis\outboundservices
[copy] Copying 1 file to C:\CX2005\hybris\bin\modules\integration-apis\outboundservices
[mkdir] Created dir: C:\CX2005\hybris\bin\modules\integration-apis\outboundservices\classes
[copy] Copying 1 file to C:\CX2005\hybris\bin\modules\integration-apis\odata2services
[copy] Copying 1 file to C:\CX2005\hybris\bin\modules\integration-apis\odata2services
[mkdir] Created dir: C:\CX2005\hybris\bin\modules\integration-apis\odata2services\classes
[yjavac] Compiling 73 source files to C:\CX2005\hybris\bin\modules\integration-apis\outboundservices\classes
[yjavac] Compiling 396 source files to C:\CX2005\hybris\bin\modules\integration-apis\odata2services\classes
[touch] Creating C:\CX2005\hybris\temp\hybris\touch\outboundservices_srctouch
[groovyc] Compiling 26 source files to C:\CX2005\hybris\bin\modules\integration-apis\outboundservices\classes
[touch] Creating C:\CX2005\hybris\temp\hybris\touch\odata2services_srctouch
[groovyc] Compiling 150 source files to C:\CX2005\hybris\bin\modules\integration-apis\odata2services\classes
[testClassesScanner] Found 218 odata2services testclasses in 16.72 ms
[touch] Creating C:\CX2005\hybris\temp\hybris\touch\odata2services_testsrctouch
BUILD FAILED
C:\CX2005\hybris\bin\platform\build.xml:13: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\compiling.xml:75: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\compiling.xml:116: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\util.xml:42: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\util.xml:44: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\compiling.xml:123: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\compiling.xml:340: The following error occurred while executing this line:
C:\CX2005\hybris\bin\modules\platform\groovynature\buildcallbacks.xml:33: BUG! exception in phase 'semantic analysis' in source unit 'C:\CX2005\hybris\bin\modules\integrati
n-apis\outboundservices\testsrc\de\hybris\platform\outboundservices\client\RestTemplateFactoryIntegrationTest.groovy' null
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:980)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:651)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:600)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:583)
at org.codehaus.groovy.tools.FileSystemCompiler.compile(FileSystemCompiler.java:75)
at org.codehaus.groovy.tools.FileSystemCompiler.doCompilation(FileSystemCompiler.java:243)
at org.codehaus.groovy.ant.Groovyc.runCompiler(Groovyc.java:1206)
at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:1258)
at org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:853)
The last part of the log:
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:976)
... 102 more
Total time: 10 minutes 32 seconds
> Task :recipes:cx-for-spa:buildSystem FAILED
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\CX2005\installer\recipes\cx-for-spa\build.gradle' line: 594
* What went wrong:
Execution failed for task ':recipes:cx-for-spa:buildSystem'.
> external process returned non-zero exit code, command: [cmd, /c, set "ANT_OPTS=-Xmx1024m -Dfile.encoding=UTF-8" & set "PLATFORM_HOME=C:\CX2005\hybris\bin\platform" & set "ANT_HOME=C:\CX2005\hybris\bin\platform\apache-ant" & set "PATH=C:\CX2005\hybris\bin\platform\apache-ant\bin;%PATH%" & ant clean all]
Any ideas how to resolve this?
Regards,
Jegors
Commenting out below line in installer/customconfig/custom.properties resolved the issue.
#build.parallel=true
I had the same problem, maybe you should install Grunt and that is all.
I hope to be resolved your answer
Good Luck
Try after removing NodeJS path environment variable in windows.
Reffer this discussion from answers.sap.com, will help.

executeprocess error in nifi

i have hive in hdinsight cluster and nifi in my local machine.
i am trying to execute a hive script from executeprocess processor which has properties set as below:
command: hive
command argument: -f /home/name/firstq.hql
Redirect Error Stream: true
i have controller services to hiveconnection pool. when i start the processor, the error is thrown as shown below:
o.a.n.processors.standard.ExecuteProcess ExecuteProcess[id=d5db18b2-0159-1000-6569-c054490cbfa5] Failed to create process due to java.io.IOException: Cannot run program "hive": CreateProcess error=2, The system cannot find the file specified: java.io.IOException: Cannot run program "hive": CreateProcess error=2, The system cannot find the file specified
org.apache.nifi.util.ReflectionUtils Failed while invoking annotated method 'public void org.apache.nifi.processors.standard.ExecuteProcess.shutdownExecutor()' with arguments '[]'.
i have tried the command argument by giving the local machine path too. though same error is thrown.
in the script, i am trying to insert one row into the existing table.
please help me what am i doing wrong.
thanks

FIP Deployment Error

We are deploying on one of our server and we have below error.
ERROR: tooltwist.fip.FipException Unknown response from server: 500: Internal Server Error
Exception: tooltwist.fip.FipException: tooltwist.fip.FipException: Unknown response from server: 500: Internal Server Error
Looking at the FIP log, it shows:
Error installing batch: tooltwist.fip.FipException: Pre-commit command failed: protected/pre_commit.sh
tooltwist.fip.FipException: Pre-commit command failed: protected/pre_commit.sh
at tooltwist.fip.FipServer_updateExecuter.commitTransaction(FipServer_updateExecuter.java:309)
at tooltwist.fip.FipServer_updateExecuter.prepareUpdates_1_3(FipServer_updateExecuter.java:250)
at tooltwist.fip.FipServer_updateExecuter.executeUpdates(FipServer_updateExecuter.java:142)
at tooltwist.fip.FipServer.destination_installBatchOfFiles(FipServer.java:199)
at tooltwist.fip.jetty.InstallBatchServlet.doPost(InstallBatchServlet.java:134)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:426)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:931)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:361)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
at org.eclipse.jetty.server.Server.handle(Server.java:337)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:581)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1020)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:775)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:228)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:417)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:474)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:437)
at java.lang.Thread.run(Thread.java:662)
Any idea about the error?
Couple of suggestions:
1. Does the pre_commit.sh shell script exist on the server.
2. Does it have +x permissions?
If FIP was installed using the normal way, it should not cause an issue.
The fipserver initially saves files it receives on the destination server, but into temporary locations. Once all of the files have been received and saved it runs a three step process to complete the installation:
1. Run a script named protected/pre-commit.sh. The normal operation of this script is to shut down the web server.
2. For each new file:
a) move any existing file to .fip-rollback-xxxxxx/filename.
b) move the new file from it's temporary location to the correct location.
3. Run a script named protected/post-commit.sh. This most commonly restarts the server.
The pre and post commit scripts are user provided. They should should normally exit with a status of zero, as any other status indicates that an error has occurred.
As suggested in the previous answer, check that these scripts exist, and that they are executable. If this fails to solve your problem, insert debug into the scripts to determine where and why they are failing.