moissinac / csvfix

Automatically exported from code.google.com/p/csvfix
MIT License
0 stars 0 forks source link

exec -c always errors #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Follow example of csvfix exec from HTML manual

What is the expected output? What do you see instead?
Expect to get original data with results from echo appended to the end, instead 
always get "ERROR: Command execution error"

What version of the product are you using? On what operating system?
Originally tested using 0.97a on OS X, then tried 0.97a, 0.96, 0.95 on Ubuntu. 
All copies were downloaded directly from google code.

Please provide any additional information below.
My actual use case was more complex but testing out I could not even get the 
example using names.csv from the HTML manual to work correctly.

Original issue reported on code.google.com by tala...@gmail.com on 2 Mar 2011 at 8:05

GoogleCodeExporter commented 8 years ago
Cannot reproduce on Windows - will try on Linux shortly.

Original comment by nbutterworth1953@gmail.com on 22 Mar 2011 at 3:44

GoogleCodeExporter commented 8 years ago
Just wanted to update the issue, tested again on my OS X box using the unified 
1.0 code that was posted on April 20th. Still receiving the same "ERROR: 
Command execution error".

Original comment by tala...@gmail.com on 26 Apr 2011 at 6:28

GoogleCodeExporter commented 8 years ago
Unfortunately my Linux box is on the blink, so I can't look at this issue 
myself.

Original comment by nbutterworth1953@gmail.com on 28 Apr 2011 at 6:02

GoogleCodeExporter commented 8 years ago
I have now reproduced the error. If you are using Linux, you can fix it 
yourself:

Edit the file alib/src/a_exec.cpp, changing the line that reads:

mPipe = popen( cmd.c_str(), "rt" );

to:

mPipe = popen( cmd.c_str(), "r" );

Save the file and then do a "make clean" followed by a "make lin".

I will fix this permanently in the next release, which should be out fairly 
soon.

Original comment by nbutterworth1953@gmail.com on 28 Jun 2011 at 1:30

GoogleCodeExporter commented 8 years ago
This issue was closed by revision af644892b9b1.

Original comment by nbutterworth1953@gmail.com on 28 Jun 2011 at 1:49