View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005936CMakeCTestpublic2007-10-23 16:412008-10-10 09:24
ReporterFélix C. Morency 
Assigned ToBill Hoffman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005936: No output from SVN command
DescriptionWhen running:

res = this->CTest->RunCommand(logcommand.c_str(), &output, &errors,
          &retVal, sourceDirectory, 0 /*this->TimeOut*/);

from cmCTestUpdateHandler.cxx, there is nothing in the output variable. This cause the XMLParser to output an error to screen:

Error parsing XML in stream at line 1: no element found

because there is nothing to parse. This also cause a problem in Dart2: The revision, author, date, email and comments are set to "Unknown".

Dart2 can't do any diff on revision because the revision number is not good.
Additional InformationI'm using a patched (for french SVN support) CTest 2.5-20071023.

If someone is willing to confirm, I can provide him the patch (that can also be found attached to another bug).

Is this also happening in the english version ? Give me feedback about it and the patch.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0009544)
Félix C. Morency (reporter)
2007-10-24 10:24

Setting the LC_MESSAGES to en_EN fixes the bug. SVN output is forced to be in english so the regex could match. I don't think this is a problem because the SVN output doesn't seem to be directly analysed by the user.
(0009960)
Bill Hoffman (manager)
2007-12-17 17:07

So, what do you want CMake to do here?
(0009962)
Félix C. Morency (reporter)
2007-12-17 17:30

Nothing although it would be wise to put this in the documentation of CMake (aka Wiki/FAQ) since I don't think you guys want to support "n" languages.
(0009963)
Bill Hoffman (manager)
2007-12-17 17:37

I suppose we could call this from the code:
setenv LC_MESSAGES to en_EN. I don't know what else it might mess up.
(0013834)
Bill Hoffman (manager)
2008-10-10 09:24

cvs commit -m "ENH: make sure LC_MESSAGES is en_EN so that we can parse the output of svn and cvs" cmCTestUpdateHandler.cxx
Committer: Bill Hoffman <bill.hoffman@kitware.com>
/cvsroot/CMake/CMake/Source/CTest/cmCTestUpdateHandler.cxx,v <-- cmCTestUpdateHandler.cxx
new revision: 1.44; previous revision: 1.43

 Issue History
Date Modified Username Field Change
2007-10-23 16:41 Félix C. Morency New Issue
2007-10-24 10:24 Félix C. Morency Note Added: 0009544
2007-12-17 17:07 Bill Hoffman Note Added: 0009960
2007-12-17 17:07 Bill Hoffman Status new => assigned
2007-12-17 17:07 Bill Hoffman Assigned To => Bill Hoffman
2007-12-17 17:30 Félix C. Morency Note Added: 0009962
2007-12-17 17:37 Bill Hoffman Note Added: 0009963
2008-10-10 09:24 Bill Hoffman Note Added: 0013834
2008-10-10 09:24 Bill Hoffman Status assigned => closed
2008-10-10 09:24 Bill Hoffman Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team