Re: RB, SVN, and AD

2016-06-27 Thread Cathy Mullican
Since it is working on the command line at this point, my money would be on 
#2 rather than #1.

http://serverfault.com/questions/183231/how-to-configure-review-board-running-under-linux-to-use-a-ldap-user

is the most relevant-seeming info I've found so far, but enough has changed 
in the 5+ years since it was posted that applying the info there is not 
entirely straightforward. (Recreating a .subversion/auth tree is relatively 
straightforward; figuring out the LDAP auth configuration, less so.)

On Monday, June 27, 2016 at 4:44:57 PM UTC-7, Christian Hammond wrote:
>
> Okay. So it's probably one of two things:
>
> 1) Something is still messed up somewhere with the recompilation. I don't 
> know what, and can't really debug that from here.
>
> 2) The standard way of authenticating that we do doesn't support your 
> setup.
>
> It could easily be #2. We must be able to authenticate to the Subversion 
> server using a username and password (or anonymously). If this is going 
> through some alternative method for authentication, then it may require 
> additional support in Review Board.
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Mon, Jun 27, 2016 at 4:34 PM, Cathy Mullican  > wrote:
>
>> The server is VisualSVN (paid edition), with Windows AD authentication.  
>> The server where RB is running is joined to the domain, and I can 
>> authenticate from the command line. Most users connect via TortoiseSVN on 
>> their Windows systems; I also have one other Ubuntu box configured so that 
>> i can join the domain, authenticate with kinit, and run svn from the 
>> command line.
>>
>> On Monday, June 27, 2016 at 3:43:19 PM UTC-7, Christian Hammond wrote:
>>>
>>> Hi Cathy,
>>>
>>> Progress is good! I think I'll need more info on your setup at this 
>>> point though.
>>>
>>> Can you tell me more about how authentication works on your Subversion 
>>> setup? From the client's end, is it a standard username/password, or is 
>>> more involved?
>>>
>>> What does the server setup look like?
>>>
>>> The error message shown there ("Error running context: An error occurred 
>>> during authentication") is coming from Subversion itself.
>>>
>>> Christian
>>>
>>>
>>>
>>> -- 
>>> Christian Hammond
>>> President/CEO of Beanbag 
>>> Makers of Review Board 
>>>
>>> On Mon, Jun 27, 2016 at 10:06 AM, Cathy Mullican  
>>> wrote:
>>>
 OK, it definitely works better when you don't accidentally skip a step!

 I can now successfully do svn info from the command line, but I still 
 can't create the repo in RB. The error message in the log is now:

 2016-06-27 17:00:00,253 - ERROR -  - SVN: Failed to get repository 
 information for https://az-fs1.revshare.int/svn/rad: Unable to connect 
 to a repository at URL 'https://az-fs1.revshare.int/svn/rad'
 Error running context: An error occurred during authentication

 No more ra_serf error, so that's progress, at least! But also nothing 
 very informative, at least to my eye.

 On Monday, June 27, 2016 at 9:45:50 AM UTC-7, Cathy Mullican wrote:
>
> I did
> apt-get source python-svn
> then started trying to follow the directions in INSTALL.html, but they 
> didn't work at all...although lookin gback now, some of that may have 
> been 
> because it was Friday afternoon and I missed something; I'm trying again 
> now. 
>
> On Friday, June 24, 2016 at 5:44:51 PM UTC-7, Christian Hammond wrote:
>>
>> Hi Cathy,
>>
>> How are you trying to build from source? It is a bit of a pain to do 
>> from the upstream source, but perhaps you can rebuild the deb.
>>
>> Christian
>>
>> -- 
>> Christian Hammond
>> President/CEO of Beanbag 
>> Makers of Review Board 
>>
>> On Fri, Jun 24, 2016 at 4:37 PM, Cathy Mullican  
>> wrote:
>>
>>> The stock libserf in Ubuntu 14.04 lacks GSSAPI support, which is why 
>>> I have to build that from source.  ( 
>>> https://bugs.launchpad.net/ubuntu/+source/serf/+bug/1303167 -- why 
>>> they never released a fixed version, when the patch is right there in 
>>> the 
>>> ticket, I can't say.) Everything except libserf is stock.
>>>
>>> Trying to reinstall pysvn with apt tells me it's already up to date; 
>>> trying to build from source is...not working well, but that's probably 
>>> going off into the weeds.
>>>
>>>
>>> On Friday, June 24, 2016 at 4:06:12 PM UTC-7, Christian Hammond 
>>> wrote:

 Hi Cathy,

 This might be an incompatibility between libsvn and pysvn. You may 
 need to now recompile pysvn and replace the copies on the 

Re: New Review Request Page is not Opening

2016-06-27 Thread Christian Hammond
I'd still like to know what the browser's JavaScript console has to say, as
this will be critical in diagnosing any issues.

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Sun, Jun 26, 2016 at 11:24 PM, Dany Kallery 
wrote:

> HI Christian,
>
> both the pc's were installed via RPM packages and i took the backup of
> Reviewboard Home Folder and DB (Mysql) and restored it in the new PC. then
> i did rb-site upgrade 
> there is only one chane i made. the home directory location in the new
> review board pc is different than the old one. i am not sure because of
> this causing this problem rest of the sites and links are fine.
>
>
> On Friday, 24 June 2016 13:53:38 UTC+5:30, Dany Kallery wrote:
>>
>> Hi,
>>
>> Recently I have migrated my Reviewboard server one machine to another.
>> after started service I have noticed that the New Review request if we try
>> to create that page just shows blank. can someone help me to sort this
>> problem?
>>
>>
>> --
> 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: RB, SVN, and AD

2016-06-27 Thread Christian Hammond
Okay. So it's probably one of two things:

1) Something is still messed up somewhere with the recompilation. I don't
know what, and can't really debug that from here.

2) The standard way of authenticating that we do doesn't support your setup.

It could easily be #2. We must be able to authenticate to the Subversion
server using a username and password (or anonymously). If this is going
through some alternative method for authentication, then it may require
additional support in Review Board.

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Mon, Jun 27, 2016 at 4:34 PM, Cathy Mullican  wrote:

> The server is VisualSVN (paid edition), with Windows AD authentication.
> The server where RB is running is joined to the domain, and I can
> authenticate from the command line. Most users connect via TortoiseSVN on
> their Windows systems; I also have one other Ubuntu box configured so that
> i can join the domain, authenticate with kinit, and run svn from the
> command line.
>
> On Monday, June 27, 2016 at 3:43:19 PM UTC-7, Christian Hammond wrote:
>>
>> Hi Cathy,
>>
>> Progress is good! I think I'll need more info on your setup at this point
>> though.
>>
>> Can you tell me more about how authentication works on your Subversion
>> setup? From the client's end, is it a standard username/password, or is
>> more involved?
>>
>> What does the server setup look like?
>>
>> The error message shown there ("Error running context: An error occurred
>> during authentication") is coming from Subversion itself.
>>
>> Christian
>>
>>
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag 
>> Makers of Review Board 
>>
>> On Mon, Jun 27, 2016 at 10:06 AM, Cathy Mullican 
>> wrote:
>>
>>> OK, it definitely works better when you don't accidentally skip a step!
>>>
>>> I can now successfully do svn info from the command line, but I still
>>> can't create the repo in RB. The error message in the log is now:
>>>
>>> 2016-06-27 17:00:00,253 - ERROR -  - SVN: Failed to get repository
>>> information for https://az-fs1.revshare.int/svn/rad: Unable to connect
>>> to a repository at URL 'https://az-fs1.revshare.int/svn/rad'
>>> Error running context: An error occurred during authentication
>>>
>>> No more ra_serf error, so that's progress, at least! But also nothing
>>> very informative, at least to my eye.
>>>
>>> On Monday, June 27, 2016 at 9:45:50 AM UTC-7, Cathy Mullican wrote:

 I did
 apt-get source python-svn
 then started trying to follow the directions in INSTALL.html, but they
 didn't work at all...although lookin gback now, some of that may have been
 because it was Friday afternoon and I missed something; I'm trying again
 now.

 On Friday, June 24, 2016 at 5:44:51 PM UTC-7, Christian Hammond wrote:
>
> Hi Cathy,
>
> How are you trying to build from source? It is a bit of a pain to do
> from the upstream source, but perhaps you can rebuild the deb.
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Fri, Jun 24, 2016 at 4:37 PM, Cathy Mullican 
> wrote:
>
>> The stock libserf in Ubuntu 14.04 lacks GSSAPI support, which is why
>> I have to build that from source.  (
>> https://bugs.launchpad.net/ubuntu/+source/serf/+bug/1303167 -- why
>> they never released a fixed version, when the patch is right there in the
>> ticket, I can't say.) Everything except libserf is stock.
>>
>> Trying to reinstall pysvn with apt tells me it's already up to date;
>> trying to build from source is...not working well, but that's probably
>> going off into the weeds.
>>
>>
>> On Friday, June 24, 2016 at 4:06:12 PM UTC-7, Christian Hammond wrote:
>>>
>>> Hi Cathy,
>>>
>>> This might be an incompatibility between libsvn and pysvn. You may
>>> need to now recompile pysvn and replace the copies on the filesystem. 
>>> That
>>> or go back to purely system libs for svn, libsvn, pysvn, serf, etc.
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond
>>> President/CEO of Beanbag 
>>> Makers of Review Board 
>>>
>>> On Fri, Jun 24, 2016 at 1:54 PM, Cathy Mullican 
>>> wrote:
>>>
 Same error with the repository root path -- I actually started with
 that.

 I enabled logging, and now have this error message:
 2016-06-24 20:29:24,091 - ERROR -  - SVN: Failed to get repository
 information for https://az-fs1.revshare.int/svn/rad: ra_serf was
 compiled for serf 1.3.8 but loaded an incompatible 

Re: rb-site upgrade fails

2016-06-27 Thread Christian Hammond
Sorry Rob. This fell off my radar.

A couple more tests from the Python shell:

>>> import reviewboard.scmtools
>>> print reviewboard.scmtools
>>> import reviewboard.scmtools.core
>>> print reviewboard.scmtools.core
>>> from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN,
FileNotFoundError

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Mon, Jun 27, 2016 at 6:51 AM, Rob Backhurst 
wrote:

> Did you have any other ideas about this one?
>
> Thanks
> Rob
>
>
> On Tuesday, 31 May 2016 10:03:40 UTC+1, Rob Backhurst wrote:
>>
>> Ahaa, that looks better...
>>
>> >>> print reviewboard.__file__
>>
>> /usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/__init__.pyc
>>
>> Thanks
>> Rob
>>
>> On Tuesday, 31 May 2016 09:44:08 UTC+1, Christian Hammond wrote:
>>>
>>> Sorry, typo. Should have been reviewboard.__file__
>>>
>>> (That's two underscores on each side.)
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond
>>> President/CEO of Beanbag 
>>> Makers of Review Board 
>>>
>>> On Tue, May 31, 2016 at 1:37 AM, Rob Backhurst 
>>> wrote:
>>>
 Hi Christian,

 Here you go...

 # python
 Python 2.6.6 (r266:84292, May 22 2015, 08:34:51)
 [GCC 4.4.7 20120313 (Red Hat 4.4.7-15)] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import reviewboard
 >>> print reviewboard.__file_
 Traceback (most recent call last):
   File "", line 1, in 
 AttributeError: 'module' object has no attribute '__file_'
 >>>

 Obviously something not quite right with the installation..?

 Thanks
 Rob


 On Sunday, 29 May 2016 05:53:10 UTC+1, Christian Hammond wrote:
>
> Hi Rob,
>
> Can you run:
>
> $ python
> >>> import reviewboard
> >>> print reviewboard.__file_
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Fri, May 27, 2016 at 3:13 AM, Rob Backhurst <
> backh...@googlemail.com> wrote:
>
>> Hi Christian,
>>
>> Sorry for the slow reply.
>>
>> It was installed using easy_install, then the DB restored from our
>> live reviewboard server.
>> There is no reviewboard dir when running the rb-site upgrade.
>>
>> Thanks
>> Rob
>>
>> On Friday, 13 May 2016 01:09:07 UTC+1, Christian Hammond wrote:
>>>
>>> Hi Rob,
>>>
>>> How was Review Board installed? It looks like there's some weirdness
>>> going on with the module.
>>>
>>> Can you verify that there's no "reviewboard" directory in the
>>> directory you're in when running rb-site upgrade?
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond
>>> President/CEO of Beanbag 
>>> Makers of Review Board 
>>>
>>> On Thu, May 12, 2016 at 3:57 AM, 'Rob Backhurst' via reviewboard <
>>> revie...@googlegroups.com> wrote:
>>>
 Hi,

 I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but
 'rb-site upgrade' fails...

 # rb-site upgrade /var/www/my-site/
 Traceback (most recent call last):
   File "/usr/bin/rb-site", line 9, in 
 load_entry_point('ReviewBoard==2.5.4', 'console_scripts',
 'rb-site')()
   File
 "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
 line 1922, in main
 command.run()
   File
 "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
 line 1704, in run
 diff_dedup_needed = site.get_diff_dedup_needed()
   File
 "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
 line 477, in get_diff_dedup_needed
 from reviewboard.diffviewer.models import FileDiff
   File
 "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/models.py",
 line 14, in 
 from reviewboard.diffviewer.managers import
 (RawFileDiffDataManager,
   File
 "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/managers.py",
 line 19, in 
 from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN,
 FileNotFoundError
 ImportError: No module named scmtools.core

 This is running on RHEL 6.7.
 Doe anyone have any ideas how to fix this?

 Thanks
 Rob

 --
 Supercharge your Review Board with 

Re: RB, SVN, and AD

2016-06-27 Thread Cathy Mullican
The server is VisualSVN (paid edition), with Windows AD authentication. 
 The server where RB is running is joined to the domain, and I can 
authenticate from the command line. Most users connect via TortoiseSVN on 
their Windows systems; I also have one other Ubuntu box configured so that 
i can join the domain, authenticate with kinit, and run svn from the 
command line.

On Monday, June 27, 2016 at 3:43:19 PM UTC-7, Christian Hammond wrote:
>
> Hi Cathy,
>
> Progress is good! I think I'll need more info on your setup at this point 
> though.
>
> Can you tell me more about how authentication works on your Subversion 
> setup? From the client's end, is it a standard username/password, or is 
> more involved?
>
> What does the server setup look like?
>
> The error message shown there ("Error running context: An error occurred 
> during authentication") is coming from Subversion itself.
>
> Christian
>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Mon, Jun 27, 2016 at 10:06 AM, Cathy Mullican  > wrote:
>
>> OK, it definitely works better when you don't accidentally skip a step!
>>
>> I can now successfully do svn info from the command line, but I still 
>> can't create the repo in RB. The error message in the log is now:
>>
>> 2016-06-27 17:00:00,253 - ERROR -  - SVN: Failed to get repository 
>> information for https://az-fs1.revshare.int/svn/rad: Unable to connect 
>> to a repository at URL 'https://az-fs1.revshare.int/svn/rad'
>> Error running context: An error occurred during authentication
>>
>> No more ra_serf error, so that's progress, at least! But also nothing 
>> very informative, at least to my eye.
>>
>> On Monday, June 27, 2016 at 9:45:50 AM UTC-7, Cathy Mullican wrote:
>>>
>>> I did
>>> apt-get source python-svn
>>> then started trying to follow the directions in INSTALL.html, but they 
>>> didn't work at all...although lookin gback now, some of that may have been 
>>> because it was Friday afternoon and I missed something; I'm trying again 
>>> now. 
>>>
>>> On Friday, June 24, 2016 at 5:44:51 PM UTC-7, Christian Hammond wrote:

 Hi Cathy,

 How are you trying to build from source? It is a bit of a pain to do 
 from the upstream source, but perhaps you can rebuild the deb.

 Christian

 -- 
 Christian Hammond
 President/CEO of Beanbag 
 Makers of Review Board 

 On Fri, Jun 24, 2016 at 4:37 PM, Cathy Mullican  
 wrote:

> The stock libserf in Ubuntu 14.04 lacks GSSAPI support, which is why I 
> have to build that from source.  ( 
> https://bugs.launchpad.net/ubuntu/+source/serf/+bug/1303167 -- why 
> they never released a fixed version, when the patch is right there in the 
> ticket, I can't say.) Everything except libserf is stock.
>
> Trying to reinstall pysvn with apt tells me it's already up to date; 
> trying to build from source is...not working well, but that's probably 
> going off into the weeds.
>
>
> On Friday, June 24, 2016 at 4:06:12 PM UTC-7, Christian Hammond wrote:
>>
>> Hi Cathy,
>>
>> This might be an incompatibility between libsvn and pysvn. You may 
>> need to now recompile pysvn and replace the copies on the filesystem. 
>> That 
>> or go back to purely system libs for svn, libsvn, pysvn, serf, etc.
>>
>> Christian
>>
>> -- 
>> Christian Hammond
>> President/CEO of Beanbag 
>> Makers of Review Board 
>>
>> On Fri, Jun 24, 2016 at 1:54 PM, Cathy Mullican  
>> wrote:
>>
>>> Same error with the repository root path -- I actually started with 
>>> that. 
>>>
>>> I enabled logging, and now have this error message:
>>> 2016-06-24 20:29:24,091 - ERROR -  - SVN: Failed to get repository 
>>> information for https://az-fs1.revshare.int/svn/rad: ra_serf was 
>>> compiled for serf 1.3.8 but loaded an incompatible 
>>> 32676.1946284232.32676 
>>> library
>>>
>>> Which I thought told me what I needed; Ubuntu 14.0.4 ships with serf 
>>> 1.3.3 -- but I've upgraded to 1.3.8 (built from source, confirmed 
>>> GSSAPI 
>>> support included), and I'm still getting the same error. 
>>>
>>> I can successfully run svn info on the commend line; the Ubuntu box 
>>> is joined to the AD domain.
>>>
>>> On Friday, June 24, 2016 at 1:04:19 PM UTC-7, Christian Hammond 
>>> wrote:

 Hi Cathy,

 You may need to enable logging in Admin UI -> Logging Settings.

 For the SVN repository path, you'll need to point it to the root of 
 the SVN repository, rather than a subdirectory within it. Basically, 
 the 

Re: Error linking hosting account on GitLab

2016-06-27 Thread Christian Hammond
Hi,

A couple things I want to check:

1) Is http://git.mycompany.com/ the root of your GitLab server, or does
GitLab live in a subdirectory?
2) Is it using HTTP or HTTPS?

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Mon, Jun 27, 2016 at 7:58 AM,  wrote:

>
> 
>
>
> 
>
>

-- 
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: upgraded to reviewboard 1.7.28 (from 1.7.27)

2016-06-27 Thread Christian Hammond
We shipped a fix in Review Board 1.7.29.

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Mon, Jun 27, 2016 at 9:19 AM, Jason Pernito  wrote:

> I'm not sure what you mean. David is the one that says will work on it in
> the next point release. If you encountered the same issue in a different
> build/version maybe you should post the details of the issue here (or in a
> new thread) with snippet of the log. I moved to a different project for
> more than a year now and we are not using reviewboard so I am no longer up
> to date with what is going on.
>
> On Sun, Jun 26, 2016 at 9:39 PM, <577513...@qq.com> wrote:
>
>>
>> hi Jason,
>>
>> have you finished this problem yet?
>>
>> if you finished it, please let me know, thanks!
>>
>>
>>
>>
>>
>> 在 2014年9月27日星期六 UTC+8上午10:51:25,Jason Pernito写道:
>>
>>> Everything looks good except when running
>>>
>>> rb-site manage /path/to/site condensediffs
>>>
>>>
>>> Processing 210351 diffs for duplicates...
>>>
>>> This may take a while. It is safe to continue using Review Board while
>>> this is
>>> processing, but it may temporarily run slower.
>>>
>>> Traceback (most recent call last):
>>>   File "/usr/bin/rb-site", line 9, in 
>>> load_entry_point('ReviewBoard==1.7.28', 'console_scripts',
>>> 'rb-site')()
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>> line 2170, in main
>>> command.run()
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>> line 2087, in run
>>> site.run_manage_command(args[0], args[1:])
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>> line 606, in run_manage_command
>>> execute_manager(reviewboard.settings, [__file__, cmd] + params)
>>>   File
>>> "/usr/lib/python2.6/site-packages/Django-1.4.15-py2.6.egg/django/core/management/__init__.py",
>>> line 459, in execute_manager
>>> utility.execute()
>>>   File
>>> "/usr/lib/python2.6/site-packages/Django-1.4.15-py2.6.egg/django/core/management/__init__.py",
>>> line 382, in execute
>>> self.fetch_command(subcommand).run_from_argv(self.argv)
>>>   File
>>> "/usr/lib/python2.6/site-packages/Django-1.4.15-py2.6.egg/django/core/management/base.py",
>>> line 196, in run_from_argv
>>> self.execute(*args, **options.__dict__)
>>>   File
>>> "/usr/lib/python2.6/site-packages/Django-1.4.15-py2.6.egg/django/core/management/base.py",
>>> line 232, in execute
>>> output = self.handle(*args, **options)
>>>   File
>>> "/usr/lib/python2.6/site-packages/Django-1.4.15-py2.6.egg/django/core/management/base.py",
>>> line 371, in handle
>>> return self.handle_noargs(**options)
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/diffviewer/management/commands/condensediffs.py",
>>> line 60, in handle_noargs
>>> info = FileDiff.objects.migrate_all(self._on_processed_filediff)
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/diffviewer/managers.py",
>>> line 69, in migrate_all
>>> processed_filediff_cb(filediff)
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/diffviewer/management/commands/condensediffs.py",
>>> line 84, in _on_processed_filediff
>>> delta_secs = (datetime.now() - self.start_time).total_seconds()
>>> AttributeError: 'datetime.timedelta' object has no attribute
>>> 'total_seconds'
>>>
>>> Please let me know what I am missing here.
>>>
>>> Thanks in advance for your help,
>>> -jason
>>>
>> --
>> 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 a topic in the
>> Google Groups "reviewboard" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/reviewboard/kDG9Xhw3ZRU/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> reviewboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> The information contained in this message may be privileged, confidential,
> and protected from disclosure. If the reader of this message is not the
> intended recipient, or any employee or agent responsible for delivering
> this message to the intended recipient, you are hereby notified that any
> dissemination, distribution, or copying of this communication is strictly
> prohibited. If you have received this communication in error, please notify
> us immediately by replying to the message and deleting it from your
> computer.
>
>
> "Regard your soldiers as your children,
>   and they will 

Re: RB, SVN, and AD

2016-06-27 Thread Christian Hammond
Hi Cathy,

Progress is good! I think I'll need more info on your setup at this point
though.

Can you tell me more about how authentication works on your Subversion
setup? From the client's end, is it a standard username/password, or is
more involved?

What does the server setup look like?

The error message shown there ("Error running context: An error occurred
during authentication") is coming from Subversion itself.

Christian



-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Mon, Jun 27, 2016 at 10:06 AM, Cathy Mullican 
wrote:

> OK, it definitely works better when you don't accidentally skip a step!
>
> I can now successfully do svn info from the command line, but I still
> can't create the repo in RB. The error message in the log is now:
>
> 2016-06-27 17:00:00,253 - ERROR -  - SVN: Failed to get repository
> information for https://az-fs1.revshare.int/svn/rad: Unable to connect to
> a repository at URL 'https://az-fs1.revshare.int/svn/rad'
> Error running context: An error occurred during authentication
>
> No more ra_serf error, so that's progress, at least! But also nothing very
> informative, at least to my eye.
>
> On Monday, June 27, 2016 at 9:45:50 AM UTC-7, Cathy Mullican wrote:
>>
>> I did
>> apt-get source python-svn
>> then started trying to follow the directions in INSTALL.html, but they
>> didn't work at all...although lookin gback now, some of that may have been
>> because it was Friday afternoon and I missed something; I'm trying again
>> now.
>>
>> On Friday, June 24, 2016 at 5:44:51 PM UTC-7, Christian Hammond wrote:
>>>
>>> Hi Cathy,
>>>
>>> How are you trying to build from source? It is a bit of a pain to do
>>> from the upstream source, but perhaps you can rebuild the deb.
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond
>>> President/CEO of Beanbag 
>>> Makers of Review Board 
>>>
>>> On Fri, Jun 24, 2016 at 4:37 PM, Cathy Mullican 
>>> wrote:
>>>
 The stock libserf in Ubuntu 14.04 lacks GSSAPI support, which is why I
 have to build that from source.  (
 https://bugs.launchpad.net/ubuntu/+source/serf/+bug/1303167 -- why
 they never released a fixed version, when the patch is right there in the
 ticket, I can't say.) Everything except libserf is stock.

 Trying to reinstall pysvn with apt tells me it's already up to date;
 trying to build from source is...not working well, but that's probably
 going off into the weeds.


 On Friday, June 24, 2016 at 4:06:12 PM UTC-7, Christian Hammond wrote:
>
> Hi Cathy,
>
> This might be an incompatibility between libsvn and pysvn. You may
> need to now recompile pysvn and replace the copies on the filesystem. That
> or go back to purely system libs for svn, libsvn, pysvn, serf, etc.
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Fri, Jun 24, 2016 at 1:54 PM, Cathy Mullican 
> wrote:
>
>> Same error with the repository root path -- I actually started with
>> that.
>>
>> I enabled logging, and now have this error message:
>> 2016-06-24 20:29:24,091 - ERROR -  - SVN: Failed to get repository
>> information for https://az-fs1.revshare.int/svn/rad: ra_serf was
>> compiled for serf 1.3.8 but loaded an incompatible 32676.1946284232.32676
>> library
>>
>> Which I thought told me what I needed; Ubuntu 14.0.4 ships with serf
>> 1.3.3 -- but I've upgraded to 1.3.8 (built from source, confirmed GSSAPI
>> support included), and I'm still getting the same error.
>>
>> I can successfully run svn info on the commend line; the Ubuntu box
>> is joined to the AD domain.
>>
>> On Friday, June 24, 2016 at 1:04:19 PM UTC-7, Christian Hammond wrote:
>>>
>>> Hi Cathy,
>>>
>>> You may need to enable logging in Admin UI -> Logging Settings.
>>>
>>> For the SVN repository path, you'll need to point it to the root of
>>> the SVN repository, rather than a subdirectory within it. Basically, the
>>> "Repository Root" value from "svn info".
>>>
>>> See if that fixes it. If not, I'll help with some additional
>>> commands you can try on the server to better diagnose this.
>>>
>>> One last thing: Make sure to enter your credentials in the
>>> Username/Password fields again once you've hit an error like this. The
>>> browser has a nasty tendency to overwrite the values you've provided 
>>> with
>>> what's in the password manager. We've worked around this several times 
>>> in
>>> the past, but some browsers (ahem, Chrome) have been working tirelessly 
>>> to
>>> override what webapp developers want 

Re: GCC needed to run ReviewBoard?

2016-06-27 Thread Christian Hammond
Hi,

Some of our dependencies themselves have dependencies that need
compilation. In this case, my guess is the version of the module from the
apt repository is just too old.

Can you show the entire easy_install log? That'll help me see what package
might be depending on this.

In general, I'd suggest avoiding distro Python packages, as they are
usually out of date. Instead, ensure the container is using the latest pip,
and use that to install. Many packages have pip-compatible wheel files that
have already been compiled.

Christian


On Monday, June 27, 2016, Ovidiu-Florin BOGDAN  wrote:

> Hello,
>
> I'm trying to set up the latest ReviewBoard in a Docker container and I'm
> getting a error while it's installing the cryptography python module:
>
> Searching for cryptography>=1.1
> Reading https://pypi.python.org/simple/cryptography/
> Best match: cryptography 1.4
> Downloading https://
> pypi.python.org/packages/a9/5b/a383b3a778609fe8177bd51307b5ebeee369b353550675353f46cb99c6f0/cryptography-1.4.tar.gz#md5=a9763e3831cc7cdb402c028fac1ceb39
> Processing cryptography-1.4.tar.gz
> Writing /tmp/easy_install-XlMjZa/cryptography-1.4/setup.cfg
> Running cryptography-1.4/setup.py -q bdist_egg --dist-dir /tmp/
> easy_install-XlMjZa/cryptography-1.4/egg-dist-tmp-mxH5yT
> unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
> unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
>
> No working compiler found, or bogus compiler options
> passed to the compiler from Python's distutils module.
> See the error messages above.
> (If they are about -mno-fused-madd and you are on OS/X 10.8,
> see http://stackoverflow.com/questions/22313407/ .)
> error: Setup script exited with 1
> The command '/bin/sh -c easy_install ReviewBoard' returned a non-zero
> code: 1
>
> This is particularly weird since I've already installed the (precompiled)
> debian package for this. Here is my current Dockerfile:
>
> FROM debian:8
> MAINTAINER Ovidiu-Florin Bogdan (ovidiu.bog...@movidius.com)
>
> ENV DEBIAN_FRONTEND noninteractive
>
> RUN apt update && apt install -y \
> patch \
> subversion \
> memcached \
> ca-certificates
> RUN apt update && apt install -y \
> python-setuptools \
> python-dev \
> python-mysqldb \
> python-crypto \
> python-cryptography \
> python-svn
>
> RUN easy_install -U setuptools
> RUN easy_install python-memcached
> RUN easy_install mysql-python
> RUN easy_install ReviewBoard
>
> I'd prefer not to actually install the compiler, since this is to be a
> production server. I could install the compiler and uninstall it after
> cryptography finishes it's install, but I would prefer to keep this as a
> last resort.
>
> --
> 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.
>


-- 
-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

-- 
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.


GCC needed to run ReviewBoard?

2016-06-27 Thread Ovidiu-Florin BOGDAN
Hello,

I'm trying to set up the latest ReviewBoard in a Docker container and I'm 
getting a error while it's installing the cryptography python module:

Searching for cryptography>=1.1
Reading https://pypi.python.org/simple/cryptography/
Best match: cryptography 1.4
Downloading https:
//pypi.python.org/packages/a9/5b/a383b3a778609fe8177bd51307b5ebeee369b353550675353f46cb99c6f0/cryptography-1.4.tar.gz#md5=a9763e3831cc7cdb402c028fac1ceb39
Processing cryptography-1.4.tar.gz
Writing /tmp/easy_install-XlMjZa/cryptography-1.4/setup.cfg
Running cryptography-1.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-
XlMjZa/cryptography-1.4/egg-dist-tmp-mxH5yT
unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
unable to execute 'x86_64-linux-gnu-gcc': No such file or directory

No working compiler found, or bogus compiler options
passed to the compiler from Python's distutils module.
See the error messages above.
(If they are about -mno-fused-madd and you are on OS/X 10.8,
see http://stackoverflow.com/questions/22313407/ .)
error: Setup script exited with 1
The command '/bin/sh -c easy_install ReviewBoard' returned a non-zero code: 
1

This is particularly weird since I've already installed the (precompiled) 
debian package for this. Here is my current Dockerfile:

FROM debian:8
MAINTAINER Ovidiu-Florin Bogdan (ovidiu.bog...@movidius.com)

ENV DEBIAN_FRONTEND noninteractive

RUN apt update && apt install -y \
patch \
subversion \
memcached \
ca-certificates
RUN apt update && apt install -y \
python-setuptools \
python-dev \
python-mysqldb \
python-crypto \
python-cryptography \
python-svn

RUN easy_install -U setuptools
RUN easy_install python-memcached
RUN easy_install mysql-python
RUN easy_install ReviewBoard

I'd prefer not to actually install the compiler, since this is to be a 
production server. I could install the compiler and uninstall it after 
cryptography finishes it's install, but I would prefer to keep this as a 
last resort.

-- 
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.


RBTools Ticket #4433: rbt post fails with "file was not found in the repository"

2016-06-27 Thread Robert Baker
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4433/
--

New ticket #4433 by rsbaker56
For Beanbag, Inc. > RBTools

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


--
rbt post fails with "file was not found in the repository"
==

# What version are you running?
0.7.6

# What steps will reproduce the problem?
1. checkout from subversion - workspace must include at least one svn:externals
2. make changes to a file that is included via an svn:externals reference
3. rbt post -o


# What is the expected output? What do you see instead?
rbt post should create a diff and post a review request to the server

# What operating system are you using?
Windows 7

# Attach the debug out from the command.

C:\svn\Stealth\dim\branches\su-core>rbt post -o -d
>>> RBTools 0.7.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\bharatij\AppData\Roaming
>>> Current directory = C:\svn\Stealth\dim\branches\su-core
>>> Checking for a Subversion repository...
>>> Running: svn --non-interactive info 
>>> https://ustr-svn-2.na.uis.unisys.com/Stealth
>>> Running: diff --version
>>> Running: svn --non-interactive --version -q
>>> repository info: Path: https://ustr-svn-2.na.uis.unisys.com/Stealth, Base 
>>> path: /, Supports changesets: False
>>> Making HTTP GET request to 
>>> https://ustr-reviewboard-1.na.uis.unisys.com:8443/stealthreviewboard/api/
>>> Making HTTP GET request to 
>>> https://ustr-reviewboard-1.na.uis.unisys.com:8443/stealthreviewboard/api/repositories/?tool=Subversion
>>> Cached response for HTTP GET 
>>> https://ustr-reviewboard-1.na.uis.unisys.com:8443/stealthreviewboard/api/repositories/?tool=Subversion
>>>  expired and was modified
>>> Running: svn --non-interactive info 
>>> https://ustr-svn-2.na.uis.unisys.com/Stealth
>>> Running: diff --version
>>> Running: svn --non-interactive --version -q
>>> repository info: Path: https://ustr-svn-2.na.uis.unisys.com/Stealth, Base 
>>> path: /, Supports changesets: False
>>> Running: svn --non-interactive status -q --ignore-externals
>>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry -r 
>>> BASE
>>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry -r 
>>> BASE --no-diff-deleted
>>> Making HTTP GET request to 
>>> https://ustr-reviewboard-1.na.uis.unisys.com:8443/stealthreviewboard/api/validation/diffs/
>>> Cached response for HTTP GET 
>>> https://ustr-reviewboard-1.na.uis.unisys.com:8443/stealthreviewboard/api/validation/diffs/
>>>  expired and was modified
>>> Making HTTP POST request to 
>>> https://ustr-reviewboard-1.na.uis.unisys.com:8443/stealthreviewboard/api/validation/diffs/
>>> Got API Error 207 (HTTP code 400): The file was not found in the repository.
>>> Error data: {u'stat': u'fail', u'file': 
>>> u'/StealthManager/StealthManager/PackageTable.cpp', u'err': {u'msg': u'The 
>>> file was not found in the repository.', u'code': 207}, u'revision': 
>>> u'41723'}
Traceback (most recent call last):
  File "C:\Program Files (x86)\RBTools\bin..\Python27\Scripts\rbt-script.py", 
line 8, in 
load_entry_point('RBTools==0.7.6', 'console_scripts', 'rbt')()
  File "C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.6-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.6-py2.7.egg\rbtools\commands__init__.py",
 line 629, in run_from_argv
exit_code = self.main(*args) or 0
  File "C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.6-py2.7.egg\rbtools\commands\post.py",
 line 756, in main
(msg_prefix, e))
rbtools.commands.CommandError: Error validating diff

/StealthManager/StealthManager/PackageTable.cpp: The file was not found in the 
repository. (HTTP 400, API Error 207)

C:\svn\Stealth\dim\branches\su-core>



# Please provide any additional information below.
The subversion repository has a number of files that are propogated to various 
folders using the svn:externals property.  It appears that if one of these 
files is changed in a location other than its source directory this error 
occurs in rbt.  If the file is changed in its source directory, the rbt will 
successfullly generate the diff and post the review request.

--

-- 
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 

Re: RB, SVN, and AD

2016-06-27 Thread Cathy Mullican
I did
apt-get source python-svn
then started trying to follow the directions in INSTALL.html, but they 
didn't work at all...although lookin gback now, some of that may have been 
because it was Friday afternoon and I missed something; I'm trying again 
now. 

On Friday, June 24, 2016 at 5:44:51 PM UTC-7, Christian Hammond wrote:
>
> Hi Cathy,
>
> How are you trying to build from source? It is a bit of a pain to do from 
> the upstream source, but perhaps you can rebuild the deb.
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Fri, Jun 24, 2016 at 4:37 PM, Cathy Mullican  > wrote:
>
>> The stock libserf in Ubuntu 14.04 lacks GSSAPI support, which is why I 
>> have to build that from source.  ( 
>> https://bugs.launchpad.net/ubuntu/+source/serf/+bug/1303167 -- why they 
>> never released a fixed version, when the patch is right there in the 
>> ticket, I can't say.) Everything except libserf is stock.
>>
>> Trying to reinstall pysvn with apt tells me it's already up to date; 
>> trying to build from source is...not working well, but that's probably 
>> going off into the weeds.
>>
>>
>> On Friday, June 24, 2016 at 4:06:12 PM UTC-7, Christian Hammond wrote:
>>>
>>> Hi Cathy,
>>>
>>> This might be an incompatibility between libsvn and pysvn. You may need 
>>> to now recompile pysvn and replace the copies on the filesystem. That or go 
>>> back to purely system libs for svn, libsvn, pysvn, serf, etc.
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond
>>> President/CEO of Beanbag 
>>> Makers of Review Board 
>>>
>>> On Fri, Jun 24, 2016 at 1:54 PM, Cathy Mullican  
>>> wrote:
>>>
 Same error with the repository root path -- I actually started with 
 that. 

 I enabled logging, and now have this error message:
 2016-06-24 20:29:24,091 - ERROR -  - SVN: Failed to get repository 
 information for https://az-fs1.revshare.int/svn/rad: ra_serf was 
 compiled for serf 1.3.8 but loaded an incompatible 32676.1946284232.32676 
 library

 Which I thought told me what I needed; Ubuntu 14.0.4 ships with serf 
 1.3.3 -- but I've upgraded to 1.3.8 (built from source, confirmed GSSAPI 
 support included), and I'm still getting the same error. 

 I can successfully run svn info on the commend line; the Ubuntu box is 
 joined to the AD domain.

 On Friday, June 24, 2016 at 1:04:19 PM UTC-7, Christian Hammond wrote:
>
> Hi Cathy,
>
> You may need to enable logging in Admin UI -> Logging Settings.
>
> For the SVN repository path, you'll need to point it to the root of 
> the SVN repository, rather than a subdirectory within it. Basically, the 
> "Repository Root" value from "svn info".
>
> See if that fixes it. If not, I'll help with some additional commands 
> you can try on the server to better diagnose this.
>
> One last thing: Make sure to enter your credentials in the 
> Username/Password fields again once you've hit an error like this. The 
> browser has a nasty tendency to overwrite the values you've provided with 
> what's in the password manager. We've worked around this several times in 
> the past, but some browsers (ahem, Chrome) have been working tirelessly 
> to 
> override what webapp developers want in this regard.
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Fri, Jun 24, 2016 at 12:51 PM, Cathy Mullican  
> wrote:
>
>>
>> 
>>
>> There's not much to show -- see the attached screenshot. That is the 
>> correct URL, as shown by svn info, and googling tells me that's the 
>> message 
>> I'd see with an authentication error.
>>
>>
>> There are no files in /var/www/rb.revshare.int/logs/ ; is there 
>> another location I should be checking?  
>>
>>
>> I've used RB before, but this is the first time I've set it up.
>>
>>
>>
>> 
>>
>>
>>
>>
>> On Friday, June 24, 2016 at 1:23:24 AM UTC-7, Christian Hammond wrote:
>>>
>>> Hi Cathy,
>>>
>>> Can you show me what errors you're seeing, along with the 
>>> configuration set for the repository? Also, is there anything in the 
>>> Review 
>>> Board log files?
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond
>>> President/CEO of Beanbag 

Re: upgraded to reviewboard 1.7.28 (from 1.7.27)

2016-06-27 Thread Jason Pernito
I'm not sure what you mean. David is the one that says will work on it in
the next point release. If you encountered the same issue in a different
build/version maybe you should post the details of the issue here (or in a
new thread) with snippet of the log. I moved to a different project for
more than a year now and we are not using reviewboard so I am no longer up
to date with what is going on.

On Sun, Jun 26, 2016 at 9:39 PM, <577513...@qq.com> wrote:

>
> hi Jason,
>
> have you finished this problem yet?
>
> if you finished it, please let me know, thanks!
>
>
>
>
>
> 在 2014年9月27日星期六 UTC+8上午10:51:25,Jason Pernito写道:
>
>> Everything looks good except when running
>>
>> rb-site manage /path/to/site condensediffs
>>
>>
>> Processing 210351 diffs for duplicates...
>>
>> This may take a while. It is safe to continue using Review Board while
>> this is
>> processing, but it may temporarily run slower.
>>
>> Traceback (most recent call last):
>>   File "/usr/bin/rb-site", line 9, in 
>> load_entry_point('ReviewBoard==1.7.28', 'console_scripts',
>> 'rb-site')()
>>   File
>> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/cmdline/rbsite.py",
>> line 2170, in main
>> command.run()
>>   File
>> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/cmdline/rbsite.py",
>> line 2087, in run
>> site.run_manage_command(args[0], args[1:])
>>   File
>> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/cmdline/rbsite.py",
>> line 606, in run_manage_command
>> execute_manager(reviewboard.settings, [__file__, cmd] + params)
>>   File
>> "/usr/lib/python2.6/site-packages/Django-1.4.15-py2.6.egg/django/core/management/__init__.py",
>> line 459, in execute_manager
>> utility.execute()
>>   File
>> "/usr/lib/python2.6/site-packages/Django-1.4.15-py2.6.egg/django/core/management/__init__.py",
>> line 382, in execute
>> self.fetch_command(subcommand).run_from_argv(self.argv)
>>   File
>> "/usr/lib/python2.6/site-packages/Django-1.4.15-py2.6.egg/django/core/management/base.py",
>> line 196, in run_from_argv
>> self.execute(*args, **options.__dict__)
>>   File
>> "/usr/lib/python2.6/site-packages/Django-1.4.15-py2.6.egg/django/core/management/base.py",
>> line 232, in execute
>> output = self.handle(*args, **options)
>>   File
>> "/usr/lib/python2.6/site-packages/Django-1.4.15-py2.6.egg/django/core/management/base.py",
>> line 371, in handle
>> return self.handle_noargs(**options)
>>   File
>> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/diffviewer/management/commands/condensediffs.py",
>> line 60, in handle_noargs
>> info = FileDiff.objects.migrate_all(self._on_processed_filediff)
>>   File
>> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/diffviewer/managers.py",
>> line 69, in migrate_all
>> processed_filediff_cb(filediff)
>>   File
>> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/diffviewer/management/commands/condensediffs.py",
>> line 84, in _on_processed_filediff
>> delta_secs = (datetime.now() - self.start_time).total_seconds()
>> AttributeError: 'datetime.timedelta' object has no attribute
>> 'total_seconds'
>>
>> Please let me know what I am missing here.
>>
>> Thanks in advance for your help,
>> -jason
>>
> --
> 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 a topic in the
> Google Groups "reviewboard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/reviewboard/kDG9Xhw3ZRU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
The information contained in this message may be privileged, confidential,
and protected from disclosure. If the reader of this message is not the
intended recipient, or any employee or agent responsible for delivering
this message to the intended recipient, you are hereby notified that any
dissemination, distribution, or copying of this communication is strictly
prohibited. If you have received this communication in error, please notify
us immediately by replying to the message and deleting it from your
computer.


"Regard your soldiers as your children,
  and they will follow you into the deepest valleys.
  Look on them as your beloved sons,
  and they will stand by you even unto death!"

  - Sun Tzu, the art of war

-- 
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 

Re: rb-site upgrade fails

2016-06-27 Thread 'Rob Backhurst' via reviewboard
Did you have any other ideas about this one?

Thanks
Rob

On Tuesday, 31 May 2016 10:03:40 UTC+1, Rob Backhurst wrote:
>
> Ahaa, that looks better...
>
> >>> print reviewboard.__file__
>
> /usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/__init__.pyc
>
> Thanks
> Rob
>
> On Tuesday, 31 May 2016 09:44:08 UTC+1, Christian Hammond wrote:
>>
>> Sorry, typo. Should have been reviewboard.__file__
>>
>> (That's two underscores on each side.)
>>
>> Christian
>>
>> -- 
>> Christian Hammond
>> President/CEO of Beanbag 
>> Makers of Review Board 
>>
>> On Tue, May 31, 2016 at 1:37 AM, Rob Backhurst  
>> wrote:
>>
>>> Hi Christian,
>>>
>>> Here you go...
>>>
>>> # python
>>> Python 2.6.6 (r266:84292, May 22 2015, 08:34:51)
>>> [GCC 4.4.7 20120313 (Red Hat 4.4.7-15)] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import reviewboard
>>> >>> print reviewboard.__file_
>>> Traceback (most recent call last):
>>>   File "", line 1, in 
>>> AttributeError: 'module' object has no attribute '__file_'
>>> >>>
>>>
>>> Obviously something not quite right with the installation..?
>>>
>>> Thanks
>>> Rob
>>>
>>>
>>> On Sunday, 29 May 2016 05:53:10 UTC+1, Christian Hammond wrote:

 Hi Rob,

 Can you run:

 $ python
 >>> import reviewboard
 >>> print reviewboard.__file_

 Christian

 -- 
 Christian Hammond
 President/CEO of Beanbag 
 Makers of Review Board 

 On Fri, May 27, 2016 at 3:13 AM, Rob Backhurst  wrote:

> Hi Christian,
>
> Sorry for the slow reply.
>
> It was installed using easy_install, then the DB restored from our 
> live reviewboard server.
> There is no reviewboard dir when running the rb-site upgrade.
>
> Thanks
> Rob
>
> On Friday, 13 May 2016 01:09:07 UTC+1, Christian Hammond wrote:
>>
>> Hi Rob,
>>
>> How was Review Board installed? It looks like there's some weirdness 
>> going on with the module.
>>
>> Can you verify that there's no "reviewboard" directory in the 
>> directory you're in when running rb-site upgrade?
>>
>> Christian
>>
>> -- 
>> Christian Hammond
>> President/CEO of Beanbag 
>> Makers of Review Board 
>>
>> On Thu, May 12, 2016 at 3:57 AM, 'Rob Backhurst' via reviewboard <
>> revie...@googlegroups.com> wrote:
>>
>>> Hi,
>>>
>>> I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but 
>>> 'rb-site upgrade' fails...
>>>
>>> # rb-site upgrade /var/www/my-site/
>>> Traceback (most recent call last):
>>>   File "/usr/bin/rb-site", line 9, in 
>>> load_entry_point('ReviewBoard==2.5.4', 'console_scripts', 
>>> 'rb-site')()
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>>  
>>> line 1922, in main
>>> command.run()
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>>  
>>> line 1704, in run
>>> diff_dedup_needed = site.get_diff_dedup_needed()
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>>  
>>> line 477, in get_diff_dedup_needed
>>> from reviewboard.diffviewer.models import FileDiff
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/models.py",
>>>  
>>> line 14, in 
>>> from reviewboard.diffviewer.managers import 
>>> (RawFileDiffDataManager,
>>>   File 
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/managers.py",
>>>  
>>> line 19, in 
>>> from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN, 
>>> FileNotFoundError
>>> ImportError: No module named scmtools.core
>>>
>>> This is running on RHEL 6.7.
>>> Doe anyone have any ideas how to fix this?
>>>
>>> Thanks
>>> Rob
>>>
>>> -- 
>>> 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 

Re: New Review Request Page is not Opening

2016-06-27 Thread Stephen Gallagher
My guess would be SELinux; if the directory you moved it to isn't on
SELinux's list of "places the web server is allowed to read", that could be
interfering. Or you could have forgotten to set the
"httpd_can_network_memcached" Boolean.

Try running "setenforce 0" as root and restating Apache. If it works, then
you are having an SELinux issue and we can help you resolve that (better to
fix it than disable SELinux).
On Mon, Jun 27, 2016 at 2:24 AM Dany Kallery  wrote:

> HI Christian,
>
> both the pc's were installed via RPM packages and i took the backup of
> Reviewboard Home Folder and DB (Mysql) and restored it in the new PC. then
> i did rb-site upgrade 
> there is only one chane i made. the home directory location in the new
> review board pc is different than the old one. i am not sure because of
> this causing this problem rest of the sites and links are fine.
>
>
> On Friday, 24 June 2016 13:53:38 UTC+5:30, Dany Kallery wrote:
>>
>> Hi,
>>
>> Recently I have migrated my Reviewboard server one machine to another.
>> after started service I have noticed that the New Review request if we try
>> to create that page just shows blank. can someone help me to sort this
>> problem?
>>
>>
>> --
> 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.