Re: Review Board Ticket #4420: Bugzilla info panel contains python unicode objects. eg. Status: (u'ASSIGNED', )

2016-06-20 Thread Barret Rennie
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4420/
--

New update by glob
For Beanbag, Inc. > Review Board > Ticket #4420


Reply:

A change for this is up at https://reviews.reviewboard.org/r/8253/.

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Review Board Ticket #4429: Add archive on publish

2016-06-20 Thread Christian Hammond
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4429/
--

New update by chipx86
For Beanbag, Inc. > Review Board > Ticket #4429


Reply:

Had a duplicate bug problem. Closing in favor of bug 4430, but I don't want 
to mark as a dup.


Status:
- New
+ Invalid

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Review Board Ticket #4429: Add archive on publish

2016-06-20 Thread Christian Hammond
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4429/
--

New ticket #4429 by chipx86
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Enhancement


--
Add archive on publish
==

# What version are you running?
2.5.x

# What's the URL of the page this enhancement relates to, if any?
/r/123/

# Describe the enhancement and the motivation for it.
We've had a customer request to add archiving on publish for reviews. This 
would make it easier to keep your dashboard clean when publishing reviews.

We'd need to figure out how to make the UI work in a way that doesn't appear 
cluttered. Also need to consider whether this would also be used for replies. 
Probably yes to both.

--

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Review Board Ticket #4420: Bugzilla info panel contains python unicode objects. eg. Status: (u'ASSIGNED', )

2016-06-20 Thread Barret Rennie
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4420/
--

New update by glob
For Beanbag, Inc. > Review Board > Ticket #4420


Reply:

A change for this is up at https://reviews.reviewboard.org/r/8253/.


Status:
- Confirmed
+ PendingReview

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Standing up multiple web servers for reviewboard

2016-06-20 Thread Joshua Olson
Great, thank you David.

On Monday, June 20, 2016 at 1:00:02 PM UTC-7, David Trowbridge wrote:
>
> Everything important is wrapped in database transactions, so there's no 
> issue with concurrency between servers (there's already lots of concurrency 
> between different processes on a single server). As long as uploaded files 
> is shared across the servers (either via S3 or something like NFS), it 
> should be just fine. If you use SSH keys to connect to your repositories 
> you'll either need to hand-copy them to each web server or use Power Pack.
>
> -David
>
> On Mon, Jun 20, 2016 at 12:57 PM Joshua Olson  > wrote:
>
>> The reason I ask is because in the past I have heard there were concerns 
>> about data integrity if two people work working on the same review on 
>> different web server instances.
>>
>>
>> On Tuesday, June 14, 2016 at 10:59:31 AM UTC-7, Joshua Olson wrote:
>>>
>>> We have a fully multi-server review board instance with a separate web 
>>> server, memcached server, and DB server and now we'd like to a add 
>>> redundant web front end (RB instance) to our setup, keeping the same DB and 
>>> memcached for now.
>>>
>>> Are there any issues or concerns with doing this?  Other than as 
>>> mentioned in the optimization docs about making sure that the site/data and 
>>> site/htdocs/media dirs are properly replicated.
>>>
>>> Cheers,
>>> Joshua Olson
>>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://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.
>>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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: RB 2.0.11 ImportError: No module named apps && RuntimeError: Failed to build media files

2016-06-20 Thread David Trowbridge
If you're installing from the egg, it shouldn't be trying to build media
files. What command did you run to get that output?

-David

On Tue, Jun 14, 2016 at 7:17 AM Mátyás Papp  wrote:

> Hey there!
>
> I wanna installing rb 2.0.11 but I get these errors:
>
> Traceback (most recent call last):
>   File "contrib/internal/build-media.py", line 29, in 
> ret = call_command('collectstatic', interactive=False, verbosity=2)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/core/management/__init__
>   .py", line 159, in call_command
> return klass.execute(*args, **defaults)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/core/management/base.py"
>   , line 285, in execute
> output = self.handle(*args, **options)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/core/management/base.py"
>   , line 415, in handle
> return self.handle_noargs(**options)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/mana
>   gement/commands/collectstatic.py", line 173, in handle_noargs
> collected = self.collect()
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/mana
>   gement/commands/collectstatic.py", line 102, in collect
> for finder in finders.get_finders():
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/find
>   ers.py", line 253, in get_finders
> yield get_finder(finder_path)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/utils/functional.py"
> , li   ne 32, in wrapper
> result = func(*args)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/find
>   ers.py", line 265, in _get_finder
> return Finder()
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/find
>   ers.py", line 125, in __init__
> app_storage = self.storage_class(app)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/stor
>   age.py", line 303, in __init__
> mod = import_module(app)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/utils/importlib.py"
> , lin   e 40, in import_module
> __import__(name)
>   File 
> "/usr/local/lib/python2.7/dist-packages/django_haystack-2.5.dev1-py2.7.egg/haystack/__init__.py
>   ", line 10, in 
> from haystack.utils import loading
>   File 
> "/usr/local/lib/python2.7/dist-packages/django_haystack-2.5.dev1-py2.7.egg/haystack/utils/loadi
>   ng.py", line 18, in 
> from haystack.utils.app_loading import haystack_get_app_modules
>   File 
> "/usr/local/lib/python2.7/dist-packages/django_haystack-2.5.dev1-py2.7.egg/haystack/utils/app_l
>   oading.py", line 4, in 
> from django.apps import apps
> ImportError: No module named apps
> Traceback (most recent call last):
>   File "setup.py", line 233, in 
> "Topic :: Software Development :: Quality Assurance",
>   File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
> dist.run_commands()
>   File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
> self.run_command(cmd)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File "/usr/lib/python2.7/dist-packages/setuptools/command/bdist_egg.py",
> line 152, in run
> self.run_command("egg_info")
>   File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
> self.distribution.run_command(command)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File "setup.py", line 80, in run
> self.run_command('build_media')
>   File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
> self.distribution.run_command(command)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File "setup.py", line 100, in run
> raise RuntimeError('Failed to build media files')
> RuntimeError: Failed to build media files
>
> I installed ReviewBoard-2.0.11 egg with easy_install and dependencies.
> What should I do?
> Thanks for the help!
>
> Best regards,
> Matyas
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://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.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to 

Re: Standing up multiple web servers for reviewboard

2016-06-20 Thread David Trowbridge
Everything important is wrapped in database transactions, so there's no
issue with concurrency between servers (there's already lots of concurrency
between different processes on a single server). As long as uploaded files
is shared across the servers (either via S3 or something like NFS), it
should be just fine. If you use SSH keys to connect to your repositories
you'll either need to hand-copy them to each web server or use Power Pack.

-David

On Mon, Jun 20, 2016 at 12:57 PM Joshua Olson 
wrote:

> The reason I ask is because in the past I have heard there were concerns
> about data integrity if two people work working on the same review on
> different web server instances.
>
>
> On Tuesday, June 14, 2016 at 10:59:31 AM UTC-7, Joshua Olson wrote:
>>
>> We have a fully multi-server review board instance with a separate web
>> server, memcached server, and DB server and now we'd like to a add
>> redundant web front end (RB instance) to our setup, keeping the same DB and
>> memcached for now.
>>
>> Are there any issues or concerns with doing this?  Other than as
>> mentioned in the optimization docs about making sure that the site/data and
>> site/htdocs/media dirs are properly replicated.
>>
>> Cheers,
>> Joshua Olson
>>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://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.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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: Standing up multiple web servers for reviewboard

2016-06-20 Thread Joshua Olson
The reason I ask is because in the past I have heard there were concerns 
about data integrity if two people work working on the same review on 
different web server instances.

On Tuesday, June 14, 2016 at 10:59:31 AM UTC-7, Joshua Olson wrote:
>
> We have a fully multi-server review board instance with a separate web 
> server, memcached server, and DB server and now we'd like to a add 
> redundant web front end (RB instance) to our setup, keeping the same DB and 
> memcached for now.
>
> Are there any issues or concerns with doing this?  Other than as mentioned 
> in the optimization docs about making sure that the site/data and 
> site/htdocs/media dirs are properly replicated.
>
> Cheers,
> Joshua Olson
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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: No diffs to review when creating review request from commit (commit has plenty of diffs)

2016-06-20 Thread Joe Cooper
David,

Thank you for your prompt feedback.

I've added the error details from the log below. I the commit I had a 
problem with a file was renamed to: ''/some/path/SomeFile.cs'. I'm not sure 
why there would be a problem because the file is indeed in the repository 
at that time. Unless the python code is looking for that file in the parent 
commit? 

What would be the best way to resolve this? Is there an configuration 
option to ignore these types of errors so we can at least get diffs for the 
remaining files? Is there a way to avoid this type of problem?




 2016-06-20 18:15:34,668 - ERROR - - Unable to update new review request 
from commit ID fa4e9537b44661f3d815d7b9bdbc413344f879bc: The file 
'/some/path/SomeFile.cs' (r) could not be found in the repository
Traceback (most recent call last):
File 
"/opt/bitnami/apps/reviewboard/htdocs/reviewboard/reviews/managers.py", 
line 150, in create
review_request.update_from_commit_id(commit_id)
File 
"/opt/bitnami/apps/reviewboard/htdocs/reviewboard/reviews/models/base_review_request_details.py",
 
line 220, in update_from_commit_id
self.update_from_committed_change(commit_id)
File 
"/opt/bitnami/apps/reviewboard/htdocs/reviewboard/reviews/models/base_review_request_details.py",
 
line 283, in update_from_committed_change
base_commit_id=commit.base_commit_id)
File 
"/opt/bitnami/apps/reviewboard/htdocs/reviewboard/diffviewer/managers.py", 
line 441, in create_from_data
check_existence=(not parent_diff_file_contents)))
File 
"/opt/bitnami/apps/reviewboard/htdocs/reviewboard/diffviewer/managers.py", 
line 586, in _process_files
base_commit_id)
FileNotFoundError: The file '/some/path/SomeFile.cs' (r) could not be found 
in the repository

2016-06-20 18:15:34,668 - ERROR - - Unable to update new review request 
from commit ID fa4e9537b44661f3d815d7b9bdbc413344f879bc: The file 
'/some/path/SomeFile.cs' (r) could not be found in the repository
Traceback (most recent call last):
File 
"/opt/bitnami/apps/reviewboard/htdocs/reviewboard/reviews/managers.py", 
line 150, in create
review_request.update_from_commit_id(commit_id)
File 
"/opt/bitnami/apps/reviewboard/htdocs/reviewboard/reviews/models/base_review_request_details.py",
 
line 220, in update_from_commit_id
self.update_from_committed_change(commit_id)
File 
"/opt/bitnami/apps/reviewboard/htdocs/reviewboard/reviews/models/base_review_request_details.py",
 
line 283, in update_from_committed_change
base_commit_id=commit.base_commit_id)
File 
"/opt/bitnami/apps/reviewboard/htdocs/reviewboard/diffviewer/managers.py", 
line 441, in create_from_data
check_existence=(not parent_diff_file_contents)))
File 
"/opt/bitnami/apps/reviewboard/htdocs/reviewboard/diffviewer/managers.py", 
line 586, in _process_files
base_commit_id)
FileNotFoundError: The file '/some/path/SomeFile.cs' (r) could not be found 
in the repository
Show less




On Monday, June 20, 2016 at 12:10:56 PM UTC-4, David Trowbridge wrote:
>
> Are there any errors in the Review Board log file?
>
> -David
> On Mon, Jun 20, 2016 at 9:09 AM Joe Cooper  > wrote:
>
>> Hi,
>>
>> My team is using Review Board version 2.5.3. 
>>
>> We are using a github hosted repo. We create review requests by selecting 
>> a repo -> branch -> and then selecting the commit to review on the web 
>> interface. 
>>
>> Sometimes, the diff is not generated for the review. That is, the Diffs 
>> tab is not available and the Diff Size is blank even though the commit 
>> includes a lot of diffs. The last time this happened, the commit in 
>> question happened before a merge. The merge commit generates diffs just 
>> fine.  
>>
>> So far we have tried:
>> 1. Deleting reviews permanently and recreating
>> 2. Recreating using different users
>> 3. Rebooting the server hosting reviewboard web app
>>
>> None of these have worked. Does anyone have a suggestion as this is a bit 
>> of a show-stopper in terms of us being able to use this tool for reviews.
>>
>> Thanks in advance,
>> Joe
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://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.
>>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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 

Re: No diffs to review when creating review request from commit (commit has plenty of diffs)

2016-06-20 Thread David Trowbridge
Are there any errors in the Review Board log file?

-David
On Mon, Jun 20, 2016 at 9:09 AM Joe Cooper 
wrote:

> Hi,
>
> My team is using Review Board version 2.5.3.
>
> We are using a github hosted repo. We create review requests by selecting
> a repo -> branch -> and then selecting the commit to review on the web
> interface.
>
> Sometimes, the diff is not generated for the review. That is, the Diffs
> tab is not available and the Diff Size is blank even though the commit
> includes a lot of diffs. The last time this happened, the commit in
> question happened before a merge. The merge commit generates diffs just
> fine.
>
> So far we have tried:
> 1. Deleting reviews permanently and recreating
> 2. Recreating using different users
> 3. Rebooting the server hosting reviewboard web app
>
> None of these have worked. Does anyone have a suggestion as this is a bit
> of a show-stopper in terms of us being able to use this tool for reviews.
>
> Thanks in advance,
> Joe
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://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.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.


No diffs to review when creating review request from commit (commit has plenty of diffs)

2016-06-20 Thread Joe Cooper
Hi,

My team is using Review Board version 2.5.3. 

We are using a github hosted repo. We create review requests by selecting a 
repo -> branch -> and then selecting the commit to review on the web 
interface. 

Sometimes, the diff is not generated for the review. That is, the Diffs tab 
is not available and the Diff Size is blank even though the commit includes 
a lot of diffs. The last time this happened, the commit in question 
happened before a merge. The merge commit generates diffs just fine.  

So far we have tried:
1. Deleting reviews permanently and recreating
2. Recreating using different users
3. Rebooting the server hosting reviewboard web app

None of these have worked. Does anyone have a suggestion as this is a bit 
of a show-stopper in terms of us being able to use this tool for reviews.

Thanks in advance,
Joe

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.


macOS installation failed (pip ReviewBoard)

2016-06-20 Thread julien gdt
Ahoy Everyone,

I just tried to install ReviewBoard on macOS but i'm in front of an error, 
a dumb error, when did "sudo -H pip install ReviewBoard":

  Found existing installation: setuptools 1.1.6

Uninstalling setuptools-1.1.6:

Exception:

Traceback (most recent call last):

  File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 215, in 
main

status = self.run(options, args)

  File "/Library/Python/2.7/site-packages/pip/commands/install.py", line 
317, in run

prefix=options.prefix_path,

  File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 736, in 
install

requirement.uninstall(auto_confirm=True)

  File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 
742, in uninstall

paths_to_remove.remove(auto_confirm)

  File "/Library/Python/2.7/site-packages/pip/req/req_uninstall.py", line 
115, in remove

renames(path, new_path)

  File "/Library/Python/2.7/site-packages/pip/utils/__init__.py", line 267, 
in renames

shutil.move(old, new)

  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py",
 
line 299, in move

copytree(src, real_dst, symlinks=True)

  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py",
 
line 208, in copytree

raise Error, errors

Error: 
[('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py',
 
'/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py',
 
"[Errno 1] Operation not permitted: 
'/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py'"),
 
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc',
 
'/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc',
 
"[Errno 1] Operation not permitted: 
'/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc'"),
 
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py',
 
'/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py',
 
"[Errno 1] Operation not permitted: 
'/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py'"),
 
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc',
 
'/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc',
 
"[Errno 1] Operation not permitted: 
'/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc'"),
 
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib',
 
'/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib',
 
"[Errno 1] Operation not permitted: 
'/tmp/pip-51CZGd-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib'")]


Any Explanations ?

Cheers From France

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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: rbt post with committed git change: "fatal: Not a git repository: 'None'"

2016-06-20 Thread edonwei
Hi Christian,

I am also facing this problem. I am also using a third party git 
repository, it prompts this error too.
Any good solution?

Thanks,
Huan

在 2016年6月7日星期二 UTC+8上午9:45:45,mi...@lastminuterecords.com写道:
>
> I've tried the suggestions here:
> http://stackoverflow.com/questions/11345357/review-board-diff-not-uploading
>
> without success, and tried uploading a diff manually without luck.  Please 
> advise. 
>
> rbt post --debug
> >>> RBTools 0.7.6
> >>> Python 2.7.11+ (default, Apr 17 2016, 14:00:29) 
> [GCC 5.3.1 20160413]
> >>> Running on 
> Linux-4.6.0-040600rc6-generic-x86_64-with-Ubuntu-16.04-xenial
> >>> Home = /home/mt
> >>> Current directory = /home/mt/ownCloud/src/git/ANL/RISC/SimDependency
> >>> Checking for a Subversion repository...
> >>> Unable to execute "svn help": skipping SVN
> >>> Checking for a Git repository...
> >>> Running: git rev-parse --git-dir
> >>> Running: git config core.bare
> >>> Running: git rev-parse --show-toplevel
> >>> Running: git symbolic-ref -q HEAD
> >>> Running: git config --get branch.master.merge
> >>> Running: git config --get branch.master.remote
> >>> Running: git config --get remote.origin.url
> >>> repository info: Path: git@:SimDependency.git, Base path: , 
> Supports changesets: False
> >>> Making HTTP GET request to https://codereview.risc.anl.gov/api/
> >>> Running: git rev-parse refs/heads/master
> >>> Running: git merge-base 2a2dfe98f87440f7a76e2cb0ef31f99f52ef2188 
> origin/master
> >>> Running: git rev-parse cbad9b1b2eb389268abee70e58121e4650da3bf9
> >>> Running: git status --porcelain --untracked-files=no
> WARNING: Your working directory is not clean. Any changes which have not 
> been committed to a branch will not be included in your review request.
> >>> Running: git rev-parse --git-dir
> >>> Running: git version
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
> --no-color --full-index --ignore-submodules -M --no-ext-diff 
> cbad9b1b2eb389268abee70e58121e4650da3bf9..2a2dfe98f87440f7a76e2cb0ef31f99f52ef2188
> >>> Making HTTP GET request to 
> https://codereview.risc.anl.gov/api/validation/diffs/
> >>> Cached response for HTTP GET 
> https://codereview.risc.anl.gov/api/validation/diffs/ expired and was 
> modified
> >>> Making HTTP POST request to 
> https://codereview.risc.anl.gov/api/validation/diffs/
> >>> Got API Error 224 (HTTP code 400): fatal: Not a git repository: 'None'
>
> >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"fatal: Not a git 
> repository: 'None'\n", u'code': 224}}
> Traceback (most recent call last):
>   File "/usr/local/bin/rbt", line 11, in 
> sys.exit(main())
>   File "/usr/local/lib/python2.7/dist-packages/rbtools/commands/main.py", 
> line 133, in main
> command.run_from_argv([RB_MAIN, command_name] + args)
>   File 
> "/usr/local/lib/python2.7/dist-packages/rbtools/commands/__init__.py", line 
> 629, in run_from_argv
> exit_code = self.main(*args) or 0
>   File "/usr/local/lib/python2.7/dist-packages/rbtools/commands/post.py", 
> line 756, in main
> (msg_prefix, e))
> rbtools.commands.CommandError: Error validating diff
>
> fatal: Not a git repository: 'None'
>  (HTTP 400, API Error 224)
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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: The specified diff file could not be parsed.

2016-06-20 Thread edonwei
Hi all,

I'm also facing this problem... I'm using latest Reviewboard 2.5.5 . Any 
solution?

===
>>> Making HTTP POST request to 
http://192.168.0.170:8010/api/validation/diffs/ >>> Got API Error 224 (HTTP 
code 400): fatal: Not a git repository: 'None'  >>> Error data: {u'stat': 
u'fail', u'err': {u'msg': u"fatal: Not a git repository: 'None'\n", 
u'code': 224}} Traceback (most recent call last):   File 
"/usr/local/bin/rbt", line 9, in  
load_entry_point('RBTools==0.7.6.dev0', 'console_scripts', 'rbt')()   File 
"/Library/Python/2.6/site-packages/rbtools/commands/main.py", line 133, in 
main command.run_from_argv([RB_MAIN, command_name] + args)   File 
"/Library/Python/2.6/site-packages/rbtools/commands/__init__.py", line 629, 
in run_from_argv exit_code = self.main(*args) or 0   File 
"/Library/Python/2.6/site-packages/rbtools/commands/post.py", line 756, in 
main (msg_prefix, e)) rbtools.commands.CommandError: Error validating 
diff  fatal: Not a git repository: 'None'  (HTTP 400, API Error 224)

Thanks,
Huan




在 2015年2月10日星期二 UTC+8上午9:49:44,Jonathan Anderson写道:
>
> I am getting the following error whenever I attempt to "rbt post" a change 
> that contains updates to an existing file.
> Posting a change containing a single new file works as expected.
>
> I have attached a fiddler archive with the reviewboard request.
>
> I am using an ssh git repository. I am accessing the reviewboard instance 
> from Windows 8.1 using RBTools for Windows.
>
>
>
> $ rbt post --debug
> >>> RBTools 0.7
> >>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit 
> (Intel)]
> >>> Running on Windows-8-6.2.9200
> >>> Home = C:\Users\janderson\AppData\Roaming
> >>> Current directory = c:\work
> >>> Checking for a Subversion repository...
> >>> Unable to execute "svn help": skipping SVN
> >>> Checking for a Git repository...
> >>> Running: git rev-parse --git-dir
> >>> Running: git config core.bare
> >>> Running: git rev-parse --show-toplevel
> >>> Running: git symbolic-ref -q HEAD
> >>> Running: git config --get branch.test.merge
> >>> Running: git config --get branch.test.remote
> >>> Running: git config --get remote.origin.url
> >>> repository info: Path: git@q-git:/opt/git/quosal.git, Base path: , 
> Supports changesets: False
> >>> Making HTTP GET request to http://codereview/api/
> >>> Cached response for HTTP GET http://codereview/api/ expired and was 
> modified
> >>> Running: git rev-parse refs/heads/test
> >>> Running: git merge-base 7c9e3a6183f52cd33e4a203c6d53b46b6748c7af 
> origin/master
> >>> Running: git rev-parse dd3d91bf5665f5d3bf022b6ec170fdd96b8a6ac4
> >>> Running: git status --porcelain --untracked-files=no
> >>> Running: git diff --no-color --full-index --ignore-submodules -M 
> --no-ext-diff 
> dd3d91bf5665f5d3bf022b6ec170fdd96b8a6ac4..7c9e3a6183f52cd33e4a203c6d53b46b6748c7af
> >>> Making HTTP GET request to http://codereview/api/validation/
> >>> Cached response for HTTP GET http://codereview/api/validation/ 
> expired and was not modified
> >>> Making HTTP GET request to http://codereview/api/validation/diffs/
> >>> Cached response for HTTP GET http://codereview/api/validation/diffs/ 
> expired and was modified
> >>> Making HTTP POST request to http://codereview/api/validation/diffs/
> >>> Got API Error 224 (HTTP code 400): The specified diff file could not 
> be parsed.
> >>> Error data: {u'stat': u'fail', u'reason': u"fatal: Not a git 
> repository: 'None'\n", u'err': {u'msg': u'The specified diff file could not 
> be parsed.', u'code': 224}}
> Traceback (most recent call last):
>   File "c:/Program Files (x86)/RBTools/Python27/Scripts/rbt-script.py", 
> line 8, in 
> load_entry_point('RBTools==0.7', 'console_scripts', 'rbt')()
>   File "c:\Program Files 
> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7-py2.7.egg\rbtools\commands\main.py",
>  
> line 133, in main
> command.run_from_argv([RB_MAIN, command_name] + args)
>   File "c:\Program Files 
> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7-py2.7.egg\rbtools\commands\__init__.py",
>  
> line 538, in run_from_argv
> exit_code = self.main(*args) or 0
>   File "c:\Program Files 
> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7-py2.7.egg\rbtools\commands\post.py",
>  
> line 662, in main
> (msg_prefix, e))
> rbtools.commands.CommandError: Error validating diff
>
> The specified diff file could not be parsed. (HTTP 400, API Error 224)
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.