Re: HTTPS certificate not accepted

2009-07-10 Thread Daniel

Christian,

Thank you for your reply.

The 1st option is not possible for us, since the SVN repository is
controlled by Collabnet.

For the 2nd option, can you please tell me how to use my user name to
access the SVN server (thru https)?

Thanks
Daniel

On Jun 29, 5:21 pm, Christian Hammond chip...@chipx86.com wrote:
 Hi Daniel,

 From what I've seen, it seems tricky to get this to work right through
 Apache. What I'd strongly recommend, if possible, is to set a plain http
 repository for the path and use the https repository for the mirror path.
 The idea being that Review Board would just simply fetch the files from the
 http repository and the mirror path would be what Review Board checks when
 developers are posting changes for review.

 If you can't do this, then I think what you need to do is attempt to access
 the server through https using your user and then move your .subversion
 directory into wherever Apache is trying to find it. You can probably set an
 environment variable in the Apache configuration file (using SetEnv) to
 change this path.

 I'd like to make this easier in 1.1 or so. I know it's bitten a lot of
 people.

 Christian

 --
 Christian Hammond - chip...@chipx86.com
 Review Board -http://www.review-board.org
 VMware, Inc. -http://www.vmware.com



 On Mon, Jun 29, 2009 at 1:34 PM, Daniel dkarn...@sbcglobal.net wrote:

  Hi,

  I am new to ReviewBoard 1.0 and trying to configure RB with SVN. I got
  RB installed but when I try to create a new Review Request, it comes
  back with an error:

  HTTPS certificate not accepted. Please ensure that the proper
  certificate exists in H:\ /.subversion/auth for the user that
  reviewboard is running as.

  I don't have any idea why it is looking for a certificate on H:\. On
  my system there is an environment variable HOMEDRIVE which is set to H:
  \. I read somewhere that this might be caused by Apache home directory
  points to a wrong place, but not sure where I can change this. I am
  able to do all SVN operations outside ReviewBoard

  Any clue?

  Thanks
  Daniel

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: HTTPS certificate not accepted

2009-07-13 Thread Daniel

Tim or Christian,

Do you know how where I can find the user name with which RB is
running as? What config file? I assume this is different than the user
name that is used to log into RB.

Currently, I have a different error:
HTTPS certificate not accepted. Please ensure that the proper
certificate exists in ~/.subversion/auth for the user that reviewboard
is running as.

So may be I can change this user name to my login user name, which can
access my SVN server.

Thanks
Daniel

On Jul 12, 9:21 pm, Tim Potter metatr...@gmail.com wrote:
 2009/7/10 Daniel dkarn...@sbcglobal.net



  Christian,

  Thank you for your reply.

  The 1st option is not possible for us, since the SVN repository is
  controlled by Collabnet.

 Not sure what you exact collabnet setup is, but if you can create a new
 certificate that collabnet can access and grant it the Observer fold you can
 run reviewboard quite nicely.

 Add some extra lines to the .subversion/servers file in the home directory
 like this:

 [groups]
 csd200a = *.csd200a.com

 [csd200a]
 ssl-client-cert-file = /var/www/.subversion/cert.p12
 ssl-client-cert-password = password

 [global]
 http-proxy-host = proxy.whatever.com
 http-proxy-port = 8080

 This is on Linux - I have no idea about the details of Windows or the H:\
 drive problem sorry.

 For the 2nd option, can you please tell me how to use my user name to

  access the SVN server (thru https)?

 If you export a copy of your certificate and point to it in your servers
 file it should work.  The only problem is you need to either leave it
 unencrypted or specify the password in the servers file.  Both are pretty
 bad ideas in general.  Having a special reviewboard specific certificate
 with read-only access is slightly better.

 Regards,

 Tim.





  Thanks
  Daniel

  On Jun 29, 5:21 pm, Christian Hammond chip...@chipx86.com wrote:
   Hi Daniel,

   From what I've seen, it seems tricky to get this to work right through
   Apache. What I'd strongly recommend, if possible, is to set a plain http
   repository for the path and use the https repository for the mirror path.
   The idea being that Review Board would just simply fetch the files from
  the
   http repository and the mirror path would be what Review Board checks
  when
   developers are posting changes for review.

   If you can't do this, then I think what you need to do is attempt to
  access
   the server through https using your user and then move your .subversion
   directory into wherever Apache is trying to find it. You can probably set
  an
   environment variable in the Apache configuration file (using SetEnv) to
   change this path.

   I'd like to make this easier in 1.1 or so. I know it's bitten a lot of
   people.

   Christian

   --
   Christian Hammond - chip...@chipx86.com
   Review Board -http://www.review-board.org
   VMware, Inc. -http://www.vmware.com

   On Mon, Jun 29, 2009 at 1:34 PM, Daniel dkarn...@sbcglobal.net wrote:

Hi,

I am new to ReviewBoard 1.0 and trying to configure RB with SVN. I got
RB installed but when I try to create a new Review Request, it comes
back with an error:

HTTPS certificate not accepted. Please ensure that the proper
certificate exists in H:\ /.subversion/auth for the user that
reviewboard is running as.

I don't have any idea why it is looking for a certificate on H:\. On
my system there is an environment variable HOMEDRIVE which is set to H:
\. I read somewhere that this might be caused by Apache home directory
points to a wrong place, but not sure where I can change this. I am
able to do all SVN operations outside ReviewBoard

Any clue?

Thanks
Daniel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



easy_install P4PythonInstaller failure

2010-03-03 Thread Daniel
Trying to install reviewboard.

# easy_install -v P4PythonInstaller
Searching for P4PythonInstaller
Reading http://pypi.python.org/simple/P4PythonInstaller/
Reading http://www.review-board.org/
Found link: 
http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4PythonInstaller-0.2
Found link: 
http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4PythonInstaller-0.1
Best match: P4PythonInstaller 0.2
Downloading 
http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4PythonInstaller-0.2
Doing subversion checkout from 
http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller
to /tmp/easy_install-RG35Yv/P4PythonInstaller
svn: PROPFIND request failed on '/svn/trunk/P4PythonInstaller'
svn: PROPFIND of '/svn/trunk/P4PythonInstaller': could not connect to
server (http://reviewboard.googlecode.com)
Processing P4PythonInstaller
error: Couldn't find a setup script in /tmp/easy_install-RG35Yv/
P4PythonInstaller



It has been suggested that you need the latest version of setup tool,
so I did
# easy_install -U setuptools
Searching for setuptools
Reading http://pypi.python.org/simple/setuptools/
Best match: setuptools 0.6c11
Processing setuptools-0.6c11-py2.4.egg
setuptools 0.6c11 is already the active version in easy-install.pth
Installing easy_install script to /usr/bin
Installing easy_install-2.4 script to /usr/bin

Using /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg
Processing dependencies for setuptools
Finished processing dependencies for setuptools
#

Any help?

Thanks!
Daniel

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: easy_install P4PythonInstaller failure

2010-03-29 Thread Daniel
A month after, I am still seeing the issue.

# easy_install -v P4PythonInstaller
Searching for P4PythonInstaller
Reading http://pypi.python.org/simple/P4PythonInstaller/
Reading http://www.review-board.org/
Found link: 
http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4PythonInstaller-0.2
Found link: 
http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4PythonInstaller-0.1
Best match: P4PythonInstaller 0.2
Downloading 
http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4PythonInstaller-0.2
Doing subversion checkout from 
http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller
to /tmp/easy_install-8Voqi4/P4PythonInstaller
Processing P4PythonInstaller
Running setup.py bdist_egg --dist-dir /tmp/easy_install-8Voqi4/
P4PythonInstaller/egg-dist-tmp-YnND7I
Traceback (most recent call last):
  File /usr/bin/easy_install, line 7, in ?
sys.exit(
  File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
setuptools/command/easy_install.py, line 1712, in main
with_ei_usage(lambda:
  File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
setuptools/command/easy_install.py, line 1700, in with_ei_usage
return f()
  File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
setuptools/command/easy_install.py, line 1716, in lambda
distclass=DistributionWithoutHelpCommands, **kw
  File /usr/lib/python2.4/distutils/core.py, line 149, in setup
dist.run_commands()
  File /usr/lib/python2.4/distutils/dist.py, line 946, in
run_commands
self.run_command(cmd)
  File /usr/lib/python2.4/distutils/dist.py, line 966, in
run_command
cmd_obj.run()
  File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
setuptools/command/easy_install.py, line 211, in run
self.easy_install(spec, not self.no_deps)
  File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
setuptools/command/easy_install.py, line 446, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
  File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
setuptools/command/easy_install.py, line 476, in install_item
dists = self.install_eggs(spec, download, tmpdir)
  File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
setuptools/command/easy_install.py, line 655, in install_eggs
return self.build_and_install(setup_script, setup_base)
  File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
setuptools/command/easy_install.py, line 930, in build_and_install
self.run_setup(setup_script, setup_base, args)
  File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
setuptools/command/easy_install.py, line 919, in run_setup
run_setup(setup_script, args)
  File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
setuptools/sandbox.py, line 61, in run_setup
DirectorySandbox(setup_dir).run(
  File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
setuptools/sandbox.py, line 105, in run
return func()
  File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
setuptools/sandbox.py, line 64, in lambda
{'__file__':setup_script, '__name__':'__main__'}
  File setup.py, line 176, in ?

  File setup.py, line 144, in main

  File setup.py, line 25, in download
sys.argv.remove(--debug)
  File /usr/lib/python2.4/ftplib.py, line 107, in __init__
self.connect(host)
  File /usr/lib/python2.4/ftplib.py, line 129, in connect
raise socket.error, msg
socket.error: (113, 'No route to host')
sh-3.2# easy_install -U setuptools
Searching for setuptools
Reading http://pypi.python.org/simple/setuptools/
Best match: setuptools 0.6c11
Processing setuptools-0.6c11-py2.4.egg
setuptools 0.6c11 is already the active version in easy-install.pth
Installing easy_install script to /usr/bin
Installing easy_install-2.4 script to /usr/bin

Using /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg
Processing dependencies for setuptools
Finished processing dependencies for setuptools
#

Is there an alternative way to install it?

Thanks,
Daniel


On Mar 3, 6:24 pm, Christian Hammond chip...@chipx86.com wrote:
 Looks like a temporary network issue. I can connect to that SVN server just
 fine. Maybe try it again, or check your network setup?

 Christian

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

 On Wed, Mar 3, 2010 at 5:21 PM, Daniel dyoon@gmail.com wrote:
  Trying to install reviewboard.

  # easy_install -v P4PythonInstaller
  Searching for P4PythonInstaller
  Readinghttp://pypi.python.org/simple/P4PythonInstaller/
  Readinghttp://www.review-board.org/
  Found link:
 http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4P...
  Found link:
 http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4P...
  Best match: P4PythonInstaller 0.2
  Downloading
 http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4P...
  Doing

Re: easy_install P4PythonInstaller failure

2010-03-29 Thread Daniel
Thanks Dana. Trying with that route, but I am having more issues as I
am stuck with python 2.4, and the Python API appears to be only built
for  2.5...


On Mar 29, 10:21 am, Dana Lacoste dlaco...@aperio.com wrote:
 If you go tohttp://www.perforce.com/perforce/loadsupp.html
 You can access the Perforce supported/official/not buggy version of the 
 P4Python modules.

 It's very very easy to install, but it does require manual steps.  I've never 
 had it fail, though.  And there's a Windows installer for the Python 2.6 
 version if that's what platform you're using.

 http://www.perforce.com/perforce/doc.current/user/p4pythonnotes.txthas more 
 info.

 Dana Lacoste

 -Original Message-
 From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com] On 
 Behalf Of Daniel
 Sent: Monday, March 29, 2010 10:07 AM
 To: reviewboard
 Subject: Re: easy_installP4PythonInstallerfailure

 A month after, I am still seeing the issue.

 # easy_install -vP4PythonInstaller
 Searching forP4PythonInstaller
 Readinghttp://pypi.python.org/simple/P4PythonInstaller/
 Readinghttp://www.review-board.org/
 Found 
 link:http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4P...
 Found 
 link:http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4P...
 Best match:P4PythonInstaller0.2
 Downloadinghttp://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4P...
 Doing subversion checkout 
 fromhttp://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller
 to /tmp/easy_install-8Voqi4/P4PythonInstaller
 ProcessingP4PythonInstaller
 Running setup.py bdist_egg --dist-dir 
 /tmp/easy_install-8Voqi4/P4PythonInstaller/egg-dist-tmp-YnND7I
 Traceback (most recent call last):
   File /usr/bin/easy_install, line 7, in ?
     sys.exit(
   File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
 setuptools/command/easy_install.py, line 1712, in main
     with_ei_usage(lambda:
   File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
 setuptools/command/easy_install.py, line 1700, in with_ei_usage
     return f()
   File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
 setuptools/command/easy_install.py, line 1716, in lambda
     distclass=DistributionWithoutHelpCommands, **kw
   File /usr/lib/python2.4/distutils/core.py, line 149, in setup
     dist.run_commands()
   File /usr/lib/python2.4/distutils/dist.py, line 946, in
 run_commands
     self.run_command(cmd)
   File /usr/lib/python2.4/distutils/dist.py, line 966, in
 run_command
     cmd_obj.run()
   File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
 setuptools/command/easy_install.py, line 211, in run
     self.easy_install(spec, not self.no_deps)
   File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
 setuptools/command/easy_install.py, line 446, in easy_install
     return self.install_item(spec, dist.location, tmpdir, deps)
   File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
 setuptools/command/easy_install.py, line 476, in install_item
     dists = self.install_eggs(spec, download, tmpdir)
   File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
 setuptools/command/easy_install.py, line 655, in install_eggs
     return self.build_and_install(setup_script, setup_base)
   File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
 setuptools/command/easy_install.py, line 930, in build_and_install
     self.run_setup(setup_script, setup_base, args)
   File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
 setuptools/command/easy_install.py, line 919, in run_setup
     run_setup(setup_script, args)
   File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
 setuptools/sandbox.py, line 61, in run_setup
     DirectorySandbox(setup_dir).run(
   File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
 setuptools/sandbox.py, line 105, in run
     return func()
   File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
 setuptools/sandbox.py, line 64, in lambda
     {'__file__':setup_script, '__name__':'__main__'}
   File setup.py, line 176, in ?

   File setup.py, line 144, in main

   File setup.py, line 25, in download
     sys.argv.remove(--debug)
   File /usr/lib/python2.4/ftplib.py, line 107, in __init__
     self.connect(host)
   File /usr/lib/python2.4/ftplib.py, line 129, in connect
     raise socket.error, msg
 socket.error: (113, 'No route to host')
 sh-3.2# easy_install -U setuptools
 Searching for setuptools
 Readinghttp://pypi.python.org/simple/setuptools/
 Best match: setuptools 0.6c11
 Processing setuptools-0.6c11-py2.4.egg
 setuptools 0.6c11 is already the active version in easy-install.pth
 Installing easy_install script to /usr/bin
 Installing easy_install-2.4 script to /usr/bin

 Using /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg
 Processing dependencies for setuptools
 Finished processing dependencies for setuptools
 #

 Is there an alternative way to install

Re: Post-Review: Error updating requests

2010-04-14 Thread Daniel
It only happens you submit the request twice.

$ post-review 186598 (first time submit)
...

Review request # 5 posted.

http:///reviews/r/6


$ post-review 186598 (same change #)
Traceback (most recent call last):
  File /net/adc2100488/scratch/opt/bin/post-review, line 8, in
module
load_entry_point('RBTools==0.2rc1', 'console_scripts', 'post-
review')()
  File build/bdist.linux-x86_64/egg/rbtools/postreview.py, line
2774, in main
  File build/bdist.linux-x86_64/egg/rbtools/postreview.py, line
2423, in tempt_fate
  File build/bdist.linux-x86_64/egg/rbtools/postreview.py, line 427,
in new_review_request
UnboundLocalError: local variable 'rsp' referenced before assignment



On Apr 14, 11:28 am, Daniel dyoon@gmail.com wrote:
 I am still seeing it.

 $ post-review 186593
 Traceback (most recent call last):
   File /net/adc2100488/scratch/opt/bin/post-review, line 8, in
 module
     load_entry_point('RBTools==0.2rc1', 'console_scripts', 'post-
 review')()
   File build/bdist.linux-x86_64/egg/rbtools/postreview.py, line
 2774, in main
   File build/bdist.linux-x86_64/egg/rbtools/postreview.py, line
 2423, in tempt_fate
   File build/bdist.linux-x86_64/egg/rbtools/postreview.py, line 427,
 in new_review_requestUnboundLocalError: local variable 'rsp' referenced 
 before assignment

 On Feb 24, 8:54 pm, Christian Hammond chip...@chipx86.com wrote:

  There's a fix for this going in tonight. You'll want to grab tomorrow's
  nightly.

  Christian

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

  On Wed, Feb 24, 2010 at 6:43 AM, Florian Föbel
  arenaweb...@googlemail.comwrote:

   Hi,

   Found an error in post-review from RBTools 0.2rc1:
   Traceback (most recent call last):
     File /usr/local/bin/post-review, line 10, in module
       load_entry_point('RBTools==0.2rc1', 'console_scripts', 
   'post-review')()
     File
   /usr/local/lib/python2.5/site-packages/RBTools-0.2rc1-py2.5.egg/rbtools/postreview.py,
   line 2774, in main
     File
   /usr/local/lib/python2.5/site-packages/RBTools-0.2rc1-py2.5.egg/rbtools/postreview.py,
   line 2423, in tempt_fate
     File
   /usr/local/lib/python2.5/site-packages/RBTools-0.2rc1-py2.5.egg/rbtools/postreview.py,
   line 427, in new_review_request
  UnboundLocalError: local variable 'rsp' referenced before assignment

   It was introduced with the following commit:

  http://github.com/reviewboard/rbtools/commit/5968f84456d1e349bd174c2b...

   I tried to manually add rsp, = e.args but that won't work. I guess I
   currently lack the python skills and understanding of post-review to fix
   this without some time to spare.

   Anyone having a simple fix?

   Regards,
   Florian

   --
   Want to help the Review Board project? Donate today at
  http://www.reviewboard.org/donate/
   Happy user? Let us know athttp://www.reviewboard.org/users/
   -~--~~~~--~~--~--~---
   To unsubscribe from this group, send email to
   reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

To unsubscribe, reply using remove me as the subject.


Re: Post-Review: Error updating requests

2010-04-16 Thread Daniel
I'm sorry. I missed the part about nightly build. No, it's just from
1.0.6. Is using nightly the only way to go about it now?

Thanks,
Daniel


On Apr 15, 5:36 pm, Christian Hammond chip...@chipx86.com wrote:
 Hmm, and this is the nightly? It's hard to tell from the debug output.

 Christian

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



 On Wed, Apr 14, 2010 at 11:43 AM, Daniel dyoon@gmail.com wrote:
  It only happens you submit the request twice.

  $ post-review 186598 (first time submit)
  ...

  Review request # 5 posted.

 http:///reviews/r/6

  $ post-review 186598 (same change #)
  Traceback (most recent call last):
   File /net/adc2100488/scratch/opt/bin/post-review, line 8, in
  module
     load_entry_point('RBTools==0.2rc1', 'console_scripts', 'post-
  review')()
   File build/bdist.linux-x86_64/egg/rbtools/postreview.py, line
  2774, in main
   File build/bdist.linux-x86_64/egg/rbtools/postreview.py, line
  2423, in tempt_fate
   File build/bdist.linux-x86_64/egg/rbtools/postreview.py, line 427,
  in new_review_request
  UnboundLocalError: local variable 'rsp' referenced before assignment

  On Apr 14, 11:28 am, Daniel dyoon@gmail.com wrote:
   I am still seeing it.

   $ post-review 186593
   Traceback (most recent call last):
     File /net/adc2100488/scratch/opt/bin/post-review, line 8, in
   module
       load_entry_point('RBTools==0.2rc1', 'console_scripts', 'post-
   review')()
     File build/bdist.linux-x86_64/egg/rbtools/postreview.py, line
   2774, in main
     File build/bdist.linux-x86_64/egg/rbtools/postreview.py, line
   2423, in tempt_fate
     File build/bdist.linux-x86_64/egg/rbtools/postreview.py, line 427,
   in new_review_requestUnboundLocalError: local variable 'rsp' referenced
  before assignment

   On Feb 24, 8:54 pm, Christian Hammond chip...@chipx86.com wrote:

There's a fix for this going in tonight. You'll want to grab tomorrow's
nightly.

Christian

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

On Wed, Feb 24, 2010 at 6:43 AM, Florian Föbel
arenaweb...@googlemail.comwrote:

 Hi,

 Found an error in post-review from RBTools 0.2rc1:
 Traceback (most recent call last):
   File /usr/local/bin/post-review, line 10, in module
     load_entry_point('RBTools==0.2rc1', 'console_scripts',
  'post-review')()
   File

  /usr/local/lib/python2.5/site-packages/RBTools-0.2rc1-py2.5.egg/rbtools/postreview.py,
 line 2774, in main
   File

  /usr/local/lib/python2.5/site-packages/RBTools-0.2rc1-py2.5.egg/rbtools/postreview.py,
 line 2423, in tempt_fate
   File

  /usr/local/lib/python2.5/site-packages/RBTools-0.2rc1-py2.5.egg/rbtools/postreview.py,
 line 427, in new_review_request
UnboundLocalError: local variable 'rsp' referenced before assignment

 It was introduced with the following commit:

 http://github.com/reviewboard/rbtools/commit/5968f84456d1e349bd174c2b...

 I tried to manually add rsp, = e.args but that won't work. I guess
  I
 currently lack the python skills and understanding of post-review to
  fix
 this without some time to spare.

 Anyone having a simple fix?

 Regards,
 Florian

 --
 Want to help the Review Board project? Donate today at
http://www.reviewboard.org/donate/
 Happy user? Let us know athttp://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com
  reviewboard%2bunsubscr...@googlegroups.comreviewboard%252bunsubscr...@googlegroups.com

 For more options, visit this group at
http://groups.google.com/group/reviewboard?hl=en

  --
  Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
  Happy user? Let us know athttp://www.reviewboard.org/users/
  -~--~~~~--~~--~--~---
  To unsubscribe from this group, send email to
  reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en

  To unsubscribe, reply using remove me as the subject.

 --
 Want to help the Review Board project? Donate today 
 athttp://www.reviewboard.org/donate/
 Happy user? Let us know athttp://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users

Re: rb-site install - Review Board is taking a nap

2010-07-13 Thread Daniel
I'm just installed rc 1.5 and I'm getting the same message. I tried
the following so far
 * enable debug but get the same screen no log files created in
project-root/logs
 * changed permissions of project/media/uploaded

I'm running centos 5.4, python 2.6, mod_wsgi, mod_python, sqlite3, and
memcached. I tried with both mod_wsgi and mod_python (however version
2.4 was being invoked so I need to try and recompile the apache module
against python 2.6).

Any suggestions what else I can try?

Thanks in advance,
Daniel

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: rb-site install - Review Board is taking a nap

2010-07-14 Thread Daniel
Anyone have any further suggestions on how to debug 'ReviewBoard is
taking a nap' after a fresh install? Maybe there are some diagnostics
I can run on my reviewboard site instance using rb-site manage or
shell?

I've tried validate and test, results are below (there was a problem
running test)

Thanks,
Daniel


% rb-site manage /full/path/to/my/site/ validate
0 errors found


% rb-site manage /full/path/to/my/site/ test
Creating test database 'default'...
Creating table django_admin_log
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_site
Creating table django_session
Creating table siteconfig_siteconfiguration
Creating table accounts_reviewrequestvisit
Creating table accounts_profile_starred_review_requests
Creating table accounts_profile_starred_groups
Creating table accounts_profile
Creating table changedescs_changedescription
Creating table diffviewer_filediff
Creating table diffviewer_diffset
Creating table diffviewer_diffsethistory
Creating table reviews_group_users
Creating table reviews_group
Creating table reviews_defaultreviewer_repository
Creating table reviews_defaultreviewer_people
Creating table reviews_defaultreviewer_groups
Creating table reviews_defaultreviewer
Creating table reviews_screenshot
Creating table reviews_reviewrequest_changedescs
Creating table reviews_reviewrequest_target_people
Creating table reviews_reviewrequest_inactive_screenshots
Creating table reviews_reviewrequest_screenshots
Creating table reviews_reviewrequest_target_groups
Creating table reviews_reviewrequest
Creating table reviews_reviewrequestdraft_target_people
Creating table reviews_reviewrequestdraft_inactive_screenshots
Creating table reviews_reviewrequestdraft_screenshots
Creating table reviews_reviewrequestdraft_target_groups
Creating table reviews_reviewrequestdraft
Creating table reviews_comment
Creating table reviews_screenshotcomment
Creating table reviews_review_comments
Creating table reviews_review_screenshot_comments
Creating table reviews_review
Creating table scmtools_tool
Creating table scmtools_repository
Creating table django_project_version
Creating table django_evolution
Installing baseline version
Evolutions in diffviewer baseline: add_parent_diffs,
filediff_filenames_1024_chars, diffset_basedir, filediff_status
Evolutions in reviews baseline: change_descriptions,
last_review_timestamp, shipit_count, default_reviewer_repositories
Evolutions in scmtools baseline: bugzilla_url_charfield,
repository_raw_file_url, repository_visible,
repository_path_length_255
Installing custom SQL for accounts.Profile model
Installing custom SQL for reviews.Group model
Installing custom SQL for reviews.ReviewRequest model
Installing index for admin.LogEntry model
Installing index for auth.Permission model
Installing index for auth.Group_permissions model
Installing index for auth.User_user_permissions model
Installing index for auth.User_groups model
Installing index for auth.Message model
Installing index for siteconfig.SiteConfiguration model
Installing index for accounts.ReviewRequestVisit model
Installing index for accounts.Profile_starred_review_requests model
Installing index for accounts.Profile_starred_groups model
Installing index for diffviewer.FileDiff model
Installing index for diffviewer.DiffSet model
Installing index for reviews.Group_users model
Installing index for reviews.DefaultReviewer_repository model
Installing index for reviews.DefaultReviewer_people model
Installing index for reviews.DefaultReviewer_groups model
Installing index for reviews.ReviewRequest_changedescs model
Installing index for reviews.ReviewRequest_target_people model
Installing index for reviews.ReviewRequest_inactive_screenshots model
Installing index for reviews.ReviewRequest_screenshots model
Installing index for reviews.ReviewRequest_target_groups model
Installing index for reviews.ReviewRequest model
Installing index for reviews.ReviewRequestDraft_target_people model
Installing index for reviews.ReviewRequestDraft_inactive_screenshots
model
Installing index for reviews.ReviewRequestDraft_screenshots model
Installing index for reviews.ReviewRequestDraft_target_groups model
Installing index for reviews.ReviewRequestDraft model
Installing index for reviews.Comment model
Installing index for reviews.ScreenshotComment model
Installing index for reviews.Review_comments model
Installing index for reviews.Review_screenshot_comments model
Installing index for reviews.Review model
Installing index for scmtools.Repository model
Installing index for django_evolution.Evolution model
No fixtures found.
No fixtures found.
Traceback (most recent call last):
  File /usr/bin/rb-site, line 8, in module
load_entry_point('ReviewBoard==1.5rc1', 'console_scripts', 'rb-
site')()
  File /usr/lib/python2.6/site

Hide fields that are not required? (graphics only)

2011-01-26 Thread Daniel
I looked over the documentation but couldn't find an answer... is
there any way to hide certain fields that are not required on the
'Create New Review Request' page?

'branch' and even 'diff' may not be relevant when only reviewing
graphics.

Thanks,
Daniel

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Feedback for Screen Shot Captions

2011-01-28 Thread Daniel
When I upload multiple screenshots using the drag and drop feature,
it'd be really nice if the caption would default to the filename
instead of 'no name'.

Thanks!

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


ReviewMate

2011-01-31 Thread Daniel
I just noticed that ElementRiver has an eclipse based plugin for code
reviews. It could be nice to start reviews right in the IDE but
ReviewBoard has a lot of essential features too. An integration would
be interesting...

http://support.elementriver.com/discussions/reviewmate/2-reviewboard-integration

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: Feedback for Screen Shot Captions

2011-01-31 Thread Daniel
Done.

http://code.google.com/p/reviewboard/issues/detail?id=1966

On Jan 28, 8:12 pm, Christian Hammond chip...@chipx86.com wrote:
 I agree. Would you mind filing a bug on that?

 Christian

 On Friday, January 28, 2011, Daniel da.s...@gmail.com wrote:
  When I upload multiple screenshots using the drag and drop feature,
  it'd be really nice if the caption would default to the filename
  instead of 'no name'.

  Thanks!

  --
  Want to help the Review Board project? Donate today 
  athttp://www.reviewboard.org/donate/
  Happy user? Let us know athttp://www.reviewboard.org/users/
  -~--~~~~--~~--~--~---
  To unsubscribe from this group, send email to 
  reviewboard+unsubscr...@googlegroups.com
  For more options, visit this group 
  athttp://groups.google.com/group/reviewboard?hl=en

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

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Trying to move from sqlite to mysql running into disk image is malformed problems

2011-12-17 Thread Daniel
I'm in the midst of trying to move from SQLite to MySQL. I know that
we shouldn't be running SQLite on a production server, that's the
reason for the migration. However whenever I try to dump the data from
the database using:
rb-site manage . dumpdata  sqlite.json
I get the following error:

Traceback (most recent call last):
  File /usr/local/bin/rb-site, line 8, in module
load_entry_point('ReviewBoard==1.5.4', 'console_scripts', 'rb-
site')()
  File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4-
py2.6.egg/reviewboard/cmdline/rbsite.py, line 1611, in main
command.run()
  File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4-
py2.6.egg/reviewboard/cmdline/rbsite.py, line 1545, in run
site.run_manage_command(args[0], args[1:])
  File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.4-
py2.6.egg/reviewboard/cmdline/rbsite.py, line 397, in
run_manage_command
execute_manager(reviewboard.settings, [__file__, cmd] + params)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.5-py2.6.egg/
django/core/management/__init__.py, line 438, in execute_manager
utility.execute()
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.5-py2.6.egg/
django/core/management/__init__.py, line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.5-py2.6.egg/
django/core/management/base.py, line 191, in run_from_argv
self.execute(*args, **options.__dict__)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.5-py2.6.egg/
django/core/management/base.py, line 220, in execute
output = self.handle(*args, **options)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.5-py2.6.egg/
django/core/management/commands/dumpdata.py, line 84, in handle
objects.extend(model._default_manager.using(using).all())
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.5-py2.6.egg/
django/db/models/query.py, line 82, in __len__
self._result_cache.extend(list(self._iter))
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.5-py2.6.egg/
django/db/models/query.py, line 271, in iterator
for row in compiler.results_iter():
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.5-py2.6.egg/
django/db/models/sql/compiler.py, line 677, in results_iter
for rows in self.execute_sql(MULTI):
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.5-py2.6.egg/
django/db/models/sql/compiler.py, line 752, in execute_sql
return list(result)
  File /usr/local/lib/python2.6/dist-packages/Django-1.2.5-py2.6.egg/
django/db/models/sql/compiler.py, line 746, in lambda
result = iter((lambda: cursor.fetchmany(GET_ITERATOR_CHUNK_SIZE)),
sqlite3.DatabaseError: database disk image is malformed

I need some help getting this resolved. This data cannot be lost. Our
actual RB site appears to do just fine, except that we get database
locked errors because of high traffic. Another reason we are trying to
migrate to MySQL. Any help would be greatly appreciated.

Thanks,
Daniel

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Paid Support

2012-02-09 Thread Daniel
Is there anybody out there who does or is willing to give us support
for a fee?

We've come across several problems with SQLite, and we are trying to
get moved off of it, however Django and SQLite stop us every step of
the way, and I'm at my wits end. We need to migrate while preserving
data. I've tried asking for help on this discussion and haven't gotten
anything, and in the meantime our Reviewboard is continually plagued
with database locked errors that we can't get away from. Especially
when django comes back and gives me a process killed with no
explanation. And as far as I can tell, that was with verbose turned
on.

Any and all help and offers are appreciated.

Thanks,
Daniel

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Password reset email said to come from example.com despite correct server name set in General Settings

2012-03-26 Thread Daniel
One of my Review Board users attempted to reset his password. He got it 
correctly, however it didn't look right. He got the following:

Subject: Password reset on *example.com*

 You're receiving this e-mail because you requested a password reset for 
your account at *example.com*.

 Please go to the following page and choose a new password:
Correct URL was here

 In case you've forgotten, your username is John.Doe

 Thanks for using Review Board!

Does anyone know why example.com is showing and where I can fix it. It's 
set correctly in the admin site under General Settings.

Thanks,
Daniel

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Password reset email said to come from example.com despite correct server name set in General Settings

2012-03-27 Thread Daniel
Yep, that did it. Thanks.

Daniel

On Monday, March 26, 2012 11:56:45 PM UTC-6, brajesh wrote:

 Hi Daniel,

 You need to make changes under Database - Sites

 Thanks
 Brajesh

 On Tue, Mar 27, 2012 at 6:06 AM, Daniel  wrote:

 One of my Review Board users attempted to reset his password. He got it 
 correctly, however it didn't look right. He got the following:

 Subject: Password reset on *example.com*

  You're receiving this e-mail because you requested a password reset for 
 your account at *example.com*.

  Please go to the following page and choose a new password:
 Correct URL was here

  In case you've forgotten, your username is John.Doe

  Thanks for using Review Board!

 Does anyone know why example.com is showing and where I can fix it. It's 
 set correctly in the admin site under General Settings.

 Thanks,
 Daniel

 --




-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Problem uploading screenshots

2012-05-04 Thread Daniel


Attached is the screenshot of the console you asked for.


Thanks,

Daniel

https://lh6.googleusercontent.com/-zI4uTyoe4ys/T6QParQvlfI/AFQ/jEq2pTO8Q1E/s1600/ScreenShot003.jpg


On Thursday, April 26, 2012 2:48:54 PM UTC-6, Christian Hammond wrote:

 What version of Review Board?

 Can you use Chrome or Firefox's developer tools (javascript console and 
 such) to see what the network transfer looks like for that request?

 Christian

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


 On Thu, Apr 26, 2012 at 1:04 PM, Daniel doub...@mcdewey.com wrote:

 We are having a problem where we cannot upload screenshots. Whenever we 
 try we have an error that looks like the following:

 *Error Code:* 0
 *Error Text:* n/a
 *Request URL:* 
 http://reviewboard.ks.quantum.com/api/review-requests/7424/screenshots/
 *Request Data:* (none)
 *Response Data:*
 There may be useful error details below. The following error page may be 
 useful to your system administrator or when reporting a 
 bughttps://mail.quantum.com/owa/redir.aspx?C=01f5dced1e83444a9406c2539e8b4474URL=http%3a%2f%2fwww.reviewboard.org%2fbugs%2fnew%2f.
  
 To save the page, right-click the error below and choose Save Page As, if 
 available, or View Source and save the result as a .html file.
 *Warning:* Be sure to remove any sensitive material that may exist in 
 the error page before reporting a bug!

 We've already installed PIL, and have already double checked the 
 permissions of the media folder. I can't find information in the apache or 
 rb logs. Any help appreciated.

 Thanks,
 Daniel

 -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en




-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Phantom Review Closer

2012-06-27 Thread Daniel
We've been experiencing something weird within ReviewBoard. Reviews are 
being closed and either A) users aren't remembering that they're doing it 
(happening too often, so I don't believe this to be the case) B) Something 
else is closing the reviews.

The main problem is we can't figure out what is closing them as there is no 
record of who closed them, and I can't find any evidence in the logs to 
show when something is closed and an indication to who did it.

Any help will be much appreciated.

Thanks,
Daniel

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

jQuery 1.8 vulnerability

2018-05-10 Thread Daniel
Hello,

My corp security department prevents me using the ReviewBoard because there 
are publicly known vulnerabilities in the one of RB's components 
(particularly jQuery 1.8).

Would it possible for the community to mitigate those issues ?


CVE-2015-9251 

CVE-2012-6708 

 

https://www.cvedetails.com/vulnerability-list/vendor_id-6538/product_id-11031/version_id-235567/opxss-1/Jquery-Jquery-1.8.1.html
 


I saw that master branch in GitHub already has jQuery 3.3, hopefully RB 4.0 
will met security requirements. Would it possible to backport jQuery3.3 to 
2.0 and/or 3.0 ?


Thanks in advance.

-- 
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 
"Review Board Community" 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: Review Board 3.0.14 is out

2019-08-21 Thread Daniel
Stephen, thank you for helping me to a better understanding.

Since yesterday I read up about EPEL usage with RHEL and now i think i have 
a better grasp of this. 

If i got it right, to do a "yum install reviewboard" with more up to date 
RB-versions it would be feasible to wait a bit until i can get my hands on 
an RHEL8 machine, get the EPEL configured (epel-release-latest-8 
<https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm>), 
regularly check for good news concerning RB via EPEL and upon arrival be 
happily installing via yum (not that i am not happy already, having 
realized once more what an amount of time you pour into this!)

So thank you once more and now i am back in lurkmode :)

Am Dienstag, 20. August 2019 17:03:42 UTC+2 schrieb Stephen Gallagher:
>
> On Tue, Aug 20, 2019 at 11:00 AM Daniel  > wrote: 
> > 
> > Hi Christian and Stephen, 
> > 
> > I just scanned the forums for possible updates concerning the 
> version-compatilities/ version-availabilites and found this post from 
> March. 
> > 
> > Some time ago when i was even more unexperienced in the ways of how the 
> system needs to be to be able to run reviewboard i asked about EPELs and 
> RHELs for revieboard 3.x (
> https://groups.google.com/d/msg/reviewboard/mSQPKhkKmMw/zFkNNf3gBgAJ) 
> > 
> > Since that time we are using RB in the Version 2.5.17 (the Version 
> available via yum like Paul mentioned). 
> > 
> > If i understand it correctly, than an EPEL can be configured for the 
> RHEL7 and afterwards i can use yum to install something out of that EPEL7 
> repo (e.g. reviewboard) 
> > 
> > Stephen was hoping that RB4 might be able to be delivered that way and 
> Christian was reducing that hope as there are still other hindering factors 
> so that the earliest maybe possible version of reviewboard available via an 
> EPEL again might be RB5. But this still is just a possibility and not 
> certain. 
> > 
> > We are working with RHEL7 Machines and i personally do not have much 
> legroom to customize that install ... so i was curious what your last 
> messages in this thread might mean for me and my usecase. 
> > 
> > I would be very happy if you would maybe find the time to describe the 
> way (if there is any) in that i might be able to install a "more modern 
> than 2.5.17"-version of RB into a RHEL7 system without manually installing 
> too many dependencies. 
> > 
>
> Short version: I probably can't provide RB 3.0+ on EPEL 7 any time 
> soon. However, I do expect to be able to deliver 3.0 and later on EPEL 
> 8 within the next six months. We have support for 
> Modularity/AppStreams in the works there and I will be able to package 
> the newer versions of Review Board for RHEL/CentOS 8.1+ 
>

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/17f1309a-8576-4bbd-b3fe-5d081e392771%40googlegroups.com.


Re: Review Board 3.0.14 is out

2019-08-20 Thread Daniel
Hi Christian and Stephen,

I just scanned the forums for possible updates concerning the 
version-compatilities/ version-availabilites and found this post from March.

Some time ago when i was even more unexperienced in the ways of how the 
system needs to be to be able to run reviewboard i asked about EPELs and 
RHELs for revieboard 3.x 
(https://groups.google.com/d/msg/reviewboard/mSQPKhkKmMw/zFkNNf3gBgAJ)

Since that time we are using RB in the Version 2.5.17 (the Version 
available via yum like Paul mentioned).

If i understand it correctly, than an EPEL can be configured for the RHEL7 
and afterwards i can use yum to install something out of that EPEL7 repo 
(e.g. reviewboard)

Stephen was hoping that RB4 might be able to be delivered that way and 
Christian was reducing that hope as there are still other hindering factors 
so that the earliest maybe possible version of reviewboard available via an 
EPEL again might be RB5. But this still is just a possibility and not 
certain.

We are working with RHEL7 Machines and i personally do not have much 
legroom to customize that install ... so i was curious what your last 
messages in this thread might mean for me and my usecase. 

I would be very happy if you would maybe find the time to describe the way 
(if there is any) in that i might be able to install a "more modern than 
2.5.17"-version of RB into a RHEL7 system without manually installing too 
many dependencies.

TIA and cheers
Daniel

>

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/51e99052-d01c-4658-ae84-a1431e193b9d%40googlegroups.com.


Review Board Ticket #4847: Pressing enter on upload file dialog cancels it instead of uploading - maddening

2019-10-23 Thread Daniel
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4847/
--

New ticket #4847 by brokenalarms
For Beanbag, Inc. > Review Board

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


--
Pressing enter on upload file dialog cancels it instead of uploading - maddening
==

# What version are you running?
3.0.5

# What's the URL of the page containing the problem?
Internal corp RB

# What steps will reproduce the problem?
1. click update -> add file - upload is disabled
2. add a file - upload now enabled
3. press enter - window disappears, changes lost


# What is the expected output? What do you see instead?
The same as any other web form, for it to save and not lose all your input. 
Happens to me by virtue of standard keyboard trigger reflex every second time I 
(or multiple others I work with) do this.


# What operating system are you using? What browser?
MacOS Mojave, latest Chrome


# Please provide any additional information below.
Issue has been present for at least the past two years so finally submitting 
myself out of frustration. Thank you :)

--

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20191024002754.30923.52109%40ip-10-1-54-209.ec2.internal.


Re: Review Board Ticket #4847: Pressing enter on upload file dialog cancels it instead of uploading - maddening

2020-01-10 Thread Daniel
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4847/
--

New update by brokenalarms
For Beanbag, Inc. > Review Board > Ticket #4847


Reply:

Thanks! You'll make a lot of people at LinkedIn happy.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20200110230912.31991.35481%40ip-10-1-54-209.ec2.internal.


Re: Apache Help

2008-09-17 Thread Daniel Wexler

Aha!  That's the ticket.  Thanks!

Specifically, I had to change the DATABASE_NAME value in
settings_local.py to the absolute path to my sqlite database: C:/
reviewboard/reviewboard.sqlite

Now Apache is working for me!  W00t!

Thanks everyone!

On Sep 17, 9:54 am, Ben [EMAIL PROTECTED] wrote:
 I guess your reviewboard is not able to find the database ...

 I got the same early today running my reviewboard via wsgi, and
 indicating a relative path to the sqlite file.

 Indicating the absolute path to the sqlite database solved the issue,
 but then I realized I did not wanted it rooted on my server, but with
 a SITE_ROOT value, and switched to mod_python (which did not solved my
 problem, but I did not switched back to wsgi yet).

 In a nuttshel: reviewboard were not able to find my database and
 continuously asking me to recreate it, I gave him the absolute path
 and it solved it.

 Regards,
 Ben

 On Sep 17, 3:40 pm, Guillaume Dufrêne [EMAIL PROTECTED]
 wrote:

  Yes I do :

  ls -al htdocs/media/uploaded/
  drwxr-x--- 4 www-data root 4096 2008-09-16 17:57 .
  drwxr-xr-x 9 www-data root 4096 2008-09-16 16:13 ..
  drwxr-x--- 2 www-data root 4096 2008-09-16 17:57 images
  drwxr-x--- 6 www-data root 4096 2008-09-16 16:13 .svn

  I tried to chmod 777 the uploaded directory without any positive result ...

  About ./manage.py shell :
  Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
  [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
  Type help, copyright, credits or license for more information.
  (InteractiveConsole)
    from djblets.siteconfig.models import SiteConfiguration
    siteconfig = SiteConfiguration.objects.get_current()
   

  no output ...

  About the way I installed reviewboard, I wrote a common procedure to
  install it on ubuntu distrib :

  apt-get install libapache2-mod-python patchutils memcached libjpeg62-dev
  libfreetype6-dev python-all-dev gcc python-svn
  cd /usr/share
  svn checkouthttp://reviewboard.googlecode.com/svn/trunk/reviewboard
  cd /tmp
  wgethttp://www.djangoproject.com/download/1.0/tarball/
  tar zxvf Django-1.0.tar.gz
  cd Django-1.0
  python setup.py install
  cd /tmp
  wgethttp://effbot.org/downloads/Imaging-1.1.6.tar.gz
  cd Imaging-1.1.6
  python setup.py install
  cd /usr/share/reviewboard
  cp settings_local.py.tmpl settings_local.py
  vi settings_local.py

  Change configuration :
  DATABASE_ENGINE = 'sqlite3'
  DATABASE_NAME = 'reviewboard.sqlite'

  save / exit file

  ./manage.py syncdb
  reply yes and add an admin account
  You can now test your installation this ./manage.py runserver and 
  accesshttp://YOUR_SERVER:8000

  create an images directory in media/uploaded :
  mkdir -p htdocs/media/uploaded/images

  change owner of this directory to the apache user :
  chown -R www-data htdocs

  create a new site configuration into /etc/apache2/sites-available/ :
  VirtualHost *
      ServerName review.sharengo.org
      DocumentRoot /usr/share/reviewboard/htdocs

      # Error handlers
      ErrorDocument 500 /errordocs/500.html

      # Serve django pages
      Location /
          PythonPath ['/usr/lib/python2.5/site-packages/django'] +
  ['/usr/share'] + ['/usr/share/reviewboard'] +
  ['/usr/share/reviewboard/djblets'] + sys.path
          SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
          SetHandler mod_python
          PythonHandler django.core.handlers.modpython
          PythonAutoReload Off
          PythonDebug Off
          # If you run multiple mod_python sites in the same apache
          # instonce, uncomment this line:
          PythonInterpreter reviewboard
      /Location

      # Serve static media without running it through mod_python
      # (overrides the above)
      Location /media
          SetHandler None
      /Location
      Location /errordocs
          SetHandler None
      /Location

      # Alias static media requests to filesystem
      Alias /media /usr/share/reviewboard/htdocs/media
      Alias /errordocs /usr/share/reviewboard/htdocs/errordocs
  /VirtualHost

  enable new site configuration :
  a2ensite review.sharengo.org

  reload apache configuration :
  /etc/init.d/apache2 reload

  fharrison wrote:
   Daniel, are you on Windows? If so how are chmoding, cygwin, colinux?
   Chmoding via cygwin won't work, you'll need to use the Windows native
   security settings; to give whatever the Apache user is read/write
   perms, do it via the folder's properties (right-click-properties-

   'Security' tab). Btw, I accidentally changed the security settings on

   the wrong directory reviewboard\uploaded instead of reviewboard
   \htdocs\media\uploaded. That confused me for a couple of minutes. :(

   I'm a bit confused though, are you still getting the Database
   changes box, even after a sync? Have you tried manage.py evolve?

   Guillaume, are you sure you've created the images directory?

   F.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups

Re: post-review json reviewreqests dir?

2008-09-17 Thread Daniel Wexler

Searching the old posts, looks like this is probably some sort of
apache configuration error on my part.  However, I don't see any
errors in the apache log, but I do see two requests for the post, one
for /api/json/accounts/login/ (which looks like it succeeds) and
another for /api/json/reviewrequests/new/ which fails.

Any suggestions on what might be wrong with my apache server config?


On Sep 17, 1:51 pm, Daniel Wexler [EMAIL PROTECTED] wrote:
 Almost got everything working, but I'm still having some trouble with
 post-review.  Looks like the diff is now being created properly and
 most interactions with the server are ok (it creates a new review),
 but the files are not uploaded and I get the following error:

 Unable to accesshttp://maki/api/json/reviewrequests/new/. The host
 path may be invalid
 HTTP Error 500: Internal Server Error

 I've tried creating an api/json/reviewrequests/new/ directory within
 the htdocs in my reviewboard directory on the server, and changing the
 permissions to allow the web server to write to it, but no dice.
 Looks like this is happening at line post-review.py:403.

 If I try to access that directory from another machine, with
 PythonDebug enabled, I get a Page Not Found error with a bit more info
 from Django:

 Using the URLconf defined in djblets.util.rooturl, Django tried these
 URL patterns, in this order:
 ^ ^admin/
 ^ ^media/(?Ppath.*)$
 ^ ^account/
 ^ ^api/json/
 ^ ^r/
 ^ ^reports/
 ^ ^dashboard/$
 ^ ^users/$
 ^ ^users/(?Pusername[A-Za-z0-9_\-\.]+)/$
 ^ ^groups/$
 ^ ^groups/(?Pname[A-Za-z0-9_-]+)/$
 ^ ^groups/(?Pname[A-Za-z0-9_-]+)/members/$
 ^ ^feeds/rss/(?Purl.*)/$
 ^ ^feeds/atom/(?Purl.*)/$
 ^ ^account/logout/$
 ^ ^$
 ^ ^iphone/
 The current URL, app/, didn't match any of these.

 Suggestions?

 Do I need to add something to my Apache httpd.conf file?  I've even
 tried creating that path in both the Apache and reviewboard htdocs
 directories and putting a bogus file there, but Django/Apache are
 intercepting those requests and printing that special 404 page.

 I'm tantalizingly close to having everything working (database,
 apache, mod_perl all good now), I made it through a few post-review
 issues (getting a diff program in my path, setting my P4PORT 
 P4CLIENT env vars, changing the repository path on the server,...).  I
 can feel that I'm close now after two full days of setup!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: post-review json reviewreqests dir?

2008-09-17 Thread Daniel Wexler

Progress, and a new issue:

Turns out my initial issue was a problem with the Perforce environment
variable setup on my server.  As noted in some other posts, the Apache
httpd.conf file needs to have SetEnv calls to set the P4PORT,
P4CLIENT, and P4USER.  I discovered this by adding -d to the post-
review command and looking at the HTML error page and output to my
terminal.  Is there any way to view these error pages in a browser
that makes searching through them a bit easier?

In my case, the actual error was Can't create a new user - over
license quota.  Try deleting old users with @#3;user -d#39;.  License
count: 4391 users used of 4391 licensed

I now get a bit further in the post-review process, but I have a new
problem.  The post-review command finishes successfully now, printing
out:

Review request #20 posted.

http://maki/r/20

And the review shows up on my reviewboard dashboard.  A number of the
review fields that were blank before are now valid (changelist,
description) and the diff button is now visible (yeah! -- first time
I've seen that).  But, when I look at the diff, the diff is a
Traceback listing with the following error at the top:

[Error 2] The system cannot find the file specified
Traceback (most recent call last):
  File C:\reviewboard\diffviewer\views.py, line 86, in view_diff
files = get_diff_files(diffset, None, interdiffset, highlighting)
  File C:\reviewboard\diffviewer\diffutils.py, line 651, in
get_diff_files
enable_syntax_highlighting)
  File C:\reviewboard\diffviewer\diffutils.py, line 567, in
generate_files
lambda: get_chunks(filediff.diffset,
  File c:\reviewboard\djblets\util\misc.py, line 55, in
cache_memoize
data = lookup_callable()
  File C:\reviewboard\diffviewer\diffutils.py, line 570, in lambda
enable_syntax_highlighting))
  File C:\reviewboard\diffviewer\diffutils.py, line 338, in
get_chunks
new = get_patched_file(old, filediff)
  File C:\reviewboard\diffviewer\diffutils.py, line 254, in
get_patched_file
return patch(filediff.diff, buffer, filediff.dest_file)
  File C:\reviewboard\diffviewer\diffutils.py, line 105, in patch
stderr=subprocess.STDOUT)
  File c:\Python25\lib\subprocess.py, line 593, in __init__
errread, errwrite)
  File c:\Python25\lib\subprocess.py, line 793, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified


On Sep 17, 4:28 pm, Daniel Wexler [EMAIL PROTECTED] wrote:
 Searching the old posts, looks like this is probably some sort of
 apache configuration error on my part.  However, I don't see any
 errors in the apache log, but I do see two requests for the post, one
 for /api/json/accounts/login/ (which looks like it succeeds) and
 another for /api/json/reviewrequests/new/ which fails.

 Any suggestions on what might be wrong with my apache server config?

 On Sep 17, 1:51 pm, Daniel Wexler [EMAIL PROTECTED] wrote:

  Almost got everything working, but I'm still having some trouble with
  post-review.  Looks like the diff is now being created properly and
  most interactions with the server are ok (it creates a new review),
  but the files are not uploaded and I get the following error:

  Unable to accesshttp://maki/api/json/reviewrequests/new/. The host
  path may be invalid
  HTTP Error 500: Internal Server Error

  I've tried creating an api/json/reviewrequests/new/ directory within
  the htdocs in my reviewboard directory on the server, and changing the
  permissions to allow the web server to write to it, but no dice.
  Looks like this is happening at line post-review.py:403.

  If I try to access that directory from another machine, with
  PythonDebug enabled, I get a Page Not Found error with a bit more info
  from Django:

  Using the URLconf defined in djblets.util.rooturl, Django tried these
  URL patterns, in this order:
  ^ ^admin/
  ^ ^media/(?Ppath.*)$
  ^ ^account/
  ^ ^api/json/
  ^ ^r/
  ^ ^reports/
  ^ ^dashboard/$
  ^ ^users/$
  ^ ^users/(?Pusername[A-Za-z0-9_\-\.]+)/$
  ^ ^groups/$
  ^ ^groups/(?Pname[A-Za-z0-9_-]+)/$
  ^ ^groups/(?Pname[A-Za-z0-9_-]+)/members/$
  ^ ^feeds/rss/(?Purl.*)/$
  ^ ^feeds/atom/(?Purl.*)/$
  ^ ^account/logout/$
  ^ ^$
  ^ ^iphone/
  The current URL, app/, didn't match any of these.

  Suggestions?

  Do I need to add something to my Apache httpd.conf file?  I've even
  tried creating that path in both the Apache and reviewboard htdocs
  directories and putting a bogus file there, but Django/Apache are
  intercepting those requests and printing that special 404 page.

  I'm tantalizingly close to having everything working (database,
  apache, mod_perl all good now), I made it through a few post-review
  issues (getting a diff program in my path, setting my P4PORT 
  P4CLIENT env vars, changing the repository path on the server,...).  I
  can feel that I'm close now after two full days of setup!
--~--~-~--~~~---~--~~
You received this message because you are subscribed

Re: Perforce Security

2008-09-19 Thread Daniel Wexler

So, I think we already are using the official Perforce Python module.
That's good (it makes my IT guys happy).

Why do we use the client and repository setting for the Repository
instead of using a client/pass from the user?

I think my IT guys would be happy if we used the user's client/pass
information when the server accesses the repository instead of a
single, global user/pass.

Just poking around the code, how would I get the reviewboard user/pass
inside scmtools/perforce.py:19?  If I had folks set up their
reviewboard account using their same user/pass as they have with
Perforce, would it all Just Work (tm)?

On Sep 19, 5:00 pm, Daniel Wexler [EMAIL PROTECTED] wrote:
 Has anyone explored the new Python bindings for Perforce?

 http://www.perforce.com/perforce/doc.081/manuals/p4script/p4script.pdf

 They seem to have functions for logging in to the server with a
 specific user name and password from Python.  Could we use this and
 have the user's provide the Perforce user/pass as part of their client
 info?

 On Sep 19, 4:43 pm, Jeff Andros [EMAIL PROTECTED] wrote:

  it's not a pretty solution, but what about setting up multiple reviewboard
  instances, with different user credentials in each (one for each project
  you've got) then you only create accounts on the servers that theyr'e
  supposed to have access to.
  Jeff
  O|||O

  Help me and the Leukemia and Lymphoma society fight blood 
  cancers:http://pages.teamintraining.org/dm/tucson08/jandros

  On Fri, Sep 19, 2008 at 4:30 PM, Daniel Wexler [EMAIL PROTECTED] wrote:

   I see an older discussion about the issue of Perforce security and the
   need to put the P4 user and client information into the server:

  http://groups.google.com/group/reviewboard/browse_thread/thread/d057c...

   Any update on this situation?

   My company is similarly concerned about this security issue and would
   like a way of passing through the user's perforce credentials.  Is
   anyone actively working on this issue?

   We have a large company and have many internal security groups.  There
   have been issues in the past with server accounts that make the IT
   department hesitant to set up a special Perforce account for the
   server.

   Can someone explain why the server needs Perforce access in the first
   place?  Why not just upload the required information as part of the
   user-side post-review script?

   BTW, I did install Windows NTLM authentication on my server using
   mod_auth_sspi with no issues so far, which provides a modicum of
   security.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



diff between updates?

2009-07-14 Thread Daniel Wong

Hi,

I'm a new user to RB. I submitted a cr request, published it, and
someone gave me some comments. I took some of those and updated my
working copy. Then submitted an update diff (using post-review -r
number). Is there a way to see the changes I made after between the
two submits? This would be a really great feature to have, and I'd be
surprised if it weren't there.

Daniel

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: diff between updates?

2009-07-14 Thread Daniel Wong

Thanks. One of my colleagues showed me that after I sent this message.
Unfortunately, I ran into problems with some files. As best as I can
figure, those files files either:
  1. had no diff between r1 and r2, or
  2. there was a diff between base and r2 but no diff between base and
r1.
We're using an older version of RB (I'm told it was installed in Dec),
so upgrading will probably fix the problem.

On Jul 14, 2:11 pm, Christian Hammond chip...@chipx86.com wrote:
 Click View Diff. There should be a list of revisions posted. The second row
 is for showing differences between two revisions (the current one and
 whichever one you select).

 These can be commented on like normal diffs.

 Christian

 --
 Christian Hammond - chip...@chipx86.com
 Review Board -http://www.review-board.org
 VMware, Inc. -http://www.vmware.com

 On Tue, Jul 14, 2009 at 1:39 PM, Daniel Wong allyourc...@gmail.com wrote:

  Hi,

  I'm a new user to RB. I submitted a cr request, published it, and
  someone gave me some comments. I took some of those and updated my
  working copy. Then submitted an update diff (using post-review -r
  number). Is there a way to see the changes I made after between the
  two submits? This would be a really great feature to have, and I'd be
  surprised if it weren't there.

  Daniel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



No evolution required.

2009-07-14 Thread Daniel Wong

Hi,

I want to upgrade our install of RB, but when I do sudo rb-site
upgrade path, nothing seems to happen:

$ sudo rb-site upgrade .
Rebuilding directory structure
Updating database
Installing json fixture 'initial_data' from '/usr/lib/python2.5/site-
packages/Re
viewBoard-1.0alpha2-py2.5.egg/reviewboard/scmtools/fixtures'.
Installed 6 object(s) from 1 fixture(s)
No evolution required.

I've tried restarting memcached and apache, but that doesn't seem to
help, because beta still appears next to the logo when I visit the
site, and I'm assuming rb-site upgrade would try to get me version
1.0, which isn't beta. Do I need to do something in addition to rb-
site upgrade?

Thanks,

Daniel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: No evolution required.

2009-07-14 Thread Daniel Wong

Thanks Christian. Can you explain what my link is describing and how
that's different from yours?

On Jul 14, 3:27 pm, Christian Hammond chip...@chipx86.com wrote:
 The docs you want to start with are:

 http://www.review-board.org/docs/manual/dev/admin/installation/upgrad...

 Christian

 --
 Christian Hammond - chip...@chipx86.com
 Review Board -http://www.review-board.org
 VMware, Inc. -http://www.vmware.com

 On Tue, Jul 14, 2009 at 3:26 PM, Daniel Wong allyourc...@gmail.com wrote:

  I didn't run that command. The docs say I should run rb-site upgrade:

 http://www.review-board.org/docs/manual/dev/admin/sites/upgrading-sites/

  Are the docs wrong? If both of them are for doing different things,
  I'm afraid I don't understand your explanation.

  On Jul 14, 3:08 pm, Christian Hammond chip...@chipx86.com wrote:
   Did you run:

   easy_install -U ReviewBoard

   ? This will actually install the new software. rb-site upgrade just
  upgrades
   the site for the new version.

   Christian

   --
   Christian Hammond - chip...@chipx86.com
   Review Board -http://www.review-board.org
   VMware, Inc. -http://www.vmware.com

   On Tue, Jul 14, 2009 at 3:07 PM, Daniel Wong allyourc...@gmail.com
  wrote:

Hi,

I want to upgrade our install of RB, but when I do sudo rb-site
upgrade path, nothing seems to happen:

$ sudo rb-site upgrade .
Rebuilding directory structure
Updating database
Installing json fixture 'initial_data' from '/usr/lib/python2.5/site-
packages/Re
viewBoard-1.0alpha2-py2.5.egg/reviewboard/scmtools/fixtures'.
Installed 6 object(s) from 1 fixture(s)
No evolution required.

I've tried restarting memcached and apache, but that doesn't seem to
help, because beta still appears next to the logo when I visit the
site, and I'm assuming rb-site upgrade would try to get me version
1.0, which isn't beta. Do I need to do something in addition to rb-
site upgrade?

Thanks,

Daniel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



djblet media files not found

2009-08-15 Thread Daniel Wong

I've checked out a copy of rb from svn so I can develop some features
in rb. Unfortunately, I'm am running into problems with the devserver
not being able to find djblet media files such as jquery.gravy.js. I'm
guessing I'm missing some kind of config that tells the server where
to look for these files, because I see them in my site-packages dir of
my Python install and I can import djblets from a normal Python shell.

My dev OS is Windows XP pro, which means I can't run devserver.sh
directly. The way I'm doing it is by copying the one line out of the
file and prepending it with python  before running it in cmd.

Help?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: RBTools Bazaar support (was: RBTools 0.3 released)

2011-03-09 Thread Daniel Benamy
Sorry to bug you, but I'm really looking forward to bazaar support.
Any idea when this will be released or even just committed? I'd try
out unreleased code to use it.

Thanks so much for your awesome work. Reviewboard is great!

Dan

On Jan 30, 3:31 pm, Christian Hammond chip...@chipx86.com wrote:
 Hi Julian,

 There are patches for Bazaar and Darcs that need to go in. We'll still
 get them in, but due to the removal of the old API in 1.6, we had to
 cut a release now. We'll go through and do another round of reviews
 and start getting ready to cut a release once those are in.

 Christian









 On Sunday, January 30, 2011, Julian Mehnle jul...@mehnle.net wrote:
  Christian Hammond wrote:

  RBTools 0.3 has been released. There's a list of what's changed, and
  some important notes for people with mod_wsgi configurations, on the
  news page below.

 http://www.reviewboard.org/news/2011/01/30/rbtools-0-3-released/

  Great work!

  However, I'm wondering about Bazaar (bzr) support.  I managed to generally
  get it working by applying the patch posted in

    http://code.google.com/p/reviewboard/issues/detail?id=773 AKA
    http://reviews.reviewboard.org/r/1739/

  to RBTools 0.2 with some manual fiddling and using the regexp adjustment
  described in review #1739.

  Whom can I work with to get this into RBTools proper?

  -Julian

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

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: Review Board accepted to Google Summer of Code 2011 - Looking for mentors/ideas

2011-03-22 Thread Daniel Benamy
I'll suggest finishing bazaar support in post-review although there
may not be that much work left there.

Dan

On Mar 21, 4:19 pm, Christian Hammond chip...@chipx86.com wrote:
 Hey everyone,

 We've been accepted again this year in Google's Summer of Code, a yearly
 event where students from around the world participate in open source
 projects, developing work experience and getting paid for it.

 We're expecting about 4 or 5 students this year, but we can grow that number
 with more mentors.

 I'd like to see if there are any past contributors to Review Board who know
 the codebase well enough and would like to mentor a student or two this
 year. It's a great way to benefit the project.

 A mentor's job is to assist the student in his development, answer questions
 (forwarding on to us when needed), and to help collect status and run the
 weekly meetings. They're also expected to grade the students half-way
 through the Summer and at the end.

 We're also looking for ideas for projects, so if you have an idea for
 something awesome you'd like to see, just reply :)

 Thanks!

 Christian

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

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Bzr support in post-review

2011-06-25 Thread Daniel Benamy
Hi,

Adding bzr support to post-review seems to be in limbo. There's a
patch for it at
http://reviews.reviewboard.org/r/1739/
and a thread about it at
http://groups.google.com/group/reviewboard/browse_thread/thread/888a492465ded9/b42a2ec7bcc7e6c8?lnk=gstq=dbenamy#b42a2ec7bcc7e6c8

There's a comment in the review that says that changing the regex to
BRANCH_REGEX = r'\w*(branch|branch root): (?Pbranch_path.+)$'
makes it work. That regex matches the output of my bzr info too and
I think I saw one or two comments on other lists of it working for
people but it was a while ago.

Is there anything holding up the merging of that patch + new regex?

Thanks!
Dan

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: Bzr support in post-review

2011-06-28 Thread Daniel Benamy
Hi Christian,

I can spend a little time working on the patch and testing. I'm not
bzr expert, but I use it daily. Would that be ok?

Who needs to do the full review?

Do you know when the freeze should be done? Ie, when should I poke at
this issue again?

Thanks!
Dan

On Jun 26, 3:37 am, Christian Hammond chip...@chipx86.com wrote:
 Hi Dan,

 We need to do a full review and make sure it's suitable. I don't know if the
 original author is still around (there weren't any updates made after the
 current reviews), but we'd need someone familiar with bzr to help finish up
 any changes and test them.

 Right now, we're freezing RBTools while some restructuring work finishes up
 in a branch. It's too tedious to keep things in sync right now. Once that
 work is in, we can start accepting patches again.

 Christian

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







 On Sat, Jun 25, 2011 at 3:29 PM, Daniel Benamy dben...@gmail.com wrote:
  Hi,

  Adding bzr support to post-review seems to be in limbo. There's a
  patch for it at
 http://reviews.reviewboard.org/r/1739/
  and a thread about it at

 http://groups.google.com/group/reviewboard/browse_thread/thread/888a4...

  There's a comment in the review that says that changing the regex to
  BRANCH_REGEX = r'\w*(branch|branch root): (?Pbranch_path.+)$'
  makes it work. That regex matches the output of my bzr info too and
  I think I saw one or two comments on other lists of it working for
  people but it was a while ago.

  Is there anything holding up the merging of that patch + new regex?

  Thanks!
  Dan

  --
  Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
  Happy user? Let us know athttp://www.reviewboard.org/users/
  -~--~~~~--~~--~--~---
  To unsubscribe from this group, send email to
  reviewboard+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: Bzr support in post-review

2011-08-18 Thread Daniel Benamy
Now that 0.3.3 is out, would this work be merged if it was fixed up?

On Jun 26, 3:37 am, Christian Hammond chip...@chipx86.com wrote:
 Hi Dan,

 We need to do a full review and make sure it's suitable. I don't know if the
 original author is still around (there weren't any updates made after the
 current reviews), but we'd need someone familiar with bzr to help finish up
 any changes and test them.

 Right now, we're freezing RBTools while some restructuring work finishes up
 in a branch. It's too tedious to keep things in sync right now. Once that
 work is in, we can start accepting patches again.

 Christian

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







 On Sat, Jun 25, 2011 at 3:29 PM, Daniel Benamy dben...@gmail.com wrote:
  Hi,

  Adding bzr support to post-review seems to be in limbo. There's a
  patch for it at
 http://reviews.reviewboard.org/r/1739/
  and a thread about it at

 http://groups.google.com/group/reviewboard/browse_thread/thread/888a4...

  There's a comment in the review that says that changing the regex to
  BRANCH_REGEX = r'\w*(branch|branch root): (?Pbranch_path.+)$'
  makes it work. That regex matches the output of my bzr info too and
  I think I saw one or two comments on other lists of it working for
  people but it was a while ago.

  Is there anything holding up the merging of that patch + new regex?

  Thanks!
  Dan

  --
  Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
  Happy user? Let us know athttp://www.reviewboard.org/users/
  -~--~~~~--~~--~--~---
  To unsubscribe from this group, send email to
  reviewboard+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


post-receive hook for Reviewboard?

2011-11-06 Thread Daniel Dieckmann
Hey,

I installed ReviewBoard a couple of days ago and now I am wondering
if there is any possibility to make a post-receive hook in a git repo,
that creates a new review request.

So I want to do something like this:
1. Someone writes some code an does a commit. Now he pushes this
one to the server where ReviewBoard is running and which also has
a clone of the original git repo.
2. After the push there is some post-receive hook creating a new
review
request using post-review.

But none of my solutions worked, have zou any idea how to solve this
problem?

Thanks in advance,
Daniel

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Can Connect SVN Repository thru proxy

2012-06-20 Thread Daniel Etchen
Hi all,

We're using Review Board 1.6.4.1.
We access a Subversion server thru a proxy which is configured in /
root/.subversion/servers.
The 'svn info http://svn.foo.com:8080/repos/3845' command return a
correct response.

But when we try to create a new repository in reviewboard, the server
kicks back an error:
2012-06-20 09:34:08,240 - ERROR - SVN: Failed to get repository
information for http://svn.foo.com:8080/repos/3845: OPTIONS of 'http://
svn.foo.com:8080/repos/3845': Could not resolve hostname
`svn.foo.com': Host not found (http://svn.foo.com:8080)

Where is the problem ? It seems that the proxy configuration
configured in /root/.subversion/servers is not read by reviewboard

Thank you for your help.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


rb-site help

2012-06-28 Thread Daniel Laird
Hi,

I am going to use rb-site to dump the data and then import onto a new 
webserver.
Whilst trying to check out the options I noticed that when I do rb-site -h 
there is no help regarding the manage options.
I am going to check the source code - but is this intentional or just an 
oversight?

Cheers
Dan

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Post-Review and Non publically accessible repositories

2012-06-29 Thread Daniel Laird
I am using post-review to generate my diff requests and post them to my 
reviewboard instance.
One of my SVN servers has restricted access, as such I mark it as non 
publically accessible and add all the Users /Groups that can access it.
The problem is when I run post-review it fails to find the repo and I get 
an error that the repo is not accessible.

However if I make it publically accessible it all works fine.
It seems to be a problem where post-review does not do any authentication 
until after it has tried to locate the repo - but this wont work.

Has anyone else seen the same issue and if so did you solve it OR is this a 
bigger problem in post-review that will take some hacking or should I not 
be doing this.

Cheers
Dan

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Review Board 1.7 beta 1 released

2012-08-03 Thread Daniel Laird
I have tried to install this release.
I had to manually installed Djblets 0.7 and then I could install by 
specifying -f to easy_install.
Onc done I then did 
rb-site upgrade /path/my/site

This took a while and generated the following:
Upgrading Review Board from 1.6.11 to 1.7 beta 1
There are unapplied evolutions for auth.
There are unapplied evolutions for accounts.
There are unapplied evolutions for diffviewer.
Adding baseline version for new models
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)

Evolution successful.
Resetting in-database caches.
Upgrade complete.

The location of static media files (CSS, JavaScript, images)
has changed. You will need to make manual changes to 
your web server configuration.

For Apache, you will need to add:

Alias /static /var/www/reviewboard-satv.tandbergtv.lan/htdocs/static

For lighttpd, add the following to alias.url:

/static = /var/www/reviewboard-satv.tandbergtv.lan/htdocs/static

Once you have made these changes, type the following 
to resolve this:

$ rb-site manage /var/www/reviewboard-satv.tandbergtv.lan resolve-check 
static-media

I think the help could tell you which conf file to update with the Alias.  
However did that and then ran the command specified.

I then restarted memcached and apache.
However I now get a splash screen that says:

*Manual server updates required
 **A recent upgrade requires manual updates to be made on this server. 
 After these changes are made, you should restart your server.
 **If you have any questions or problems, please contact us on our mailing 
 list.*


But I have done this:
It also says:

*Your site's extensions media directory isn't properly set up. This 
 directory is where Review Board will store various extension media files.
 **Your extensions media directory is currently at: 
 /var/www/reviewboard-satv.tandbergtv.lan/htdocs/media/ext
 **Permission problems
 **The directory must be writable by the web server. On Linux/Unix/Mac, 
 you can fix this by typing:
 **$ sudo chown -R www-data 
 /var/www/reviewboard-satv.tandbergtv.lan/htdocs/media/ext
 **On Windows, right-click the data directory and change the ownership to 
 www-data.*

 
But I have also checked this.
Have you got any logging I can try and turn on to debug further?
Finally I am also getting a lot of these when running any rb-site commands:

 */usr/local/lib/python2.6/dist-packages/Django-1.4.1-py2.6.egg/django/core/cache/__init__.py:82:
  
 DeprecationWarning: settings.CACHE_* is deprecated; use settings.CACHES 
 instead.
 **  DeprecationWarning*


I am running on Ubuntu 10.04 64 bit Server.

Cheers
Dan

On Friday, August 3, 2012 9:49:58 AM UTC+1, Christian Hammond wrote:

 Hey everyone,

 I'm happy to announce that we've pushed out the release of Review Board 
 1.7 beta 1. There's many new and exciting things in this release, but 
 rather than repeat myself, I'll just link you to the news post.

 http://www.reviewboard.org/news/2012/08/03/review-board-17-beta-1-released/

 Please let me know if you hit any problems. And remember, it's a beta, so 
 use your best judgment when deciding where to deploy it. Any testing would 
 definitely be helpful, though, as that will help ensure a higher-quality 
 release.

 Christian

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


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Review Board 1.7 beta 1 released

2012-08-07 Thread Daniel Laird
I checked permissions - it turned out that ext had permissions of 755 and 
infact needs 775 as the user is in group www-data but the www-data needs w 
access to ext.
Perhaps that could be added to the debug message to help other people who 
make the same mistake as me.

Cheers
Dan

On Friday, August 3, 2012 7:49:01 PM UTC+1, Christian Hammond wrote:

 Hi Daniel,

 The CACHE_* warnings you get are harmless. Just new APIs in Django we have 
 to migrate to.

 We can't detect the config file location. The user may be using our 
 auto-generated ones, or they may have copied/pasted into their Apache 
 configuration. There's no way for us to know.

 So I wasn't completely sure, but did you create the ext directory and set 
 the ownership on it? Can you show me a ls -ld of that directory? That 
 should be the last thing you'd need to configure.

 Christian

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


 On Fri, Aug 3, 2012 at 6:39 AM, Daniel Laird 
 daniel.j.la...@googlemail.com wrote:

 I have tried to install this release.
 I had to manually installed Djblets 0.7 and then I could install by 
 specifying -f to easy_install.
 Onc done I then did 
 rb-site upgrade /path/my/site

 This took a while and generated the following:
 Upgrading Review Board from 1.6.11 to 1.7 beta 1
 There are unapplied evolutions for auth.
 There are unapplied evolutions for accounts.
 There are unapplied evolutions for diffviewer.
 Adding baseline version for new models
 Project signature has changed - an evolution is required
 Installing custom SQL ...
 Installing indexes ...
 Installed 0 object(s) from 0 fixture(s)

 Evolution successful.
 Resetting in-database caches.
 Upgrade complete.

 The location of static media files (CSS, JavaScript, images)
 has changed. You will need to make manual changes to 
 your web server configuration.

 For Apache, you will need to add:

 Alias /static /var/www/reviewboard-satv.tandbergtv.lan/htdocs/static

 For lighttpd, add the following to alias.url:

 /static = /var/www/reviewboard-satv.tandbergtv.lan/htdocs/static

 Once you have made these changes, type the following 
 to resolve this:

 $ rb-site manage /var/www/reviewboard-satv.tandbergtv.lan 
 resolve-check static-media

 I think the help could tell you which conf file to update with the Alias. 
  
 However did that and then ran the command specified.

 I then restarted memcached and apache.
 However I now get a splash screen that says:

 *Manual server updates required
 **A recent upgrade requires manual updates to be made on this server. 
 After these changes are made, you should restart your server.
 **If you have any questions or problems, please contact us on our 
 mailing list.*


 But I have done this:
 It also says:

 *Your site's extensions media directory isn't properly set up. This 
 directory is where Review Board will store various extension media files.
 **Your extensions media directory is currently at: 
 /var/www/reviewboard-satv.tandbergtv.lan/htdocs/media/ext
 **Permission problems
 **The directory must be writable by the web server. On Linux/Unix/Mac, 
 you can fix this by typing:
 **$ sudo chown -R www-data 
 /var/www/reviewboard-satv.tandbergtv.lan/htdocs/media/ext
 **On Windows, right-click the data directory and change the ownership 
 to www-data.*

  
 But I have also checked this.
 Have you got any logging I can try and turn on to debug further?
 Finally I am also getting a lot of these when running any rb-site 
 commands:

 */usr/local/lib/python2.6/dist-packages/Django-1.4.1-py2.6.egg/django/core/cache/__init__.py:82:
  
 DeprecationWarning: settings.CACHE_* is deprecated; use settings.CACHES 
 instead.
 **  DeprecationWarning*


 I am running on Ubuntu 10.04 64 bit Server.

 Cheers
 Dan


 On Friday, August 3, 2012 9:49:58 AM UTC+1, Christian Hammond wrote:

 Hey everyone,

 I'm happy to announce that we've pushed out the release of Review Board 
 1.7 beta 1. There's many new and exciting things in this release, but 
 rather than repeat myself, I'll just link you to the news post.

 http://www.reviewboard.org/**news/2012/08/03/review-board-**
 17-beta-1-released/http://www.reviewboard.org/news/2012/08/03/review-board-17-beta-1-released/

 Please let me know if you hit any problems. And remember, it's a beta, 
 so use your best judgment when deciding where to deploy it. Any testing 
 would definitely be helpful, though, as that will help ensure a 
 higher-quality release.

 Christian

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

  -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard+unsubscr...@googlegroups.com

SVN 1.7 support

2012-08-23 Thread Daniel Laird
Has anyone managed to patch or modify reviewboard so that diffs generated 
under SVN 1.7 actually work with post-review and ReviewBoard?

The upgrade to SVN is about to hit my department and it will be a shame to 
stop reviewing code as a result of this change

Dan

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Review Board 1.7 RC 1 is released!

2012-11-30 Thread Daniel Laird
Very exciting - I look forward to getting this installed.
One question I have is about RBTools?

I am using ReviewBot and that depends on the API branch of RBtools.
Do you know if the API branch is going to be merged / released at the same 
time?

Also I understand there was a plan for a Python API for 1.7 (as well as the 
RESTful API) - is that still planned or has that slipped to 1.8 (or later)

Cheers
Dan

On Thursday, November 29, 2012 10:08:07 PM UTC, Christian Hammond wrote:

 Review Board Better Late Than Never 1.7 RC 1 is out. We had hoped to get 
 this out earlier, but hit some problems and annoyances during some 
 production use that we felt should be fixed first. So trust me, it was 
 worth the wait :)

 There's a lot of fixes, enhancements, and some small extension interface 
 changes in this release.

 See the news and release notes for more information.

 http://www.reviewboard.org/news/2012/11/29/review-board-1-7-rc-1-released/

 We'd like to ask those who plan to upgrade to 1.7 to please give it a try. 
 Aside from major fixes, we are hoping there won't be many changes made 
 until the final 1.7, so now's the time to report any regressions you hit.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en




rb-extension-pack - installation and usage?

2012-12-21 Thread Daniel Laird
I just found this pack of extensions and saw the XML Review Extension.
However there is little explaining what this does or how it enhances the 
process of reviewing XML.
Can anyone tell me what it adds? I thought I had installed it properly and 
then looked at a review with XML files and noted nothing different.

Cheers
Dan


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en




Re: Chrome Extension: Review Board Notifier

2013-04-22 Thread Daniel Laird
I have downloaded and installed it - I have then pointed it at my company 
server.
But it just spins - with the busy icon.

Does it require anonymous access or anything as it does not seem to be 
asking for username/password?

Dan

On Saturday, April 20, 2013 12:15:31 AM UTC+1, Kirollos Risk wrote:

 Hey everyone!

 Here's a Chrome extension, *Review Board Notifie*r:

 *Features:*

- Quick glance on an review board requests assigned to you, whether 
they are waiting for *ship it*, or have been given *ship it*
- Click on an item to quickly get to the details
- Notifies you when there are new RB requests assigned to you
- Configurable via the settings page


 *Screenshots:*



 https://lh5.googleusercontent.com/-JIBwdna5Pso/UXHMoITr7eI/G0o/3QNhzGqN1po/s1600/Screen+Shot+2013-04-19+at+3.54.03+PM.png














































 https://lh4.googleusercontent.com/-Lz-NmhJCzPA/UXHNSGlCA7I/G04/fB8AWAAchRU/s1600/Screen+Shot+2013-04-19+at+4.03.15+PM.png










































 You can install it for free, via https://github.com/krisk/rbn

 - Kiro



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




Re: Chrome Extension: Review Board Notifier

2013-04-23 Thread Daniel Laird
I am logged into Reviewboard via Chome but still getting the spinning icon 
- is there a way to find out which cookie file its using?

Dan

On Monday, April 22, 2013 9:17:00 PM UTC+1, Kirollos Risk wrote:

 Ah, once installed and opened, it uses the the appropriate Review Board 
 cookie.

 If it spins indefinitely, it may mean that you haven't logged in to Review 
 Board, thus the authentication cookie isn't set.  

 Currently, you *cannot* log in via the extension itself (I am working on 
 that).

 - Kiro


 On Monday, 22 April 2013 08:56:14 UTC-7, Daniel Laird wrote:

 I have downloaded and installed it - I have then pointed it at my company 
 server.
 But it just spins - with the busy icon.

 Does it require anonymous access or anything as it does not seem to be 
 asking for username/password?

 Dan

 On Saturday, April 20, 2013 12:15:31 AM UTC+1, Kirollos Risk wrote:

 Hey everyone!

 Here's a Chrome extension, *Review Board Notifie*r:

 *Features:*

- Quick glance on an review board requests assigned to you, whether 
they are waiting for *ship it*, or have been given *ship it*
- Click on an item to quickly get to the details
- Notifies you when there are new RB requests assigned to you
- Configurable via the settings page


 *Screenshots:*



 https://lh5.googleusercontent.com/-JIBwdna5Pso/UXHMoITr7eI/G0o/3QNhzGqN1po/s1600/Screen+Shot+2013-04-19+at+3.54.03+PM.png














































 https://lh4.googleusercontent.com/-Lz-NmhJCzPA/UXHNSGlCA7I/G04/fB8AWAAchRU/s1600/Screen+Shot+2013-04-19+at+4.03.15+PM.png










































 You can install it for free, via https://github.com/krisk/rbn

 - Kiro



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




myisam or innodb ?

2013-06-07 Thread Daniel Kelly
This is probably a Django issue, but if I'm using mysql, should my tables 
be in innodb format or myisam?

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




How can I remove an extension?

2013-06-10 Thread Daniel Kelly
I tried and failed to install the ascii art shipit extension.

2013-06-10 18:41:31,649 - ERROR -  - Error loading extension
shipit_ascii_art_extension: No module named
shipit_ascii_art_extension.extension
2013-06-10 18:41:36,053 - ERROR -  - Error loading extension
shipit_ascii_art_extension: No module named
shipit_ascii_art_extension.extension
2013-06-10 18:42:51,401 - ERROR -  - Error loading extension
shipit_ascii_art_extension: No module named
shipit_ascii_art_extension.extension
2013-06-10 18:43:53,995 - ERROR -  - Error loading extension
shipit_ascii_art_extension: No module named
shipit_ascii_art_extension.extension
2013-06-10 18:44:15,601 - ERROR -  - Error loading extension
shipit_ascii_art_extension: No module named
shipit_ascii_art_extension.extension
2013-06-10 18:46:30,115 - ERROR -  - Error loading extension
shipit_ascii_art_extension: No module named
shipit_ascii_art_extension.extension
2013-06-10 18:46:31,594 - ERROR -  - Error loading extension
shipit_ascii_art_extension: No module named
shipit_ascii_art_extension.extension
2013-06-10 18:46:36,524 - ERROR -  - Error loading extension
shipit_ascii_art_extension: No module named
shipit_ascii_art_extension.extension
2013-06-10 18:47:52,215 - ERROR -  - Error loading extension
shipit_ascii_art_extension: No module named
shipit_ascii_art_extension.extension
2013-06-10 18:48:54,037 - ERROR -  - Error loading extension
shipit_ascii_art_extension: No module named
shipit_ascii_art_extension.extension

any idea how to remove it?

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




Re: How can I remove an extension?

2013-06-10 Thread Daniel Kelly


 Extensions should be disabled from within the API before uninstalling from
 the filesystem. We should make this more bullet-proof though, maybe disable
 if it's not found.

 Are you still able to use RB?


RB works fine


 Is it just spewing logs?


Yes


 If so, go into the admin UI - Database - Extensions, find the ascii art
 extension, and disable it from there.


It's not listed.
According to that, there are no extensions registered


On Jun 10, 2013, at 11:50 AM, Daniel Kelly arrays.tostr...@gmail.com
 wrote:

 I tried and failed to install the ascii art shipit extension.

 2013-06-10 18:41:31,649 - ERROR -  - Error loading extension
 shipit_ascii_art_extension: No module named
 shipit_ascii_art_extension.extension
 2013-06-10 18:41:36,053 - ERROR -  - Error loading extension
 shipit_ascii_art_extension: No module named
 shipit_ascii_art_extension.extension
 2013-06-10 18:42:51,401 - ERROR -  - Error loading extension
 shipit_ascii_art_extension: No module named
 shipit_ascii_art_extension.extension
 2013-06-10 18:43:53,995 - ERROR -  - Error loading extension
 shipit_ascii_art_extension: No module named
 shipit_ascii_art_extension.extension
 2013-06-10 18:44:15,601 - ERROR -  - Error loading extension
 shipit_ascii_art_extension: No module named
 shipit_ascii_art_extension.extension
 2013-06-10 18:46:30,115 - ERROR -  - Error loading extension
 shipit_ascii_art_extension: No module named
 shipit_ascii_art_extension.extension
 2013-06-10 18:46:31,594 - ERROR -  - Error loading extension
 shipit_ascii_art_extension: No module named
 shipit_ascii_art_extension.extension
 2013-06-10 18:46:36,524 - ERROR -  - Error loading extension
 shipit_ascii_art_extension: No module named
 shipit_ascii_art_extension.extension
 2013-06-10 18:47:52,215 - ERROR -  - Error loading extension
 shipit_ascii_art_extension: No module named
 shipit_ascii_art_extension.extension
 2013-06-10 18:48:54,037 - ERROR -  - Error loading extension
 shipit_ascii_art_extension: No module named
 shipit_ascii_art_extension.extension

 any idea how to remove it?


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




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




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




Re: How can I remove an extension?

2013-06-10 Thread Daniel Kelly
No that's not it.  I've rebooted this box (  a VM ) multiple times since
the problem started happening.


On Mon, Jun 10, 2013 at 8:12 PM, Christian Hammond chip...@chipx86.comwrote:

 On Jun 10, 2013, at 1:07 PM, Daniel Kelly arrays.tostr...@gmail.com
 wrote:


 Extensions should be disabled from within the API before uninstalling
 from the filesystem. We should make this more bullet-proof though, maybe
 disable if it's not found.

 Are you still able to use RB?


 RB works fine


  Is it just spewing logs?


 Yes


 If so, go into the admin UI - Database - Extensions, find the ascii art
 extension, and disable it from there.


 It's not listed.
 According to that, there are no extensions registered


 Try reloading Apache. There may just be other threads that still think it
 should be there.

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

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




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




Error with home directory path expansion when using rbt?

2013-06-11 Thread Daniel Kan
New user to ReviewBoard here. Great tool with an intuitive interface, 
thanks for your efforts! Recently, one of my users was using 'rbt' from 
RBTools 0.5.1 and noticed that it would not accept '~' in the value for 
--diff-filename. My guess was that rbt does not run os.path.expanduser on 
the value, so I modified rbtools/commands/post.py with the following:
--- orig/rbtools/commands/post.py   2013-05-30 00:36:44.0 -0700
+++ RBTools-0.5.1.1-py2.7.egg/rbtools/commands/post.py  2013-06-11 
15:33:05.449908000 -0700
@@ -455,8 +455,11 @@
 diff = sys.stdin.read()
 else:
 try:
-diff_path = os.path.join(origcwd,
- self.options.diff_filename)
+if (self.options.diff_filename.startswith('~')):
+   diff_path = 
os.path.expanduser(self.options.diff_filename)
+else:
+diff_path = os.path.join(origcwd,
+ 
self.options.diff_filename)
 fp = open(diff_path, 'r')
 diff = fp.read()
 fp.close()

My question is, is this sufficient to fix the problem or are there more 
places where I need to run expanduser? Also, although debug output 
indicates that it is unable to open the file, running rbt in normal mode is 
silent about not being able to find the difffile. Thanks!!!

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




Change in LDAP authentication behavior in 1.7.14 breaks environments that don't allow anonymous searches

2013-09-24 Thread Daniel Kan
I am using RB 1.7.x with an LDAP authentication backend and it's been 
working fine up through 1.7.13. With 1.7.14, the authentication mechanism 
no longer works in my environment. After some digging, it appears that 
there was a change in reviewboard/accounts/backends.py to search 
anonymously for the user before attempting to bind. The LDAP server in my 
environment is set up to not return any results to anonymous queries and so 
the authentication attempt fails. Is there a reason this was changed? 
Thanks!!!

In an attempt to preserve the existing behavior of doing an anonymous 
search but then attempting a bind as a specific user if the anonymous 
search returns nothing, I made the following change which works for me:
--- reviewboard/accounts/backends.py.orig   2013-09-24 
16:18:47.0 -0700
+++ reviewboard/accounts/backends.py2013-09-24 16:20:01.0 -0700
@@ -210,7 +210,10 @@
 search = ldapo.search_s(settings.LDAP_BASE_DN,
 ldap.SCOPE_SUBTREE,
 uid)
-userbinding = search[0][0]
+   if (len(search)  0):
+   userbinding = search[0][0]
+   else:
+   userbinding=','.join([uid,settings.LDAP_BASE_DN])
 ldapo.bind_s(userbinding, password)
 
 return self.get_or_create_user(username, None, ldapo)

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Change in LDAP authentication behavior in 1.7.14 breaks environments that don't allow anonymous searches

2013-10-15 Thread Daniel Kan
David,
  Sure, although I'm not sure how to post a bare diff there without 
specifying a repository. Is that possible? Thanks!

On Thursday, September 26, 2013 2:43:43 PM UTC-7, David Trowbridge wrote:

 Would you mind submitting your change to http://reviews.reviewboard.org/ ?

 Thanks!
 -David


 On Tue, Sep 24, 2013 at 7:32 PM, Daniel Kan danie...@gmail.comjavascript:
  wrote:

 I am using RB 1.7.x with an LDAP authentication backend and it's been 
 working fine up through 1.7.13. With 1.7.14, the authentication mechanism 
 no longer works in my environment. After some digging, it appears that 
 there was a change in reviewboard/accounts/backends.py to search 
 anonymously for the user before attempting to bind. The LDAP server in my 
 environment is set up to not return any results to anonymous queries and so 
 the authentication attempt fails. Is there a reason this was changed? 
 Thanks!!!

 In an attempt to preserve the existing behavior of doing an anonymous 
 search but then attempting a bind as a specific user if the anonymous 
 search returns nothing, I made the following change which works for me:
 --- reviewboard/accounts/backends.py.orig   2013-09-24 
 16:18:47.0 -0700
 +++ reviewboard/accounts/backends.py2013-09-24 16:20:01.0 
 -0700
 @@ -210,7 +210,10 @@
  search = ldapo.search_s(settings.LDAP_BASE_DN,
  ldap.SCOPE_SUBTREE,
  uid)
 -userbinding = search[0][0]
 +   if (len(search)  0):
 +   userbinding = search[0][0]
 +   else:
 +   userbinding=','.join([uid,settings.LDAP_BASE_DN])
  ldapo.bind_s(userbinding, password)
  
  return self.get_or_create_user(username, None, ldapo)

 -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Change in LDAP authentication behavior in 1.7.14 breaks environments that don't allow anonymous searches

2013-11-14 Thread Daniel Kan
David,
  Sorry for the massive delay! I've finally posted it at 
https://reviews.reviewboard.org/r/4953/.

On Friday, October 18, 2013 1:51:59 AM UTC-7, David Trowbridge wrote:

 Daniel,

 I'd suggest making a quick clone of the reviewboard repository, making 
 your change, and then posting your diff against the reviewboard repository 
 by either creating a diff manually (git diff --full-index) or using rbt 
 post.

 -David


 On Tue, Oct 15, 2013 at 4:57 PM, Daniel Kan danie...@gmail.comjavascript:
  wrote:

 David,
   Sure, although I'm not sure how to post a bare diff there without 
 specifying a repository. Is that possible? Thanks!


 On Thursday, September 26, 2013 2:43:43 PM UTC-7, David Trowbridge wrote:

 Would you mind submitting your change to http://reviews.reviewboard.org/?

 Thanks!
 -David


 On Tue, Sep 24, 2013 at 7:32 PM, Daniel Kan danie...@gmail.com wrote:

 I am using RB 1.7.x with an LDAP authentication backend and it's been 
 working fine up through 1.7.13. With 1.7.14, the authentication mechanism 
 no longer works in my environment. After some digging, it appears that 
 there was a change in reviewboard/accounts/backends.py to search 
 anonymously for the user before attempting to bind. The LDAP server in my 
 environment is set up to not return any results to anonymous queries and 
 so 
 the authentication attempt fails. Is there a reason this was changed? 
 Thanks!!!

 In an attempt to preserve the existing behavior of doing an anonymous 
 search but then attempting a bind as a specific user if the anonymous 
 search returns nothing, I made the following change which works for me:
 --- reviewboard/accounts/backends.py.orig   2013-09-24 
 16:18:47.0 -0700
 +++ reviewboard/accounts/backends.py2013-09-24 16:20:01.0 
 -0700
 @@ -210,7 +210,10 @@
   search = ldapo.search_s(settings.LDAP_BASE_DN,
  ldap.SCOPE_SUBTREE,
  uid)
 -userbinding = search[0][0]
 +   if (len(search)  0):
 +   userbinding = search[0][0]
 +   else:
 +   userbinding=','.join([uid,
 settings.LDAP_BASE_DN])
  ldapo.bind_s(userbinding, password)
  
  return self.get_or_create_user(username, None, ldapo)

 -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/
 powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google 
 Groups reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to reviewboard...@googlegroups.com.

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


  -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Word-break making it difficult to read numbers of reviews in dashboard navbar

2013-11-20 Thread Daniel Kan
In the dashboard navbar, one of my users noticed that if a review group is 
sufficiently long and the group has =100 reviews, the UI wraps both the 
group name and the number of reviews. Wrapping the group name isn't too big 
a deal. However, wrapping the number of reviews makes it a bit hard to 
read, especially when a user is a member of many review groups. I changed 
word-break from 'break-all' to 'normal' in common.min.css which seemed to 
keep the number from wrapping. By doing this though, am I ignoring any 
design decision that led to 'word-break break-all' from being used 
explicitly?

I'm using 1.7.18 btw... Thanks!!!

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Using --revision-range with single revision in subversion

2014-01-31 Thread Daniel F
Perfect - thanks!
I'll try to test when I have some free time.

On Thursday, January 30, 2014 12:05:29 PM UTC-5, Daniel F wrote:

 I haven't been able to successfully use *rbt post 
 --revision-range=SINGLE_REVISION*.
 It works fine if I use the syntax *rbt post --revision-range=*
 *OLD_REV:NEW_REV*
 Am I doing something wrong?


 My steps:

1. Commit some files to svn revision 123.  Note: there are still 
modified files in my working copy which I do NOT want to review.
2. I want to review just the files committed in revision 123, so I 
type:
*rbt post --revision-range=123*
This creates a review request with a diff of the *changes in my 
working copy* instead of showing me a diff of what was committed.  It 
was as if I posted a pre-commit review by typing: *rbt post* .
3. Suddenly it works if I type: *rbt post --revision-range=122:123*


 Using:
 RBTools 0.5.5, ReviewBoard 1.7.21, subversion 1.7.8, python 2.7.5


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Downgrading Reviewboard 2.0RC2 - 1.7.25

2014-05-09 Thread Daniel Laird
All,

Due to various issue my development server has to be re-purposed as the 
main server.
This has meant I have to revert from 2.0RC2 - 1.7.25 (the latest stable 
version).

At this point I usually import the database and media files and all works 
ok.
However I get the following:
Traceback (most recent call last):

  File 
/usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/core/handlers/base.py,
 
line 89, in get_response
response = middleware_method(request)

  File 
/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.25-py2.6.egg/reviewboard/accounts/middleware.py,
 
line 12, in process_request
user = Profile.objects.get(user=request.user)

  File 
/usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/db/models/manager.py,
 
line 131, in get
return self.get_query_set().get(*args, **kwargs)

  File 
/usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/db/models/query.py,
 
line 361, in get
num = len(clone)

  File 
/usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/db/models/query.py,
 
line 85, in __len__
self._result_cache = list(self.iterator())

  File 
/usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/db/models/query.py,
 
line 291, in iterator
for row in compiler.results_iter():

  File 
/usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/db/models/sql/compiler.py,
 
line 763, in results_iter
for rows in self.execute_sql(MULTI):

  File 
/usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/db/models/sql/compiler.py,
 
line 818, in execute_sql
cursor.execute(sql, params)

  File 
/usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/db/backends/mysql/base.py,
 
line 114, in execute
return self.cursor.execute(query, args)

  File 
/usr/local/lib/python2.6/dist-packages/MySQL_python-1.2.3-py2.6-linux-x86_64.egg/MySQLdb/cursors.py,
 
line 174, in execute
self.errorhandler(self, exc, value)

  File 
/usr/local/lib/python2.6/dist-packages/MySQL_python-1.2.3-py2.6-linux-x86_64.egg/MySQLdb/connections.py,
 
line 36, in defaulterrorhandler
raise errorclass, errorvalue

DatabaseError: (1054, Unknown column 'accounts_profile.show_submitted' in 
'field list')

I thought this could be a left over column (from the 2.0 installation) - so 
I dropped the tables and re-installed from scratch.
I then checked at my 'live' server is running 1.7.18 whereas this is 
running 1.7.25.
So I then tried an rb-site upgrade and get:
Rebuilding directory structure
Updating database. This may take a while.

The log output below, including warnings and errors,
can be ignored unless upgrade fails.

-- begin log output --
Creating tables ...

[!] Unable to execute the manager command syncdb: No module named
db.fields

[!] Unable to execute the manager command evolve: No module named
db.fields
--- end log output ---

Resetting in-database caches.

Upgrade complete!

But still no luck.
I know I am doing something stupid - but can anyone help me spot it
Any help will be much appreciated

Dan

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Downgrading Reviewboard 2.0RC2 - 1.7.25

2014-05-10 Thread Daniel Laird
My original email was not very clear.
On my backup server I want to remove the 2.0RC2 installation and get a 
1.7.x installation running.
However I removed all the RB2.0RC2 files and then dropped the reviewboard 
table from mysql database.
I then did a clean installation of 1.7.25.
I then imported the data from my old server (which was running 1.7.18) - at 
this point I would have thought I would have a 'clean' installation.
However the rb-site upgrade fails and when I visit the homepage I get the 
errors below.

It is almost as if there are some settings files that are stored someone 
not in my installation directory and not in the mysql database.
Might there be some files related to django evolutions that I have to 
delete?

Dan



On Friday, 9 May 2014 20:27:23 UTC+1, Christian Hammond wrote:

 Hi Dan,

 There are many reasons why a 2.0 database will not cleanly turn into a 
 1.7.x database. We stick certain data in new tables/columns that don't 
 exist in 1.7. We've migrated data from those older columns. 
 Django-Evolution has no concept of a downgrade and will likely just break 
 every future attempt to ever upgrade your database again.

 You're looking to keep the 2.0 data in 1.7.x? Any chance you can just 
 upgrade to 2.0 RC 3 and stick with that until 2.0 is out (very very soon)?

 Christian

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


 On Fri, May 9, 2014 at 8:04 AM, Daniel Laird 
 daniel@googlemail.comjavascript:
  wrote:

 All,

 Due to various issue my development server has to be re-purposed as the 
 main server.
 This has meant I have to revert from 2.0RC2 - 1.7.25 (the latest stable 
 version).

 At this point I usually import the database and media files and all works 
 ok.
 However I get the following:
 Traceback (most recent call last):

   File 
 /usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/core/handlers/base.py,
  
 line 89, in get_response
 response = middleware_method(request)

   File 
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.25-py2.6.egg/reviewboard/accounts/middleware.py,
  
 line 12, in process_request
 user = Profile.objects.get(user=request.user)

   File 
 /usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/db/models/manager.py,
  
 line 131, in get
 return self.get_query_set().get(*args, **kwargs)

   File 
 /usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/db/models/query.py,
  
 line 361, in get
 num = len(clone)

   File 
 /usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/db/models/query.py,
  
 line 85, in __len__
 self._result_cache = list(self.iterator())

   File 
 /usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/db/models/query.py,
  
 line 291, in iterator
 for row in compiler.results_iter():

   File 
 /usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/db/models/sql/compiler.py,
  
 line 763, in results_iter
 for rows in self.execute_sql(MULTI):

   File 
 /usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/db/models/sql/compiler.py,
  
 line 818, in execute_sql
 cursor.execute(sql, params)

   File 
 /usr/local/lib/python2.6/dist-packages/Django-1.4.12-py2.6.egg/django/db/backends/mysql/base.py,
  
 line 114, in execute
 return self.cursor.execute(query, args)

   File 
 /usr/local/lib/python2.6/dist-packages/MySQL_python-1.2.3-py2.6-linux-x86_64.egg/MySQLdb/cursors.py,
  
 line 174, in execute
 self.errorhandler(self, exc, value)

   File 
 /usr/local/lib/python2.6/dist-packages/MySQL_python-1.2.3-py2.6-linux-x86_64.egg/MySQLdb/connections.py,
  
 line 36, in defaulterrorhandler
 raise errorclass, errorvalue

 DatabaseError: (1054, Unknown column 'accounts_profile.show_submitted' 
 in 'field list')

 I thought this could be a left over column (from the 2.0 installation) - 
 so I dropped the tables and re-installed from scratch.
 I then checked at my 'live' server is running 1.7.18 whereas this is 
 running 1.7.25.
 So I then tried an rb-site upgrade and get:
 Rebuilding directory structure
 Updating database. This may take a while.

 The log output below, including warnings and errors,
 can be ignored unless upgrade fails.

 -- begin log output --
 Creating tables ...

 [!] Unable to execute the manager command syncdb: No module named
 db.fields

 [!] Unable to execute the manager command evolve: No module named
 db.fields
 --- end log output ---

 Resetting in-database caches.

 Upgrade complete!

 But still no luck.
 I know I am doing something stupid - but can anyone help me spot it
 Any help will be much appreciated

 Dan

 -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com

Renaming Repositories

2014-05-13 Thread Daniel Laird
All,

I wish to change the name of a repository in Reviewboard (am using it in a 
RB extension).
However when i change the field and enter the authentication details I just 
get a box that says 
'Please correct the error below'

However nothing in shown.
I have check the logs and nothing is showing here either.

Are you able to change a repository name (the name RB gives it)?
I am running RB 1.7.18 on Ubuntu Linux

Cheers
Dan 

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Renaming Repositories

2014-05-13 Thread Daniel Laird
We are running 0.7.9
/usr/local/lib/python2.6/dist-packages/Djblets-0.7.9-py2.6.egg

Cheers
Dan

On Tuesday, 13 May 2014 10:07:55 UTC+1, David Trowbridge wrote:

 Dan,

 What version of djblets is installed?

 -David


 On Tue, May 13, 2014 at 1:28 AM, Daniel Laird 
 daniel@googlemail.comjavascript:
  wrote:

 All,

 I wish to change the name of a repository in Reviewboard (am using it in 
 a RB extension).
 However when i change the field and enter the authentication details I 
 just get a box that says 
 'Please correct the error below'

 However nothing in shown.
 I have check the logs and nothing is showing here either.

 Are you able to change a repository name (the name RB gives it)?
 I am running RB 1.7.18 on Ubuntu Linux

 Cheers
 Dan 
  
 -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Renaming Repositories

2014-05-13 Thread Daniel Laird
I am running 1.7.18 and having this problem.
I could upgrade to 1.7.25 if you think that will fix it?

Dan

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Renaming Repositories

2014-05-14 Thread Daniel Laird
That sorted it - thank you.
Cheers
Dan

On Tuesday, 13 May 2014 21:49:26 UTC+1, David Trowbridge wrote:

 The fix itself is in djblets 1.7.26. If you upgrade to Review Board 1.7.25 
 you'll get the latest djblets along with it.

 -David


 On Tue, May 13, 2014 at 1:01 PM, Daniel Laird 
 daniel@googlemail.comjavascript:
  wrote:

 I am running 1.7.18 and having this problem.
 I could upgrade to 1.7.25 if you think that will fix it?

 Dan

 --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Error using post-review and Reviewboard 1.7.25

2014-06-18 Thread Daniel Laird
All,

We are currently using post-review and Reviewboard 1.7.25 (RBtools 0.5.1).
We added a new Repo to Reviewboard and its listed as repository 26.
However when we try to post a new review to Reviewboard we get:

DEBUG:root:repository info: Path: http://server/svn/repo_name, Base path: 
/trunk, Supports changesets: False
  Attempting to create review request on http://server/svn/repo_name for 
None   HTTP POSTing to
http://reviewboard-server/api/review-requests/: 
{'repository': u'http://server/svn/repo_name'}   Got API Error 206 (HTTP 
code 400): The repository path specified is not in the list of known 
repositories   Error data: {u'stat': u'fail', u'repository': 
u'http://server/svn/repo_name', u'err': {u'msg': u'The repository path 
specified is not in the list of known repositories', u'code': 206}}

Any ideas why it sees the repo in the list, generates the diff and then 
when posting it falls over?

Cheers
Dan

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


TeamForge and Reviewboard

2014-08-12 Thread Daniel Laird
All,

My company have a TeamForge service running and are using GIT as the 
default SCM.
I have a local Reviewboard server and would like to point it at the GIT 
repo - instead of using the default code review tool of gerrit

I am using Reviewboard 1.7.25 currently
The TeamForge project says that the clone URL is:
git clone ssh://MY_USERNAME@gerritforge.DOMAIN:PORT/dashboard

I have tried to setup a repo using my MY_USERNAME/PASSWORD, I have alos 
tried without.
But I am not having much luck.

Has anyone done this, or got it working or any ideas how I could get this 
working?

Many thanks
Dan

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Subversion not updating revisions

2014-08-13 Thread Daniel Dominguez
Hi,

I have a new reviewboard installation (2.0.5), and we've setup a subversion 
repository.  However, the repository is never synchronized with the server 
after it is first added.  I can re-add the repo and am able to see the most 
recent revisions, but after that, the view into the repository becomes 
stale.  By the way, this is when we use the New Review Request link on 
the web UI.  Not sure yet if this is an issue or not with RBTools.  We are 
able to successfully use RBTools for pre-commit reviews.

I've enabled logging and inspected both the reviewboard and the apache log 
files, but nothing interesting shows up.

What is the mechanism to trigger a repository refresh?  Where else can I 
look for useful troubleshooting information?  I'd love to get my 
distributed team to adopt reviewboard, but this is a bit of a blocker at 
the moment.

Any help is appreciated.


OS: Debian 7 64-bit
Python 2.7.3
Using python-svn (since subvertpy was unable to connect to our subversion 
repo)

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Reviewboard 1.7 - Reviewboard 2.0.x update

2014-12-18 Thread Daniel Laird
All,

We were running Reviewboard 1.7.25 and people used a number of methods to 
create review requests:
svn diff - manually upload
post-review
rbt

I have just migrated us to Reviewboard 2.0.11 and seem to have hit an issue.

Some of our reviews no longer display it suggests that a file cant be found.
And seems to have prepended some sub part of the path before the full file 
path.
So I get something like

/svn/REPONAME/http://SVN_SERVER/svn/REPONAME/path/to/file.cpp cant be found.

Have we got to change something to make these work?

I can provide logs offline if that helps?

Dan

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Reviewboard 1.7 - Reviewboard 2.0.x update

2014-12-18 Thread Daniel Laird
To follow up the error message we get from the diff viewer is:
The file 
'/svn/Common_PythonTests/http://SVN_SERVER_NAME/svn/Common_PythonTests/path/to/file/base.py'
 
(r1838) could not be found in the repository: 
'/svn/Common_PythonTests/!svn/rvr/1838/http:/SVN_SERVER/svn/Common_PythonTests/path/to/file/base.py'
 
path not found

The review was created before the migration (1.7.25) - we dumped the 
database, re-imported and off we went.
New requests seem to be ok and many of the old requests are fine.  This was 
probably created via the GUI in 1.7.25 and uploaded a diff file produced by 
SVN diff.

Cheers
Dan 

On Thursday, 18 December 2014 11:29:18 UTC, Daniel Laird wrote:

 All,

 We were running Reviewboard 1.7.25 and people used a number of methods to 
 create review requests:
 svn diff - manually upload
 post-review
 rbt

 I have just migrated us to Reviewboard 2.0.11 and seem to have hit an 
 issue.

 Some of our reviews no longer display it suggests that a file cant be 
 found.
 And seems to have prepended some sub part of the path before the full file 
 path.
 So I get something like

 /svn/REPONAME/http://SVN_SERVER/svn/REPONAME/path/to/file.cpp cant be 
 found.

 Have we got to change something to make these work?

 I can provide logs offline if that helps?

 Dan



-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Reviewboard 1.7 - Reviewboard 2.0.x update

2014-12-19 Thread Daniel Laird
Christian

Many thanks for getting back to me.
I think I know why it is breaking but don't know how to fix it.

The diff looks as I would expect (with all files being something like this):
Index: libs/A/Source/File.cpp
===
--- libs/A/Source/File.cpp (revision 143446)
+++ libs/A/Source/File.cpp (working copy)

I used the webapi to query the Review and spotted the following on the diff 
resource associated with the review request:
basedirhttp://SVN_SERVER/svn/REPO_NAME/branches/features/software/basedir

I suspect that maybe in the old GUI (Reviewboard 1.7) it used to combine 
this basedir and the file path in the diff to draw the differences.
I think that maybe we have a problem where it appends the Repo Path + 
BaseDir + FilePath
Maybe there is a difference in RB2.0.x?

Our databases on legacy SW used a lot of SVN externals, so someone wrote a 
script to generate a single diff file relative to the SVN_SERVER root.
It allowed us a single review which was better, but it probably set the 
Basedir to be the complete http path.
Maybe it was not supposed to work that way, but we just got away with it.

Interested to see what you think and whether there is a regression or a 
misuse by us that has been cleared up in RB2.0, the only problem now is we 
have 100s of requests that are like this

Hope you can help, and happy to try patches.
Cheers
Dan


On Thursday, 18 December 2014 20:40:16 UTC, Christian Hammond wrote:

 Hi Dan,

 Would you be able to provide some of the data from that diff 
 (specifically, the 'Index:' line, '---', and '+++' lines in the diff)?

 A lot of work was done on Subversion since 1.7.x, so something may have 
 regressed. I don't recall being able to handle file paths containing 
 'http:' in it, though.

 Christian

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

 On Thu, Dec 18, 2014 at 4:32 AM, Daniel Laird daniel@googlemail.com 
 javascript: wrote:

 To follow up the error message we get from the diff viewer is:
 The file '/svn/Common_PythonTests/
 http://SVN_SERVER_NAME/svn/Common_PythonTests/path/to/file/base.py' 
 (r1838) could not be found in the repository: 
 '/svn/Common_PythonTests/!svn/rvr/1838/http:/SVN_SERVER/svn/Common_PythonTests/path/to/file/base.py'
  
 path not found

 The review was created before the migration (1.7.25) - we dumped the 
 database, re-imported and off we went.
 New requests seem to be ok and many of the old requests are fine.  This 
 was probably created via the GUI in 1.7.25 and uploaded a diff file 
 produced by SVN diff.

 Cheers
 Dan 

 On Thursday, 18 December 2014 11:29:18 UTC, Daniel Laird wrote:

 All,

 We were running Reviewboard 1.7.25 and people used a number of methods 
 to create review requests:
 svn diff - manually upload
 post-review
 rbt

 I have just migrated us to Reviewboard 2.0.11 and seem to have hit an 
 issue.

 Some of our reviews no longer display it suggests that a file cant be 
 found.
 And seems to have prepended some sub part of the path before the full 
 file path.
 So I get something like

 /svn/REPONAME/http://SVN_SERVER/svn/REPONAME/path/to/file.cpp cant be 
 found.

 Have we got to change something to make these work?

 I can provide logs offline if that helps?

 Dan

  -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.



-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Reviewboard 1.7 - Reviewboard 2.0.x update

2014-12-22 Thread Daniel Laird
HI Christian,

Many thanks for the response, it was as you describe, our custom script 
(which is for following externals) - is meant to strip the URL.  But the 
wildcard match failed sometimes, leaving the full URL in the diff file. 
 Which RB then processed.
On moving the data from old server - new server (with 2.0.11) - I ran some 
sed scripts to ensure the SVN paths were consistent. 
Now because the BaseUrl matches the file path RB displays it all fine.

I have another issue, but will mail the list about this.

Cheers
Dan

On Friday, 19 December 2014 22:38:42 UTC, Christian Hammond wrote:

 Hi Daniel, 

 We never intended the base directory to contain a URL. It sounds like the 
 custom script is probably responsible for this. 

 Can you confirm whether the base directory's URL exactly matches the 
 configured URL for the repository? 

 In the case that it does match, we take the URL as-is, but if it does not 
 match, we normalize and start building a path (by combining the repository 
 path, base directory, and file path in the diff). This was not intended to 
 handle URLs in the path, but it may be the cause of your problems. 

 Christian 

 --   
 Christian Hammond - chi...@chipx86.com javascript: 
 Review Board - https://www.reviewboard.org 
 Beanbag, Inc. - https://www.beanbaginc.com 

 -Original Message- 
 From: Daniel Laird daniel@googlemail.com javascript: 
 Reply: revie...@googlegroups.com javascript: revie...@googlegroups.com 
 javascript: 
 Date: December 19, 2014 at 3:29:19 AM 
 To: revie...@googlegroups.com javascript: revie...@googlegroups.com 
 javascript: 
 Cc: chi...@chipx86.com javascript: chi...@chipx86.com javascript: 
 Subject:  Re: Reviewboard 1.7 - Reviewboard 2.0.x update 

  Christian 

  Many thanks for getting back to me. 
  I think I know why it is breaking but don't know how to fix it. 

  The diff looks as I would expect (with all files being something like 
 this): 
  Index: libs/A/Source/File.cpp 
  === 
  --- libs/A/Source/File.cpp (revision 143446) 
  +++ libs/A/Source/File.cpp (working copy) 

  I used the webapi to query the Review and spotted the following on the 
 diff 
  resource associated with the review request: 
  http://SVN_SERVER/svn/REPO_NAME/branches/features/software   

  I suspect that maybe in the old GUI (Reviewboard 1.7) it used to combine 
  this basedir and the file path in the diff to draw the differences. 
  I think that maybe we have a problem where it appends the Repo Path + 
  BaseDir + FilePath 
  Maybe there is a difference in RB2.0.x? 

  Our databases on legacy SW used a lot of SVN externals, so someone wrote 
 a 
  script to generate a single diff file relative to the SVN_SERVER root. 
  It allowed us a single review which was better, but it probably set the 
  Basedir to be the complete http path. 
  Maybe it was not supposed to work that way, but we just got away with 
 it. 

  Interested to see what you think and whether there is a regression or a 
  misuse by us that has been cleared up in RB2.0, the only problem now is 
 we 
  have 100s of requests that are like this 

  Hope you can help, and happy to try patches. 
  Cheers 
  Dan 


  On Thursday, 18 December 2014 20:40:16 UTC, Christian Hammond wrote: 
   
   Hi Dan, 
   
   Would you be able to provide some of the data from that diff 
   (specifically, the 'Index:' line, '---', and '+++' lines in the diff)? 
   
   A lot of work was done on Subversion since 1.7.x, so something may 
 have 
   regressed. I don't recall being able to handle file paths containing 
   'http:' in it, though. 
   
   Christian 
   
   -- 
   Christian Hammond - chi...@chipx86.com   
   Review Board - http://www.reviewboard.org 
   Beanbag, Inc. - http://www.beanbaginc.com 
   
   On Thu, Dec 18, 2014 at 4:32 AM, Daniel Lairdwrote: 
   
   To follow up the error message we get from the diff viewer is: 
   The file '/svn/Common_PythonTests/ 
   http://SVN_SERVER_NAME/svn/Common_PythonTests/path/to/file/base.py' 
   (r1838) could not be found in the repository: 
   
 '/svn/Common_PythonTests/!svn/rvr/1838/http:/SVN_SERVER/svn/Common_PythonTests/path/to/file/base.py'
  
   
   path not found 
   
   The review was created before the migration (1.7.25) - we dumped the 
   database, re-imported and off we went. 
   New requests seem to be ok and many of the old requests are fine. 
 This 
   was probably created via the GUI in 1.7.25 and uploaded a diff file 
   produced by SVN diff. 
   
   Cheers 
   Dan 
   
   On Thursday, 18 December 2014 11:29:18 UTC, Daniel Laird wrote: 
   
   All, 
   
   We were running Reviewboard 1.7.25 and people used a number of 
 methods 
   to create review requests: 
   svn diff - manually upload 
   post-review 
   rbt 
   
   I have just migrated us to Reviewboard 2.0.11 and seem to have hit 
 an 
   issue. 
   
   Some of our reviews no longer display

Backup and Restore of Reviewboard 2.0 failing (mysqldump issues)

2014-12-22 Thread Daniel Laird
All,

Since RB 1.5 I have backed up the RB installation everynight be by using
mysqldump user=x password=y reviewboard  backup.sql

I have also backed up all attachments etc.
I could then restore the data easily with another script.

I used this method to upgrade from 1.7.25 - 2.0.11 and with the additional 
rb-site upgrade etc, it all worked great.
However, after 2 days I noticed an error on my setup and re-created the 
site and re-imported the data.

At this point it was a RB 2.0.11 backup being restored to a RB2.0.11 
database.
It all appeared to go ok, but when I clicked on any review i got
Error 500, something broke, I also got the following email:

Traceback (most recent call last):

  File 
/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/core/handlers/base.py,
 
line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.11-py2.7.egg/reviewboard/accounts/decorators.py,
 
line 23, in _check
return view_func(*args, **kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.11-py2.7.egg/reviewboard/site/decorators.py,
 
line 35, in _check
return view_func(request, local_site=local_site, *args, **kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.11-py2.7.egg/reviewboard/reviews/views.py,
 
line 710, in review_detail
'screenshots': screenshots,

  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.11-py2.7.egg/reviewboard/reviews/context.py,
 
line 92, in make_review_request_context
upload_diff_form = UploadDiffForm(review_request, request=request)

  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.11-py2.7.egg/reviewboard/reviews/forms.py,
 
line 95, in __init__
data, *args, **kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.11-py2.7.egg/reviewboard/diffviewer/forms.py,
 
line 41, in __init__
if self.repository.get_scmtool().get_diffs_use_absolute_paths():

  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.11-py2.7.egg/reviewboard/scmtools/models.py,
 
line 230, in get_scmtool
return cls(self)

  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.11-py2.7.egg/reviewboard/scmtools/svn/__init__.py,
 
line 73, in __init__
local_site_name)

  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.11-py2.7.egg/reviewboard/scmtools/svn/__init__.py,
 
line 415, in build_client
client = Client(config_dir, repopath, username, password)

  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.11-py2.7.egg/reviewboard/scmtools/svn/pysvn.py,
 
line 41, in __init__
self.client.set_default_password(six.text_type(password))

UnicodeDecodeError: 'ascii' codec can't decode byte 0xd5 in position 0: 
ordinal not in range(128)

Has something changed in the internal data structures?
Should I be using some options like --default-character-set=utf8 when 
dumping/importing the database?

Hope you can help
Dan

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Email all users......

2015-01-19 Thread Daniel Laird
All,

Before I try and write some python that queries all users (ideally active) 
and gets their email addresses.  Has anyone else done this and would you be 
willing to share?
I want to be able to announce things like RBtools 0.7 to all active users 
and cant think of another way (other than the MOTD banner).

If you have something I could use/tweak let me know

Dan

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adding a hyperlink to the navbar

2015-01-28 Thread Daniel Cappuccio
Hopefully this is a simple question with a simple answer as I am very new 
and unexperienced with the code for this web page.

My company uses review board for code reviews and also has a company wiki 
page with the procedures used for code reviews.  I would like to have a 
link to that wiki page appear in the navbar of review board.  (The light 
blue region at the top of the page with other internal links (MyDashboard, 
New Review Request, etc)).  

I found the source html file on the git hub page, but, i cannot find that 
file on the installed and running review board server.  

Is this change even possible?  Is there a process to do this posted 
somewhere else?

Thanks for your patience, understanding, and responses,
Dan

-- 
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, SVN and a strange issue

2015-01-13 Thread Daniel Laird
I am using RBtools 0.6.3 and am trying to post a review to ReviewBoard.
We use SVN as our version control system.

We are not using the .reviewboardrc files but the reviewboard:url property 
as this means less files in the workspace.
For most of our repos this works fine and rbt post creates a review request.

However for 1 of our repos (may be more - not tested all of them) I got the 
following error:
 Error data: {u'stat': u'fail', u'repository': u'SVN_SERVER/REPONAME/', 
u'err': {u'msg': u'The repository path specified is not in the list of 
known repositories.', u'code': 206}}
Traceback (most recent call last):
  File /usr/local/bin/rbt, line 9, in module
load_entry_point('RBTools==0.6.3', 'console_scripts', 'rbt')()
  File 
/usr/local/lib/python2.7/dist-packages/RBTools-0.6.3-py2.7.egg/rbtools/commands/main.py,
 
line 134, in main
command.run_from_argv([RB_MAIN, command_name] + args)
  File 
/usr/local/lib/python2.7/dist-packages/RBTools-0.6.3-py2.7.egg/rbtools/commands/__init__.py,
 
line 416, in run_from_argv
exit_code = self.main(*args) or 0
  File 
/usr/local/lib/python2.7/dist-packages/RBTools-0.6.3-py2.7.egg/rbtools/commands/post.py,
 
line 791, in main
submit_as=self.options.submit_as)
  File 
/usr/local/lib/python2.7/dist-packages/RBTools-0.6.3-py2.7.egg/rbtools/commands/post.py,
 
line 507, in post_request
raise CommandError(Error creating review request: %s % e)
rbtools.commands.CommandError: Error creating review request: The 
repository path specified is not in the list of known repositories. (HTTP 
400, API Error 206)

After some investigation I checked the Repo setup in Reviewboard.
I found that for most of my repositories I had:
http://SVN_SERVER/svn/REPONAME

However for the failing one in question I had:
http://SVN_SERVER/svn/REPONAME/

It seems the addition of the trailing '/' stopped rbtools from posting to 
the server.

With the -d option it shows that it finds the Repo in Reviewboard, only 
when it attempts to POST the diff did it fail.
This might be intentional, however if not.  Perhaps it can be made a little 
more forgiving - maybe don't allow trailing '/' when a repo is configured.

Cheers
Dan

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: RBtools 0.7 - issue posting a review

2015-02-15 Thread Daniel Laird
After some investigation we found the following:

# TODO: This can break on systems that don't have the en_US local

# installed (which isn't very many). Ideally in this case, we could

# put something in the config file, but that's not plumbed through to here.

env['LC_ALL'] = 'en_US.UTF-8'

env['LANGUAGE'] = 'en_US.UTF-8'

We can confirm that it does break things!

With the 'en_US.UTF-8' locale installed the problem goes away - is there a 
way to check this locale is installed and error nicely rather than breaking?
Cheers
Dan

On Saturday, 31 January 2015 18:49:02 UTC, David Trowbridge wrote:

 Hi Daniel,

 Do you think you could add some code to print out the contents of 'log' 
 inside _convert_symbolic_revision before we try to construct the etree?

 Thanks,
 -David


 On Fri Jan 30 2015 at 4:48:37 AM Daniel Laird daniel@googlemail.com 
 javascript: wrote:

 We have a shared Debian server and we have updated RBtools to 0.7.

 When we try to post a review we get the following:

 SERVER_NAME rbt post -d NUM
  RBTools 0.7
  Python 2.7.3 (default, Mar 13 2014, 11:03:55) 
 [GCC 4.7.2]
  Running on Linux-3.2.0-4-amd64-x86_64-with-debian-7.8
  Home = /v/home/rad/USERNAME
  Current directory = /v/space/SERVER_NAME/USERNAME/
 wc/memory_corruption
  Checking for a Subversion repository...
  Running: svn info --non-interactive
  Running: diff --version
  repository info: Path: https://SVN_SERVER/svn-restricted/PROJNAME, 
 Base path: /branches/users/bob/memory_corruption, Supports changesets: 
 False
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/ 
 cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/?max-results=25start=25
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/?max-results=25start=25 cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/1/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/1/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/2/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/2/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/3/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/3/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/4/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/4/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/5/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/5/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/6/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/6/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/7/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/7/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/8/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/8/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/9/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/9/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/10/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/10/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/11/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/11/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/12/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/12/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/13/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/13/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/14/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/14/info/ cannot be cached
  repository info: Path: https://SVN_SERVER/svn-restricted/PROJNAME, 
 Base path: /branches/users/bob/memory_corruption, Supports changesets: 
 False
  Running: svn log -r REVNUM -l 1 --xml
 Traceback (most recent call last):
   File /v/home/rad/USERNAME/.local/bin/rbt, line 9, in module
 load_entry_point('RBTools==0.7', 'console_scripts', 'rbt')()
   File /v/home/rad/USERNAME/.local/lib/python2.7/site-packages/
 RBTools-0.7-py2.7.egg/rbtools/commands/main.py, line 133, in main
 command.run_from_argv([RB_MAIN

Re: Review Board version mismatch

2015-02-20 Thread Daniel Bansch
I was able to get it to run by changing the directory name of 
ReviewBoard-2.0.13-py2.7.egg 
to ReviewBoard-2.0.12-py2.7.egg.

On Friday, February 20, 2015 at 10:45:53 AM UTC-6, Daniel Bansch wrote:

I'm trying to install review board on redhat with apache, mod_wsgi and 
 mysql.  I get this error when I go to my review board site:


 ---

 Manual server updates required

 A recent upgrade requires manual updates to be made on this server. After 
 these changes are made, you should restart your web server. 

 If you have any questions or problems, please contact us on our mailing 
 list http://groups.google.com/group/reviewboard. 
 Review Board version mismatch 
  
 The version of Review Board running does not match the version the site 
 was last upgraded to. You are running *2.0.13* and the site was last 
 upgraded to *2.0.12*. 

 Please upgrade your site to fix this by running: 

 $ rb-site upgrade /var/www/mysite
 ---

 I've run the rb-site upgrade /var/www/mysite and restarted everything, but 
 the same error pops up.

 I have ReviewBoard-2.0.12-py2.7.egg and ReviewBoard-2.0.13-py2.7.egg in my 
 python site-packages directory.

 Does anyone have any suggestions?

 Thanks,
 Daniel



-- 
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: Review Board version mismatch

2015-02-23 Thread Daniel Bansch
I used easy_install.

On Friday, February 20, 2015 at 10:45:53 AM UTC-6, Daniel Bansch wrote:

I'm trying to install review board on redhat with apache, mod_wsgi and 
 mysql.  I get this error when I go to my review board site:


 ---

 Manual server updates required

 A recent upgrade requires manual updates to be made on this server. After 
 these changes are made, you should restart your web server. 

 If you have any questions or problems, please contact us on our mailing 
 list http://groups.google.com/group/reviewboard. 
 Review Board version mismatch 
  
 The version of Review Board running does not match the version the site 
 was last upgraded to. You are running *2.0.13* and the site was last 
 upgraded to *2.0.12*. 

 Please upgrade your site to fix this by running: 

 $ rb-site upgrade /var/www/mysite
 ---

 I've run the rb-site upgrade /var/www/mysite and restarted everything, but 
 the same error pops up.

 I have ReviewBoard-2.0.12-py2.7.egg and ReviewBoard-2.0.13-py2.7.egg in my 
 python site-packages directory.

 Does anyone have any suggestions?

 Thanks,
 Daniel



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


Review Board version mismatch

2015-02-20 Thread Daniel Bansch
   I'm trying to install review board on redhat with apache, mod_wsgi and 
mysql.  I get this error when I go to my review board site:

---

Manual server updates required

A recent upgrade requires manual updates to be made on this server. After 
these changes are made, you should restart your web server. 

If you have any questions or problems, please contact us on our mailing list 
http://groups.google.com/group/reviewboard. 
Review Board version mismatch 
 
The version of Review Board running does not match the version the site was 
last upgraded to. You are running *2.0.13* and the site was last upgraded 
to *2.0.12*. 

Please upgrade your site to fix this by running: 

$ rb-site upgrade /var/www/mysite
---

I've run the rb-site upgrade /var/www/mysite and restarted everything, but 
the same error pops up.

I have ReviewBoard-2.0.12-py2.7.egg and ReviewBoard-2.0.13-py2.7.egg in my 
python site-packages directory.

Does anyone have any suggestions?

Thanks,
Daniel

   

-- 
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 0.7 - issue posting a review

2015-01-30 Thread Daniel Laird
We have a shared Debian server and we have updated RBtools to 0.7.

When we try to post a review we get the following:

SERVER_NAME rbt post -d NUM
 RBTools 0.7
 Python 2.7.3 (default, Mar 13 2014, 11:03:55) 
[GCC 4.7.2]
 Running on Linux-3.2.0-4-amd64-x86_64-with-debian-7.8
 Home = /v/home/rad/USERNAME
 Current directory = /v/space/SERVER_NAME/USERNAME/wc/memory_corruption
 Checking for a Subversion repository...
 Running: svn info --non-interactive
 Running: diff --version
 repository info: Path: https://SVN_SERVER/svn-restricted/PROJNAME, Base 
path: /branches/users/bob/memory_corruption, Supports changesets: False
 Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/ cannot be cached
 Making HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/ cannot 
be cached
 Making HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/?max-results=25start=25
 HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/?max-results=25start=25 cannot 
be cached
 Making HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/1/info/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/1/info/ 
cannot be cached
 Making HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/2/info/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/2/info/ 
cannot be cached
 Making HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/3/info/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/3/info/ 
cannot be cached
 Making HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/4/info/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/4/info/ 
cannot be cached
 Making HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/5/info/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/5/info/ 
cannot be cached
 Making HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/6/info/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/6/info/ 
cannot be cached
 Making HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/7/info/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/7/info/ 
cannot be cached
 Making HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/8/info/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/8/info/ 
cannot be cached
 Making HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/9/info/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/9/info/ 
cannot be cached
 Making HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/10/info/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/10/info/ 
cannot be cached
 Making HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/11/info/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/11/info/ 
cannot be cached
 Making HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/12/info/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/12/info/ 
cannot be cached
 Making HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/13/info/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/13/info/ 
cannot be cached
 Making HTTP GET request to 
http://REVIEWBOARD_SERVER/api/repositories/14/info/
 HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/14/info/ 
cannot be cached
 repository info: Path: https://SVN_SERVER/svn-restricted/PROJNAME, Base 
path: /branches/users/bob/memory_corruption, Supports changesets: False
 Running: svn log -r REVNUM -l 1 --xml
Traceback (most recent call last):
  File /v/home/rad/USERNAME/.local/bin/rbt, line 9, in module
load_entry_point('RBTools==0.7', 'console_scripts', 'rbt')()
  File 
/v/home/rad/USERNAME/.local/lib/python2.7/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 
/v/home/rad/USERNAME/.local/lib/python2.7/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 
/v/home/rad/USERNAME/.local/lib/python2.7/site-packages/RBTools-0.7-py2.7.egg/rbtools/commands/post.py,
 
line 618, in main
self.revisions = get_revisions(self.tool, self.cmd_args)
  File 
/v/home/rad/USERNAME/.local/lib/python2.7/site-packages/RBTools-0.7-py2.7.egg/rbtools/utils/review_request.py,
 
line 73, in get_revisions
revisions = tool.parse_revision_spec(cmd_args)
  File 
/v/home/rad/USERNAME/.local/lib/python2.7/site-packages/RBTools-0.7-py2.7.egg/rbtools/clients/svn.py,
 
line 128, in parse_revision_spec
revision = self._convert_symbolic_revision(revision)
  File 
/v/home/rad/USERNAME/.local/lib/python2.7/site-packages/RBTools-0.7-py2.7.egg/rbtools/clients/svn.py,
 
line 173, in _convert_symbolic_revision
root = 

Re: Problems upgrading to 2.0.13 and 2.0.15

2015-04-22 Thread Daniel Dominguez
That fixed it.  Many Thanks!

On Friday, April 17, 2015 at 2:05:03 PM UTC-7, Christian Hammond wrote:

 Hi Daniel,

 Sorry, I've been pretty swamped.

 First, make a backup of your database. Then, try:

 DELETE FROM django_project_version WHERE id=4;

 Then perform the upgrade again.

 Christian

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

 On Fri, Apr 17, 2015 at 10:29 AM, Daniel Dominguez daniel.j@gmail.com 
 javascript: wrote:

 Any update here?


 On Friday, March 20, 2015 at 1:29:07 PM UTC-7, Daniel Dominguez wrote:

 Running --hint --evolve had not been done before.  It was just my 
 experimenting after seeing this issue (with a current backup of the db 
 first of course).

 Anyhow, I've attached the sql dump you requested.

 Thanks!

 On Friday, March 20, 2015 at 8:28:36 AM UTC-7, Daniel Dominguez wrote:

 When I performed the upgrade form 2.0.12 to 2.0.13, the site-upgrade 
 failed.  It didn't seem to break our reviewboard instance, so I just 
 ignored it at the time.  I recently upgraded to 2.0.15, and the result is 
 the same.  Again, our reviewboard server seems to be fine, but this is 
 starting to make me nervous.


 -- begin log output --
 Creating tables ...
 Project signature has changed - an evolution is required
 Installing custom SQL ...
 Installing indexes ...
 Installed 0 object(s) from 0 fixture(s)
 The stored evolutions do not completely resolve all model changes.

 Run `./manage.py evolve --hint` to see a suggestion for the changes 
 required.

 The following are the changes that could not be resolved:
 In model reviews.ReviewRequest:
 Field 'description_rich_text' has been added
 Field 'testing_done_rich_text' has been added
 In model reviews.Review:
 Field 'body_top_rich_text' has been added
 Field 'body_bottom_rich_text' has been added
 In model reviews.ReviewRequestDraft:
 Field 'description_rich_text' has been added
 Field 'testing_done_rich_text' has been added
 In model accounts.Profile:
 Field 'default_use_rich_text' has been added
 CommandError: Your models contain changes that Django Evolution cannot 
 resolve automatically.

 
 I've trying running evolve -- --hint --execute, but that fails with the 
 following

 CommandError: Error applying evolution: (1060, Duplicate column name 
 'default_use_rich_text')



 I've checked that I have the latest django_evolution installed for my 
 platform (0.7.4).  This is running on a MySql database.

 It seems like the evolution is trying to add columns that already 
 exist.  Maybe a version table didn't get incremented in the prior 
 evolution?  Any hints on how I can troubleshoot this?



  -- 
 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 javascript:.
 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: Problems upgrading to 2.0.13 and 2.0.15

2015-04-17 Thread Daniel Dominguez
Any update here?

On Friday, March 20, 2015 at 1:29:07 PM UTC-7, Daniel Dominguez wrote:

 Running --hint --evolve had not been done before.  It was just my 
 experimenting after seeing this issue (with a current backup of the db 
 first of course).

 Anyhow, I've attached the sql dump you requested.

 Thanks!

 On Friday, March 20, 2015 at 8:28:36 AM UTC-7, Daniel Dominguez wrote:

 When I performed the upgrade form 2.0.12 to 2.0.13, the site-upgrade 
 failed.  It didn't seem to break our reviewboard instance, so I just 
 ignored it at the time.  I recently upgraded to 2.0.15, and the result is 
 the same.  Again, our reviewboard server seems to be fine, but this is 
 starting to make me nervous.


 -- begin log output --
 Creating tables ...
 Project signature has changed - an evolution is required
 Installing custom SQL ...
 Installing indexes ...
 Installed 0 object(s) from 0 fixture(s)
 The stored evolutions do not completely resolve all model changes.

 Run `./manage.py evolve --hint` to see a suggestion for the changes 
 required.

 The following are the changes that could not be resolved:
 In model reviews.ReviewRequest:
 Field 'description_rich_text' has been added
 Field 'testing_done_rich_text' has been added
 In model reviews.Review:
 Field 'body_top_rich_text' has been added
 Field 'body_bottom_rich_text' has been added
 In model reviews.ReviewRequestDraft:
 Field 'description_rich_text' has been added
 Field 'testing_done_rich_text' has been added
 In model accounts.Profile:
 Field 'default_use_rich_text' has been added
 CommandError: Your models contain changes that Django Evolution cannot 
 resolve automatically.

 
 I've trying running evolve -- --hint --execute, but that fails with the 
 following

 CommandError: Error applying evolution: (1060, Duplicate column name 
 'default_use_rich_text')



 I've checked that I have the latest django_evolution installed for my 
 platform (0.7.4).  This is running on a MySql database.

 It seems like the evolution is trying to add columns that already exist. 
  Maybe a version table didn't get incremented in the prior evolution?  Any 
 hints on how I can troubleshoot this?





-- 
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: RBtools 0.7 - issue posting a review

2015-04-07 Thread Daniel Laird
On a new Ubuntu 14.04 installation I am seeing something similar:
(We are testing 14.04 before wider rollout.)
 Running: svn info --non-interactive
 Running: diff --version
 Running: svn --version -q
 repository info: Path: http://REVIEWBOARD_URL/NAME, Base path: PATH TO 
CHANGES, Supports changesets: False
 Running: svn status -q --ignore-externals
 Running: svn diff --diff-cmd=diff --notice-ancestry -r BASE
Traceback (most recent call last):
  File /usr/local/bin/rbt, line 9, in module
load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
  File 
/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/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-0.7.2-py2.7.egg/rbtools/commands/__init__.py,
 
line 555, in run_from_argv
exit_code = self.main(*args) or 0
  File 
/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/post.py,
 
line 639, in main
extra_args=extra_args)
  File 
/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/clients/svn.py,
 
line 319, in diff
diff = self._run_svn(diff_cmd, split_lines=True)
  File 
/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/clients/svn.py,
 
line 707, in _run_svn
return execute(cmdline, *args, **kwargs)
  File 
/usr/local/lib/python2.7/dist-packages/RBTools-0.7.2-py2.7.egg/rbtools/utils/process.py,
 
line 104, in execute
data = [line.decode('utf-8') for line in data]
  File /usr/lib/python2.7/encodings/utf_8.py, line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 17: 
invalid continuation byte

I appear to have all the correct locates installed - but no luck.
It is running SVN 1.8.8 and Ubuntu 14.04 and the latest RBT- any ideas what 
to debug - it does not appear to be log related this time
This command:
svn diff --diff-cmd=diff --notice-ancestry -r BASE
Runs fine on the commandline standalone

Dan

On Sunday, 15 February 2015 21:20:00 UTC, Daniel Laird wrote:

 After some investigation we found the following:

 # TODO: This can break on systems that don't have the en_US local

 # installed (which isn't very many). Ideally in this case, we could

 # put something in the config file, but that's not plumbed through to here.

 env['LC_ALL'] = 'en_US.UTF-8'

 env['LANGUAGE'] = 'en_US.UTF-8'

 We can confirm that it does break things!

 With the 'en_US.UTF-8' locale installed the problem goes away - is there a 
 way to check this locale is installed and error nicely rather than breaking?
 Cheers
 Dan

 On Saturday, 31 January 2015 18:49:02 UTC, David Trowbridge wrote:

 Hi Daniel,

 Do you think you could add some code to print out the contents of 'log' 
 inside _convert_symbolic_revision before we try to construct the etree?

 Thanks,
 -David


 On Fri Jan 30 2015 at 4:48:37 AM Daniel Laird daniel@googlemail.com 
 wrote:

 We have a shared Debian server and we have updated RBtools to 0.7.

 When we try to post a review we get the following:

 SERVER_NAME rbt post -d NUM
  RBTools 0.7
  Python 2.7.3 (default, Mar 13 2014, 11:03:55) 
 [GCC 4.7.2]
  Running on Linux-3.2.0-4-amd64-x86_64-with-debian-7.8
  Home = /v/home/rad/USERNAME
  Current directory = /v/space/SERVER_NAME/USERNAME/
 wc/memory_corruption
  Checking for a Subversion repository...
  Running: svn info --non-interactive
  Running: diff --version
  repository info: Path: https://SVN_SERVER/svn-restricted/PROJNAME, 
 Base path: /branches/users/bob/memory_corruption, Supports changesets: 
 False
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/repositories/ 
 cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/?max-results=25start=25
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/?max-results=25start=25 cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/1/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/1/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/2/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/2/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/3/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/3/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/4/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/4/info/ cannot be cached
  Making HTTP GET request to http://REVIEWBOARD_SERVER/api/
 repositories/5/info/
  HTTP GET request to http://REVIEWBOARD_SERVER/api

Depends-On, Blocks and Circular Reference

2015-07-02 Thread Daniel Laird
WE are running 2.0.17 and have managed to create a situation and dont know 
how to resolve it - or whether its a defect

Someone created 2 reviews with code changes that were dependent.
They marked Review 2 as Depends On Review 1 -  this then updated the 
'Blocks' field.
They then marked Review 1 as Depends On Review 2 - as they felt that both 
reviews had to be committed together.

However the server then starts to give us lots of errors:
Traceback (most recent call last):

  File 
/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/core/handlers/base.py,
 
line 199, in get_response
response = middleware_method(request, response)

  File 
/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/middleware/http.py,
 
line 14, in process_response
response['Content-Length'] = str(len(response.content))

  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.8.20-py2.7.egg/djblets/webapi/responses.py,
 
line 109, in _get_content
**self.encoder_kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.8.20-py2.7.egg/djblets/webapi/encoders.py,
 
line 110, in encode
return super(JSONEncoderAdapter, self).encode(o)

  File /usr/lib/python2.7/json/encoder.py, line 201, in encode
chunks = self.iterencode(o, _one_shot=True)

  File /usr/lib/python2.7/json/encoder.py, line 264, in iterencode
return _iterencode(o, 0)

ValueError: Circular reference detected

It maybe that the double linking is incorrect usage - however having been 
able to get into that situation.  If we try to remove one of the 'Blocks' 
fields we just get a spinning 'Loading' icon and are unable to move past 
this to remove the Circular Reference.

Not sure if you think this is user error, a defect or a combination of both 
- but thought I would share it.

Cheers
Dan

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


How big is your Review Board site?

2016-10-06 Thread Daniel Kuecker
With Review Board's recent 10th anniversary, I thought it would be 
interesting to compare the size of everyone's Review Board site.

We are sitting at 125,000 reviews, 2032 users and a 26GB database size on 
disk.

What's yours at?

-- 
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 patch "file not found"

2016-09-23 Thread Daniel Kuecker
Perforce repo and the diff was generated with and older version of RBTools
(post-review era.).

On Fri, Sep 23, 2016 at 12:06 AM Christian Hammond <christ...@beanbaginc.com>
wrote:

> What type of repository is this, and how was the diff generated/uploaded?
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Thu, Sep 22, 2016 at 6:55 AM, Daniel Kuecker <dan...@kuecker.net>
> wrote:
>
>> Oops, forgot to mention I am running this on Windows 10.
>>
>> RBTools:  0.7.6
>> RB: tried on versions 1.7.27 and 2.5.6.1
>>
>>
>> On Thursday, September 22, 2016 at 8:50:04 AM UTC-5, Daniel Kuecker wrote:
>>>
>>> Running "rbt patch " command results in a file not found
>>> error for every file in the request.  I verified the files are synced to my
>>> local drive.  Any ideas?
>>>
>>> Command line info (path info removed for anonymity):
>>> C:\P4>rbt patch 127325
>>> Patch is being applied from request 127325 with diff revision 1.
>>> Failed to execute command: [u'patch', u'-i',
>>> u'c:\\users\\***\\appdata\\local\\temp\\tmpjq4zbu']
>>> can't find file to patch at input line 3
>>> Perhaps you should have used the -p or --strip option?
>>> The text leading up to this was:
>>> --
>>> |---
>>> ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb
>>>
>>> ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb#6
>>> |+++
>>> ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb
>>>   2016-02-18 09:21:42
>>> --
>>> File to patch:
>>> Skip this patch? [y]
>>> Skipping patch.
>>> 1 out of 1 hunk ignored
>>> missing header for unified diff at line 17 of patch
>>> can't find file to patch at input line 17
>>> Perhaps you should have used the -p or --strip option?
>>> The text leading up to this was:
>>> --
>>> |/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb
>>>
>>> ///***/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb#2
>>> |+++
>>> ///***/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb
>>> 2016-02-18 09:21:43
>>> --
>>> File to patch:
>>> Skip this patch? [y]
>>> Skipping patch.
>>> 1 out of 1 hunk ignored
>>> missing header for unified diff at line 27 of patch
>>> can't find file to patch at input line 27
>>> Perhaps you should have used the -p or --strip option?
>>> The text leading up to this was:
>>> --
>>> |/***/setupscripts/trunk/16.0/source//_setup_impl_details.rb
>>>
>>>  
>>> ///***/setupscripts/trunk/16.0/source//_setup_impl_details.rb#2
>>> |+++
>>> ///***/setupscripts/trunk/16.0/source//_setup_impl_details.rb
>>>2016-02-18 09:21:43
>>> --
>>> File to patch:
>>> Skip this patch? [y]
>>> Skipping patch.
>>> 1 out of 1 hunk ignored
>>>
>>>
>>> --
>> 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.
>

-- 
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: Building RBTools 0.7.6 into a single-file exe for Windows

2016-09-23 Thread Daniel Kuecker
Any pointers?

On Thu, Sep 22, 2016 at 10:54 PM, john levin <smart.le...@gmail.com> wrote:

> I did.. and i was successful..
>
> On Sep 23, 2016 12:30 AM, "Daniel Kuecker" <dan...@kuecker.net> wrote:
>
>> Has anyone been successful building RBTools 0.7.6 into a single-file exe
>> for distribution on windows?
>>
>> I'm trying to wrap rbt post functionality into an exe file and both
>> py2exe and pyinstaller built exes are having issues when pkg_resources
>> tries to resolve the rbtools package.
>>
>> The exe builds fine, but when I run it, I get a
>> "pkg_resources.distributionnotfound: the 'rbtools' distribution was not
>> found and is required by the application" error.
>>
>> I've tried listing rbtools as hidden imports and importing an egg
>> (although the egg import was never successful), to no avail.
>>
>> Thanks in advance!
>>
>> --Daniel
>>
>>
>>
>>
>> --
>> 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.
>

-- 
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: Building RBTools 0.7.6 into a single-file exe for Windows

2016-09-23 Thread Daniel Kuecker
Hey Christian,

Our clients would rather not install an app on their development machines.
We have been using an older version of RBTools, that we made a custom
post-review for, and built an exe.  The exe is dropped on the client
machine (among many other things) as a tool via a scripted setup script we
run and is called from other build-related scripts.

I only really need post and patch functionality and we hard-code the RB url.

Thanks for the response!!!

--Daniel


On Fri, Sep 23, 2016 at 12:05 AM, Christian Hammond <
christ...@beanbaginc.com> wrote:

> Out of curiosity, why not use the RBTools installer we already provide?
>
> The single .exe route will have limitations. I've done a lot of
> py2exe/pyinstaller work in the past for other projects, and it's not a
> route I'd recommend if you can avoid it, at least for more complex projects.
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Thu, Sep 22, 2016 at 11:59 AM, Daniel Kuecker <dan...@kuecker.net>
> wrote:
>
>> Has anyone been successful building RBTools 0.7.6 into a single-file exe
>> for distribution on windows?
>>
>> I'm trying to wrap rbt post functionality into an exe file and both
>> py2exe and pyinstaller built exes are having issues when pkg_resources
>> tries to resolve the rbtools package.
>>
>> The exe builds fine, but when I run it, I get a
>> "pkg_resources.distributionnotfound: the 'rbtools' distribution was not
>> found and is required by the application" error.
>>
>> I've tried listing rbtools as hidden imports and importing an egg
>> (although the egg import was never successful), to no avail.
>>
>> Thanks in advance!
>>
>> --Daniel
>>
>>
>>
>>
>> --
>> 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.
>

-- 
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: Building RBTools 0.7.6 into a single-file exe for Windows

2016-09-23 Thread Daniel Kuecker
YES!  Thats a wonderful idea (the single shared install)!  Thanks for the
idea!  I think it will work for us!

--Daniel

On Fri, Sep 23, 2016 at 8:26 AM, Christian Hammond <christ...@beanbaginc.com
> wrote:

> Sorry, I don't have any pointers here. Tools like py2exe drastically
> changes the way Python projects execute, which can end up causing a large
> number of tricky to diagnose issues. Having done a lot of
> py2exe/pyinstaller work in the past, it's not a route I'd want to go again.
>
> While I'd accept reasonable patches for things RBTools is doing, it's
> important to note that some things simply will not work, and those are
> things we must ship with. Examples would be any commands that reference a
> shipped data file, or otherwise need to deal with something relative to a
> module path.
>
> I understand the desire to have a single .exe you can drop on development
> machines, but am not sold on this being the way to go. What a lot of
> companies do is have a single shared install of RBTools in some common
> directory on a file server, and have that directory added to the path. Some
> use a wrapper script to set the PYTHON_PATH and such for that. This gives
> you central management of RBTools, usage of the RBTools API, and wouldn't
> require the kinds of work that would be needed to get things in shape for
> tools like py2exe to work.
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Fri, Sep 23, 2016 at 6:22 AM, Daniel Kuecker <dan...@kuecker.net>
> wrote:
>
>> Any pointers?
>>
>> On Thu, Sep 22, 2016 at 10:54 PM, john levin <smart.le...@gmail.com>
>> wrote:
>>
>>> I did.. and i was successful..
>>>
>>> On Sep 23, 2016 12:30 AM, "Daniel Kuecker" <dan...@kuecker.net> wrote:
>>>
>>>> Has anyone been successful building RBTools 0.7.6 into a single-file
>>>> exe for distribution on windows?
>>>>
>>>> I'm trying to wrap rbt post functionality into an exe file and both
>>>> py2exe and pyinstaller built exes are having issues when pkg_resources
>>>> tries to resolve the rbtools package.
>>>>
>>>> The exe builds fine, but when I run it, I get a
>>>> "pkg_resources.distributionnotfound: the 'rbtools' distribution was
>>>> not found and is required by the application" error.
>>>>
>>>> I've tried listing rbtools as hidden imports and importing an egg
>>>> (although the egg import was never successful), to no avail.
>>>>
>>>> Thanks in advance!
>>>>
>>>> --Daniel
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> 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.
>>>
>>
>> --
>> 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+unsub

Re: How to access the review board site from other system via browser?

2016-09-22 Thread Daniel Kuecker
Are you getting an error?

Did you copy your apache-wsgi.conf to /etc/httpd/conf.d/?

If you did that, you might need to enable httpd port passthru in the 
firewall.

On Thursday, September 22, 2016 at 9:19:22 AM UTC-5, P P Gobind Chandra 
Praharaj wrote:
>
> I have set-up all prerequisites and all the installation required for 
> local reviewboard along with rb-site, server is apache httpd with mod_wsi. 
>
>
> Can any one help me on how to access the review bpoard which I have 
> installed locally from different systems via web browser.
>
>
> Below are the steps detailed:
>
>
>
>1. yum -y install zlib zlib-devel 
>2. yum -y install openssl-devel 
>3. yum -y install memcached 
>4. yum -y install python-devel
>5.  yum -y install python-setuptools 
>6. yum -y install patch easy_install
>7.  mysql-python yum -y install git-core
>8. easy_install ReviewBoard 
>9. *rb-site install /var/www/ReviewBoard*
>
>
> *Steps followed during Installing rb-site*
>
>
>-  Domain name localhost:80
>-  Root Path : reviews
>- And other configurations are default.
>
>
> All steps are executed successfully.
>
>
> But I do not know how can I access the review board over browser.
>
> Please help me?
>

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


Building RBTools 0.7.6 into a single-file exe for Windows

2016-09-22 Thread Daniel Kuecker
Has anyone been successful building RBTools 0.7.6 into a single-file exe 
for distribution on windows? 

I'm trying to wrap rbt post functionality into an exe file and both py2exe 
and pyinstaller built exes are having issues when pkg_resources tries to 
resolve the rbtools package.

The exe builds fine, but when I run it, I get a 
"pkg_resources.distributionnotfound: the 'rbtools' distribution was not 
found and is required by the application" error.

I've tried listing rbtools as hidden imports and importing an egg (although 
the egg import was never successful), to no avail.

Thanks in advance!

--Daniel




-- 
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 patch on Windows troubles

2016-09-20 Thread Daniel Kuecker
I'm also having issues, but on Windows 10.

I was able to get patch.exe to run via the link Igor posted above 
(http://math.nist.gov/oommf/software-patchsets/patch_on_Windows7.html).

When I manually run patch with the temporary file "rbt patch" creates, it 
crashes.  An inspection of the temporary patch file shows windows line 
endings (LF) instead of unix line endings (CR/LF).  Adding the "--binary" 
option to the patch.exe call 
(per http://gnuwin32.sourceforge.net/packages/patch.htm) works when 
manually run.

Is there any way to get rbt patch to create a temporary patch file with 
proper line endings?

FWIW:  I ran this from a linux machine and it works fine.

Thanks!

--Daniel

On Tuesday, April 8, 2014 at 3:07:23 PM UTC-5, Igor Berger wrote:
>
> Hello,
>
> This is not a Review Board problem. I'm just wondering whether anyone is 
> using "rbt patch" on Windows 7.
>
> I figured out that in order for "rbt patch" to work, patch itself has to 
> be installed separately.
> I've found these precompiled binaries for Windows: 
> http://gnuwin32.sourceforge.net/packages/patch.htm
>
> However, patch crashes even if I use workarounds listed here:
> http://math.nist.gov/oommf/software-patchsets/patch_on_Windows7.html
>
> Any ideas?
>
> Thank you,
> Igor.
>
>

-- 
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 patch "file not found"

2016-09-22 Thread Daniel Kuecker
Oops, forgot to mention I am running this on Windows 10.

RBTools:  0.7.6
RB: tried on versions 1.7.27 and 2.5.6.1

On Thursday, September 22, 2016 at 8:50:04 AM UTC-5, Daniel Kuecker wrote:
>
> Running "rbt patch " command results in a file not found error 
> for every file in the request.  I verified the files are synced to my local 
> drive.  Any ideas?
>
> Command line info (path info removed for anonymity): 
> C:\P4>rbt patch 127325
> Patch is being applied from request 127325 with diff revision 1.
> Failed to execute command: [u'patch', u'-i', 
> u'c:\\users\\***\\appdata\\local\\temp\\tmpjq4zbu']
> can't find file to patch at input line 3
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --
> |--- 
> ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb
>  
>   
> ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb#6
> |+++ 
> ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb
>  
>   2016-02-18 09:21:42
> --
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 1 out of 1 hunk ignored
> missing header for unified diff at line 17 of patch
> can't find file to patch at input line 17
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --
> |/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb 
>   
> ///***/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb#2
> |+++ 
> ///***/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb
>  
> 2016-02-18 09:21:43
> --
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 1 out of 1 hunk ignored
> missing header for unified diff at line 27 of patch
> can't find file to patch at input line 27
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --
> |/***/setupscripts/trunk/16.0/source//_setup_impl_details.rb   
>   
>  
> ///***/setupscripts/trunk/16.0/source//_setup_impl_details.rb#2
> |+++ 
> ///***/setupscripts/trunk/16.0/source//_setup_impl_details.rb 
>2016-02-18 09:21:43
> --
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 1 out of 1 hunk ignored
>
>
>

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


rbt patch "file not found"

2016-09-22 Thread Daniel Kuecker
Running "rbt patch " command results in a file not found error 
for every file in the request.  I verified the files are synced to my local 
drive.  Any ideas?

Command line info (path info removed for anonymity): 
C:\P4>rbt patch 127325
Patch is being applied from request 127325 with diff revision 1.
Failed to execute command: [u'patch', u'-i', 
u'c:\\users\\***\\appdata\\local\\temp\\tmpjq4zbu']
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--
|--- 
///***/setupscripts/trunk/16.0/source//_common_impl_details.rb 
  
///***/setupscripts/trunk/16.0/source//_common_impl_details.rb#6
|+++ 
///***/setupscripts/trunk/16.0/source//_common_impl_details.rb 
  2016-02-18 09:21:42
--
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 17 of patch
can't find file to patch at input line 17
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--
|/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb 
  
///***/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb#2
|+++ 
///***/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb
 
2016-02-18 09:21:43
--
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 27 of patch
can't find file to patch at input line 27
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--
|/***/setupscripts/trunk/16.0/source//_setup_impl_details.rb   
  
 ///***/setupscripts/trunk/16.0/source//_setup_impl_details.rb#2
|+++ 
///***/setupscripts/trunk/16.0/source//_setup_impl_details.rb 
   2016-02-18 09:21:43
--
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored


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


diffviewer_filediffdata table after 1.7.27 to 2.5.9 upgrade

2017-03-16 Thread Daniel Kuecker
I recently moved our RB 1.7.27 instance to a 2.5.9 instance.  I restored a 
backup of the 1.7.27 db to the 2.5.9 instance and ran rb-site install and 
waited and waited.  Everything converted successfully and we are now 
running 2.5.9 (our users love it! yay!)

NOTE:  Before the restore, to avoid the InnoDB conversion evolution, I 
manually edited the sql dump, changed the table engines to InnoDB and the 
charset to UTF8 for all tables. 

I noticed I still have a diffviewer_filediffdata table that is the same 
size as the original but has zero records.  Is that table needed anymore? 
 I'd like to get rid of it as it is 28GB in size.

Thanks!

--DK

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


Error: too many trys to get lock

2017-05-23 Thread Daniel Kuecker
I'm getting this error on our production RB server.  We are using P4 with 
LDAP authentication.

SCMError: [P4#run] Errors during command execution( "p4 login" )


 [Error]: "Fatal client error; disconnecting!\nOperation 
'client-SetPassword' failed.\nToo many trys to get lock 
/opt/apps/reviewboard/rbinstall/review-board..com/data/.p4tickets.lck."

Has anyone seen a similar error?

--DK

-- 
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: Error: too many trys to get lock

2017-05-23 Thread Daniel Kuecker
Thanks for the quick reply Christian!  I see apache did not have write
access to the data folder.  I enabled it and will watch for future errors.

Thanks!

--DK

On Tue, May 23, 2017 at 3:17 PM, Christian Hammond <christ...@beanbaginc.com
> wrote:

> Hi Daniel,
>
> I haven't, but the first thing I'd check is whether that directory and its
> contents are writable by the web server.
>
> There's going to be a new Review Board release out by the end of the week
> that, amongst other things, makes some large improvements (and has better
> error handling) for Perforce authentication. I don't know if it would help
> much in this situation, but possibly.
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Tue, May 23, 2017 at 1:16 PM, Daniel Kuecker <dan...@kuecker.net>
> wrote:
>
>> I'm getting this error on our production RB server.  We are using P4 with
>> LDAP authentication.
>>
>> SCMError: [P4#run] Errors during command execution( "p4 login" )
>>
>>
>>  [Error]: "Fatal client error; disconnecting!\nOperation
>> 'client-SetPassword' failed.\nToo many trys to get lock
>> /opt/apps/reviewboard/rbinstall/review-board..com/
>> data/.p4tickets.lck."
>>
>> Has anyone seen a similar error?
>>
>> --DK
>>
>> --
>> 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 a topic in the
> Google Groups "reviewboard" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/reviewboard/UjzdTSfwh34/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.
>

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


update_index always indexes the users class

2017-05-01 Thread Daniel Kuecker
I have a fresh 2.5.9 install with a db taken from a backup of another 2.5.9 
install (basically a backup of my production instance).

On the production instance, I am experiencing 100% cpu usage every time the 
update_index cron job runs causing my users to complain about 
responsiveness of the site.

On my production system, the cron job shows it is indexing all the records 
in the user table while only the new records in the review requests table.

For debugging, I restored the production db backup to my dev machine and 
set up a 2.5.9 instance pointing to it.  When update_index runs on the dev 
box (given the "-v 3" arg), I get the following warning: 

>
> WARNING:py.warnings:/usr/lib/python2.7/site-packages/haystack/indexes.py:167: 
> UserWarning: No updated date field found for 'User' - not restricting by 
> age.
>   warnings.warn(update_field_msg)
> Indexing 1971 users
>   indexed 1 - 1000 of 1971 (by 16819).
>   indexed 1001 - 1971 of 1971 (by 16819).


It then proceeds to index the entire user table and only the changed review 
requests just as my production instance does.

I have run the rebuild_index command on both systems.

Am I missing something?  I have the cron job set to run ever 1/2 hour and 
am about to have to turn search indexing off to ensure the site is 
responsive.

--DK



-- 
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: update_index always indexes the users class

2017-05-01 Thread Daniel Kuecker
Thanks for the quick reply Christian!

I would like the info on configuring Elasticsearch if you don't mind.  

--DK

On Monday, May 1, 2017 at 3:12:06 PM UTC-5, Christian Hammond wrote:
>
> Hi Daniel,
>
> I believe this happens because unlike review requests, we have no way of 
> determining with the search indexing stuff we use if a user's information 
> is "new" to the index. Basically, we have no "last updated" for the users.
>
> I do see an area in the search index for users that isn't as optimal, so 
> we can probably shave down the number of queries a fair amount, which will 
> help.
>
> I assume you're using the default search backend of Whoosh? If so, at your 
> scale, it might be time to install Elasticsearch. We can give you some info 
> on how to configure that in settings_local.py (the upcoming Review Board 
> 3.0 makes this very easy -- just select it as your search backend and fill 
> in fields). Indexing with Elasticsearch is more efficient for large amounts 
> of data.
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Mon, May 1, 2017 at 12:59 PM, Daniel Kuecker <dan...@kuecker.net 
> > wrote:
>
>> I have a fresh 2.5.9 install with a db taken from a backup of another 
>> 2.5.9 install (basically a backup of my production instance).
>>
>> On the production instance, I am experiencing 100% cpu usage every time 
>> the update_index cron job runs causing my users to complain about 
>> responsiveness of the site.
>>
>> On my production system, the cron job shows it is indexing all the 
>> records in the user table while only the new records in the review requests 
>> table.
>>
>> For debugging, I restored the production db backup to my dev machine and 
>> set up a 2.5.9 instance pointing to it.  When update_index runs on the dev 
>> box (given the "-v 3" arg), I get the following warning: 
>>
>>>
>>> WARNING:py.warnings:/usr/lib/python2.7/site-packages/haystack/indexes.py:167:
>>>  
>>> UserWarning: No updated date field found for 'User' - not restricting by 
>>> age.
>>>   warnings.warn(update_field_msg)
>>> Indexing 1971 users
>>>   indexed 1 - 1000 of 1971 (by 16819).
>>>   indexed 1001 - 1971 of 1971 (by 16819).
>>
>>
>> It then proceeds to index the entire user table and only the changed 
>> review requests just as my production instance does.
>>
>> I have run the rebuild_index command on both systems.
>>
>> Am I missing something?  I have the cron job set to run ever 1/2 hour and 
>> am about to have to turn search indexing off to ensure the site is 
>> responsive.
>>
>> --DK
>>
>>
>>
>> -- 
>> 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.


  1   2   >