Re: Email All Reviewboard Users

2014-07-01 Thread Jothiram Selvam
David,

It will be a good feature for review board if the admin wants send an email
to all registered users. Please consider it for future releases.

For now, I can extract all the email addresses and send them the email.

Best regards,
Joe.



On Tue, Jul 1, 2014 at 2:17 AM, David Trowbridge trowb...@gmail.com wrote:

 Joe,

 There's no such feature to do this. You could extract a list of e-mail
 addresses through the database or the python console.

 -David


 On Mon, Jun 30, 2014 at 7:12 AM, Joe jothira...@gmail.com wrote:

  Hello,

 In our review board we have 200+ users. As a admin, I want to send an
 email to all these users. Is there any way to do it from within reviewboard.

 We use RB 1.7.22

 Best regards,
 Joe.

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

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


  --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups reviewboard group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/reviewboard/JfnHvv-C-Ow/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.


-- 
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: RB website showing only directory listing

2014-07-01 Thread shravanthi s
I created a symbolic link as suggested

ln -s /var/www/mytest.example.com/conf/apache-wsgi.conf 
/etc/httpd/conf.d/reviewboard.conf 
http://mytest.example.com/conf/apache-wsgi.conf/etc/httpd/conf.d/reviewboard.conf
 

But now am seeing RHEL test page when i try to access the website. The only 
difference in this environment from my previous installations is that 
/var/www is a separate mount or file system on this machine as we needed 
more space in this path. Does that matter to review board installation?

On Thursday, 26 June 2014 21:23:34 UTC+5:30, shravanthi s wrote:

 I installed RB 2.0 version on a RHEL 6.5 . I installed all the pre 
 requisites and created RB site and added the line in 
 /etc/httpd/conf/httpd.conf

 Include /var/www/mytest.example.com/conf/apache-wsgi.conf

 Everything else in httpd.conf is default settings. But am only seeing the 
 directory listing when i browse the website. Is there some other change in 
 httpd.conf that i need to do? i have installed review board on another 
 machine before (older version of course) and it did not need any further 
 changes. 

 Why am i seeing only directory listing when i browse the website? Should i 
 change the document root or something?





-- 
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: RB website showing only directory listing

2014-07-01 Thread Stephen Gallagher
On 07/01/2014 08:41 AM, shravanthi s wrote:
 I created a symbolic link as suggested
 
 ln -s /var/www/mytest.example.com/conf/apache-wsgi.conf 
 /etc/httpd/conf.d/reviewboard.conf
 http://mytest.example.com/conf/apache-wsgi.conf/etc/httpd/conf.d/reviewboard.conf
  
 
 But now am seeing RHEL test page when i try to access the website. The
 only difference in this environment from my previous installations is
 that /var/www is a separate mount or file system on this machine as we
 needed more space in this path. Does that matter to review board
 installation?


Could you please attach apache-wsgi.conf so we could see what is wrong
with it?


Also, make sure that you are not ALSO doing 'include /var/www/' in
httpd.conf

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


Re: Error 500 on new 2.0.2 install

2014-07-01 Thread Stephen Gallagher
On 06/30/2014 05:30 PM, Jacek Furmankiewicz wrote:
 All is OK. I think there was something wrong with the copy of
 ReviewBoard that is included in the CentOS repos (1.7.6).
 
 I did a clean reinstall from easy_install for the 2.0.2 and everything
 went fine.
 

CentOS 6 has access to 1.7.26... If you only had 1.7.6, something was
wrong there.

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


Re: Error 500 on new 2.0.2 install

2014-07-01 Thread Stephen Gallagher
On 07/01/2014 12:47 PM, Stephen Gallagher wrote:
 On 06/30/2014 05:30 PM, Jacek Furmankiewicz wrote:
 All is OK. I think there was something wrong with the copy of
 ReviewBoard that is included in the CentOS repos (1.7.6).

 I did a clean reinstall from easy_install for the 2.0.2 and everything
 went fine.

 
 CentOS 6 has access to 1.7.26... If you only had 1.7.6, something was
 wrong there.
 

Reading back, I see you were trying with 1.7.26. I'm surprised... I've
tested that with RHEL 6 on many occasions. I'd like to figure out what's
broken there, but if you're happy on 2.0.2, don't worry about it.

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


Upgrade to 2.0.2 Failed

2014-07-01 Thread Andrew Hills (anhills)
Hi all,

During an upgrade from 1.7.21 to 2.0.2, rb-site upgrade hung. I killed it, and 
running it again yields the error below, and now no combination of versions 
works. My last database backup is not so very old, but I'd really rather not 
lose anything if it's possible to avoid it. (The upgrade on the staging server 
worked flawlessly; I don't know what's different here.) Is there any way to 
apply the evolutions that are missing using the rb-site upgrade mechanism, or 
will I need to resort to applying the schema manually?

-- begin log output --
Creating tables ...
Upgrading Review Board from 2.0 to 2.0.2
There are unapplied evolutions for auth.
There are unapplied evolutions for contenttypes.
There are unapplied evolutions for accounts.
There are unapplied evolutions for attachments.
There are unapplied evolutions for changedescs.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for hostingsvcs.
There are unapplied evolutions for reviews.
There are unapplied evolutions for scmtools.
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
CommandError: Error applying evolution: (1054, Unknown column 'show_submitted' 
in 'accounts_profile')

Thanks,
Andrew

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


Re: Error 500 on new 2.0.2 install

2014-07-01 Thread Jacek Furmankiewicz
Yes, I am OK now.

Now, it was the first time I was trying to reinstall RB in 1.5 years, so I
may have messed something up.

But a fresh install with 2.0.2 worked like a charm, all is good.

Thank you for all your help.


On Tue, Jul 1, 2014 at 11:49 AM, Stephen Gallagher 
step...@gallagherhome.com wrote:

 On 07/01/2014 12:47 PM, Stephen Gallagher wrote:
  On 06/30/2014 05:30 PM, Jacek Furmankiewicz wrote:
  All is OK. I think there was something wrong with the copy of
  ReviewBoard that is included in the CentOS repos (1.7.6).
 
  I did a clean reinstall from easy_install for the 2.0.2 and everything
  went fine.
 
 
  CentOS 6 has access to 1.7.26... If you only had 1.7.6, something was
  wrong there.
 

 Reading back, I see you were trying with 1.7.26. I'm surprised... I've
 tested that with RHEL 6 on many occasions. I'd like to figure out what's
 broken there, but if you're happy on 2.0.2, don't worry about it.

 --
 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 a topic in the
 Google Groups reviewboard group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/reviewboard/PsEvrQ4kaDw/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.


-- 
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: Upgrade to 2.0.2 Failed

2014-07-01 Thread Christian Hammond
Hi Andrew,

At what point did it hang? This looks very much like the process was killed 
while it was performing database migrations, which is not something you can 
easily recover from without a lot of manual surgery.

You said you upgraded from 1.7.21 to 2.0.2, but that log is showing 2.0 to 
2.0.2, with a handful of unapplied evolutions that I would only expect if 
coming from 1.7.21. Was the killed upgrade from 1.7.21 to 2.0?

Christian

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

On July 1, 2014 at 10:12:54 AM, Andrew Hills (anhills) (anhi...@cisco.com) 
wrote:

Hi all,  

During an upgrade from 1.7.21 to 2.0.2, rb-site upgrade hung. I killed it, and 
running it again yields the error below, and now no combination of versions 
works. My last database backup is not so very old, but I'd really rather not 
lose anything if it's possible to avoid it. (The upgrade on the staging server 
worked flawlessly; I don't know what's different here.) Is there any way to 
apply the evolutions that are missing using the rb-site upgrade mechanism, or 
will I need to resort to applying the schema manually?  

-- begin log output --  
Creating tables ...  
Upgrading Review Board from 2.0 to 2.0.2  
There are unapplied evolutions for auth.  
There are unapplied evolutions for contenttypes.  
There are unapplied evolutions for accounts.  
There are unapplied evolutions for attachments.  
There are unapplied evolutions for changedescs.  
There are unapplied evolutions for diffviewer.  
There are unapplied evolutions for hostingsvcs.  
There are unapplied evolutions for reviews.  
There are unapplied evolutions for scmtools.  
Project signature has changed - an evolution is required  
Installing custom SQL ...  
Installing indexes ...  
Installed 0 object(s) from 0 fixture(s)  
CommandError: Error applying evolution: (1054, Unknown column 'show_submitted' 
in 'accounts_profile')  

Thanks,  
Andrew  

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

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


create review

2014-07-01 Thread nidhi singh
Hello

I am new to review board and m trying to create a review on a project but 
no email is being sent to the reviewer. How should I proceed, please help me

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/d/optout.


Re: Search doesn't seem to work, when I try to index it says Indexing 0 review requests

2014-07-01 Thread Ian
Anyone have any ideas?  =\

On Thursday, June 26, 2014 4:25:29 PM UTC-7, Ian wrote:

 $ sudo -u _www rb-site manage /Library/Server/Web/Data/WebApps/ReviewBoard 
 rebuild_index -- -v 3
 WARNING: This will irreparably remove EVERYTHING from your search index in 
 connection 'default'.
 Your choices after this are to restore from backups or rebuild via the 
 `rebuild_index` command.
 Are you sure you wish to continue? [y/N] y
 Removing all documents from your index because you said so.
 All documents removed.
 Skipping 'class 'django.contrib.admin.models.LogEntry'' - no index.
 Skipping 'class 'django.contrib.auth.models.Permission'' - no index.
 Skipping 'class 'django.contrib.auth.models.Group'' - no index.
 Skipping 'class 'django.contrib.auth.models.User'' - no index.
 Skipping 'class 'django.contrib.contenttypes.models.ContentType'' - no 
 index.
 Skipping 'class 'django.contrib.sites.models.Site'' - no index.
 Skipping 'class 'django.contrib.sessions.models.Session'' - no index.
 Skipping 'class 'djblets.extensions.models.RegisteredExtension'' - no 
 index.
 Skipping 'class 'djblets.siteconfig.models.SiteConfiguration'' - no 
 index.
 Skipping 'class 'reviewboard.accounts.models.ReviewRequestVisit'' - no 
 index.
 Skipping 'class 'reviewboard.accounts.models.Profile'' - no index.
 Skipping 'class 'reviewboard.accounts.models.LocalSiteProfile'' - no 
 index.
 Skipping 'class 'django.contrib.admin.models.LogEntry'' - no index.
 Skipping 'class 'reviewboard.attachments.models.FileAttachment'' - no 
 index.
 Skipping 'class 'reviewboard.changedescs.models.ChangeDescription'' - no 
 index.
 Skipping 'class 'reviewboard.diffviewer.models.FileDiffData'' - no index.
 Skipping 'class 'reviewboard.diffviewer.models.FileDiff'' - no index.
 Skipping 'class 'reviewboard.diffviewer.models.DiffSet'' - no index.
 Skipping 'class 'reviewboard.diffviewer.models.DiffSetHistory'' - no 
 index.
 Skipping 'class 'djblets.extensions.models.RegisteredExtension'' - no 
 index.
 Skipping 'class 'reviewboard.hostingsvcs.models.HostingServiceAccount'' 
 - no index.
 Skipping 'class 'reviewboard.reviews.models.group.Group'' - no index.
 Skipping 'class 
 'reviewboard.reviews.models.default_reviewer.DefaultReviewer'' - no index.
 Skipping 'class 'reviewboard.reviews.models.diff_comment.Comment'' - no 
 index.
 Skipping 'class 
 'reviewboard.reviews.models.file_attachment_comment.FileAttachmentComment'' 
 - no index.
 Skipping 'class 'reviewboard.reviews.models.screenshot.Screenshot'' - no 
 index.
 Indexing 0 review requests
 Skipping 'class 
 'reviewboard.reviews.models.screenshot_comment.ScreenshotComment'' - no 
 index.
 Skipping 'class 'reviewboard.reviews.models.review.Review'' - no index.
 Skipping 'class 
 'reviewboard.reviews.models.review_request_draft.ReviewRequestDraft'' - no 
 index.
 Skipping 'class 'reviewboard.scmtools.models.Tool'' - no index.
 Skipping 'class 'reviewboard.scmtools.models.Repository'' - no index.
 Skipping 'class 'reviewboard.site.models.LocalSite'' - no index.
 Skipping 'class 'django_evolution.models.Version'' - no index.
 Skipping 'class 'django_evolution.models.Evolution'' - no index.

 On Thursday, June 26, 2014 4:09:50 PM UTC-7, Christian Hammond wrote:

 What does rebuild_index with -v 3 show?

 Christian

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

 On June 26, 2014 at 2:32:22 PM, Ian (iand...@mac.com) wrote:

  Looks like I have django_haystack-2.1.0-py2.7.egg 
 and Whoosh-2.6.0-py2.7.egg installed.
  
 Everything appears to be writable by the web server (_www). 

  $ ls -l /Library/Server/Web/Data/WebApps/ReviewBoard
 total 0
 drwxr-xr-x  2 root  admin  204 Dec  5  2013 conf
 drwxr-xr-x  4 _www  admin  136 Jun 26 02:06 data
 drwxr-xr-x  4 root  admin  204 Jun 19 13:00 htdocs
 drwxr-xr-x  2 root  admin   68 Dec  5  2013 logs
 drwxrwxrwx  3 root  admin  102 Dec  5  2013 tmp

 $ ls -l /Library/Server/Web/Data/WebApps/ReviewBoard/data
 total 0
 drwxr-xr-x  2 _www  admin  102 Jun 26 02:06 search-index

 $ ls -l /Library/Server/Web/Data/WebApps/ReviewBoard/data/search-index/
 total 8
 -rw-r--r--  1 _www  admin  3558 Jun 26 02:06 _MAIN_0.toc

 This is what -v 3 said.

  $ sudo -u _www rb-site manage 
 /Library/Server/Web/Data/WebApps/ReviewBoard update_index -- -v 3
 Skipping 'class 'django.contrib.admin.models.LogEntry'' - no index.
 Skipping 'class 'django.contrib.auth.models.Permission'' - no index.
 Skipping 'class 'django.contrib.auth.models.Group'' - no index.
 Skipping 'class 'django.contrib.auth.models.User'' - no index.
 Skipping 'class 'django.contrib.contenttypes.models.ContentType'' - no 
 index.
 Skipping 'class 'django.contrib.sites.models.Site'' - no index.
 Skipping 'class 'django.contrib.sessions.models.Session'' - no index.
 Skipping 'class 'djblets.extensions.models.RegisteredExtension'' - no 
 index.
 Skipping 'class 'djblets.siteconfig.models.SiteConfiguration'' - no 
 index.
 

Re: Search doesn't seem to work, when I try to index it says Indexing 0 review requests

2014-07-01 Thread Christian Hammond
Can you see what happens when you run this:

    $ rb-site manage /path/to/site shell
     from reviewboard.reviews.models import ReviewRequest
     from django.db.models import Q
     qs = ReviewRequest.objects.public(status=None, 
extra_status=Q(status=‘P’) | Q(status=’S’))
     qs = qs.select_related(‘submitter’, ‘diffset_history’)
     qs = qs.prefetch_related(‘diffset_history__diffsets__files’)
     print qs.count()

This is what it’s running when it’s trying to index the review requests, but 
it’s claiming it’s finding 0 results. I want to sanity-check this.

Christian

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

On July 1, 2014 at 11:25:02 AM, Ian (iander...@mac.com) wrote:

Anyone have any ideas?  =\

On Thursday, June 26, 2014 4:25:29 PM UTC-7, Ian wrote:
$ sudo -u _www rb-site manage /Library/Server/Web/Data/WebApps/ReviewBoard 
rebuild_index -- -v 3
WARNING: This will irreparably remove EVERYTHING from your search index in 
connection 'default'.
Your choices after this are to restore from backups or rebuild via the 
`rebuild_index` command.
Are you sure you wish to continue? [y/N] y
Removing all documents from your index because you said so.
All documents removed.
Skipping 'class 'django.contrib.admin.models.LogEntry'' - no index.
Skipping 'class 'django.contrib.auth.models.Permission'' - no index.
Skipping 'class 'django.contrib.auth.models.Group'' - no index.
Skipping 'class 'django.contrib.auth.models.User'' - no index.
Skipping 'class 'django.contrib.contenttypes.models.ContentType'' - no index.
Skipping 'class 'django.contrib.sites.models.Site'' - no index.
Skipping 'class 'django.contrib.sessions.models.Session'' - no index.
Skipping 'class 'djblets.extensions.models.RegisteredExtension'' - no index.
Skipping 'class 'djblets.siteconfig.models.SiteConfiguration'' - no index.
Skipping 'class 'reviewboard.accounts.models.ReviewRequestVisit'' - no index.
Skipping 'class 'reviewboard.accounts.models.Profile'' - no index.
Skipping 'class 'reviewboard.accounts.models.LocalSiteProfile'' - no index.
Skipping 'class 'django.contrib.admin.models.LogEntry'' - no index.
Skipping 'class 'reviewboard.attachments.models.FileAttachment'' - no index.
Skipping 'class 'reviewboard.changedescs.models.ChangeDescription'' - no 
index.
Skipping 'class 'reviewboard.diffviewer.models.FileDiffData'' - no index.
Skipping 'class 'reviewboard.diffviewer.models.FileDiff'' - no index.
Skipping 'class 'reviewboard.diffviewer.models.DiffSet'' - no index.
Skipping 'class 'reviewboard.diffviewer.models.DiffSetHistory'' - no index.
Skipping 'class 'djblets.extensions.models.RegisteredExtension'' - no index.
Skipping 'class 'reviewboard.hostingsvcs.models.HostingServiceAccount'' - no 
index.
Skipping 'class 'reviewboard.reviews.models.group.Group'' - no index.
Skipping 'class 
'reviewboard.reviews.models.default_reviewer.DefaultReviewer'' - no index.
Skipping 'class 'reviewboard.reviews.models.diff_comment.Comment'' - no index.
Skipping 'class 
'reviewboard.reviews.models.file_attachment_comment.FileAttachmentComment'' - 
no index.
Skipping 'class 'reviewboard.reviews.models.screenshot.Screenshot'' - no 
index.
Indexing 0 review requests
Skipping 'class 
'reviewboard.reviews.models.screenshot_comment.ScreenshotComment'' - no index.
Skipping 'class 'reviewboard.reviews.models.review.Review'' - no index.
Skipping 'class 
'reviewboard.reviews.models.review_request_draft.ReviewRequestDraft'' - no 
index.
Skipping 'class 'reviewboard.scmtools.models.Tool'' - no index.
Skipping 'class 'reviewboard.scmtools.models.Repository'' - no index.
Skipping 'class 'reviewboard.site.models.LocalSite'' - no index.
Skipping 'class 'django_evolution.models.Version'' - no index.
Skipping 'class 'django_evolution.models.Evolution'' - no index.

On Thursday, June 26, 2014 4:09:50 PM UTC-7, Christian Hammond wrote:
What does rebuild_index with -v 3 show?

Christian

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

On June 26, 2014 at 2:32:22 PM, Ian (iand...@mac.com) wrote:

Looks like I have django_haystack-2.1.0-py2.7.egg and Whoosh-2.6.0-py2.7.egg 
installed.

Everything appears to be writable by the web server (_www).

$ ls -l /Library/Server/Web/Data/WebApps/ReviewBoard
total 0
drwxr-xr-x  2 root  admin  204 Dec  5  2013 conf
drwxr-xr-x  4 _www  admin  136 Jun 26 02:06 data
drwxr-xr-x  4 root  admin  204 Jun 19 13:00 htdocs
drwxr-xr-x  2 root  admin   68 Dec  5  2013 logs
drwxrwxrwx  3 root  admin  102 Dec  5  2013 tmp

$ ls -l /Library/Server/Web/Data/WebApps/ReviewBoard/data
total 0
drwxr-xr-x  2 _www  admin  102 Jun 26 02:06 search-index

$ ls -l /Library/Server/Web/Data/WebApps/ReviewBoard/data/search-index/
total 8
-rw-r--r--  1 _www  admin  3558 Jun 26 02:06 _MAIN_0.toc

This is what -v 3 said.

$ sudo -u _www rb-site manage /Library/Server/Web/Data/WebApps/ReviewBoard 

Re: One of the files in the diff shows only one column missing the newer version

2014-07-01 Thread Christian Hammond
This is due to a very long string preventing it from wrapping, in combination 
with some CSS that prevented scrolling.

A proper fix to sanely wrap long lines is coming in 2.0.3 (this week).

Christian

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

On July 1, 2014 at 6:16:44 AM, Markus Grimm (m.gr...@adnymics.com) wrote:

Hi there,

we use Review Board in version 2.0.2 and are quite satisfied with the 
functionality, especially how the new version handles multiple diff revisions.

But in the last review, there is one file which gets not displayed correctly. 
The second column, which normally displays the new change of a file, is missing 
completely (see the picture appended to this post). It's the second review now 
where this happens and always with this file only (tests/results.txt). This is 
a file which stores the output of some module tests. We check it in to the 
repository to quickly verify in the review if a developer has added module 
tests for the feature he has written and to see if other module tests are still 
running. So it changes constantly in each repository branch and with each 
review revision. But in essence, it's just a text file which changes contents, 
just like other code files. No obvious reason to fail in displaying the new 
changes, at least not for me to see.

We use git repositories. I made this review with rbt post, edited a few code 
lines before publishing it, checked them in (also with a modified results.txt) 
and called rbt post -r review-id. So the diff hast still one revision. The 
new code lines show up correctly in the diff. I didn't check the diff of 
results.txt before calling rbt post a second time with the -r parameter, so I 
cannot tell if it's display was broken before, but I will do that in the next 
review where the bug appears.

Any suggestions about this? If there's anything you guys need to track down 
this bug further (logs etc.), please let me know.
--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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


Re: Email All Reviewboard Users

2014-07-01 Thread Christian Hammond
It’s something that can be considered, but I think it’s probably a better idea 
for an extension.

Christian

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

On July 1, 2014 at 5:23:13 AM, Jothiram Selvam (jothira...@gmail.com) wrote:

David,

It will be a good feature for review board if the admin wants send an email to 
all registered users. Please consider it for future releases.

For now, I can extract all the email addresses and send them the email.

Best regards,  
Joe.



On Tue, Jul 1, 2014 at 2:17 AM, David Trowbridge trowb...@gmail.com wrote:
Joe,

There's no such feature to do this. You could extract a list of e-mail 
addresses through the database or the python console.

-David


On Mon, Jun 30, 2014 at 7:12 AM, Joe jothira...@gmail.com wrote:
Hello,

In our review board we have 200+ users. As a admin, I want to send an email to 
all these users. Is there any way to do it from within reviewboard.

We use RB 1.7.22

Best regards,  
Joe.

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

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

--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this message because you are subscribed to a topic in the Google 
Groups reviewboard group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/reviewboard/JfnHvv-C-Ow/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.

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

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


Re: Upgrade to 2.0.2 Failed

2014-07-01 Thread Andrew Hills (anhills)
Hi Christian,

Yeah, sorry, I took it through a few versions before calling for help. The 
killed upgrade was 1.7.21 to 2.0.2. I'm willing to do the manual surgery--I've 
got the MySQL manual open--but I don't know where to start. My first thought 
was to create a new 2.0.2 installation and database and then take it table by 
table. If there's a way I can hijack the rb-site upgrade process, though, I'd 
prefer that option.

Thanks,
Andrew

On Jul 1, 2014, at 1:52 PM, Christian Hammond 
christ...@beanbaginc.commailto:christ...@beanbaginc.com wrote:

Hi Andrew,

At what point did it hang? This looks very much like the process was killed 
while it was performing database migrations, which is not something you can 
easily recover from without a lot of manual surgery.

You said you upgraded from 1.7.21 to 2.0.2, but that log is showing 2.0 to 
2.0.2, with a handful of unapplied evolutions that I would only expect if 
coming from 1.7.21. Was the killed upgrade from 1.7.21 to 2.0?

Christian

--
Christian Hammond - christ...@beanbaginc.commailto:christ...@beanbaginc.com
Review Board - http://www.reviewboard.orghttp://www.reviewboard.org/
Beanbag, Inc. - http://www.beanbaginc.comhttp://www.beanbaginc.com/


On July 1, 2014 at 10:12:54 AM, Andrew Hills (anhills) 
(anhi...@cisco.commailto:anhi...@cisco.com) wrote:

Hi all,

During an upgrade from 1.7.21 to 2.0.2, rb-site upgrade hung. I killed it, and 
running it again yields the error below, and now no combination of versions 
works. My last database backup is not so very old, but I'd really rather not 
lose anything if it's possible to avoid it. (The upgrade on the staging server 
worked flawlessly; I don't know what's different here.) Is there any way to 
apply the evolutions that are missing using the rb-site upgrade mechanism, or 
will I need to resort to applying the schema manually?

-- begin log output --
Creating tables ...
Upgrading Review Board from 2.0 to 2.0.2
There are unapplied evolutions for auth.
There are unapplied evolutions for contenttypes.
There are unapplied evolutions for accounts.
There are unapplied evolutions for attachments.
There are unapplied evolutions for changedescs.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for hostingsvcs.
There are unapplied evolutions for reviews.
There are unapplied evolutions for scmtools.
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
CommandError: Error applying evolution: (1054, Unknown column 'show_submitted' 
in 'accounts_profile')

Thanks,
Andrew

--
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.commailto:reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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


Re: Upgrade to 2.0.2 Failed

2014-07-01 Thread Christian Hammond
Hi Andrew,

The surgery, depending on when the process was killed, would require a lot of 
deep knowledge of how evolutions work, how they relate to the table changes, 
and some improvisation.

If you wanted to just try to re-create the database, you could try a new 
install and then dumping all the INSERTs from your old database, trying to 
restore them as best as possible under the new one. You will hit problems with 
missing columns, though, requiring that you hand-edit any referring to missing 
columns (and adjusting the data being inserted to match the equivalent columns 
from the table). There’s a lot of hard work to do there.

We can offer one-on-one assistance with getting your existing database back in 
shape, but that really falls into the realm of our support contracts. We can 
talk about that more in private if that’s of interest.

Christian

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

On July 1, 2014 at 11:38:33 AM, Andrew Hills (anhills) (anhi...@cisco.com) 
wrote:

Hi Christian,

Yeah, sorry, I took it through a few versions before calling for help. The 
killed upgrade was 1.7.21 to 2.0.2. I’m willing to do the manual surgery—I’ve 
got the MySQL manual open—but I don’t know where to start. My first thought was 
to create a new 2.0.2 installation and database and then take it table by 
table. If there’s a way I can hijack the rb-site upgrade process, though, I’d 
prefer that option.

Thanks,
Andrew

On Jul 1, 2014, at 1:52 PM, Christian Hammond christ...@beanbaginc.com wrote:

Hi Andrew,

At what point did it hang? This looks very much like the process was killed 
while it was performing database migrations, which is not something you can 
easily recover from without a lot of manual surgery.

You said you upgraded from 1.7.21 to 2.0.2, but that log is showing 2.0 to 
2.0.2, with a handful of unapplied evolutions that I would only expect if 
coming from 1.7.21. Was the killed upgrade from 1.7.21 to 2.0?

Christian

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

On July 1, 2014 at 10:12:54 AM, Andrew Hills (anhills) (anhi...@cisco.com) 
wrote:

Hi all, 

During an upgrade from 1.7.21 to 2.0.2, rb-site upgrade hung. I killed it, and 
running it again yields the error below, and now no combination of versions 
works. My last database backup is not so very old, but I'd really rather not 
lose anything if it's possible to avoid it. (The upgrade on the staging server 
worked flawlessly; I don't know what's different here.) Is there any way to 
apply the evolutions that are missing using the rb-site upgrade mechanism, or 
will I need to resort to applying the schema manually? 

-- begin log output -- 
Creating tables ... 
Upgrading Review Board from 2.0 to 2.0.2 
There are unapplied evolutions for auth. 
There are unapplied evolutions for contenttypes. 
There are unapplied evolutions for accounts. 
There are unapplied evolutions for attachments. 
There are unapplied evolutions for changedescs. 
There are unapplied evolutions for diffviewer. 
There are unapplied evolutions for hostingsvcs. 
There are unapplied evolutions for reviews. 
There are unapplied evolutions for scmtools. 
Project signature has changed - an evolution is required 
Installing custom SQL ... 
Installing indexes ... 
Installed 0 object(s) from 0 fixture(s) 
CommandError: Error applying evolution: (1054, Unknown column 'show_submitted' 
in 'accounts_profile') 

Thanks, 
Andrew 

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

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

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

Re: Problem with viewing diff with pre commit review.

2014-07-01 Thread Christian Hammond
This looks like a result of a bug we just fixed. It’ll go into 2.0.3 (this 
week).

Christian

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

On June 30, 2014 at 10:48:41 PM, Sudheendra S.N (sudhindra.ma...@gmail.com) 
wrote:

Hi, 

I have just installed the ReviewBoard, set it up to work with CVS repo. 

I just created a New Review Request using the diff/patch file i have  
generated from CVS. Contents of Patch file are as below.

Index: VPASServerConfigGlobals.h
===
RCS file: /cvs/repository/dir/dir/dirVPASServerConfigGlobals.h,v
retrieving revision 1.15.56.5.4.1.10.2.4.1.6.4
diff -u -r1.15.56.5.4.1.10.2.4.1.6.4 VPASServerConfigGlobals.h
--- VPASServerConfigGlobals.h 13 Jun 2014 11:23:35 - 
1.15.56.5.4.1.10.2.4.1.6.4
+++ VPASServerConfigGlobals.h 30 Jun 2014 08:56:45 -
@@ -35,7 +35,7 @@
 
-#define VPASSERVERCONFIG_VERSION 7.4.1
+#define VPASSERVERCONFIG_VERSION 7.4
 
 #define WEBXML WEB-INF\\web.xml
 #define CLASSES \\webapps\\vpas\\web-inf\\classes\\


After creating the review request when i click on ViewDiff, i am getting the 
error below.
The file 'cvs/repository/dir/dir/dir/Attic/VPASServerConfigGlobals.h' 
(r1.15.56.5.4.1.10.2.4.1.6.4) could not be found in the repository

I see there is extra directory name Attic in between.

Please help me in resolving this error. I have to get this up by today EOD.

Thanks,
Sudheendra.

And here is the TraceBack


Traceback (most recent call last):
  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/diffviewer/views.py,
 line 236, in get
renderer = self.create_renderer(context, *args, **kwargs)
  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/reviews/views.py,
 line , in create_renderer
*args, **kwargs)
  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/diffviewer/views.py,
 line 326, in create_renderer
self.diff_file = self._get_requested_diff_file()
  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/diffviewer/views.py,
 line 367, in _get_requested_diff_file
request=self.request)
  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
 line 373, in populate_diff_chunks
chunks = generator.get_chunks()
  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/diffviewer/chunk_generator.py,
 line 148, in get_chunks
large_data=True)
  File 
/usr/lib/python2.6/site-packages/Djblets-0.8.5-py2.6.egg/djblets/cache/backend.py,
 line 109, in cache_memoize
data = lookup_callable()
  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/diffviewer/chunk_generator.py,
 line 147, in lambda
lambda: list(self._get_chunks_uncached()),
  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/diffviewer/chunk_generator.py,
 line 154, in _get_chunks_uncached
old = get_original_file(self.filediff, self.request, encoding_list)
  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
 line 169, in get_original_file
request=request)
  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/scmtools/models.py,
 line 220, in get_file
large_data=True)[0]
  File 
/usr/lib/python2.6/site-packages/Djblets-0.8.5-py2.6.egg/djblets/cache/backend.py,
 line 109, in cache_memoize
data = lookup_callable()
  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/scmtools/models.py,
 line 219, in lambda
request)],
  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/scmtools/models.py,
 line 379, in _get_file_uncached
data = self.get_scmtool().get_file(path, revision)
  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/scmtools/cvs.py,
 line 59, in get_file
return self.client.cat_file(path, revision)
  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/scmtools/cvs.py,
 line 278, in cat_file
return self._cat_specific_file(filenameAttic, revision)
  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.2-py2.6.egg/reviewboard/scmtools/cvs.py,
 line 316, in _cat_specific_file
raise FileNotFoundError(filename, revision)
FileNotFoundError: The file 
'cvs/repository/dir/dir/dir/Attic/VPASServerConfigGlobals.h' 
(r1.15.56.5.4.1.10.2.4.1.6.4) could not be found in the repository

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

Re: Search doesn't seem to work, when I try to index it says Indexing 0 review requests

2014-07-01 Thread Ian
I'm getting an error making qs.  Did I type it wrong?

$ sudo rb-site manage /Library/Server/Web/Data/WebApps/ReviewBoard shell
Python 2.7.5 (default, Mar  9 2014, 22:15:05) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type help, copyright, credits or license for more information.
(InteractiveConsole)
 from reviewboard.reviews.models import ReviewRequest
 from django.db.models import Q
 qs = ReviewRequest.objects.public(status=None, 
extra_status=Q(status='P') | Q(status='S'))
Traceback (most recent call last):
  File console, line 1, in module
  File 
/Library/Python/2.7/site-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/reviews/managers.py,
 
line 247, in public
return self._query(filter_private=filter_private, *args, **kwargs)
TypeError: _query() got an unexpected keyword argument 'extra_status'

On Tuesday, July 1, 2014 11:30:55 AM UTC-7, Christian Hammond wrote:

 Can you see what happens when you run this:

 $ rb-site manage /path/to/site shell
  from reviewboard.reviews.models import ReviewRequest
  from django.db.models import Q
  qs = ReviewRequest.objects.public(status=None, 
 extra_status=Q(status=‘P’) | Q(status=’S’))
  qs = qs.select_related(‘submitter’, ‘diffset_history’)
  qs = qs.prefetch_related(‘diffset_history__diffsets__files’)
  print qs.count()

 This is what it’s running when it’s trying to index the review requests, 
 but it’s claiming it’s finding 0 results. I want to sanity-check this.

 Christian

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

 On July 1, 2014 at 11:25:02 AM, Ian (iand...@mac.com javascript:) wrote:

 Anyone have any ideas?  =\

 On Thursday, June 26, 2014 4:25:29 PM UTC-7, Ian wrote: 

  $ sudo -u _www rb-site manage 
 /Library/Server/Web/Data/WebApps/ReviewBoard rebuild_index -- -v 3
 WARNING: This will irreparably remove EVERYTHING from your search index 
 in connection 'default'.
 Your choices after this are to restore from backups or rebuild via the 
 `rebuild_index` command.
 Are you sure you wish to continue? [y/N] y
 Removing all documents from your index because you said so.
 All documents removed.
 Skipping 'class 'django.contrib.admin.models.LogEntry'' - no index.
 Skipping 'class 'django.contrib.auth.models.Permission'' - no index.
 Skipping 'class 'django.contrib.auth.models.Group'' - no index.
 Skipping 'class 'django.contrib.auth.models.User'' - no index.
 Skipping 'class 'django.contrib.contenttypes.models.ContentType'' - no 
 index.
 Skipping 'class 'django.contrib.sites.models.Site'' - no index.
 Skipping 'class 'django.contrib.sessions.models.Session'' - no index.
 Skipping 'class 'djblets.extensions.models.RegisteredExtension'' - no 
 index.
 Skipping 'class 'djblets.siteconfig.models.SiteConfiguration'' - no 
 index.
 Skipping 'class 'reviewboard.accounts.models.ReviewRequestVisit'' - no 
 index.
 Skipping 'class 'reviewboard.accounts.models.Profile'' - no index.
 Skipping 'class 'reviewboard.accounts.models.LocalSiteProfile'' - no 
 index.
 Skipping 'class 'django.contrib.admin.models.LogEntry'' - no index.
 Skipping 'class 'reviewboard.attachments.models.FileAttachment'' - no 
 index.
 Skipping 'class 'reviewboard.changedescs.models.ChangeDescription'' - 
 no index.
 Skipping 'class 'reviewboard.diffviewer.models.FileDiffData'' - no 
 index.
 Skipping 'class 'reviewboard.diffviewer.models.FileDiff'' - no index.
 Skipping 'class 'reviewboard.diffviewer.models.DiffSet'' - no index.
 Skipping 'class 'reviewboard.diffviewer.models.DiffSetHistory'' - no 
 index.
 Skipping 'class 'djblets.extensions.models.RegisteredExtension'' - no 
 index.
 Skipping 'class 'reviewboard.hostingsvcs.models.HostingServiceAccount'' 
 - no index.
 Skipping 'class 'reviewboard.reviews.models.group.Group'' - no index.
 Skipping 'class 
 'reviewboard.reviews.models.default_reviewer.DefaultReviewer'' - no index.
 Skipping 'class 'reviewboard.reviews.models.diff_comment.Comment'' - no 
 index.
 Skipping 'class 
 'reviewboard.reviews.models.file_attachment_comment.FileAttachmentComment'' 
 - no index.
 Skipping 'class 'reviewboard.reviews.models.screenshot.Screenshot'' - 
 no index.
 Indexing 0 review requests
 Skipping 'class 
 'reviewboard.reviews.models.screenshot_comment.ScreenshotComment'' - no 
 index.
 Skipping 'class 'reviewboard.reviews.models.review.Review'' - no index.
 Skipping 'class 
 'reviewboard.reviews.models.review_request_draft.ReviewRequestDraft'' - no 
 index.
 Skipping 'class 'reviewboard.scmtools.models.Tool'' - no index.
 Skipping 'class 'reviewboard.scmtools.models.Repository'' - no index.
 Skipping 'class 'reviewboard.site.models.LocalSite'' - no index.
 Skipping 'class 'django_evolution.models.Version'' - no index.
 Skipping 'class 'django_evolution.models.Evolution'' - no index.

 On Thursday, June 26, 2014 4:09:50 PM UTC-7, Christian Hammond wrote: 

  What does rebuild_index with -v 3 

Re: Search doesn't seem to work, when I try to index it says Indexing 0 review requests

2014-07-01 Thread Christian Hammond
Oops, my fault. That should be extra_query.

Christian

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

On July 1, 2014 at 2:15:19 PM, Ian (iander...@mac.com) wrote:

I'm getting an error making qs.  Did I type it wrong?

$ sudo rb-site manage /Library/Server/Web/Data/WebApps/ReviewBoard shell
Python 2.7.5 (default, Mar  9 2014, 22:15:05) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type help, copyright, credits or license for more information.
(InteractiveConsole)
 from reviewboard.reviews.models import ReviewRequest
 from django.db.models import Q
 qs = ReviewRequest.objects.public(status=None, extra_status=Q(status='P') | 
 Q(status='S'))
Traceback (most recent call last):
  File console, line 1, in module
  File 
/Library/Python/2.7/site-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/reviews/managers.py,
 line 247, in public
    return self._query(filter_private=filter_private, *args, **kwargs)
TypeError: _query() got an unexpected keyword argument 'extra_status'

On Tuesday, July 1, 2014 11:30:55 AM UTC-7, Christian Hammond wrote:
Can you see what happens when you run this:

    $ rb-site manage /path/to/site shell
     from reviewboard.reviews.models import ReviewRequest
     from django.db.models import Q
     qs = ReviewRequest.objects.public(status=None, 
extra_status=Q(status=‘P’) | Q(status=’S’))
     qs = qs.select_related(‘submitter’, ‘diffset_history’)
     qs = qs.prefetch_related(‘diffset_history__diffsets__files’)
     print qs.count()

This is what it’s running when it’s trying to index the review requests, but 
it’s claiming it’s finding 0 results. I want to sanity-check this.

Christian

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

On July 1, 2014 at 11:25:02 AM, Ian (iand...@mac.com) wrote:

Anyone have any ideas?  =\

On Thursday, June 26, 2014 4:25:29 PM UTC-7, Ian wrote:
$ sudo -u _www rb-site manage /Library/Server/Web/Data/WebApps/ReviewBoard 
rebuild_index -- -v 3
WARNING: This will irreparably remove EVERYTHING from your search index in 
connection 'default'.
Your choices after this are to restore from backups or rebuild via the 
`rebuild_index` command.
Are you sure you wish to continue? [y/N] y
Removing all documents from your index because you said so.
All documents removed.
Skipping 'class 'django.contrib.admin.models.LogEntry'' - no index.
Skipping 'class 'django.contrib.auth.models.Permission'' - no index.
Skipping 'class 'django.contrib.auth.models.Group'' - no index.
Skipping 'class 'django.contrib.auth.models.User'' - no index.
Skipping 'class 'django.contrib.contenttypes.models.ContentType'' - no index.
Skipping 'class 'django.contrib.sites.models.Site'' - no index.
Skipping 'class 'django.contrib.sessions.models.Session'' - no index.
Skipping 'class 'djblets.extensions.models.RegisteredExtension'' - no index.
Skipping 'class 'djblets.siteconfig.models.SiteConfiguration'' - no index.
Skipping 'class 'reviewboard.accounts.models.ReviewRequestVisit'' - no index.
Skipping 'class 'reviewboard.accounts.models.Profile'' - no index.
Skipping 'class 'reviewboard.accounts.models.LocalSiteProfile'' - no index.
Skipping 'class 'django.contrib.admin.models.LogEntry'' - no index.
Skipping 'class 'reviewboard.attachments.models.FileAttachment'' - no index.
Skipping 'class 'reviewboard.changedescs.models.ChangeDescription'' - no 
index.
Skipping 'class 'reviewboard.diffviewer.models.FileDiffData'' - no index.
Skipping 'class 'reviewboard.diffviewer.models.FileDiff'' - no index.
Skipping 'class 'reviewboard.diffviewer.models.DiffSet'' - no index.
Skipping 'class 'reviewboard.diffviewer.models.DiffSetHistory'' - no index.
Skipping 'class 'djblets.extensions.models.RegisteredExtension'' - no index.
Skipping 'class 'reviewboard.hostingsvcs.models.HostingServiceAccount'' - no 
index.
Skipping 'class 'reviewboard.reviews.models.group.Group'' - no index.
Skipping 'class 
'reviewboard.reviews.models.default_reviewer.DefaultReviewer'' - no index.
Skipping 'class 'reviewboard.reviews.models.diff_comment.Comment'' - no index.
Skipping 'class 
'reviewboard.reviews.models.file_attachment_comment.FileAttachmentComment'' - 
no index.
Skipping 'class 'reviewboard.reviews.models.screenshot.Screenshot'' - no 
index.
Indexing 0 review requests
Skipping 'class 
'reviewboard.reviews.models.screenshot_comment.ScreenshotComment'' - no index.
Skipping 'class 'reviewboard.reviews.models.review.Review'' - no index.
Skipping 'class 
'reviewboard.reviews.models.review_request_draft.ReviewRequestDraft'' - no 
index.
Skipping 'class 'reviewboard.scmtools.models.Tool'' - no index.
Skipping 'class 'reviewboard.scmtools.models.Repository'' - no index.
Skipping 'class 'reviewboard.site.models.LocalSite'' - no index.
Skipping 'class 'django_evolution.models.Version'' - no index.
Skipping 'class 

Re: create review

2014-07-01 Thread David Trowbridge
Can you provide us more information about your setup? Is this a server that
you set up? What version of review board? What is the configuration in the
System Settings  E-Mail admin page?

-David


On Tue, Jul 1, 2014 at 2:35 AM, nidhi singh nidhi.sh2...@gmail.com wrote:

 Hello

 I am new to review board and m trying to create a review on a project but
 no email is being sent to the reviewer. How should I proceed, please help me

 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/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: Stuck with setup of rbtools

2014-07-01 Thread David Trowbridge
RBTools 0.6.1 had some issues with the setup-repo command. These are
improved in 0.6.2.

You can reproduce what setup-repo will do by creating a .reviewboardrc file
in the root of your repository with the REPOSITORY and SERVER configuration
keys.

-David


On Sat, Jun 28, 2014 at 2:06 PM, adr...@wallaschek.de wrote:

 In a previous request for help, I learned that I was simply trying to use
 a feature that is not there for gitlab-repos, yet.

 Understood!

 I got hinted to use the rbtools. I followed that advice, and for
 test-purposes installed the rbtools, following the documentation.

 rbt can be started, now.

 Now I am stuck with adding the repository. While the documentation is
 surely well meant and understandable for someone having a bit experience in
 this special area, it leaves a lot open for me, despite being a seasoned
 developer. Probably I am getting old.

 Facts:
 - Centos actual
 - rbt 0.6.1

 Trying rbt setup-repo asks for the RB server URL.

 Assuming myserver is myserver.net:

   http://myserver.net/reviewboard/

 (I tried with and without trailing slash, my server uses an Apache reverse
 proxy in front of the actual bitnami stack for reviewboard, so the trailing
 slash would be required.)

   No Git repository found or selected for
 http://wallaschek.net/reviewboard/. .reviewboardrc not created.

 This error message gives me ... no clue where to search further.

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


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


Re: Upgrade to 2.0.2 Failed

2014-07-01 Thread Andrew Hills (anhills)
Hi all,

I just wanted to note that my issue was resolved completely and very quickly 
with Christian's help; I couldn't be happier with the outcome. If you're on the 
fence, you can take my word for it: support doesn't get better than this.

Thanks,
Andrew

On Jul 1, 2014, at 2:44 PM, Christian Hammond 
christ...@beanbaginc.commailto:christ...@beanbaginc.com wrote:

Hi Andrew,

The surgery, depending on when the process was killed, would require a lot of 
deep knowledge of how evolutions work, how they relate to the table changes, 
and some improvisation.

If you wanted to just try to re-create the database, you could try a new 
install and then dumping all the INSERTs from your old database, trying to 
restore them as best as possible under the new one. You will hit problems with 
missing columns, though, requiring that you hand-edit any referring to missing 
columns (and adjusting the data being inserted to match the equivalent columns 
from the table). There's a lot of hard work to do there.

We can offer one-on-one assistance with getting your existing database back in 
shape, but that really falls into the realm of our support contracts. We can 
talk about that more in private if that's of interest.

Christian

--
Christian Hammond - christ...@beanbaginc.commailto:christ...@beanbaginc.com
Review Board - http://www.reviewboard.orghttp://www.reviewboard.org/
Beanbag, Inc. - http://www.beanbaginc.comhttp://www.beanbaginc.com/


On July 1, 2014 at 11:38:33 AM, Andrew Hills (anhills) 
(anhi...@cisco.commailto:anhi...@cisco.com) wrote:

Hi Christian,

Yeah, sorry, I took it through a few versions before calling for help. The 
killed upgrade was 1.7.21 to 2.0.2. I'm willing to do the manual surgery--I've 
got the MySQL manual open--but I don't know where to start. My first thought 
was to create a new 2.0.2 installation and database and then take it table by 
table. If there's a way I can hijack the rb-site upgrade process, though, I'd 
prefer that option.

Thanks,
Andrew

On Jul 1, 2014, at 1:52 PM, Christian Hammond 
christ...@beanbaginc.commailto:christ...@beanbaginc.com wrote:

Hi Andrew,

At what point did it hang? This looks very much like the process was killed 
while it was performing database migrations, which is not something you can 
easily recover from without a lot of manual surgery.

You said you upgraded from 1.7.21 to 2.0.2, but that log is showing 2.0 to 
2.0.2, with a handful of unapplied evolutions that I would only expect if 
coming from 1.7.21. Was the killed upgrade from 1.7.21 to 2.0?

Christian

--
Christian Hammond - christ...@beanbaginc.commailto:christ...@beanbaginc.com
Review Board - http://www.reviewboard.orghttp://www.reviewboard.org/
Beanbag, Inc. - http://www.beanbaginc.comhttp://www.beanbaginc.com/


On July 1, 2014 at 10:12:54 AM, Andrew Hills (anhills) 
(anhi...@cisco.commailto:anhi...@cisco.com) wrote:

Hi all,

During an upgrade from 1.7.21 to 2.0.2, rb-site upgrade hung. I killed it, and 
running it again yields the error below, and now no combination of versions 
works. My last database backup is not so very old, but I'd really rather not 
lose anything if it's possible to avoid it. (The upgrade on the staging server 
worked flawlessly; I don't know what's different here.) Is there any way to 
apply the evolutions that are missing using the rb-site upgrade mechanism, or 
will I need to resort to applying the schema manually?

-- begin log output --
Creating tables ...
Upgrading Review Board from 2.0 to 2.0.2
There are unapplied evolutions for auth.
There are unapplied evolutions for contenttypes.
There are unapplied evolutions for accounts.
There are unapplied evolutions for attachments.
There are unapplied evolutions for changedescs.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for hostingsvcs.
There are unapplied evolutions for reviews.
There are unapplied evolutions for scmtools.
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
CommandError: Error applying evolution: (1054, Unknown column 'show_submitted' 
in 'accounts_profile')

Thanks,
Andrew

--
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.commailto:reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You 

Re: Search doesn't seem to work, when I try to index it says Indexing 0 review requests

2014-07-01 Thread Ian
Ah, OK that looks like this.

$ sudo rb-site manage /Library/Server/Web/Data/WebApps/ReviewBoard shell
Password:
Python 2.7.5 (default, Mar  9 2014, 22:15:05) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type help, copyright, credits or license for more information.
(InteractiveConsole)
 from reviewboard.reviews.models import ReviewRequest
 from django.db.models import Q
 qs = ReviewRequest.objects.public(status=None, 
extra_query=Q(status='P') | Q(status='S'))
 qs = qs.select_related('submitter', 'diffset_history')
 qs = qs.prefetch_related('diffset_history__diffsets__files')
 print qs.count()
0

On Tuesday, July 1, 2014 4:39:20 PM UTC-7, Christian Hammond wrote:

 Oops, my fault. That should be extra_query.

 Christian

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

 On July 1, 2014 at 2:15:19 PM, Ian (iand...@mac.com javascript:) wrote:

 I'm getting an error making qs.  Did I type it wrong? 

  $ sudo rb-site manage /Library/Server/Web/Data/WebApps/ReviewBoard shell
 Python 2.7.5 (default, Mar  9 2014, 22:15:05) 
 [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
 Type help, copyright, credits or license for more information.
 (InteractiveConsole)
  from reviewboard.reviews.models import ReviewRequest
  from django.db.models import Q
  qs = ReviewRequest.objects.public(status=None, 
 extra_status=Q(status='P') | Q(status='S'))
 Traceback (most recent call last):
   File console, line 1, in module
   File 
 /Library/Python/2.7/site-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/reviews/managers.py,
  
 line 247, in public
 return self._query(filter_private=filter_private, *args, **kwargs)
 TypeError: _query() got an unexpected keyword argument 'extra_status'

 On Tuesday, July 1, 2014 11:30:55 AM UTC-7, Christian Hammond wrote: 

  Can you see what happens when you run this:
  
  $ rb-site manage /path/to/site shell
   from reviewboard.reviews.models import ReviewRequest
   from django.db.models import Q
   qs = ReviewRequest.objects.public(status=None, 
 extra_status=Q(status=‘P’) | Q(status=’S’))
   qs = qs.select_related(‘submitter’, ‘diffset_history’)
   qs = qs.prefetch_related(‘diffset_history__diffsets__files’)
   print qs.count()
  
  This is what it’s running when it’s trying to index the review requests, 
 but it’s claiming it’s finding 0 results. I want to sanity-check this.
  
  Christian
  
   -- 
  Christian Hammond - chri...@beanbaginc.com
  Review Board - http://www.reviewboard.org 
 Beanbag, Inc. - http://www.beanbaginc.com
  
 On July 1, 2014 at 11:25:02 AM, Ian (iand...@mac.com) wrote:

  Anyone have any ideas?  =\

 On Thursday, June 26, 2014 4:25:29 PM UTC-7, Ian wrote: 

  $ sudo -u _www rb-site manage 
 /Library/Server/Web/Data/WebApps/ReviewBoard rebuild_index -- -v 3
 WARNING: This will irreparably remove EVERYTHING from your search index 
 in connection 'default'.
 Your choices after this are to restore from backups or rebuild via the 
 `rebuild_index` command.
 Are you sure you wish to continue? [y/N] y
 Removing all documents from your index because you said so.
 All documents removed.
 Skipping 'class 'django.contrib.admin.models.LogEntry'' - no index.
 Skipping 'class 'django.contrib.auth.models.Permission'' - no index.
 Skipping 'class 'django.contrib.auth.models.Group'' - no index.
 Skipping 'class 'django.contrib.auth.models.User'' - no index.
 Skipping 'class 'django.contrib.contenttypes.models.ContentType'' - no 
 index.
 Skipping 'class 'django.contrib.sites.models.Site'' - no index.
 Skipping 'class 'django.contrib.sessions.models.Session'' - no index.
 Skipping 'class 'djblets.extensions.models.RegisteredExtension'' - no 
 index.
 Skipping 'class 'djblets.siteconfig.models.SiteConfiguration'' - no 
 index.
 Skipping 'class 'reviewboard.accounts.models.ReviewRequestVisit'' - no 
 index.
 Skipping 'class 'reviewboard.accounts.models.Profile'' - no index.
 Skipping 'class 'reviewboard.accounts.models.LocalSiteProfile'' - no 
 index.
 Skipping 'class 'django.contrib.admin.models.LogEntry'' - no index.
 Skipping 'class 'reviewboard.attachments.models.FileAttachment'' - no 
 index.
 Skipping 'class 'reviewboard.changedescs.models.ChangeDescription'' - 
 no index.
 Skipping 'class 'reviewboard.diffviewer.models.FileDiffData'' - no 
 index.
 Skipping 'class 'reviewboard.diffviewer.models.FileDiff'' - no index.
 Skipping 'class 'reviewboard.diffviewer.models.DiffSet'' - no index.
 Skipping 'class 'reviewboard.diffviewer.models.DiffSetHistory'' - no 
 index.
 Skipping 'class 'djblets.extensions.models.RegisteredExtension'' - no 
 index.
 Skipping 'class 
 'reviewboard.hostingsvcs.models.HostingServiceAccount'' - no index.
 Skipping 'class 'reviewboard.reviews.models.group.Group'' - no index.
 Skipping 'class 
 'reviewboard.reviews.models.default_reviewer.DefaultReviewer'' - no index.
 Skipping 'class 

Re: Search doesn't seem to work, when I try to index it says Indexing 0 review requests

2014-07-01 Thread Christian Hammond
What are the review requests like on your server? Are they all against a 
private repository or invite-only group?

Christian

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

On July 1, 2014 at 7:05:49 PM, Ian (iander...@mac.com) wrote:

Ah, OK that looks like this.

$ sudo rb-site manage /Library/Server/Web/Data/WebApps/ReviewBoard shell
Password:
Python 2.7.5 (default, Mar  9 2014, 22:15:05) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type help, copyright, credits or license for more information.
(InteractiveConsole)
 from reviewboard.reviews.models import ReviewRequest
 from django.db.models import Q
 qs = ReviewRequest.objects.public(status=None, extra_query=Q(status='P') | 
 Q(status='S'))
 qs = qs.select_related('submitter', 'diffset_history')
 qs = qs.prefetch_related('diffset_history__diffsets__files')
 print qs.count()
0

On Tuesday, July 1, 2014 4:39:20 PM UTC-7, Christian Hammond wrote:
Oops, my fault. That should be extra_query.

Christian

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

On July 1, 2014 at 2:15:19 PM, Ian (iand...@mac.com) wrote:

I'm getting an error making qs.  Did I type it wrong?

$ sudo rb-site manage /Library/Server/Web/Data/WebApps/ReviewBoard shell
Python 2.7.5 (default, Mar  9 2014, 22:15:05) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type help, copyright, credits or license for more information.
(InteractiveConsole)
 from reviewboard.reviews.models import ReviewRequest
 from django.db.models import Q
 qs = ReviewRequest.objects.public(status=None, extra_status=Q(status='P') | 
 Q(status='S'))
Traceback (most recent call last):
  File console, line 1, in module
  File 
/Library/Python/2.7/site-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/reviews/managers.py,
 line 247, in public
    return self._query(filter_private=filter_private, *args, **kwargs)
TypeError: _query() got an unexpected keyword argument 'extra_status'

On Tuesday, July 1, 2014 11:30:55 AM UTC-7, Christian Hammond wrote:
Can you see what happens when you run this:

    $ rb-site manage /path/to/site shell
     from reviewboard.reviews.models import ReviewRequest
     from django.db.models import Q
     qs = ReviewRequest.objects.public(status=None, 
extra_status=Q(status=‘P’) | Q(status=’S’))
     qs = qs.select_related(‘submitter’, ‘diffset_history’)
     qs = qs.prefetch_related(‘diffset_history__diffsets__files’)
     print qs.count()

This is what it’s running when it’s trying to index the review requests, but 
it’s claiming it’s finding 0 results. I want to sanity-check this.

Christian

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

On July 1, 2014 at 11:25:02 AM, Ian (iand...@mac.com) wrote:

Anyone have any ideas?  =\

On Thursday, June 26, 2014 4:25:29 PM UTC-7, Ian wrote:
$ sudo -u _www rb-site manage /Library/Server/Web/Data/WebApps/ReviewBoard 
rebuild_index -- -v 3
WARNING: This will irreparably remove EVERYTHING from your search index in 
connection 'default'.
Your choices after this are to restore from backups or rebuild via the 
`rebuild_index` command.
Are you sure you wish to continue? [y/N] y
Removing all documents from your index because you said so.
All documents removed.
Skipping 'class 'django.contrib.admin.models.LogEntry'' - no index.
Skipping 'class 'django.contrib.auth.models.Permission'' - no index.
Skipping 'class 'django.contrib.auth.models.Group'' - no index.
Skipping 'class 'django.contrib.auth.models.User'' - no index.
Skipping 'class 'django.contrib.contenttypes.models.ContentType'' - no index.
Skipping 'class 'django.contrib.sites.models.Site'' - no index.
Skipping 'class 'django.contrib.sessions.models.Session'' - no index.
Skipping 'class 'djblets.extensions.models.RegisteredExtension'' - no index.
Skipping 'class 'djblets.siteconfig.models.SiteConfiguration'' - no index.
Skipping 'class 'reviewboard.accounts.models.ReviewRequestVisit'' - no index.
Skipping 'class 'reviewboard.accounts.models.Profile'' - no index.
Skipping 'class 'reviewboard.accounts.models.LocalSiteProfile'' - no index.
Skipping 'class 'django.contrib.admin.models.LogEntry'' - no index.
Skipping 'class 'reviewboard.attachments.models.FileAttachment'' - no index.
Skipping 'class 'reviewboard.changedescs.models.ChangeDescription'' - no 
index.
Skipping 'class 'reviewboard.diffviewer.models.FileDiffData'' - no index.
Skipping 'class 'reviewboard.diffviewer.models.FileDiff'' - no index.
Skipping 'class 'reviewboard.diffviewer.models.DiffSet'' - no index.
Skipping 'class 'reviewboard.diffviewer.models.DiffSetHistory'' - no index.
Skipping 'class 'djblets.extensions.models.RegisteredExtension'' - no index.
Skipping 'class 'reviewboard.hostingsvcs.models.HostingServiceAccount'' - no 
index.
Skipping 'class 

Re: Upgrade to 2.0.2 Failed

2014-07-01 Thread Christian Hammond
Thanks for the kind words, Andrew! :) Glad things are working!

Christian

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

On July 1, 2014 at 5:19:50 PM, Andrew Hills (anhills) (anhi...@cisco.com) wrote:

Hi all,

I just wanted to note that my issue was resolved completely and very quickly 
with Christian’s help; I couldn’t be happier with the outcome. If you’re on the 
fence, you can take my word for it: support doesn’t get better than this.

Thanks,
Andrew

On Jul 1, 2014, at 2:44 PM, Christian Hammond christ...@beanbaginc.com wrote:

Hi Andrew,

The surgery, depending on when the process was killed, would require a lot of 
deep knowledge of how evolutions work, how they relate to the table changes, 
and some improvisation.

If you wanted to just try to re-create the database, you could try a new 
install and then dumping all the INSERTs from your old database, trying to 
restore them as best as possible under the new one. You will hit problems with 
missing columns, though, requiring that you hand-edit any referring to missing 
columns (and adjusting the data being inserted to match the equivalent columns 
from the table). There’s a lot of hard work to do there.

We can offer one-on-one assistance with getting your existing database back in 
shape, but that really falls into the realm of our support contracts. We can 
talk about that more in private if that’s of interest.

Christian

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

On July 1, 2014 at 11:38:33 AM, Andrew Hills (anhills) (anhi...@cisco.com) 
wrote:

Hi Christian,

Yeah, sorry, I took it through a few versions before calling for help. The 
killed upgrade was 1.7.21 to 2.0.2. I’m willing to do the manual surgery—I’ve 
got the MySQL manual open—but I don’t know where to start. My first thought was 
to create a new 2.0.2 installation and database and then take it table by 
table. If there’s a way I can hijack the rb-site upgrade process, though, I’d 
prefer that option.

Thanks,
Andrew

On Jul 1, 2014, at 1:52 PM, Christian Hammond christ...@beanbaginc.com wrote:

Hi Andrew,

At what point did it hang? This looks very much like the process was killed 
while it was performing database migrations, which is not something you can 
easily recover from without a lot of manual surgery.

You said you upgraded from 1.7.21 to 2.0.2, but that log is showing 2.0 to 
2.0.2, with a handful of unapplied evolutions that I would only expect if 
coming from 1.7.21. Was the killed upgrade from 1.7.21 to 2.0?

Christian

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

On July 1, 2014 at 10:12:54 AM, Andrew Hills (anhills) (anhi...@cisco.com) 
wrote:

Hi all, 

During an upgrade from 1.7.21 to 2.0.2, rb-site upgrade hung. I killed it, and 
running it again yields the error below, and now no combination of versions 
works. My last database backup is not so very old, but I'd really rather not 
lose anything if it's possible to avoid it. (The upgrade on the staging server 
worked flawlessly; I don't know what's different here.) Is there any way to 
apply the evolutions that are missing using the rb-site upgrade mechanism, or 
will I need to resort to applying the schema manually? 

-- begin log output -- 
Creating tables ... 
Upgrading Review Board from 2.0 to 2.0.2 
There are unapplied evolutions for auth. 
There are unapplied evolutions for contenttypes. 
There are unapplied evolutions for accounts. 
There are unapplied evolutions for attachments. 
There are unapplied evolutions for changedescs. 
There are unapplied evolutions for diffviewer. 
There are unapplied evolutions for hostingsvcs. 
There are unapplied evolutions for reviews. 
There are unapplied evolutions for scmtools. 
Project signature has changed - an evolution is required 
Installing custom SQL ... 
Installing indexes ... 
Installed 0 object(s) from 0 fixture(s) 
CommandError: Error applying evolution: (1054, Unknown column 'show_submitted' 
in 'accounts_profile') 

Thanks, 
Andrew 

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

--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this 

Re: create review

2014-07-01 Thread nidhi singh


 Hi,


Yes. m trying to setup a server and my reviewboard version is 2.0.2. In the 
e-mail setting, just provided all the details like mail server, 
credentials..etc


Thanx
Nidhi

-- 
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: RB website showing only directory listing

2014-07-01 Thread shravanthi s
The httpd.conf file has the line

Include conf.d/*.conf

And i have created a sym link  ln -s /var/www/
mytest.example.com/conf/apache-wsgi.conf  /etc/httpd/conf.d/reviewboard.
conf 

The apache-wsgi.conf is as below :

VirtualHost mytest.example.com:80
ServerName mytest.example.com
DocumentRoot /var/www/mytest.example.com/htdocs

# Error handlers
ErrorDocument 500 /errordocs/500.html

WSGIPassAuthorization On
WSGIScriptAlias / 
/var/www/mytest.example.com/htdocs/reviewboard.wsgi/

Directory /var/www/mytest.example.com/htdocs
AllowOverride All
Options -Indexes +FollowSymLinks
Allow from all
/Directory

# Prevent the server from processing or allowing the rendering of
# certain file types.
Location /media/uploaded
SetHandler None
Options None

AddType text/plain .html .htm .shtml .php .php3 .php4 .php5 
.phps .asp
AddType text/plain .pl .py .fcgi .cgi .phtml .phtm .pht 
.jsp .sh .rb

IfModule mod_php5.c
php_flag engine off
/IfModule
/Location

# Alias static media requests to filesystem
Alias /media /var/www/mytest.example.com/htdocs/media
Alias /static /var/www/mytest.example.com/htdocs/static
Alias /errordocs /var/www/mytest.example.com/htdocs/errordocs
Alias /favicon.ico 
/var/www/mytest.example.com/htdocs/static/rb/images/favicon.png
/VirtualHost



On Thursday, 26 June 2014 21:23:34 UTC+5:30, shravanthi s wrote:

 I installed RB 2.0 version on a RHEL 6.5 . I installed all the pre 
 requisites and created RB site and added the line in 
 /etc/httpd/conf/httpd.conf

 Include /var/www/mytest.example.com/conf/apache-wsgi.conf

 Everything else in httpd.conf is default settings. But am only seeing the 
 directory listing when i browse the website. Is there some other change in 
 httpd.conf that i need to do? i have installed review board on another 
 machine before (older version of course) and it did not need any further 
 changes. 

 Why am i seeing only directory listing when i browse the website? Should i 
 change the document root or something?





-- 
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: create review

2014-07-01 Thread David Trowbridge
If there's a failure connecting to the mail server, that should be
reflected in the reviewboard.org log. If there's a subsequent delivery
failure, you should be able to find that in the mail server logs.

-David


On Tue, Jul 1, 2014 at 10:09 PM, nidhi singh nidhi.sh2...@gmail.com wrote:

 Hi,


 Yes. m trying to setup a server and my reviewboard version is 2.0.2. In
 the e-mail setting, just provided all the details like mail server,
 credentials..etc


 Thanx
 Nidhi

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


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


Re: Issue 3454 in reviewboard: Editing caption for uploaded files does not work properly

2014-07-01 Thread reviewboard


Comment #2 on issue 3454 by joanna.p...@gmail.com: Editing caption for  
uploaded files does not work properly

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

I am tabbing away from the input box.
Now I checked that caption is saved when pressing enter and it is  
possible to publish changes.


--
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 3455 in reviewboard: Redundant information related to review of files should be removed

2014-07-01 Thread reviewboard


Comment #2 on issue 3455 by joanna.p...@gmail.com: Redundant information  
related to review of files should be removed

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

Ok, thank you for suggestions. I will try to figure it out and let you know  
about results of my investigations.


--
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 3459 in reviewboard: Failed to get repository information( rb 2.1 alpha 0 (dev))

2014-07-01 Thread reviewboard

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

New issue 3459 by way.sun...@gmail.com: Failed to get repository  
information( rb 2.1 alpha 0 (dev))

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

*** 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?
 2.1 alpha 0 (dev)

What's the URL of the page containing the problem?
in my local server


What steps will reproduce the problem?
1.new a repository
2.hosting service:none
3.repository type:subversion
4.path:https://xp-dev/svn/XXX
5.enter usernamepassword
6.save
7.apache log:ERROR:root:SVN: Failed to get repository information for  
x:  170001


What is the expected output? What do you see instead?
I just want to connect my svn server via https.


What operating system are you using? What browser?
win7 x64 Firefox  Chrome

Please provide any additional information below.
It all goes fine when I use http.
I setup the parameter neon-debug-mask = 138 in data/.subversion/servers,  
and I got the apache detailed log. Attached.





Attachments:
log.txt  2.9 KB

--
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 3451 in reviewboard: Server Error when viewing specific diff

2014-07-01 Thread reviewboard


Comment #2 on issue 3451 by thom.ger...@gmail.com: Server Error when  
viewing specific diff

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

Confirming I've seen this exception as well.

The bit missing from the Traceback here is that the exception is a  
KeyError: There is no DiffSet object in the DB with ID ==  
added_diff_info[2].




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