Unable to extract Zip file using unzip step in kettle - kettle

I am tring to extract an 2gb file using pantaho kittle unzip step . But I am getting below error.
Unzip file - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : Error
Can any one help me in doing so.
Thanks

Most probably you did not set the target directory in the unzip step:
"Unzipped files" / "Target Directory"

Related

QwtPlot3D build on Windows

I downloaded QwtPlot3D project from here
https://sourceforge.net/projects/qwtplot3d/files/
When I run qmake on the project file in the zip, I get following result:
WARNING: Unable to generate output for: C:/path/Makefile.Debug [TEMPLATE vclib]
QIODevice::write: device not open
Same when I try to build from QtCreator.
Any ideas ?
Thank you very much.
You are creating the file in a location that does not exist on the computer.
You could change the location of the folder to be created.

Unable to unzip .zip file on linux machine

I have a large ~10GB zip file that was created using the standard Windows method (right click, select "send to compressed (zipped) folder"). I am able to unzip it just file on my Macbook.
I'm trying to unzip it on an EC2 machine. I know the file is a zip file because when I run file file.zip it says:
file.zip: Zip archive data, at least v2.0 to extract
Running unzip returns the following error:
Archive: file.zip
warning [file.zip]: 3082769992 extra bytes at beginning or within zipfile
(attempting to process anyway)
error [file.zip]: start of central directory not found;
zipfile corrupt.
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)
Running tar xvf file.zip returns the following:
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains `<{\204\027\333"D\344\210\321o\331' where numeric off_t value expected
tar: Archive contains `S\354\202},F\3546\276[\265\273' where numeric time_t value expected
tar: Archive contains ``3c\254\372$:e' where numeric uid_t value expected
tar: Archive contains `\265\306\025+ÜĞL\352' where numeric gid_t value expected
...etc
Does anyone know what might be going wrong?
Actually, 7-zip should makes this well, you can install it by:
sudo apt-get install p7zip-full
Then, you can extract your zip file as follows:
7z e file.zip
If your zip archive has 88,000 files and you are dealing with ~10Gig of content, you will need an unzip program that supports the zip64 extension.
You can check if your unzip program supports zip64 like this
$ unzip -v | grep -i zip64
ZIP64_SUPPORT (archives using Zip64 for large files supported)
If it doesn't have ZIP64_SUPPORT, you are out of luck. I suspect your unzip doesn't support zip64.
Alternatives are to get a version of unzip that does support zip64 or use an alternative program, like z-zip.
Your Entire File did not zip most probably and you prematurely moved it. At Least that was the issue with me.
I was unable to install 7z on my machine due to no sudo access, but I managed to repair the archive using
zip -FF archive.zip --out archive_repaired.zip -fz
and unzip worked on the repaired archive.
I found the solution via this github issue

TFS Build step for replace file name from Service-AMR.deploy to Service.deploy

I am new for creation of NuGet Package. Somehow I managed to create NuGet Package as my solution. But, I am facing few problems in my solution. Based on regions, I am using the configuration file. for example, i am having following config files in my solution.
1) Service-AMR.config
2) Service-EUR.config
During build, i want to convert above files to service.config in AMR folder and same for another one. I have tried copy files task and failed.
Please help., Thanks in advance.
To simply rename a file name on the build agent, you could use cmd.exe in a command line task to rename files. Here's an example :
Arguments: String.Format("/c rename ""{0}"" ""{1}""","currentname.config","newname.config")
FileName: "C:\Windows\System32\cmd.exe"
WorkingDirectory: "C:\Windows\System32"

./configure step in Installing qt

I am trying to install Qt on my Ubuntu Linux for using its libraries in reading XML files. I downloaded it from Qt Submodules and started to install step by step according the instruction in the Qt for Linux/X11 - Building from Source web page.
Things when well until I issued ./configure at the step 3. Then this error is appeared:
bash: ./configure: No such file or directory
These are my code lines:
cd /tmp
gunzip qt-everywhere-opensource-src-%VERSION%.tar.gz # uncompress the archive
tar xvf qt-everywhere-opensource-src-%VERSION%.tar # unpack it
cd /tmp/qt-everywhere-opensource-src-%VERSION%
./configure
I am confused that what should I do? I can not find configure...
Thanks in advance for your helpful answers.
From the official website:
If you download a Zip source package, you will need to convert Windows-style line endings (CR/LF) to Unix-style line-endings (LF) when you uncompress the package. To do this, give the "-a" option when you run the "unzip' command.If you fail to supply the "-a" option when unzipping the package, you will see the following error message when you attempt to execute the configure command: "bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory"
So be sure to supply the -a option when uzipping
Take a look at this link: http://www.stackoverflow.com/questions/2920416/configure-bin-shm-bad-interpreter
For those who came into this question with same answer, but for Qt5..
From the official website:
If you download a Zip source package, you will need to convert
Windows-style line endings (CR/LF) to Unix-style line-endings (LF)
when you uncompress the package. To do this, give the "-a" option when
you run the "unzip' command.If you fail to supply the "-a" option when
unzipping the package, you will see the following error message when
you attempt to execute the configure command: "bash: ./configure:
/bin/sh^M: bad interpreter: No such file or directory"
So be sure to supply the -a option when uzipping Take a look at this
link:
http://www.stackoverflow.com/questions/2920416/configure-bin-shm-bad-interpreter
This answer does not work anymore, becouse all files in zip archive are tagged as binary (even configure text files). Only way to make it work is download xxx.tar.xz file, and open it by tar -xf xxx.tar.xz. If TAR.XZ file is not recognized, use -J parameter (tar -xJf xxx.tar.xz).

cygwin cannot open .sh file

I using cocos2d to create a Android projection.
one of the step is open build_native.sh
by using cygwin. when execute LS command I can see build_native.sh file is exist. but when I
try to open it(just input file name in this dir) . it tell me command not found.
it's my first time to using cygwin. so I need some one to help:)