Re: Review board upgrade from 1.0.5.1 to 1.7.7.1

2013-05-08 Thread Christian Hammond
1.5.1 isn't supported. You need to remove it.

If you just install Review Board, it'll get the right version of Django and the 
other dependencies we require.

What distro are you installing on?

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On May 8, 2013, at 2:02 PM, Yugesh Kambham  wrote:

> I have /Django-1.5.1-py2.6.egg/ installed in the system and it do have wsgi 
> handler in /Django-1.5.1-py2.6.egg/django/core/.
> 
> I found a new handler on internet 
> https://github.com/django/django/blob/master/django/core/handlers/wsgi.py . 
> Does changing my handler to that will help in resolving my issue ?
> 
> 
> 
> 
> On Wednesday, May 8, 2013 2:40:46 PM UTC-6, Christian Hammond wrote:
> Looks like your version of Django doesn't have the WSGI handler, or you don't 
> have Django at all.
> 
> Christian
> 
> -- 
> Christian Hammond - chi...@chipx86.com
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
> 
> On May 8, 2013, at 8:13 AM, Yugesh Kambham  wrote:
> 
>> I re-installed all the python database bindings, created an empty database 
>> and then the installation was successful. But when i restart the httpd 
>> service it threw me an error like this
>> 
>> [root@reviewboard1 conf]# /sbin/service httpd restart
>> Stopping httpd:[  OK  ]
>> Starting httpd: Syntax error on line 1013 of /etc/httpd/conf/httpd.conf:
>> Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module 
>> not included in the server configuration
>>[FAILED]
>> i installed wsgi and while configuring it it threw me an error no 
>> Makefile.in exists? How can i get the installation to right way..
>> 
>> On Tuesday, May 7, 2013 6:06:31 PM UTC-6, Christian Hammond wrote:
>> On Tue, May 7, 2013 at 3:37 PM, Matthew Woehlke  wrote:
>> On 2013-05-07 18:30, Yugesh Kambham wrote:
>> When i was creating a new site directory it didn't give me an option to
>> select PostgresSql and it has only mysql and sqllite(not for production)
>> and i picked up mysql, went through the steps and encountered an error
>> 
>> _mysql_exceptions.OperationalError: (1045, "Access denied for user
>> 'admin'@'localhost' (using password: YES)") .Doesn't the 1.7.7.1 version
>> supports postgressql?
>> 
>> I'm using it :-).
>> 
>> More likely RB setup is not finding it. You are probably missing python 
>> bindings for postgresql or some such.
>> 
>> 
>> Right. I believe one of the first pages of the wizard will tell you what 
>> modules are missing.
>> 
>> Christian
>> 
>> -- 
>> Christian Hammond - chi...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com 
> 

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Review board upgrade from 1.0.5.1 to 1.7.7.1

2013-05-08 Thread Yugesh Kambham
I have /Django-1.5.1-py2.6.egg/ installed in the system and it do have wsgi 
handler in /Django-1.5.1-py2.6.egg/django/core/.

I found a new handler on internet 
https://github.com/django/django/blob/master/django/core/handlers/wsgi.py . 
Does changing my handler to that will help in resolving my issue ?




On Wednesday, May 8, 2013 2:40:46 PM UTC-6, Christian Hammond wrote:
>
> Looks like your version of Django doesn't have the WSGI handler, or you 
> don't have Django at all.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>  
> On May 8, 2013, at 8:13 AM, Yugesh Kambham > 
> wrote:
>
> I re-installed all the python database bindings, created an empty database 
> and then the installation was successful. But when i restart the httpd 
> service it threw me an error like this
>
> [root@reviewboard1 conf]# /sbin/service httpd restart
> Stopping httpd:[  OK  ]
> Starting httpd: Syntax error on line 1013 of /etc/httpd/conf/httpd.conf:
> Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a 
> module not included in the server configuration
>[FAILED]
> i installed wsgi and while configuring it it threw me an error no 
> Makefile.in exists? How can i get the installation to right way..
>
> On Tuesday, May 7, 2013 6:06:31 PM UTC-6, Christian Hammond wrote:
>>
>> On Tue, May 7, 2013 at 3:37 PM, Matthew Woehlke wrote:
>>
>>> On 2013-05-07 18:30, Yugesh Kambham wrote:
>>>
 When i was creating a new site directory it didn't give me an option to
 select PostgresSql and it has only mysql and sqllite(not for production)
 and i picked up mysql, went through the steps and encountered an error

 _mysql_exceptions.**OperationalError: (1045, "Access denied for user
 'admin'@'localhost' (using password: YES)") .Doesn't the 1.7.7.1 version
 supports postgressql?

>>>
>>> I'm using it :-).
>>>
>>> More likely RB setup is not finding it. You are probably missing python 
>>> bindings for postgresql or some such.
>>>
>>
>>
>> Right. I believe one of the first pages of the wizard will tell you what 
>> modules are missing.
>>
>> Christian
>>
>> -- 
>> Christian Hammond - chi...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com 
>>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Review board upgrade from 1.0.5.1 to 1.7.7.1

2013-05-08 Thread Christian Hammond
Looks like your version of Django doesn't have the WSGI handler, or you don't 
have Django at all.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On May 8, 2013, at 8:13 AM, Yugesh Kambham  wrote:

> I re-installed all the python database bindings, created an empty database 
> and then the installation was successful. But when i restart the httpd 
> service it threw me an error like this
> 
> [root@reviewboard1 conf]# /sbin/service httpd restart
> Stopping httpd:[  OK  ]
> Starting httpd: Syntax error on line 1013 of /etc/httpd/conf/httpd.conf:
> Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module 
> not included in the server configuration
>[FAILED]
> i installed wsgi and while configuring it it threw me an error no Makefile.in 
> exists? How can i get the installation to right way..
> 
> On Tuesday, May 7, 2013 6:06:31 PM UTC-6, Christian Hammond wrote:
> On Tue, May 7, 2013 at 3:37 PM, Matthew Woehlke  wrote:
> On 2013-05-07 18:30, Yugesh Kambham wrote:
> When i was creating a new site directory it didn't give me an option to
> select PostgresSql and it has only mysql and sqllite(not for production)
> and i picked up mysql, went through the steps and encountered an error
> 
> _mysql_exceptions.OperationalError: (1045, "Access denied for user
> 'admin'@'localhost' (using password: YES)") .Doesn't the 1.7.7.1 version
> supports postgressql?
> 
> I'm using it :-).
> 
> More likely RB setup is not finding it. You are probably missing python 
> bindings for postgresql or some such.
> 
> 
> Right. I believe one of the first pages of the wizard will tell you what 
> modules are missing.
> 
> Christian
> 
> -- 
> Christian Hammond - chi...@chipx86.com
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com 

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: WSGI unable to load python modules

2013-05-08 Thread Stephen Gallagher
On 05/08/2013 02:44 PM, Yugesh Kambham wrote:
> Hi,
> 
> I finished setting up review board and all configurations and when i try
> to access the website it threw me an internal error 500. I checked the
> log files and i found there is some issue with loading python modules. I
> am doing installtion on RHEL 6 and reviewboard 1.7.7.1
> 

When installing on RHEL 6, I highly recommend that you use the packages
that I built that are available from http://fedoraproject.org/wiki/EPEL

The 1.7.7.1 packages are still in the epel-testing repo at the moment,
but once you install the EPEL yum repo, you can install ReviewBoard
1.7.7.1 with the command:

yum install --enablerepo=epel-testing ReviewBoard

(also RBTools if you want the client tools).

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: WSGI unable to load python modules

2013-05-08 Thread Yugesh Kambham
Ok..any idea how to fix this? I am new to django and wsgi, so please guide 
me how to resolve this.

On Wednesday, May 8, 2013 12:49:29 PM UTC-6, David Trowbridge wrote:
>
> I believe RHEL puts the wsgi handlers for django in a separate package.
> -David
>
>
> On Wed, May 8, 2013 at 11:44 AM, Yugesh Kambham 
> 
> > wrote:
>
>> Hi,
>>
>> I finished setting up review board and all configurations and when i try 
>> to access the website it threw me an internal error 500. I checked the log 
>> files and i found there is some issue with loading python modules. I am 
>> doing installtion on RHEL 6 and reviewboard 1.7.7.1
>>
>> Please help me resolve this issue
>>
>> [Wed May 08 12:39:29 2013] [notice] caught SIGTERM, shutting down
>> [Wed May 08 12:39:30 2013] [notice] SELinux policy enabled; httpd running 
>> as context unconfined_u:system_r:httpd_t:s0
>> [Wed May 08 12:39:30 2013] [notice] suEXEC mechanism enabled (wrapper: 
>> /usr/sbin/suexec)
>> [Wed May 08 12:39:30 2013] [notice] Digest: generating secret for digest 
>> authentication ...
>> [Wed May 08 12:39:30 2013] [notice] Digest: done
>> [Wed May 08 12:39:30 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 
>> mod_wsgi/3.4 Python/2.6.6 configured -- resuming normal operations
>> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] mod_wsgi 
>> (pid=15688): Target WSGI script '/var/www/reviews/htdocs/reviewboard.wsgi' 
>> cannot be loaded as Python module.
>> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] mod_wsgi 
>> (pid=15688): Exception occurred processing WSGI script 
>> '/var/www/reviews/htdocs/reviewboard.wsgi'.
>> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] Traceback (most 
>> recent call last):
>> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42]   File 
>> "/var/www/reviews/htdocs/reviewboard.wsgi", line 11, in 
>> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] import 
>> django.core.handlers.wsgi
>> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] ImportError: No 
>> module named django.core.handlers.wsgi
>> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] Symbolic link 
>> not allowed or link target not accessible: /var/www/reviews/htdocs/errordocs
>> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] File does not 
>> exist: /var/www/reviews/htdocs/favicon.ico
>> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] mod_wsgi 
>> (pid=15690): Target WSGI script '/var/www/reviews/htdocs/reviewboard.wsgi' 
>> cannot be loaded as Python module.
>> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] mod_wsgi 
>> (pid=15690): Exception occurred processing WSGI script 
>> '/var/www/reviews/htdocs/reviewboard.wsgi'.
>> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] Traceback (most 
>> recent call last):
>> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42]   File 
>> "/var/www/reviews/htdocs/reviewboard.wsgi", line 11, in 
>> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] import 
>> django.core.handlers.wsgi
>> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] ImportError: No 
>> module named django.core.handlers.wsgi
>> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] Symbolic link 
>> not allowed or link target not accessible: /var/www/reviews/htdocs/errordocs
>> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] File does not 
>> exist: /var/www/reviews/htdocs/favicon.ico
>> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] mod_wsgi 
>> (pid=15694): Target WSGI script '/var/www/reviews/htdocs/reviewboard.wsgi' 
>> cannot be loaded as Python module.
>> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] mod_wsgi 
>> (pid=15694): Exception occurred processing WSGI script 
>> '/var/www/reviews/htdocs/reviewboard.wsgi'.
>> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] Traceback (most 
>> recent call last):
>> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42]   File 
>> "/var/www/reviews/htdocs/reviewboard.wsgi", line 11, in 
>> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] import 
>> django.core.handlers.wsgi
>> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] ImportError: No 
>> module named django.core.handlers.wsgi
>> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] Symbolic link 
>> not allowed or link target not accessible: /var/www/reviews/htdocs/errordocs
>> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] File does not 
>> exist: /var/www/reviews/htdocs/favicon.ico
>>
>>
>>  Thanks,
>> Yugesh
>>
>> -- 
>> Want to help the Review Board project? Donate today at 
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~--~~~~--~~--~--~---
>> To unsubscribe from this group, send email to 
>> reviewboard...@googlegroups.com 
>> For more options, visit this group at 
>> http://groups.google.com/group/reviewboard?hl=en
>> --- 
>> You received this message because you ar

Re: WSGI unable to load python modules

2013-05-08 Thread David Trowbridge
I believe RHEL puts the wsgi handlers for django in a separate package.
-David

On Wed, May 8, 2013 at 11:44 AM, Yugesh Kambham 
wrote:

> Hi,
> I finished setting up review board and all configurations and when i try to 
> access the website it threw me an internal error 500. I checked the log 
> files and i found there is some issue with loading python modules. I am 
> doing installtion on RHEL 6 and reviewboard 1.7.7.1
> Please help me resolve this issue
> [Wed May 08 12:39:29 2013] [notice] caught SIGTERM, shutting down
> [Wed May 08 12:39:30 2013] [notice] SELinux policy enabled; httpd running 
> as context unconfined_u:system_r:httpd_t:s0
> [Wed May 08 12:39:30 2013] [notice] suEXEC mechanism enabled (wrapper: 
> /usr/sbin/suexec)
> [Wed May 08 12:39:30 2013] [notice] Digest: generating secret for digest 
> authentication ...
> [Wed May 08 12:39:30 2013] [notice] Digest: done
> [Wed May 08 12:39:30 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 
> mod_wsgi/3.4 Python/2.6.6 configured -- resuming normal operations
> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] mod_wsgi 
> (pid=15688): Target WSGI script '/var/www/reviews/htdocs/reviewboard.wsgi' 
> cannot be loaded as Python module.
> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] mod_wsgi 
> (pid=15688): Exception occurred processing WSGI script 
> '/var/www/reviews/htdocs/reviewboard.wsgi'.
> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] Traceback (most 
> recent call last):
> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42]   File 
> "/var/www/reviews/htdocs/reviewboard.wsgi", line 11, in 
> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] import 
> django.core.handlers.wsgi
> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] ImportError: No 
> module named django.core.handlers.wsgi
> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] Symbolic link not 
> allowed or link target not accessible: /var/www/reviews/htdocs/errordocs
> [Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] File does not 
> exist: /var/www/reviews/htdocs/favicon.ico
> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] mod_wsgi 
> (pid=15690): Target WSGI script '/var/www/reviews/htdocs/reviewboard.wsgi' 
> cannot be loaded as Python module.
> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] mod_wsgi 
> (pid=15690): Exception occurred processing WSGI script 
> '/var/www/reviews/htdocs/reviewboard.wsgi'.
> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] Traceback (most 
> recent call last):
> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42]   File 
> "/var/www/reviews/htdocs/reviewboard.wsgi", line 11, in 
> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] import 
> django.core.handlers.wsgi
> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] ImportError: No 
> module named django.core.handlers.wsgi
> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] Symbolic link not 
> allowed or link target not accessible: /var/www/reviews/htdocs/errordocs
> [Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] File does not 
> exist: /var/www/reviews/htdocs/favicon.ico
> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] mod_wsgi 
> (pid=15694): Target WSGI script '/var/www/reviews/htdocs/reviewboard.wsgi' 
> cannot be loaded as Python module.
> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] mod_wsgi 
> (pid=15694): Exception occurred processing WSGI script 
> '/var/www/reviews/htdocs/reviewboard.wsgi'.
> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] Traceback (most 
> recent call last):
> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42]   File 
> "/var/www/reviews/htdocs/reviewboard.wsgi", line 11, in 
> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] import 
> django.core.handlers.wsgi
> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] ImportError: No 
> module named django.core.handlers.wsgi
> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] Symbolic link not 
> allowed or link target not accessible: /var/www/reviews/htdocs/errordocs
> [Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] File does not 
> exist: /var/www/reviews/htdocs/favicon.ico
>  Thanks,
> Yugesh
> -- 
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to 
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
Want to help the Revi

WSGI unable to load python modules

2013-05-08 Thread Yugesh Kambham
Hi,

I finished setting up review board and all configurations and when i try to 
access the website it threw me an internal error 500. I checked the log 
files and i found there is some issue with loading python modules. I am 
doing installtion on RHEL 6 and reviewboard 1.7.7.1

Please help me resolve this issue

[Wed May 08 12:39:29 2013] [notice] caught SIGTERM, shutting down
[Wed May 08 12:39:30 2013] [notice] SELinux policy enabled; httpd running 
as context unconfined_u:system_r:httpd_t:s0
[Wed May 08 12:39:30 2013] [notice] suEXEC mechanism enabled (wrapper: 
/usr/sbin/suexec)
[Wed May 08 12:39:30 2013] [notice] Digest: generating secret for digest 
authentication ...
[Wed May 08 12:39:30 2013] [notice] Digest: done
[Wed May 08 12:39:30 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 
mod_wsgi/3.4 Python/2.6.6 configured -- resuming normal operations
[Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] mod_wsgi 
(pid=15688): Target WSGI script '/var/www/reviews/htdocs/reviewboard.wsgi' 
cannot be loaded as Python module.
[Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] mod_wsgi 
(pid=15688): Exception occurred processing WSGI script 
'/var/www/reviews/htdocs/reviewboard.wsgi'.
[Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] Traceback (most 
recent call last):
[Wed May 08 12:39:34 2013] [error] [client 16.78.169.42]   File 
"/var/www/reviews/htdocs/reviewboard.wsgi", line 11, in 
[Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] import 
django.core.handlers.wsgi
[Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] ImportError: No 
module named django.core.handlers.wsgi
[Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] Symbolic link not 
allowed or link target not accessible: /var/www/reviews/htdocs/errordocs
[Wed May 08 12:39:34 2013] [error] [client 16.78.169.42] File does not 
exist: /var/www/reviews/htdocs/favicon.ico
[Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] mod_wsgi 
(pid=15690): Target WSGI script '/var/www/reviews/htdocs/reviewboard.wsgi' 
cannot be loaded as Python module.
[Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] mod_wsgi 
(pid=15690): Exception occurred processing WSGI script 
'/var/www/reviews/htdocs/reviewboard.wsgi'.
[Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] Traceback (most 
recent call last):
[Wed May 08 12:39:36 2013] [error] [client 16.78.169.42]   File 
"/var/www/reviews/htdocs/reviewboard.wsgi", line 11, in 
[Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] import 
django.core.handlers.wsgi
[Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] ImportError: No 
module named django.core.handlers.wsgi
[Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] Symbolic link not 
allowed or link target not accessible: /var/www/reviews/htdocs/errordocs
[Wed May 08 12:39:36 2013] [error] [client 16.78.169.42] File does not 
exist: /var/www/reviews/htdocs/favicon.ico
[Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] mod_wsgi 
(pid=15694): Target WSGI script '/var/www/reviews/htdocs/reviewboard.wsgi' 
cannot be loaded as Python module.
[Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] mod_wsgi 
(pid=15694): Exception occurred processing WSGI script 
'/var/www/reviews/htdocs/reviewboard.wsgi'.
[Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] Traceback (most 
recent call last):
[Wed May 08 12:39:39 2013] [error] [client 16.78.169.42]   File 
"/var/www/reviews/htdocs/reviewboard.wsgi", line 11, in 
[Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] import 
django.core.handlers.wsgi
[Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] ImportError: No 
module named django.core.handlers.wsgi
[Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] Symbolic link not 
allowed or link target not accessible: /var/www/reviews/htdocs/errordocs
[Wed May 08 12:39:39 2013] [error] [client 16.78.169.42] File does not 
exist: /var/www/reviews/htdocs/favicon.ico


 Thanks,
Yugesh

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Review board upgrade from 1.0.5.1 to 1.7.7.1

2013-05-08 Thread Yugesh Kambham
see the log

[Wed May 08 11:39:16 2013] [notice] Digest: generating secret for digest 
authentication ...
[Wed May 08 11:39:16 2013] [notice] Digest: done
[Wed May 08 11:39:16 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 
mod_wsgi/3.4 Python/2.6.6 configured -- resuming normal operations
[Wed May 08 11:39:24 2013] [error] [client 16.78.169.42] mod_wsgi 
(pid=14318): Target WSGI script '/var/www/reviews/htdocs/reviewboard.wsgi' 
cannot be loaded as Python module.
[Wed May 08 11:39:24 2013] [error] [client 16.78.169.42] mod_wsgi 
(pid=14318): Exception occurred processing WSGI script 
'/var/www/reviews/htdocs/reviewboard.wsgi'.
[Wed May 08 11:39:24 2013] [error] [client 16.78.169.42] Traceback (most 
recent call last):
[Wed May 08 11:39:24 2013] [error] [client 16.78.169.42]   File 
"/var/www/reviews/htdocs/reviewboard.wsgi", line 11, in 
[Wed May 08 11:39:24 2013] [error] [client 16.78.169.42] import 
django.core.handlers.wsgi
[Wed May 08 11:39:24 2013] [error] [client 16.78.169.42] ImportError: No 
module named django.core.handlers.wsgi
[Wed May 08 11:39:24 2013] [error] [client 16.78.169.42] Symbolic link not 
allowed or link target not accessible: /var/www/reviews/htdocs/errordocs
[Wed May 08 11:39:24 2013] [error] [client 16.78.169.42] File does not 
exist: /var/www/reviews/htdocs/favicon.ico
[Wed May 08 11:39:27 2013] [error] [client 16.78.169.42] mod_wsgi 
(pid=14323): Target WSGI script '/var/www/reviews/htdocs/reviewboard.wsgi' 
cannot be loaded as Python module.
[Wed May 08 11:39:27 2013] [error] [client 16.78.169.42] mod_wsgi 
(pid=14323): Exception occurred processing WSGI script 
'/var/www/reviews/htdocs/reviewboard.wsgi'.
[Wed May 08 11:39:27 2013] [error] [client 16.78.169.42] Traceback (most 
recent call last):
[Wed May 08 11:39:27 2013] [error] [client 16.78.169.42]   File 
"/var/www/reviews/htdocs/reviewboard.wsgi", line 11, in 
[Wed May 08 11:39:27 2013] [error] [client 16.78.169.42] import 
django.core.handlers.wsgi
[Wed May 08 11:39:27 2013] [error] [client 16.78.169.42] ImportError: No 
module named django.core.handlers.wsgi
[Wed May 08 11:39:27 2013] [error] [client 16.78.169.42] Symbolic link not 
allowed or link target not accessible: /var/www/reviews/htdocs/errordocs
[Wed May 08 11:39:27 2013] [error] [client 16.78.169.42] File does not 
exist: /var/www/reviews/htdocs/favicon.ico

On Wednesday, May 8, 2013 11:06:32 AM UTC-6, Yugesh Kambham wrote:
>
> Never mind i got it fixed but the latest issue is website not 
> being accessible.Look below for the error
>
> Internal Server Error
>
> The server encountered an internal error or misconfiguration and was 
> unable to complete your request.
>
> Please contact the server administrator, root@localhost and inform them of 
> the time the error occurred, and anything you might have done that may have 
> caused the error.
>
> More information about this error may be available in the server error log.
>
> Additionally, a 403 Forbidden error was encountered while trying to use an 
> ErrorDocument to handle the request.
>
>
> On Wednesday, May 8, 2013 9:13:26 AM UTC-6, Yugesh Kambham wrote:
>>
>> I re-installed all the python database bindings, created an empty 
>> database and then the installation was successful. But when i restart the 
>> httpd service it threw me an error like this
>>
>> [root@reviewboard1 conf]# /sbin/service httpd restart
>> Stopping httpd:[  OK  ]
>> Starting httpd: Syntax error on line 1013 of /etc/httpd/conf/httpd.conf:
>> Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a 
>> module not included in the server configuration
>>[FAILED]
>> i installed wsgi and while configuring it it threw me an error no 
>> Makefile.in exists? How can i get the installation to right way..
>>
>> On Tuesday, May 7, 2013 6:06:31 PM UTC-6, Christian Hammond wrote:
>>>
>>> On Tue, May 7, 2013 at 3:37 PM, Matthew Woehlke wrote:
>>>
 On 2013-05-07 18:30, Yugesh Kambham wrote:

> When i was creating a new site directory it didn't give me an option to
> select PostgresSql and it has only mysql and sqllite(not for 
> production)
> and i picked up mysql, went through the steps and encountered an error
>
> _mysql_exceptions.**OperationalError: (1045, "Access denied for user
> 'admin'@'localhost' (using password: YES)") .Doesn't the 1.7.7.1 
> version
> supports postgressql?
>

 I'm using it :-).

 More likely RB setup is not finding it. You are probably missing python 
 bindings for postgresql or some such.

>>>
>>>
>>> Right. I believe one of the first pages of the wizard will tell you what 
>>> modules are missing.
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond - chi...@chipx86.com
>>> Review Board - http://www.reviewboard.org
>>> Beanbag, Inc. - http://www.beanbaginc.com 
>>>
>>

-- 
Want to help the Review Board project? Donate today

Re: Review board upgrade from 1.0.5.1 to 1.7.7.1

2013-05-08 Thread Yugesh Kambham
Never mind i got it fixed but the latest issue is website not 
being accessible.Look below for the error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable 
to complete your request.

Please contact the server administrator, root@localhost and inform them of 
the time the error occurred, and anything you might have done that may have 
caused the error.

More information about this error may be available in the server error log.

Additionally, a 403 Forbidden error was encountered while trying to use an 
ErrorDocument to handle the request.


On Wednesday, May 8, 2013 9:13:26 AM UTC-6, Yugesh Kambham wrote:
>
> I re-installed all the python database bindings, created an empty database 
> and then the installation was successful. But when i restart the httpd 
> service it threw me an error like this
>
> [root@reviewboard1 conf]# /sbin/service httpd restart
> Stopping httpd:[  OK  ]
> Starting httpd: Syntax error on line 1013 of /etc/httpd/conf/httpd.conf:
> Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a 
> module not included in the server configuration
>[FAILED]
> i installed wsgi and while configuring it it threw me an error no 
> Makefile.in exists? How can i get the installation to right way..
>
> On Tuesday, May 7, 2013 6:06:31 PM UTC-6, Christian Hammond wrote:
>>
>> On Tue, May 7, 2013 at 3:37 PM, Matthew Woehlke wrote:
>>
>>> On 2013-05-07 18:30, Yugesh Kambham wrote:
>>>
 When i was creating a new site directory it didn't give me an option to
 select PostgresSql and it has only mysql and sqllite(not for production)
 and i picked up mysql, went through the steps and encountered an error

 _mysql_exceptions.**OperationalError: (1045, "Access denied for user
 'admin'@'localhost' (using password: YES)") .Doesn't the 1.7.7.1 version
 supports postgressql?

>>>
>>> I'm using it :-).
>>>
>>> More likely RB setup is not finding it. You are probably missing python 
>>> bindings for postgresql or some such.
>>>
>>
>>
>> Right. I believe one of the first pages of the wizard will tell you what 
>> modules are missing.
>>
>> Christian
>>
>> -- 
>> Christian Hammond - chi...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com 
>>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Review board upgrade from 1.0.5.1 to 1.7.7.1

2013-05-08 Thread Yugesh Kambham
I re-installed all the python database bindings, created an empty database 
and then the installation was successful. But when i restart the httpd 
service it threw me an error like this

[root@reviewboard1 conf]# /sbin/service httpd restart
Stopping httpd:[  OK  ]
Starting httpd: Syntax error on line 1013 of /etc/httpd/conf/httpd.conf:
Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a 
module not included in the server configuration
   [FAILED]
i installed wsgi and while configuring it it threw me an error no 
Makefile.in exists? How can i get the installation to right way..

On Tuesday, May 7, 2013 6:06:31 PM UTC-6, Christian Hammond wrote:
>
> On Tue, May 7, 2013 at 3:37 PM, Matthew Woehlke 
> 
> > wrote:
>
>> On 2013-05-07 18:30, Yugesh Kambham wrote:
>>
>>> When i was creating a new site directory it didn't give me an option to
>>> select PostgresSql and it has only mysql and sqllite(not for production)
>>> and i picked up mysql, went through the steps and encountered an error
>>>
>>> _mysql_exceptions.**OperationalError: (1045, "Access denied for user
>>> 'admin'@'localhost' (using password: YES)") .Doesn't the 1.7.7.1 version
>>> supports postgressql?
>>>
>>
>> I'm using it :-).
>>
>> More likely RB setup is not finding it. You are probably missing python 
>> bindings for postgresql or some such.
>>
>
>
> Right. I believe one of the first pages of the wizard will tell you what 
> modules are missing.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com 
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Error while posing newly created or edited file using SVN

2013-05-08 Thread kvr
Thanks that solved the issue.

On Wednesday, May 8, 2013 12:47:06 PM UTC+5:30, David Trowbridge wrote:
>
> You need to use "svn add" before you create your diff. You don't have to 
> do "svn commit".
>
>
> On Wed, May 8, 2013 at 12:15 AM, kvr >wrote:
>
>> Hi Christian,
>> *
>> *
>> I have the similar problem.
>>
>> I want to review the files before adding them to svn repository( I want 
>> to do a pre-commit review for that) since I am getting nothing when I issue 
>> svn diff,how to upload diff in the reviewboard web interface for the newly 
>> created files.
>> Should I run svn add before generating svn diff ?
>> Please help.
>>
>> On Thursday, May 2, 2013 1:36:35 PM UTC+5:30, Prashima wrote:
>>>
>>> Hi,
>>>
>>> I am trying to post two pre-commit reviews using post-review. One review 
>>> contains a newly added, unversioned SVN file and other review contains an 
>>> edited, versioned file. I am able to generate diff for the edited file and 
>>> upload that to a new review request, but not able to post it using 
>>> post-review. For newly added file I am simply not able to do anything 
>>> neither able to generate a diff nor able to use post-review. 
>>>
>>> I know similar 
>>> topichas
>>>  been discussed long back, but things are not working for me at all.
>>>
>>> Following are the errors I am getting - (Please let me know if there is 
>>> any other log which I can attach apart from debug output)
>>>
>>> NEW FILE
>>> C:\Workspace\Kite\Server\Kite>**post-review -d src\main\java\edu\kite\**
>>> controller\ActivityController.**java
>>> >>> RBTools 0.5
>>> >>> Python 2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit 
>>> (Intel)]
>>> >>> Running on Windows-7-6.1.7600
>>> >>> Home = C:\Users\user\AppData\Roaming
>>> >>> Current Directory = C:\Workspace\Kite\Server\Kite
>>> >>> Checking the repository type. Errors shown below are mostly harmless.
>>> DEBUG:root:Checking for a Bazaar repository...
>>> DEBUG:root:Checking for a CVS repository...
>>> DEBUG:root:Checking for a ClearCase repository...
>>> DEBUG:root:Checking for a Git repository...
>>> DEBUG:root:Checking for a Mercurial repository...
>>> DEBUG:root:Checking for a Perforce repository...
>>> DEBUG:root:Checking for a Plastic repository...
>>> DEBUG:root:Checking for a Subversion repository...
>>> DEBUG:root:Running: svn info --non-interactive
>>> DEBUG:root:Running: diff --version
>>> DEBUG:root:repository info: Path: 
>>> svn://www.kite-test.com/kite_**server,
>>>  
>>> Base path: /Kite, Supports changesets: False
>>> >>> Finished checking the repository type.
>>> DEBUG:root:Running: svn propget reviewboard:url 
>>> C:\Workspace\Kite\Server\Kite
>>> >>> HTTP GETting api/info/
>>> DEBUG:root:Running: svn diff --diff-cmd=diff src\main\java\edu\kite\**
>>> controller\ActivityController.**java
>>> Failed to execute command: ['svn', 'diff', '--diff-cmd=diff', 
>>> 'src\\main\\java\\edu\\kite\\**controller\\**ActivityController.java']
>>> ["svn: E15: 'C:\\Workspace\\Kite\\Server\\**
>>> Kite\\src\\main\\java\\edu\\**kite\\controller\\**ActivityController.java' 
>>> is not under version control\n"]
>>>
>>>
>>> EDITED FILE
>>>
>>> C:\Workspace\Kite\Server\Kite>**post-review -d src\main\java\edu\kite\**
>>> controller\TestController.java
>>> >>> RBTools 0.5
>>> >>> Python 2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit 
>>> (Intel)]
>>> >>> Running on Windows-7-6.1.7600
>>> >>> Home = C:\Users\user\AppData\Roaming
>>> >>> Current Directory = C:\Workspace\Kite\Server\Kite
>>> >>> Checking the repository type. Errors shown below are mostly harmless.
>>> DEBUG:root:Checking for a Bazaar repository...
>>> DEBUG:root:Checking for a CVS repository...
>>> DEBUG:root:Checking for a ClearCase repository...
>>> DEBUG:root:Checking for a Git repository...
>>> DEBUG:root:Checking for a Mercurial repository...
>>> DEBUG:root:Checking for a Perforce repository...
>>> DEBUG:root:Checking for a Plastic repository...
>>> DEBUG:root:Checking for a Subversion repository...
>>> DEBUG:root:Running: svn info --non-interactive
>>> DEBUG:root:Running: diff --version
>>> DEBUG:root:repository info: Path: 
>>> svn://www.kite-test.com/kite_**server,
>>>  
>>> Base path: /Kite, Supports changesets: False
>>> >>> Finished checking the repository type.
>>> DEBUG:root:Running: svn propget reviewboard:url 
>>> C:\Workspace\Kite\Server\Kite
>>> >>> HTTP GETting api/info/
>>> DEBUG:root:Running: svn diff --diff-cmd=diff src\main\java\edu\kite\**
>>> controller\TestController.java
>>> DEBUG:root:Running: svn info src/main/java/edu/kite/**
>>> controller/TestController.java
>>> DEBUG:root:Running: svn info src/main/java/edu/kite/**controller
>>> DEBUG:root:Running: svn info src/main/java/edu/kite
>>> DEBUG:root:Running: svn info src/main/java/edu
>>> DEBUG:root:Running: svn info src/main/java
>>> DEBUG:root:Running: svn

Re: can't see add file not in svn version control

2013-05-08 Thread Jiamo
I think i have got the idea. thank you.

2013/5/8 David Trowbridge 

> That's the problem. If you add the files before you do your 'svn diff' or
> 'post-review', then they'll show up in the diff. If not, they're completely
> untracked.
>
> You don't have to commit them to the upstream repository.
>
>
> On Tue, May 7, 2013 at 8:05 PM, Jiamo  wrote:
>
>> not use svn add . just add local files in directory.
>>
>>
>> 2013/5/8 David Trowbridge 
>>
>>> Are you doing 'svn add' but not the commit? Or are you just putting the
>>> file in the directory?
>>>
>>> -David
>>>
>>>
>>>
>>> On Tue, May 7, 2013 at 7:34 PM, Jiamo  wrote:
>>>

 Use 1.7.0.1 .  svn

 If I add a file . but not commit to svn .
 I can't see the added file in reviewboard  from patch (  use svn diff
 >  patch )

 How can I see the added file without svn add files ?

 Thank you .

 --
 Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups "reviewboard" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.



>>>
>>>  --
>>> Want to help the Review Board project? Donate today at
>>> http://www.reviewboard.org/donate/
>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>> -~--~~~~--~~--~--~---
>>> To unsubscribe from this group, send email to
>>> reviewboard+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/reviewboard?hl=en
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to reviewboard+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>> Want to help the Review Board project? Donate today at
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~--~~~~--~~--~--~---
>> To unsubscribe from this group, send email to
>> reviewboard+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/reviewboard?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to reviewboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Error while posing newly created or edited file using SVN

2013-05-08 Thread David Trowbridge
You need to use "svn add" before you create your diff. You don't have to do
"svn commit".


On Wed, May 8, 2013 at 12:15 AM, kvr  wrote:

> Hi Christian,
> *
> *
> I have the similar problem.
>
> I want to review the files before adding them to svn repository( I want to
> do a pre-commit review for that) since I am getting nothing when I issue
> svn diff,how to upload diff in the reviewboard web interface for the newly
> created files.
> Should I run svn add before generating svn diff ?
> Please help.
>
> On Thursday, May 2, 2013 1:36:35 PM UTC+5:30, Prashima wrote:
>>
>> Hi,
>>
>> I am trying to post two pre-commit reviews using post-review. One review
>> contains a newly added, unversioned SVN file and other review contains an
>> edited, versioned file. I am able to generate diff for the edited file and
>> upload that to a new review request, but not able to post it using
>> post-review. For newly added file I am simply not able to do anything
>> neither able to generate a diff nor able to use post-review.
>>
>> I know similar 
>> topichas
>>  been discussed long back, but things are not working for me at all.
>>
>> Following are the errors I am getting - (Please let me know if there is
>> any other log which I can attach apart from debug output)
>>
>> NEW FILE
>> C:\Workspace\Kite\Server\Kite>**post-review -d src\main\java\edu\kite\**
>> controller\ActivityController.**java
>> >>> RBTools 0.5
>> >>> Python 2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit
>> (Intel)]
>> >>> Running on Windows-7-6.1.7600
>> >>> Home = C:\Users\user\AppData\Roaming
>> >>> Current Directory = C:\Workspace\Kite\Server\Kite
>> >>> Checking the repository type. Errors shown below are mostly harmless.
>> DEBUG:root:Checking for a Bazaar repository...
>> DEBUG:root:Checking for a CVS repository...
>> DEBUG:root:Checking for a ClearCase repository...
>> DEBUG:root:Checking for a Git repository...
>> DEBUG:root:Checking for a Mercurial repository...
>> DEBUG:root:Checking for a Perforce repository...
>> DEBUG:root:Checking for a Plastic repository...
>> DEBUG:root:Checking for a Subversion repository...
>> DEBUG:root:Running: svn info --non-interactive
>> DEBUG:root:Running: diff --version
>> DEBUG:root:repository info: Path: 
>> svn://www.kite-test.com/kite_**server,
>> Base path: /Kite, Supports changesets: False
>> >>> Finished checking the repository type.
>> DEBUG:root:Running: svn propget reviewboard:url
>> C:\Workspace\Kite\Server\Kite
>> >>> HTTP GETting api/info/
>> DEBUG:root:Running: svn diff --diff-cmd=diff src\main\java\edu\kite\**
>> controller\ActivityController.**java
>> Failed to execute command: ['svn', 'diff', '--diff-cmd=diff',
>> 'src\\main\\java\\edu\\kite\\**controller\\**ActivityController.java']
>> ["svn: E15: 'C:\\Workspace\\Kite\\Server\\**
>> Kite\\src\\main\\java\\edu\\**kite\\controller\\**ActivityController.java'
>> is not under version control\n"]
>>
>>
>> EDITED FILE
>>
>> C:\Workspace\Kite\Server\Kite>**post-review -d src\main\java\edu\kite\**
>> controller\TestController.java
>> >>> RBTools 0.5
>> >>> Python 2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit
>> (Intel)]
>> >>> Running on Windows-7-6.1.7600
>> >>> Home = C:\Users\user\AppData\Roaming
>> >>> Current Directory = C:\Workspace\Kite\Server\Kite
>> >>> Checking the repository type. Errors shown below are mostly harmless.
>> DEBUG:root:Checking for a Bazaar repository...
>> DEBUG:root:Checking for a CVS repository...
>> DEBUG:root:Checking for a ClearCase repository...
>> DEBUG:root:Checking for a Git repository...
>> DEBUG:root:Checking for a Mercurial repository...
>> DEBUG:root:Checking for a Perforce repository...
>> DEBUG:root:Checking for a Plastic repository...
>> DEBUG:root:Checking for a Subversion repository...
>> DEBUG:root:Running: svn info --non-interactive
>> DEBUG:root:Running: diff --version
>> DEBUG:root:repository info: Path: 
>> svn://www.kite-test.com/kite_**server,
>> Base path: /Kite, Supports changesets: False
>> >>> Finished checking the repository type.
>> DEBUG:root:Running: svn propget reviewboard:url
>> C:\Workspace\Kite\Server\Kite
>> >>> HTTP GETting api/info/
>> DEBUG:root:Running: svn diff --diff-cmd=diff src\main\java\edu\kite\**
>> controller\TestController.java
>> DEBUG:root:Running: svn info src/main/java/edu/kite/**
>> controller/TestController.java
>> DEBUG:root:Running: svn info src/main/java/edu/kite/**controller
>> DEBUG:root:Running: svn info src/main/java/edu/kite
>> DEBUG:root:Running: svn info src/main/java/edu
>> DEBUG:root:Running: svn info src/main/java
>> DEBUG:root:Running: svn info src/main
>> DEBUG:root:Running: svn info src
>> DEBUG:root:Running: svn info src/main/java/edu/kite/**
>> controller/TestController.java
>> DEBUG:root:Running: svn info src/main/java/edu/kite/**
>> controller/TestController.java
>> DEBUG:ro

Re: Error while posing newly created or edited file using SVN

2013-05-08 Thread kvr
Hi Christian,
*
*
I have the similar problem.

I want to review the files before adding them to svn repository( I want to 
do a pre-commit review for that) since I am getting nothing when I issue 
svn diff,how to upload diff in the reviewboard web interface for the newly 
created files.
Should I run svn add before generating svn diff ?
Please help.

On Thursday, May 2, 2013 1:36:35 PM UTC+5:30, Prashima wrote:
>
> Hi,
>
> I am trying to post two pre-commit reviews using post-review. One review 
> contains a newly added, unversioned SVN file and other review contains an 
> edited, versioned file. I am able to generate diff for the edited file and 
> upload that to a new review request, but not able to post it using 
> post-review. For newly added file I am simply not able to do anything 
> neither able to generate a diff nor able to use post-review. 
>
> I know similar 
> topichas
>  been discussed long back, but things are not working for me at all.
>
> Following are the errors I am getting - (Please let me know if there is 
> any other log which I can attach apart from debug output)
>
> NEW FILE
> C:\Workspace\Kite\Server\Kite>post-review -d 
> src\main\java\edu\kite\controller\ActivityController.java
> >>> RBTools 0.5
> >>> Python 2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit 
> (Intel)]
> >>> Running on Windows-7-6.1.7600
> >>> Home = C:\Users\user\AppData\Roaming
> >>> Current Directory = C:\Workspace\Kite\Server\Kite
> >>> Checking the repository type. Errors shown below are mostly harmless.
> DEBUG:root:Checking for a Bazaar repository...
> DEBUG:root:Checking for a CVS repository...
> DEBUG:root:Checking for a ClearCase repository...
> DEBUG:root:Checking for a Git repository...
> DEBUG:root:Checking for a Mercurial repository...
> DEBUG:root:Checking for a Perforce repository...
> DEBUG:root:Checking for a Plastic repository...
> DEBUG:root:Checking for a Subversion repository...
> DEBUG:root:Running: svn info --non-interactive
> DEBUG:root:Running: diff --version
> DEBUG:root:repository info: Path: svn://www.kite-test.com/kite_server, 
> Base path: /Kite, Supports changesets: False
> >>> Finished checking the repository type.
> DEBUG:root:Running: svn propget reviewboard:url 
> C:\Workspace\Kite\Server\Kite
> >>> HTTP GETting api/info/
> DEBUG:root:Running: svn diff --diff-cmd=diff 
> src\main\java\edu\kite\controller\ActivityController.java
> Failed to execute command: ['svn', 'diff', '--diff-cmd=diff', 
> 'src\\main\\java\\edu\\kite\\controller\\ActivityController.java']
> ["svn: E15: 
> 'C:\\Workspace\\Kite\\Server\\Kite\\src\\main\\java\\edu\\kite\\controller\\ActivityController.java'
>  
> is not under version control\n"]
>
>
> EDITED FILE
>
> C:\Workspace\Kite\Server\Kite>post-review -d 
> src\main\java\edu\kite\controller\TestController.java
> >>> RBTools 0.5
> >>> Python 2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit 
> (Intel)]
> >>> Running on Windows-7-6.1.7600
> >>> Home = C:\Users\user\AppData\Roaming
> >>> Current Directory = C:\Workspace\Kite\Server\Kite
> >>> Checking the repository type. Errors shown below are mostly harmless.
> DEBUG:root:Checking for a Bazaar repository...
> DEBUG:root:Checking for a CVS repository...
> DEBUG:root:Checking for a ClearCase repository...
> DEBUG:root:Checking for a Git repository...
> DEBUG:root:Checking for a Mercurial repository...
> DEBUG:root:Checking for a Perforce repository...
> DEBUG:root:Checking for a Plastic repository...
> DEBUG:root:Checking for a Subversion repository...
> DEBUG:root:Running: svn info --non-interactive
> DEBUG:root:Running: diff --version
> DEBUG:root:repository info: Path: svn://www.kite-test.com/kite_server, 
> Base path: /Kite, Supports changesets: False
> >>> Finished checking the repository type.
> DEBUG:root:Running: svn propget reviewboard:url 
> C:\Workspace\Kite\Server\Kite
> >>> HTTP GETting api/info/
> DEBUG:root:Running: svn diff --diff-cmd=diff 
> src\main\java\edu\kite\controller\TestController.java
> DEBUG:root:Running: svn info 
> src/main/java/edu/kite/controller/TestController.java
> DEBUG:root:Running: svn info src/main/java/edu/kite/controller
> DEBUG:root:Running: svn info src/main/java/edu/kite
> DEBUG:root:Running: svn info src/main/java/edu
> DEBUG:root:Running: svn info src/main/java
> DEBUG:root:Running: svn info src/main
> DEBUG:root:Running: svn info src
> DEBUG:root:Running: svn info 
> src/main/java/edu/kite/controller/TestController.java
> DEBUG:root:Running: svn info 
> src/main/java/edu/kite/controller/TestController.java
> DEBUG:root:Running: svn info 
> src/main/java/edu/kite/controller/TestController.java
> >>> HTTP GETting api/
> >>> HTTP GETting http://reviewboard.kitesystems.com/api/info/
> >>> Using the new web API
> >>> HTTP GETting http://reviewboard.kitesystems.com/api/repositories/
> >>> HTTP GETting http://reviewboard.kitesystems.com/api/repositories/1/
> >>> HTTP GETtin