Re: Issues with document review in Powerpack

2015-03-19 Thread Johan Borkhuis
Christian,

I updated the installation, and now everything is looking fine. Thanks for 
the quick response!

Regards,
Johan Borkhuis


On Thursday, March 19, 2015 at 1:53:47 AM UTC+1, Christian Hammond wrote:

 Hi Johan,

 Go ahead and upgrade both Djblets and Power Pack:

 sudo easy_install -U Djblets ReviewBoardPowerPack

 And restart Apache. Things should be working now. Let me know if that's 
 not the case :)

 Thanks for your patience!

 Christian

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

 On Wed, Mar 18, 2015 at 3:26 PM, Christian Hammond chri...@beanbaginc.com 
 javascript: wrote:

 Hi,

 I found the problem. I'll be working on getting new Djblets and Power 
 Pack releases out today that fix it.

 Christian

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

 On Wed, Mar 18, 2015 at 2:47 PM, Christian Hammond 
 chri...@beanbaginc.com javascript: wrote:

 Hi Johan,

 Glad I wasn't totally imagining things, but I realize now that that was 
 our build machine's file path we're seeing.

 It does look like commenting here has regressed. I'm looking into it, 
 and will let you know what I find out.

 Christian

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

 On Wed, Mar 18, 2015 at 8:03 AM, Johan Borkhuis bork...@gmail.com 
 javascript: wrote:

 Christian,

 I did install python-imaging, and updated ReviewBoard and PowerPack 
 (and also did an rb-site upgrade and restart of Apache) and now I get the 
 image on the review-page. Also the Loading... at the top is gone and no 
 errors are reported anymore.

 But creating a review-comments is still not possible. I still get an 
 Error saving comment: HTTP 500 INTERNAL SERVER ERROR. But there are no 
 messages in the reviewboard log, and also no errors in the Apache log 
 (except for the HTTP 500 message).

 BTW: I now saw where your reference to OSX came from, in the logfile.

 Regards,
 Johan


 On Wednesday, March 18, 2015 at 12:24:41 PM UTC+1, Johan Borkhuis wrote:

 Christian,

 3 AM is not the best time for things like this (I know from my own 
 experience :-), but I really appreciate the help. I will start looking 
 into 
 the direction you indicated, and if I have any additional info I will 
 share 
 that.

 Regards,
 Johan Borkhuis


 On Wednesday, March 18, 2015 at 11:16:44 AM UTC+1, Christian Hammond 
 wrote:

 Hi Johan, 

 My apologies. I thought I read an OSX-related path in that output 
 (which had confused me), but I must have been looking at something else. 
 (It's 3AM here now -- I'm pretty tired.) 

 Okay, given that it's Debian, what I'd suggest is seeing if there's a 
 newer PIL or Pillow package that you can apt-get. This likely will have 
 the 
 right modules compiled. 

 Failing that, what you'd want to do is remove PIL from the system, 
 then ensure you have the development packages needed to build Pillow. 
 These 
 instructions should serve as a starting point: 

 http://pillow.readthedocs.org/en/latest/installation.html#
 linux-installation 

 You can then install Pillow using easy_install or pip install. As 
 part of the install process, it will compile Pillow against those 
 modules, 
 and give you a summary of what decoders are included and what are 
 missing. 

 Once you have an upgraded version, restart Apache and give it another 
 try. It should begin to work. 

 If you still have problems, I'll be happy to help out with them after 
 I get some sleep :) 

 Christian 

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

 -Original Message- 
 From: Johan Borkhuis bork...@gmail.com 
 Reply: Johan Borkhuis bork...@gmail.com 
 Date: March 18, 2015 at 2:29:39 AM 
 To: revie...@googlegroups.com revie...@googlegroups.com 
 Cc: bork...@gmail.com bork...@gmail.com, chri...@beanbaginc.com 
 chri...@beanbaginc.com 
 Subject:  Re: Issues with document review in Powerpack 

  Christian, 

  I have PIL-1.1.7-py2.7-linux-i686.egg installed. We are not using 
 OS X, we 
  are running on a Debian 7.4 host. 

  The following packages are installed (I skipped Django, Djblets and 
  ReviewBoard packages): 
  docutils-0.11-py2.7.egg 
  easy-install.pth 
  ecdsa-0.10-py2.7.egg 
  feedparser-5.1.3-py2.7.egg 
  futures-2.1.6-py2.7.egg 
  Markdown-2.4.1-py2.7.egg 
  Markdown-2.4-py2.7.egg 
  mimeparse-0.1.3-py2.7.egg 
  paramiko-1.12.2-py2.7.egg 
  PIL-1.1.7-py2.7-linux-i686.egg 
  pillowfight-0.2-py2.7.egg 
  pycrypto-2.6.1-py2.7-linux-i686.egg 
  Pygments-1.6-py2.7.egg 
  python_dateutil-1.5-py2.7.egg 
  python_memcached-1.53-py2.7.egg 
  python_ntlm-1.1.0-py2.7.egg 
  pytz-2013.9-py2.7.egg 
  rbnotefield-1.0-py2.7.egg 
  

Re: Issues with document review in Powerpack

2015-03-19 Thread Christian Hammond
Hi Johan,

Glad it works! We'll be officially releasing/announcing that build tomorrow.

Thanks for sanity-checking that it works :)

Christian 

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

-Original Message-
From: Johan Borkhuis borkh...@gmail.com
Reply: Johan Borkhuis borkh...@gmail.com
Date: March 19, 2015 at 12:42:30 AM
To: reviewboard@googlegroups.com reviewboard@googlegroups.com
Cc: borkh...@gmail.com borkh...@gmail.com, christ...@beanbaginc.com 
christ...@beanbaginc.com
Subject:  Re: Issues with document review in Powerpack

 Christian,
  
 I updated the installation, and now everything is looking fine. Thanks for
 the quick response!
  
 Regards,
 Johan Borkhuis
  
  
 On Thursday, March 19, 2015 at 1:53:47 AM UTC+1, Christian Hammond wrote:
 
  Hi Johan,
 
  Go ahead and upgrade both Djblets and Power Pack:
 
  sudo easy_install -U Djblets ReviewBoardPowerPack
 
  And restart Apache. Things should be working now. Let me know if that's
  not the case :)
 
  Thanks for your patience!
 
  Christian
 
  --
  Christian Hammond - chri...@beanbaginc.com  
  Review Board - http://www.reviewboard.org
  Beanbag, Inc. - http://www.beanbaginc.com
 
  On Wed, Mar 18, 2015 at 3:26 PM, Christian Hammondwrote:
 
  Hi,
 
  I found the problem. I'll be working on getting new Djblets and Power
  Pack releases out today that fix it.
 
  Christian
 
  --
  Christian Hammond - chri...@beanbaginc.com  
  Review Board - http://www.reviewboard.org
  Beanbag, Inc. - http://www.beanbaginc.com
 
  On Wed, Mar 18, 2015 at 2:47 PM, Christian Hammond 
  chri...@beanbaginc.com  wrote:
 
  Hi Johan,
 
  Glad I wasn't totally imagining things, but I realize now that that was
  our build machine's file path we're seeing.
 
  It does look like commenting here has regressed. I'm looking into it,
  and will let you know what I find out.
 
  Christian
 
  --
  Christian Hammond - chri...@beanbaginc.com  
  Review Board - http://www.reviewboard.org
  Beanbag, Inc. - http://www.beanbaginc.com
 
  On Wed, Mar 18, 2015 at 8:03 AM, Johan Borkhuiswrote:
 
  Christian,
 
  I did install python-imaging, and updated ReviewBoard and PowerPack
  (and also did an rb-site upgrade and restart of Apache) and now I get the
  image on the review-page. Also the Loading... at the top is gone and no
  errors are reported anymore.
 
  But creating a review-comments is still not possible. I still get an
  Error saving comment: HTTP 500 INTERNAL SERVER ERROR. But there are no
  messages in the reviewboard log, and also no errors in the Apache log
  (except for the HTTP 500 message).
 
  BTW: I now saw where your reference to OSX came from, in the logfile.
 
  Regards,
  Johan
 
 
  On Wednesday, March 18, 2015 at 12:24:41 PM UTC+1, Johan Borkhuis wrote:
 
  Christian,
 
  3 AM is not the best time for things like this (I know from my own
  experience :-), but I really appreciate the help. I will start looking 
  into
  the direction you indicated, and if I have any additional info I will 
  share
  that.
 
  Regards,
  Johan Borkhuis
 
 
  On Wednesday, March 18, 2015 at 11:16:44 AM UTC+1, Christian Hammond
  wrote:
 
  Hi Johan,
 
  My apologies. I thought I read an OSX-related path in that output
  (which had confused me), but I must have been looking at something 
  else.
  (It's 3AM here now -- I'm pretty tired.)
 
  Okay, given that it's Debian, what I'd suggest is seeing if there's a
  newer PIL or Pillow package that you can apt-get. This likely will 
  have the
  right modules compiled.
 
  Failing that, what you'd want to do is remove PIL from the system,
  then ensure you have the development packages needed to build Pillow. 
  These
  instructions should serve as a starting point:
 
  http://pillow.readthedocs.org/en/latest/installation.html#
  linux-installation
 
  You can then install Pillow using easy_install or pip install. As
  part of the install process, it will compile Pillow against those 
  modules,
  and give you a summary of what decoders are included and what are 
  missing.
 
  Once you have an upgraded version, restart Apache and give it another
  try. It should begin to work.
 
  If you still have problems, I'll be happy to help out with them after
  I get some sleep :)
 
  Christian
 
  --
  Christian Hammond - chri...@beanbaginc.com
  Review Board - https://www.reviewboard.org
  Beanbag, Inc. - https://www.beanbaginc.com
 
  -Original Message-
  From: Johan Borkhuis  
  Reply: Johan Borkhuis 
  Date: March 18, 2015 at 2:29:39 AM
  To: revie...@googlegroups.com 
  Cc: bork...@gmail.com , chri...@beanbaginc.com 
  chri...@beanbaginc.com
  Subject: Re: Issues with document review in Powerpack
 
   Christian,
  
   I have PIL-1.1.7-py2.7-linux-i686.egg installed. We are not using
  OS X, we
   are running on a Debian 7.4 host.
  
   The following packages are installed (I skipped Django, Djblets and
   

Re: 500 error when superuser attempts to access admin console

2015-03-19 Thread Christian Hammond
Hi Steve,

Just to check, if you go to the main Review Board dashboard (not the admin 
dashboard), and then come back, does it work?

There's very clearly a bug here, which I'll get fixed up.

What you can do to work around this, if the above does not work, is to edit 
your user profile in the database editor, and where it says Extra Data, set the 
content to: {}

Christian

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

-Original Message-
From: Steve seide.al...@gmail.com
Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com
Date: March 19, 2015 at 10:58:21 AM
To: reviewboard@googlegroups.com reviewboard@googlegroups.com
Subject:  500 error when superuser attempts to access admin console

 I've created a fresh RB 2.0.15 instance on 2 test machines (Fedora 20 and
 LUbuntu 14.10). On both machines, I created an 'admin' user when I created
 the site. As admin, I created a user account for myself, 'sallan', and
 checked the 'Staff status' and 'Superuser status' boxes. Then I logged out
 as admin and logged in as sallan. I can see my dashboard fine, but when I
 attempt to go to the admin console, I get a 500 error. The log file has
 this error message:
  
 2015-03-19 17:42:34,670 - ERROR - - Exception thrown for user sallan at
 http://tamaki/admin/
  
 'NoneType' object has no attribute 'get'
 Traceback (most recent call last):
 File
 /usr/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/handlers/base.py,
   
 line 112, in get_response
 response = wrapped_callback(request, *callback_args, **callback_kwargs)
 File
 /usr/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/contrib/admin/views/decorators.py,
   
 line 17, in _checkl\
 ogin
 return view_func(request, *args, **kwargs)
 File
 /usr/lib/python2.7/site-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/admin/views.py,
   
 line 39, in dashboard
 primary_widget_positions = profile_data.get('primary_widget_positions')
 AttributeError: 'NoneType' object has no attribute 'get'
  
 Here's what my account looks like in the db:
  
 is_superuser: 1
 username: sallan
 first_name: Steve
 last_name: Allan
 email: hidden
 is_staff: 1
 is_active: 1
 date_joined: 2015-03-17 22:27:38
  
 Other info:
  
 $ python -V
 Python 2.7.5
  
 $ rb-site --version
 rb-site 2.0.15
  
 $ mysql --version
 mysql Ver 14.14 Distrib 5.5.38, for Linux (x86_64) using readline 5.1
  
  
 Has anyone else encountered this or have suggestions on how to troubleshoot
 the problem?
  
 Thanks
  
 --Steve
  
 --
 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: Issue 3731 in reviewboard: Make it possible to selectively activate and deactivate ExtensionHooks

2015-03-19 Thread reviewboard


Comment #1 on issue 3731 by chip...@gmail.com: Make it possible to  
selectively activate and deactivate ExtensionHooks

https://code.google.com/p/reviewboard/issues/detail?id=3731

Most things have an applies_to() that, at least for Power Pack, we use to  
test if the extension should be currently used. I think that's the way to  
go, ideally, since you sometimes need something more fine-grained than  
on/off.


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

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


Issue 3815 in reviewboard: rbt setup-repo failed with ClearCase (Namespace has no attr revision_range)

2015-03-19 Thread reviewboard

Status: New
Owner: 
Labels: Type-Defect Priority-Medium

New issue 3815 by dell...@gmail.com: rbt setup-repo failed with ClearCase  
(Namespace has no attr revision_range)

https://code.google.com/p/reviewboard/issues/detail?id=3815

What version are you running?
ReviewBoard: 2.0.11
Rbtools: 0.7.2
ClearCase Win client: 8.0.1.4

What's the URL of the page containing the problem?
When running rbt setup-repo

What steps will reproduce the problem?
1. Create a ClearCase repo in ReviewBoard
2. Install rbtools on Windows
3. Run rbt setup-repo --debug under a ClearCase VOB

What is the expected output? What do you see instead?
Expect the repo to be setup.
I see this:

Checking for a Subversion repository...
Unable to execute svn help: skipping SVN
Checking for a Git repository...
Unable to execute git --help or git.cmd --help: skipping Git
Checking for a Mercurial repository...
Unable to execute hg --help: skipping Mercurial
Checking for a CVS repository...
Unable to execute cvs: skipping CVS
Checking for a Perforce repository...
Unable to execute p4 help: skipping Perforce
Checking for a Plastic repository...
Unable to execute cm version: skipping Plastic
Checking for a ClearCase repository...
Running: cleartool pwv -short
Running: diff --version
Running: cleartool lsview -full -properties -cview
Running: cleartool describe -short vob:.
Running: cleartool pwv -root
repository info: Path: Z:\srcCMTE, Base path: Z:\srcCMTE, Supports  
changeset

s: False
Traceback (most recent call last):
  File C:\Program Files  
(x86)\RBTools\bin\..\Python27\Scripts\rbt-script.py, l

ine 8, in module
load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
  File C:\Program Files  
(x86)\RBTools\Python27\lib\site-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 C:\Program Files  
(x86)\RBTools\Python27\lib\site-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 C:\Program Files  
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.2-

py2.7.egg\rbtools\commands\setup_repo.py, line 109, in main
repository_info, tool = self.initialize_scm_tool()
  File C:\Program Files  
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.2-

py2.7.egg\rbtools\commands\__init__.py, line 587, in initialize_scm_tool
tool.check_options()
  File C:\Program Files  
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.2-

py2.7.egg\rbtools\clients\clearcase.py, line 260, in check_options
if ((self.options.revision_range or self.options.tracking)
AttributeError: 'Namespace' object has no attribute 'revision_range'


What operating system are you using? What browser?
Windows 7
IE

Please provide any additional information below.
As above.



--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

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


Issue 3814 in reviewboard: AttributeError: 'Namespace' object has no attribute 'revision_range'

2015-03-19 Thread reviewboard

Status: New
Owner: 
Labels: Type-Defect Priority-Medium

New issue 3814 by dell...@gmail.com: AttributeError: 'Namespace' object has  
no attribute 'revision_range'

https://code.google.com/p/reviewboard/issues/detail?id=3814

*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
*** rejected.
***
*** If you have a security issue to report, please send it confidentially
to
*** secur...@reviewboard.org. Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
***
*** For customer support, please post to reviewbo...@googlegroups.com
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** This bug tracker is public. Please check that any logs or other
information
*** that you include has been stripped of confidential information.


What version are you running?
ReviewBoard: 2.0.11
Rbtools: 0.7.2
ClearCase Win client: 8.0.1.4

What's the URL of the page containing the problem?
When running rbt setup-repo

What steps will reproduce the problem?
1. Create a ClearCase repo in ReviewBoard
2. Install rbtools on Windows
3. Run rbt setup-repo --debug under a ClearCase VOB

What is the expected output? What do you see instead?
Expect the repo to be setup.
I see this:

Checking for a Subversion repository...
Unable to execute svn help: skipping SVN
Checking for a Git repository...
Unable to execute git --help or git.cmd --help: skipping Git
Checking for a Mercurial repository...
Unable to execute hg --help: skipping Mercurial
Checking for a CVS repository...
Unable to execute cvs: skipping CVS
Checking for a Perforce repository...
Unable to execute p4 help: skipping Perforce
Checking for a Plastic repository...
Unable to execute cm version: skipping Plastic
Checking for a ClearCase repository...
Running: cleartool pwv -short
Running: diff --version
Running: cleartool lsview -full -properties -cview
Running: cleartool describe -short vob:.
Running: cleartool pwv -root
repository info: Path: Z:\srcCMTE, Base path: Z:\srcCMTE, Supports  
changeset

s: False
Traceback (most recent call last):
  File C:\Program Files  
(x86)\RBTools\bin\..\Python27\Scripts\rbt-script.py, l

ine 8, in module
load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
  File C:\Program Files  
(x86)\RBTools\Python27\lib\site-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 C:\Program Files  
(x86)\RBTools\Python27\lib\site-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 C:\Program Files  
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.2-

py2.7.egg\rbtools\commands\setup_repo.py, line 109, in main
repository_info, tool = self.initialize_scm_tool()
  File C:\Program Files  
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.2-

py2.7.egg\rbtools\commands\__init__.py, line 587, in initialize_scm_tool
tool.check_options()
  File C:\Program Files  
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.2-

py2.7.egg\rbtools\clients\clearcase.py, line 260, in check_options
if ((self.options.revision_range or self.options.tracking)
AttributeError: 'Namespace' object has no attribute 'revision_range'


What operating system are you using? What browser?
Windows 7
IE

Please provide any additional information below.
As above.


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

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


Re: Issue 825 in reviewboard: Support for Microsoft Team Services/Team Foundation repositories

2015-03-19 Thread reviewboard

Updates:
Status: Fixed

Comment #2 on issue 825 by chip...@gmail.com: Support for Microsoft Team  
Services/Team Foundation repositories

https://code.google.com/p/reviewboard/issues/detail?id=825

This is now provided by Power Pack (https://www.reviewboard.org/powerpack/)

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

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


Re: Issue 3815 in reviewboard: rbt setup-repo failed with ClearCase (Namespace has no attr revision_range)

2015-03-19 Thread reviewboard

Updates:
Status: Duplicate
Mergedinto: 3814

Comment #1 on issue 3815 by trowb...@gmail.com: rbt setup-repo failed with  
ClearCase (Namespace has no attr revision_range)

https://code.google.com/p/reviewboard/issues/detail?id=3815

(No comment was entered for this change.)

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

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


Re: Issue 3814 in reviewboard: AttributeError: 'Namespace' object has no attribute 'revision_range'

2015-03-19 Thread reviewboard


Comment #1 on issue 3814 by trowb...@gmail.com: AttributeError: 'Namespace'  
object has no attribute 'revision_range'

https://code.google.com/p/reviewboard/issues/detail?id=3814

Issue 3815 has been merged into this issue.

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

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


500 error when superuser attempts to access admin console

2015-03-19 Thread Steve
I've created a fresh RB 2.0.15 instance on 2 test machines (Fedora 20 and 
LUbuntu 14.10).  On both machines, I created an 'admin' user when I created 
the site. As admin, I created a user account for myself, 'sallan', and 
checked the 'Staff status' and 'Superuser status' boxes.  Then I logged out 
as admin and logged in as sallan.  I can see my dashboard fine, but when I 
attempt to go to the admin console, I get a 500 error.  The log file has 
this error message:

2015-03-19 17:42:34,670 - ERROR -  - Exception thrown for user sallan at 
http://tamaki/admin/

'NoneType' object has no attribute 'get'
Traceback (most recent call last):
  File 
/usr/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/handlers/base.py,
 
line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File 
/usr/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/contrib/admin/views/decorators.py,
 
line 17, in _checkl\
ogin
return view_func(request, *args, **kwargs)
  File 
/usr/lib/python2.7/site-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/admin/views.py,
 
line 39, in dashboard
primary_widget_positions = profile_data.get('primary_widget_positions')
AttributeError: 'NoneType' object has no attribute 'get'

Here's what my account looks like in the db:

is_superuser: 1
username: sallan
  first_name: Steve
   last_name: Allan
   email: hidden
   is_staff: 1
   is_active: 1
 date_joined: 2015-03-17 22:27:38

Other info:

$ python -V
Python 2.7.5

$ rb-site --version
rb-site 2.0.15

$ mysql --version
mysql  Ver 14.14 Distrib 5.5.38, for Linux (x86_64) using readline 5.1


Has anyone else encountered this or have suggestions on how to troubleshoot 
the problem? 

Thanks

--Steve

-- 
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: Search doesn't work

2015-03-19 Thread Ian
I'm searching for a ticket number, it's just a 9 digit number.  Checked the 
ownership, it's _www so that seems correct (that's the name of the apache 
user on OS X).

Ian

On Wednesday, March 18, 2015 at 7:14:45 PM UTC-7, MoonWalker wrote:

 make sure that you still have www-data as a user/grp on 
 /var/www/YOUR_RB_LOCATION/data. 

 On Wednesday, March 18, 2015 at 5:35:14 AM UTC+11, Christian Hammond wrote:

 Hi Ian,

 Can you show me an example search term that's causing this? I'm not 
 hitting this problem in my testing.

 Christian

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

 On Tue, Mar 17, 2015 at 11:29 AM, Ian iand...@mac.com wrote:

 Search doesn't want to work on my 2.0.15 installation.  I 
 did rebuild_index which worked for the first time ever (all of our reviews 
 belong to private review groups).  But when I actually try to search I get 
 a 500 error and then the server emails me this.

 Traceback (most recent call last):

  File 
 /Library/Python/2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/handlers/base.py,
  
 line 112, in get_response
response = wrapped_callback(request, *callback_args, 
 **callback_kwargs)

  File 
 /Library/Python/2.7/site-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/accounts/decorators.py,
  
 line 21, in _check
return login_required(view_func)(*args, **kwargs)

  File 
 /Library/Python/2.7/site-packages/Django-1.6.10-py2.7.egg/django/contrib/auth/decorators.py,
  
 line 22, in _wrapped_view
return view_func(request, *args, **kwargs)

  File 
 /Library/Python/2.7/site-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/site/decorators.py,
  
 line 35, in _check
return view_func(request, local_site=local_site, *args, **kwargs)

  File 
 /Library/Python/2.7/site-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/search/views.py,
  
 line 221, in search
return search_view(*args, **kwargs)

  File 
 /Library/Python/2.7/site-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/search/views.py,
  
 line 83, in __call__
return super(RBSearchView, self).__call__(request)

  File 
 /Library/Python/2.7/site-packages/django_haystack-2.1.0-py2.7.egg/haystack/views.py,
  
 line 50, in __call__
return self.create_response()

  File 
 /Library/Python/2.7/site-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/search/views.py,
  
 line 209, in create_response
context.update(self.extra_context())

  File 
 /Library/Python/2.7/site-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/search/views.py,
  
 line 180, in extra_context
for filter_type in self.FILTER_TYPES

 AttributeError: 'RBSearchView' object has no attribute 'active_filters'

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