Re: Announcing the release of Review Board 2.0!

2014-05-21 Thread Paul Fee
Thanks, it's working now following the python-djblets-0.8-7 update.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


how to apply review code on local machine

2014-05-21 Thread shankar KC
Hi I have review board setup against perforce repository. I can login to 
use. Using rbt post i can upload the perforce changelist. If i have to 
download my code changes to some other machine having rbt tools how can i 
do it?
As per the docs
*rbt patch* will download the latest diff from the review request matching 
review-request-id
 
I see this in review board webUI:- 
Review Request *#11*  - Created May 7, 2014 and 
updated 1 week ago
So i assumed that review-request-id = 11. Am i correct? How to get 
review-request-id for a code request?
 
*rbt patch -d 11*
>>> RBTools 0.6
>>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit 
(Intel)]
>>> Running on Windows-7-6.1.7601-SP1
>>> Home = C:\Users\shankarkc\AppData\Roaming
>>> Current directory = d:\ariba\s2837\ariba
>>> Checking for a Subversion repository...
>>> Unable to execute "svn help": skipping SVN
>>> Checking for a Git repository...
>>> Unable to execute "git --help" or "git.cmd --help": skipping Git
>>> Checking for a Mercurial repository...
>>> Unable to execute "hg --help": skipping Mercurial
>>> Checking for a CVS repository...
>>> Unable to execute "cvs": skipping CVS
>>> Checking for a Perforce repository...
>>> Running: p4 info
>>> Running: diff --version
>>> repository info: Path: ['perforce3:1666', 'PERFORCE3:1666'], Base path: 
None
, Supports changesets: True
>>> Making HTTP GET request to http://10.138.168.44/api/
>>> Making HTTP GET request to 
http://10.138.168.44/api/review-requests/11/diffs
/1/
Patch is being applied from request 11 with diff revision  1.
Traceback (most recent call last):
  File "C:\Python27\Scripts\rbt-script.py", line 9, in 
load_entry_point('RBTools==0.6.dev', 'console_scripts', 'rbt')()
  File 
"C:\Python27\lib\site-packages\rbtools-0.6.dev-py2.7.egg\rbtools\commands
\main.py", line 134, in main
command.run_from_argv([RB_MAIN, command_name] + args)
  File 
"C:\Python27\lib\site-packages\rbtools-0.6.dev-py2.7.egg\rbtools\commands
\__init__.py", line 422, in run_from_argv
exit_code = self.main(*args) or 0
  File 
"C:\Python27\lib\site-packages\rbtools-0.6.dev-py2.7.egg\rbtools\commands
\patch.py", line 141, in main
tmp_patch_file, base_dir)
  File 
"C:\Python27\lib\site-packages\rbtools-0.6.dev-py2.7.egg\rbtools\commands
\patch.py", line 82, in apply_patch
base_dir, self.options.px)
  File 
"C:\Python27\lib\site-packages\rbtools-0.6.dev-py2.7.egg\rbtools\clients\
__init__.py", line 163, in apply_patch
p_num = p or self._get_p_number(patch_file, base_path, base_dir)
  File 
"C:\Python27\lib\site-packages\rbtools-0.6.dev-py2.7.egg\rbtools\clients\
__init__.py", line 136, in _get_p_number
if (base_dir.startswith(base_path)):
TypeError: startswith first arg must be str, unicode, or tuple, not NoneType
 
Really appriciate your help.
Thanks
Shankar KC
 

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: perforce source control and review board need more than 1 value to unpack.

2014-05-21 Thread shankar KC
I used RBT post . It did that magic :)
On Tuesday, April 29, 2014 3:19:07 AM UTC+5:30, David Trowbridge wrote:
>
> It looks like we have a bug with the handling of the ENABLE_PROXY setting. 
> Can you try clearing out proxy-related environment variables?
>
> -David
>
>
> On Fri, Apr 25, 2014 at 4:35 AM, shankar KC 
> > wrote:
>
>> Thanks you David I am using 
>> ReviewBoard 1.7.25
>> When i tried to generate diff using RBT i get below error :-
>> could not reach the review board server at http://MyMachineNameHere.
>> If I type http://MyMachineNameHere I do see the review board web page.
>> If you have any link to configure rb tools for perforce can you pls send 
>> the link.
>> I have set ENABLE_PROXY=False in .reviewboardrc as this server is same 
>> machine where I am trying to run RBTools.
>> Thanks a lot
>> Really Appreciate your help.
>> Shankar KC
>>
>>  
>> On Friday, April 25, 2014 12:29:39 AM UTC-7, David Trowbridge wrote:
>>
>>> What version of Review Board?
>>>
>>> For perforce, we *highly* recommend using RBTools to create the diff 
>>> files. 'p4 diff' does not generate very usable diffs.
>>>
>>> -David
>>>
>>>
>>> On Fri, Apr 25, 2014 at 12:03 AM, shankar KC  wrote:
>>>
 Hello,
 I am trying to setup review board on ubuntu. We use perforce source 
 control. I created a diff using eclipse. when i logon to review board site 
 and do the fallowing actions
 click new review request
 select perforce repository
 type the chage number
 select browse and select my patchfile(created using eclise diff)
 click on create review request.

 I see error " need more than 1 value to unpack."
 I dont see any arror in review board log as well. Last line of log that 
 i see is 
 DiffParser.parse: Finished parsing diff

 I wanted to complete this prototypying a week back but could figureout 
 a way to resolve this issue. Please help me to fix it.
 Thanks
 Shankar KC

 -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/
 powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 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...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.

>>>
>>>  -- 
>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>> ---
>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>> ---
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> --- 
>> 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...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Problems upgrading from RB1.5 to RB2.0RC3

2014-05-21 Thread Paul Fee
Following the release of RB2.0, I retested with the latest packages in 
Fedora rawhide and EPEL.

The issue is still present with ReviewBoard-2.0-13.fc21 on Fedora rawhide.

The same procedure (a database import and rb-site upgrade) works with 
ReviewBoard-1.7.25-1.el6 on CentOS6+EPEL.

Note on Fedora, the database dump was modified from MyISAM to InnoDB before 
importing.  On CentOS, the engine was left as MyISAM, presumably because 
the default engine used by MySQL on CentOS is MyISAM where as it's InnoDB 
with mariadb on Fedora Rawhide.

Any advice on next steps to debug?

Since there are a few differences between the systems, perhaps eliminate a 
few, e.g. use Fedora Rawhide for both 2.0 and 1.7.25 tests, that way 
mariadb will be common to both setups.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: A repository was not found at the specified path - HTTPS issue

2014-05-21 Thread bhagwat mane
Hi David,

But it is working fine with browser and with client svn.

Could you please let me know what should i do to fix this issue.

Thanks,


On Tuesday, May 20, 2014 4:00:34 PM UTC+5:30, bhagwat mane wrote:
>
> Hi Team,
>
> *Issue :* A repository was not found at the specified path.
> *When :* Adding or updating client SVN repository (https://), it is 
> hosted at another place and required SSL certificate.
>
> *Background *:
> We have migrated CollabNet Subversion 1.6 to 1.8. after migration we have 
> facing above issue.
>
> I spent near about 4 days to resolve this issue, below are some changes we 
> did to fix this issue-
>
> 1. We have upgrade reviewboard from 1.6 to 1.7
> 2. Tried to update python from 2.6.5 to latest version but unable to do 
> that.
> 3. Tried to search on google, how to add client certificate to apache2 
> server.
> 4. We have another SVN repository which is hosted at our local 
> environment, and we are able to add/update repository details.
> 5. After migration reviewboard 1.7 works fine, but can't to any action 
> related to client repository like add/update repository, create request 
> with diff/patch, not able to view existing diff files. 
> 6. Got error when we see old review request diff in reviewboard 
> *Error:* Unable to connect to a repository at URL 'https://.' Error 
> running context: An error occurred during SSL communication.
>
> 7. We have tired to connect to svn from Terminal using command svn ls 
> https://ipaddress/svn/foldername/, but getting error as *:*
> *Error : *svn: E120171: Unable to connect to a repository at URL '
> https://ipaddress/svn/foldername' 
>
> svn: E120171: Error running context: An error occurred during SSL 
> communication
>
> *Notes: *
> 1. We have installed reviewboard on Ubuntu server with Apache2 and Python 
> 2.6 and MySQL.
> 2. CollabNet Repository is hosted at remote data center and required ssl 
> certificate.
>
> It seems that this issue is related to SSL, but no idea how to fix this.
>
> I am new to Ubuntu, Apache and Python, so no idea how to add client ssl 
> certificate to reviewboard.
>
> Please provide me details information how i can fix this issue.
>
> Thanks in advance.
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


rbt and perforce 2005.1.PATCH configuration issues

2014-05-21 Thread shankar KC
Open p4v.exe select root folder..right click and open command prompt there. 
This will inherit all perforce env. variables. Try there rbt post chanelistno
It works for ne

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: A repository was not found at the specified path - HTTPS issue

2014-05-21 Thread Igor Berger
If you're running on Windows and have a proxy set in your browser,
chances are the same proxy is not used for command line tools.

Try "netsh winhttp show proxy" from command line to see what it's set to.
Then use "netsh winhttp set proxy" to set it appropriately.


On Wednesday, May 21, 2014 8:01:11 AM UTC-4, bhagwat mane wrote:
>
> Hi David,
>
> But it is working fine with browser and with client svn.
>
> Could you please let me know what should i do to fix this issue.
>
> Thanks,
>
>
> On Tuesday, May 20, 2014 4:00:34 PM UTC+5:30, bhagwat mane wrote:
>>
>> Hi Team,
>>
>> *Issue :* A repository was not found at the specified path.
>> *When :* Adding or updating client SVN repository (https://), it is 
>> hosted at another place and required SSL certificate.
>>
>> *Background *:
>> We have migrated CollabNet Subversion 1.6 to 1.8. after migration we have 
>> facing above issue.
>>
>> I spent near about 4 days to resolve this issue, below are some changes 
>> we did to fix this issue-
>>
>> 1. We have upgrade reviewboard from 1.6 to 1.7
>> 2. Tried to update python from 2.6.5 to latest version but unable to do 
>> that.
>> 3. Tried to search on google, how to add client certificate to apache2 
>> server.
>> 4. We have another SVN repository which is hosted at our local 
>> environment, and we are able to add/update repository details.
>> 5. After migration reviewboard 1.7 works fine, but can't to any action 
>> related to client repository like add/update repository, create request 
>> with diff/patch, not able to view existing diff files. 
>> 6. Got error when we see old review request diff in reviewboard 
>> *Error:* Unable to connect to a repository at URL 'https://.' Error 
>> running context: An error occurred during SSL communication.
>>
>> 7. We have tired to connect to svn from Terminal using command svn ls 
>> https://ipaddress/svn/foldername/, but getting error as *:*
>> *Error : *svn: E120171: Unable to connect to a repository at URL '
>> https://ipaddress/svn/foldername' 
>>
>> svn: E120171: Error running context: An error occurred during SSL 
>> communication
>>
>> *Notes: *
>> 1. We have installed reviewboard on Ubuntu server with Apache2 and Python 
>> 2.6 and MySQL.
>> 2. CollabNet Repository is hosted at remote data center and required ssl 
>> certificate.
>>
>> It seems that this issue is related to SSL, but no idea how to fix this.
>>
>> I am new to Ubuntu, Apache and Python, so no idea how to add client ssl 
>> certificate to reviewboard.
>>
>> Please provide me details information how i can fix this issue.
>>
>> Thanks in advance.
>>
>>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: error displaying diff in RB2.0

2014-05-21 Thread Matthew Woehlke
On 2014-05-21 00:10, MoonWalker wrote:
> This is the first time that I find this issue.
> There is nothing fancy in this file "INI_de.h" to trigger this:
> 
>  There was an error displaying this diff.
> 
> unknown encoding:

When you say "nothing fancy", and considering the error message, what is
the encoding of "INI_de.h"? Given the error and the name of the file, I
am guessing it is not ASCII?

-- 
Matthew

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Problems upgrading from RB1.5 to RB2.0RC3

2014-05-21 Thread Christian Hammond
Hi Paul,

I'm going to see about getting a fix out soon. Would you be able to get me
a database dump pre-upgrade that just contains the schema for the whole
database + the contents of just the django_evolution and
django_project_version tables?

(You can just do a dump without data and send that, and another just
containing those tables with data, and I'll stitch them together.)

The problem looks to be in django-evolution, not Review Board, so I can get
a release out fast for that. (Though, you may need to hand-patch until
there's a new RPM rolled.)

Christian


On Wednesday, May 21, 2014, Paul Fee  wrote:

> Following the release of RB2.0, I retested with the latest packages in
> Fedora rawhide and EPEL.
>
> The issue is still present with ReviewBoard-2.0-13.fc21 on Fedora rawhide.
>
> The same procedure (a database import and rb-site upgrade) works with
> ReviewBoard-1.7.25-1.el6 on CentOS6+EPEL.
>
> Note on Fedora, the database dump was modified from MyISAM to InnoDB
> before importing.  On CentOS, the engine was left as MyISAM, presumably
> because the default engine used by MySQL on CentOS is MyISAM where as it's
> InnoDB with mariadb on Fedora Rawhide.
>
> Any advice on next steps to debug?
>
> Since there are a few differences between the systems, perhaps eliminate a
> few, e.g. use Fedora Rawhide for both 2.0 and 1.7.25 tests, that way
> mariadb will be common to both setups.
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> 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/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: A repository was not found at the specified path - HTTPS issue

2014-05-21 Thread Christian Hammond
Just to help me clarify the issue in my head, it's not working on the
server with the command-line svn client, but it is working on your local
machine with the command-line svn?

If so, as Igor says, that looks like it could be proxy-related. Are you
behind a proxy? If so, you'll need to set the HTTPS_PROXY and HTTP_PROXY
environment variables in your reviewboard.wsgi file (and possibly in your
Apache configuration for your Review Board install).

Christian

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


On Wed, May 21, 2014 at 5:01 AM, bhagwat mane  wrote:

> Hi David,
>
> But it is working fine with browser and with client svn.
>
> Could you please let me know what should i do to fix this issue.
>
> Thanks,
>
>
>
> On Tuesday, May 20, 2014 4:00:34 PM UTC+5:30, bhagwat mane wrote:
>>
>> Hi Team,
>>
>> *Issue :* A repository was not found at the specified path.
>> *When :* Adding or updating client SVN repository (https://), it is
>> hosted at another place and required SSL certificate.
>>
>> *Background *:
>> We have migrated CollabNet Subversion 1.6 to 1.8. after migration we have
>> facing above issue.
>>
>> I spent near about 4 days to resolve this issue, below are some changes
>> we did to fix this issue-
>>
>> 1. We have upgrade reviewboard from 1.6 to 1.7
>> 2. Tried to update python from 2.6.5 to latest version but unable to do
>> that.
>> 3. Tried to search on google, how to add client certificate to apache2
>> server.
>> 4. We have another SVN repository which is hosted at our local
>> environment, and we are able to add/update repository details.
>> 5. After migration reviewboard 1.7 works fine, but can't to any action
>> related to client repository like add/update repository, create request
>> with diff/patch, not able to view existing diff files.
>> 6. Got error when we see old review request diff in reviewboard
>> *Error:* Unable to connect to a repository at URL 'https://.' Error
>> running context: An error occurred during SSL communication.
>>
>> 7. We have tired to connect to svn from Terminal using command svn ls
>> https://ipaddress/svn/foldername/, but getting error as *:*
>> *Error : *svn: E120171: Unable to connect to a repository at URL '
>> https://ipaddress/svn/foldername'
>>
>> svn: E120171: Error running context: An error occurred during SSL
>> communication
>>
>> *Notes: *
>> 1. We have installed reviewboard on Ubuntu server with Apache2 and Python
>> 2.6 and MySQL.
>> 2. CollabNet Repository is hosted at remote data center and required ssl
>> certificate.
>>
>> It seems that this issue is related to SSL, but no idea how to fix this.
>>
>> I am new to Ubuntu, Apache and Python, so no idea how to add client ssl
>> certificate to reviewboard.
>>
>> Please provide me details information how i can fix this issue.
>>
>> Thanks in advance.
>>
>>  --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> 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/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: how to apply review code on local machine

2014-05-21 Thread David Trowbridge
It looks like we have a bug in 'rbt patch'. It's only really been tested
with git repositories, so I'm not too surprised. Would you mind filing this
in our issue tracker?

-David


On Wed, May 21, 2014 at 4:47 AM, shankar KC  wrote:

> Hi I have review board setup against perforce repository. I can login to
> use. Using rbt post i can upload the perforce changelist. If i have to
> download my code changes to some other machine having rbt tools how can i
> do it?
> As per the docs
> *rbt patch* will download the latest diff from the review request
> matching review-request-id
>
> I see this in review board webUI:-
> Review Request *#11*  - Created May 7, 2014
> and updated 1 week ago
> So i assumed that review-request-id = 11. Am i correct? How to get
> review-request-id for a code request?
>
> *rbt patch -d 11*
> >>> RBTools 0.6
> >>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit
> (Intel)]
> >>> Running on Windows-7-6.1.7601-SP1
> >>> Home = C:\Users\shankarkc\AppData\Roaming
> >>> Current directory = d:\ariba\s2837\ariba
> >>> Checking for a Subversion repository...
> >>> Unable to execute "svn help": skipping SVN
> >>> Checking for a Git repository...
> >>> Unable to execute "git --help" or "git.cmd --help": skipping Git
> >>> Checking for a Mercurial repository...
> >>> Unable to execute "hg --help": skipping Mercurial
> >>> Checking for a CVS repository...
> >>> Unable to execute "cvs": skipping CVS
> >>> Checking for a Perforce repository...
> >>> Running: p4 info
> >>> Running: diff --version
> >>> repository info: Path: ['perforce3:1666', 'PERFORCE3:1666'], Base
> path: None
> , Supports changesets: True
> >>> Making HTTP GET request to http://10.138.168.44/api/
> >>> Making HTTP GET request to
> http://10.138.168.44/api/review-requests/11/diffs
> /1/
> Patch is being applied from request 11 with diff revision  1.
> Traceback (most recent call last):
>   File "C:\Python27\Scripts\rbt-script.py", line 9, in 
> load_entry_point('RBTools==0.6.dev', 'console_scripts', 'rbt')()
>   File
> "C:\Python27\lib\site-packages\rbtools-0.6.dev-py2.7.egg\rbtools\commands
> \main.py", line 134, in main
> command.run_from_argv([RB_MAIN, command_name] + args)
>   File
> "C:\Python27\lib\site-packages\rbtools-0.6.dev-py2.7.egg\rbtools\commands
> \__init__.py", line 422, in run_from_argv
> exit_code = self.main(*args) or 0
>   File
> "C:\Python27\lib\site-packages\rbtools-0.6.dev-py2.7.egg\rbtools\commands
> \patch.py", line 141, in main
> tmp_patch_file, base_dir)
>   File
> "C:\Python27\lib\site-packages\rbtools-0.6.dev-py2.7.egg\rbtools\commands
> \patch.py", line 82, in apply_patch
> base_dir, self.options.px)
>   File
> "C:\Python27\lib\site-packages\rbtools-0.6.dev-py2.7.egg\rbtools\clients\
> __init__.py", line 163, in apply_patch
> p_num = p or self._get_p_number(patch_file, base_path, base_dir)
>   File
> "C:\Python27\lib\site-packages\rbtools-0.6.dev-py2.7.egg\rbtools\clients\
> __init__.py", line 136, in _get_p_number
> if (base_dir.startswith(base_path)):
> TypeError: startswith first arg must be str, unicode, or tuple, not
> NoneType
>
> Really appriciate your help.
> Thanks
> Shankar KC
>
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> 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/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Problems upgrading from RB1.5 to RB2.0RC3

2014-05-21 Thread Stephen Gallagher
On Wed, May 21, 2014 at 2:37 PM, Christian Hammond wrote:

> Hi Paul,
>
> I'm going to see about getting a fix out soon. Would you be able to get me
> a database dump pre-upgrade that just contains the schema for the whole
> database + the contents of just the django_evolution and
> django_project_version tables?
>
> (You can just do a dump without data and send that, and another just
> containing those tables with data, and I'll stitch them together.)
>
> The problem looks to be in django-evolution, not Review Board, so I can
> get a release out fast for that. (Though, you may need to hand-patch until
> there's a new RPM rolled.)
>
>
I maintain django-evolution in Fedora and EPEL as well, so let me know as
soon as it's out and I'll have an RPM ready within a day.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: error displaying diff in RB2.0

2014-05-21 Thread MoonWalker
seems like is using windows-1252 encoding. is that encoding supported?

On Thursday, May 22, 2014 1:25:55 AM UTC+10, Matthew Woehlke wrote:
>
> On 2014-05-21 00:10, MoonWalker wrote: 
> > This is the first time that I find this issue. 
> > There is nothing fancy in this file "INI_de.h" to trigger this: 
> > 
> >  There was an error displaying this diff. 
> > 
> > unknown encoding: 
>
> When you say "nothing fancy", and considering the error message, what is 
> the encoding of "INI_de.h"? Given the error and the name of the file, I 
> am guessing it is not ASCII? 
>
> -- 
> Matthew 
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: error displaying diff in RB2.0

2014-05-21 Thread David Trowbridge
It is, but it's not tried by default. In the repository configuration, you
can add a comma-separated list of additional encodings (on top of utf-8 and
ascii) to try.

-David


On Wed, May 21, 2014 at 4:43 PM, MoonWalker wrote:

> seems like is using windows-1252 encoding. is that encoding supported?
>
>
> On Thursday, May 22, 2014 1:25:55 AM UTC+10, Matthew Woehlke wrote:
>>
>> On 2014-05-21 00:10, MoonWalker wrote:
>> > This is the first time that I find this issue.
>> > There is nothing fancy in this file "INI_de.h" to trigger this:
>> >
>> >  There was an error displaying this diff.
>> >
>> > unknown encoding:
>>
>> When you say "nothing fancy", and considering the error message, what is
>> the encoding of "INI_de.h"? Given the error and the name of the file, I
>> am guessing it is not ASCII?
>>
>> --
>> Matthew
>>
>  --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> 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/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


how to generate diff on new project

2014-05-21 Thread MoonWalker
I have a new project that is some sort of mixture of code of multiple 
existent projects. There are 4 new files and I would like only to present 
these 4 files as a part of my review, but I am not sure how to isolate the 
changes, since my base line is base on multiple chunk of code. Just for 
reference I am using SVN 

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: how to generate diff on new project

2014-05-21 Thread David Trowbridge
rbtools lets you restrict the generated diff to specific filenames. If
you're using 0.6, this is done with the -I flag.

-David


On Wed, May 21, 2014 at 4:50 PM, MoonWalker wrote:

> I have a new project that is some sort of mixture of code of multiple
> existent projects. There are 4 new files and I would like only to present
> these 4 files as a part of my review, but I am not sure how to isolate the
> changes, since my base line is base on multiple chunk of code. Just for
> reference I am using SVN
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> 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/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: error displaying diff in RB2.0

2014-05-21 Thread MoonWalker
Thanks a lot David :-) it works 

On Thursday, May 22, 2014 9:44:05 AM UTC+10, David Trowbridge wrote:
>
> It is, but it's not tried by default. In the repository configuration, you 
> can add a comma-separated list of additional encodings (on top of utf-8 and 
> ascii) to try.
>
> -David
>
>
> On Wed, May 21, 2014 at 4:43 PM, MoonWalker 
> 
> > wrote:
>
>> seems like is using windows-1252 encoding. is that encoding supported?
>>
>>
>> On Thursday, May 22, 2014 1:25:55 AM UTC+10, Matthew Woehlke wrote:
>>>
>>> On 2014-05-21 00:10, MoonWalker wrote: 
>>> > This is the first time that I find this issue. 
>>> > There is nothing fancy in this file "INI_de.h" to trigger this: 
>>> > 
>>> >  There was an error displaying this diff. 
>>> > 
>>> > unknown encoding: 
>>>
>>> When you say "nothing fancy", and considering the error message, what is 
>>> the encoding of "INI_de.h"? Given the error and the name of the file, I 
>>> am guessing it is not ASCII? 
>>>
>>> -- 
>>> Matthew 
>>>
>>  -- 
>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>> ---
>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>> ---
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> --- 
>> 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...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Problems upgrading from RB1.5 to RB2.0RC3

2014-05-21 Thread Christian Hammond
Thanks for the info, everyone!

I just put out a Django Evolution 0.7.1 release, which should fix this
issue. You can upgrade with:

easy_install -U django_evolution

Or, if using RPMs, Stephen will get to it soon! :)

- Christian

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


On Wed, May 21, 2014 at 4:32 PM, Stephen Gallagher <
step...@gallagherhome.com> wrote:

>
>
>
> On Wed, May 21, 2014 at 2:37 PM, Christian Hammond wrote:
>
>> Hi Paul,
>>
>> I'm going to see about getting a fix out soon. Would you be able to get
>> me a database dump pre-upgrade that just contains the schema for the whole
>> database + the contents of just the django_evolution and
>> django_project_version tables?
>>
>> (You can just do a dump without data and send that, and another just
>> containing those tables with data, and I'll stitch them together.)
>>
>> The problem looks to be in django-evolution, not Review Board, so I can
>> get a release out fast for that. (Though, you may need to hand-patch until
>> there's a new RPM rolled.)
>>
>>
> I maintain django-evolution in Fedora and EPEL as well, so let me know as
> soon as it's out and I'll have an RPM ready within a day.
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> 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/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: how to apply review code on local machine

2014-05-21 Thread shankar KC
Sure I will open a bug
thx
shankar

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: how to apply review code on local machine

2014-05-21 Thread shankar KC


These are the args that are passed to the method. I got them using print 
statement.
diff_file_path:- c:\users\shanka~1\appdata\local\temp\tmpzusqly, 
repository_info.base_path :- None, 
base_dir :- ,
self.options.px :- None.

It looked like its failing bcz base_dir empty and repository_info.base_path 
:- None
On Thursday, May 22, 2014 8:40:49 AM UTC+5:30, shankar KC wrote:

> Sure I will open a bug
> thx
> shankar

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: A repository was not found at the specified path - HTTPS issue

2014-05-21 Thread bhagwat mane
Hi Christian and lgor, 

I have execute "netsh winhttp show proxy" command (OS - Windows 7) and got 
below message -

Current WinHTTP proxy settings:

Direct access (no proxy server).

Also i got svn list from windows 7 command prompt -
Command - svn ls https://IPAddress/svn/SVNFolder/
Output - List of svn folders

But on Ubuntu server if i execute "svn ls https://IPAddress/svn/SVNFolder/"; 
command from terminal, got below error

svn: E120171: Unable to connect to a repository at URL '
https://IPAddress/svn/SVNFolder/ ' 

svn: E120171: Error running context: An error occurred during SSL 
communication
Previously (before upgrade) on Ubuntu it is working fine we are able to do 
all SVN operation, before upgrade we have following configuration on ubuntu 
-
Reviewboard - 1.6
SVN - 1.6
Apache - 2.6.5

Do you think my Ubuntu server is corrupted, do i need to re-install 
reviewboard and svn? 

Or please give me some information for "How to add SSL for SVN in 
reviewboard? or What are different step to work with HTTPS (SVN) with 
reviewboard?"

Please advice.


On Tuesday, May 20, 2014 4:00:34 PM UTC+5:30, bhagwat mane wrote:
>
> Hi Team,
>
> *Issue :* A repository was not found at the specified path.
> *When :* Adding or updating client SVN repository (https://), it is 
> hosted at another place and required SSL certificate.
>
> *Background *:
> We have migrated CollabNet Subversion 1.6 to 1.8. after migration we have 
> facing above issue.
>
> I spent near about 4 days to resolve this issue, below are some changes we 
> did to fix this issue-
>
> 1. We have upgrade reviewboard from 1.6 to 1.7
> 2. Tried to update python from 2.6.5 to latest version but unable to do 
> that.
> 3. Tried to search on google, how to add client certificate to apache2 
> server.
> 4. We have another SVN repository which is hosted at our local 
> environment, and we are able to add/update repository details.
> 5. After migration reviewboard 1.7 works fine, but can't to any action 
> related to client repository like add/update repository, create request 
> with diff/patch, not able to view existing diff files. 
> 6. Got error when we see old review request diff in reviewboard 
> *Error:* Unable to connect to a repository at URL 'https://.' Error 
> running context: An error occurred during SSL communication.
>
> 7. We have tired to connect to svn from Terminal using command svn ls 
> https://ipaddress/svn/foldername/, but getting error as *:*
> *Error : *svn: E120171: Unable to connect to a repository at URL '
> https://ipaddress/svn/foldername' 
>
> svn: E120171: Error running context: An error occurred during SSL 
> communication
>
> *Notes: *
> 1. We have installed reviewboard on Ubuntu server with Apache2 and Python 
> 2.6 and MySQL.
> 2. CollabNet Repository is hosted at remote data center and required ssl 
> certificate.
>
> It seems that this issue is related to SSL, but no idea how to fix this.
>
> I am new to Ubuntu, Apache and Python, so no idea how to add client ssl 
> certificate to reviewboard.
>
> Please provide me details information how i can fix this issue.
>
> Thanks in advance.
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: A repository was not found at the specified path - HTTPS issue

2014-05-21 Thread bhagwat mane
One another think, currently the reviewboard is working with other SVN 
Server repository ( SVN repo not having SSL - http://IPAddress/Svn/Folder";)



On Tuesday, May 20, 2014 4:00:34 PM UTC+5:30, bhagwat mane wrote:
>
> Hi Team,
>
> *Issue :* A repository was not found at the specified path.
> *When :* Adding or updating client SVN repository (https://), it is 
> hosted at another place and required SSL certificate.
>
> *Background *:
> We have migrated CollabNet Subversion 1.6 to 1.8. after migration we have 
> facing above issue.
>
> I spent near about 4 days to resolve this issue, below are some changes we 
> did to fix this issue-
>
> 1. We have upgrade reviewboard from 1.6 to 1.7
> 2. Tried to update python from 2.6.5 to latest version but unable to do 
> that.
> 3. Tried to search on google, how to add client certificate to apache2 
> server.
> 4. We have another SVN repository which is hosted at our local 
> environment, and we are able to add/update repository details.
> 5. After migration reviewboard 1.7 works fine, but can't to any action 
> related to client repository like add/update repository, create request 
> with diff/patch, not able to view existing diff files. 
> 6. Got error when we see old review request diff in reviewboard 
> *Error:* Unable to connect to a repository at URL 'https://.' Error 
> running context: An error occurred during SSL communication.
>
> 7. We have tired to connect to svn from Terminal using command svn ls 
> https://ipaddress/svn/foldername/, but getting error as *:*
> *Error : *svn: E120171: Unable to connect to a repository at URL '
> https://ipaddress/svn/foldername' 
>
> svn: E120171: Error running context: An error occurred during SSL 
> communication
>
> *Notes: *
> 1. We have installed reviewboard on Ubuntu server with Apache2 and Python 
> 2.6 and MySQL.
> 2. CollabNet Repository is hosted at remote data center and required ssl 
> certificate.
>
> It seems that this issue is related to SSL, but no idea how to fix this.
>
> I am new to Ubuntu, Apache and Python, so no idea how to add client ssl 
> certificate to reviewboard.
>
> Please provide me details information how i can fix this issue.
>
> Thanks in advance.
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.