Hi sits,
Sorry to keep bothering you again. But i am unable to create a topic from an SVN revision file. i give the following inputs:
start tag: 156 (my repository revision for which i want to do the review)
end tag: <empty>
all other details filed appropriately...
then it gives me the following error.
[quote]
Software error:
DBD::mysql::st execute failed: Duplicate entry '2388470' for key 'PRIMARY' at /var/www/codestriker/codestriker-1.9.10/lib/Codestriker/Model/Topic.pm line 176.
For help, please send mail to the web master (root@localhost), giving this error message and the time and date of the error.
[/quote]
And when i check the mysql database for topic.document field, it contains the following content, instead of a link to the uploaded file!
[quote]
Index: Code/I_Messaging/I_MsgNotification/include/Converter.hpp
===================================================================
--- /dev/null
+++ Code/I_Messaging/I_MsgNotification/include/Converter.hpp (revision 156)
@@ -0,0 +1,12 @@
+ <h1>Software error:</h1>
+ <pre>Command failed: open3: exec of c:/Program Files/CollabNet Subversion/svn.exe cat --non-interactive --no-auth-cache --username ravindranath.m --password rv_m123 http://172.19.1.19/CPLT/trunk/Code/I_Messaging/I_MsgNotification/include/Converter.hpp@156 failed at /var/www/codestriker/codestriker-1.9.10/lib/Codestriker.pm line 590
+
+ c:/Program Files/CollabNet Subversion/svn.exe cat --non-interactive --no-auth-cache --username ravindranath.m --password rv_m123 http://172.19.1.19/CPLT/trunk/Code/I_Messaging/I_MsgNotification/include/Converter.hpp@156
+ Check your webserver error log for more information.
+ at /var/www/codestriker/codestriker-1.9.10/lib/Codestriker/Repository/Subversion.pm line 203
+ </pre>
+ <p>
+ For help, please send mail to the webmaster (<a href="mailto:root@localhost">root@localhost</a>), giving this error message
+ and the time and date of the error.
+
+ </p>
[/quote]
I do not know why the above field is having a reference to "C:/program files/ ...", as I am running this under a linux system.
if i run the following command,
[code]
svn cat --non-interactive --no-auth-cache --username ravindranath.m --password rv_m123 http://172.19.1.19/CPLT/trunk/Code/I_Messaging/I_MsgNotification/include/Converter.hpp@156
[/code/
I get the output correctly, as below...
[quote]
[rv_nath@localhost ~]$ svn cat --non-interactive --no-auth-cache --username ravindranath.m --password rv_m123 http://172.19.1.19/CPLT/trunk/Code/I_Messaging/I_MsgNotification/include/Converter.hpp@156
/*
* @file Converter.hpp
* @author Sandhya Srinath
* @date July 9, 2010, 3:53 PM
*
*
*/
#ifndef CONVERTER_HPP
#define CONVERTER_HPP
#include "Property.hpp"
#include <vector>
class Converter {
public:
Converter() { };
virtual unsigned short length()const = 0;
virtual byte_t* serialize(vector<Property*> prop)=0;
virtual ~Converter(){ };
};
#endif /* CONVERTER_HPP */
[rv_nath@localhost ~]$
[/quote]
Please help, as i do not know what is going wrong in my case...
thanks in advance...
regards,
RV
You need to set your $svn variable right in the codestriker.conf file. At the moment, it is set to a windows path.