Re: Help, upgrading to 2.0.7 broke my server!

2014-09-25 Thread Christian Wuerdig
I just ran into the same problem upgrading from 2.0.6 to 2.0.8. Running 
postgres as well

In prostgres dropping the index is achieved by: DROP index 
scmtools_repository_8c446842;

running rb-site upgrade again after that completed successfully

On Tuesday, 16 September 2014 13:44:48 UTC+12, Christian Hammond wrote:

 Hmmm, it should have tried to drop the old index in that upgrade. Very 
 odd. 

 What version were you running before this? 

 (I have to take off for a couple hours, but will be back.. hopefully the 
 other instructions will have helped.) 

 Christian 

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


 On September 15, 2014 at 6:43:27 PM, Ian (iand...@mac.com javascript:) 
 wrote: 
  Upgraded from 2.0.6 and using PostgreSQL. 
  
  $ sudo rb-site manage /Library/Server/Web/Data/WebApps/ReviewBoard 
 evolve 
  -- --sql 
  
  Password: 
  
  
  -- Evolve application scmtools 
  
  ALTER TABLE scmtools_repository ADD COLUMN hooks_uuid varchar(32) 
 NULL; 
  
  CREATE UNIQUE INDEX scmtools_repository_8c446842 ON scmtools_repository 
  (archived_timestamp, path, local_site_id); 
  
  CREATE UNIQUE INDEX scmtools_repository_f22c3cf5 ON scmtools_repository 
  (hooks_uuid, local_site_id); 
  
  On Monday, September 15, 2014 6:40:21 PM UTC-7, Christian Hammond wrote: 
   
   What version did you upgrade from? 
   
   That looks like it may be a duplicate index. 
   
   Can you run: 
   
   rb-site manage /path/to/site evolve -- --sql 
   
   And show me what that says? 
   
   Also, are you using MySQL? 
   
   Christian 
   
   -- 
   Christian Hammond - chri...@beanbaginc.com 
   Review Board - https://www.reviewboard.org 
   Beanbag, Inc. - https://www.beanbaginc.com 
   
   
   On September 15, 2014 at 6:37:05 PM, Ian (iand...@mac.com ) 
   wrote: 
I did the easy_install -U thing to update Review Board, and then the 
rb-side upgrade thing to upgrade my site. I get this output though, 
 and 
now I can't view anything in Review Board. Any workarounds much 
appreciated! 

$ sudo rb-site upgrade /Library/Server/Web/Data/WebApps/ReviewBoard 

Password: 

Rebuilding directory structure 

Updating database. This may take a while. 


The log output below, including warnings and errors, 

can be ignored unless upgrade fails. 


-- -- 

Creating tables ... 

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: relation 
scmtools_repository_8c446842 already exists* 

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



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


New incremental indexing command in reviewboard 2.0.3 fails to execute

2014-07-16 Thread Christian Wuerdig
Hi,

I upgraded to 2.0.3 and put the new incremental index upgrade into the 
crontab but it didn't seem to work. So for testing I executed this on the 
command line:

rb-site manage /var/www/codereview update_index -a 1

and got this error:

rb-site: error: no such option: -a

I noticed the same error when trying to follow some suggestion to run 
rebuild_index with -v 3

How are you supposed to pass parameters to rb-site commands?

Cheers
Christian

-- 
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: New incremental indexing command in reviewboard 2.0.3 fails to execute

2014-07-16 Thread Christian Wuerdig
Ok thanks, that did the trick

On Thursday, 17 July 2014 09:05:31 UTC+12, David Trowbridge wrote:

 It looks like we made a small mistake in the crontab. The command should 
 be:

 rb-site manage /var/www/codereview update_index -- -a 1

 (note the bare -- argument)


 We'll get this fixed soon.

 -David

 On Wed, Jul 16, 2014 at 1:35 PM, Christian Wuerdig christia...@gmail.com 
 javascript: wrote:

 Hi,

 I upgraded to 2.0.3 and put the new incremental index upgrade into the 
 crontab but it didn't seem to work. So for testing I executed this on the 
 command line:

 rb-site manage /var/www/codereview update_index -a 1

 and got this error:

 rb-site: error: no such option: -a

 I noticed the same error when trying to follow some suggestion to run 
 rebuild_index with -v 3

 How are you supposed to pass parameters to rb-site commands?

 Cheers
 Christian

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




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


Re: Unable to view SVN diff after migration from 1.7.x to 2.0.1

2014-06-03 Thread Christian Wuerdig
I've had a similar issue intermittently. Adding windows-1252 to the list of
encodings mentioned by David fixed the issue
On 3/06/2014 5:42 AM, Roudaille77 rudy.he...@gmail.com wrote:

 Hello,

 I have just updated my ReviewBoard site but I can't visualize the
 Subversion diff anymore...
 I can see :

 There was an error displaying this diff.

 Traceback (most recent call last):
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/views.py,
  line 236, in get
 renderer = self.create_renderer(context, *args, **kwargs)
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/reviews/views.py,
  line 1102, in create_renderer
 *args, **kwargs)
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/views.py,
  line 326, in create_renderer
 self.diff_file = self._get_requested_diff_file()
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/views.py,
  line 367, in _get_requested_diff_file
 request=self.request)
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/diffutils.py,
  line 373, in populate_diff_chunks
 chunks = generator.get_chunks()
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/chunk_generator.py,
  line 148, in get_chunks
 large_data=True)
   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8.1-py2.7.egg/djblets/cache/backend.py,
  line 109, in cache_memoize
 data = lookup_callable()
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/chunk_generator.py,
  line 147, in lambda
 lambda: list(self._get_chunks_uncached()),
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/chunk_generator.py,
  line 154, in _get_chunks_uncached
 old = get_original_file(self.filediff, self.request, encoding_list)
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/diffutils.py,
  line 172, in get_original_file
 encoding, data = convert_to_unicode(data, encoding_list)
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/diffutils.py,
  line 50, in convert_to_unicode
 return e, six.text_type(s, e)
 LookupError: unknown encoding:

 Any idea ?

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


How to configure the search properly

2014-05-27 Thread Christian Wuerdig
Hi,

We always had trouble with the search largely due to this bug: 
https://code.google.com/p/reviewboard/issues/detail?id=2544

Now with 2.0 I tried the search again and it worked a little bit better - 
instead of coming up with an error 500 I always got No results

So I figured maybe I need to rebuild the index which I did with sudo 
rb-site manage /var/www/codereview/ rebuild_index

It warned me that it will delete all indices and then claimed Indexing 1 
review request - hm, we have about 11,000+ review requests in the system 
so that is a bit weird
Also the search is now broken - I'm getting a server error 500 again and 
the stack trace points to:

IOError: The path to your Whoosh index '/var/www/codereview/index' is not 
 writable for the current user/group.

Typing something into the search box will yield perfectly good results 
after a little while in the drop down (as long as what I'm looking for is 
part of the Summary) just hitting enter on the search box won't work 
properly.

So my questions are:

1. How do I properly configure the search - mainly which user should own 
the index? Apparently not root because that's what it is now and that's not 
working.

2. How can I track down the indexing problem (in the sense that it claims 
it can only index 1 request)?


Cheers
Christian

-- 
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 fails with HTTP 500

2013-08-09 Thread Christian Wuerdig
Sounds like this problem: 
https://code.google.com/p/reviewboard/issues/detail?id=2544

Shouldn't this be added as fix to RB instead of having individuals patching 
it? I don't really like running a custom patched version. This always gets 
you into trouble when upgrading.

Cheers
Christian

On Saturday, August 3, 2013 3:29:32 AM UTC+12, Igor Berger wrote:

 Hello,

 I have Review Board working except for search. When I try to search from 
 the search box, I get exceptions below.

 I've successfully rebuild the index (using rb-site manage /path/to/site 
 index -- --full) just in case, even though I have crontab setup to do it.

 Any ideas?

 Thank you,
 Igor.


 Server:
 Review Board 1.7.9
 Ubuntu 12.04.2 LTS
 PyLucene  2.3.1-1.1ubuntu2.1
 Python 2.7.3
 OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

 Client: Chrome 28 on Windows 7


 2013-08-02 15:22:56,027 - ERROR -  - Exception thrown for user igor.berger 
 at http://ourhostname/reviews/r/search/?q=hello

 java.lang.IndexOutOfBoundsException: Not a valid hit number: 0
 Java stacktrace:
 java.lang.IndexOutOfBoundsException: Not a valid hit number: 0
 at org.apache.lucene.search.Hits.hitDoc(Hits.java:202)
 at org.apache.lucene.search.Hits.doc(Hits.java:155)
 Traceback (most recent call last):
   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.4.5-py2.7.egg/django/core/handlers/base.py,
  
 line 111, in get_response
 response = callback(request, *callback_args, **callback_kwargs)
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/accounts/decorators.py,
  
 line 22, in _check
 return view_func(*args, **kwargs)
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/reviews/views.py,
  
 line 1405, in search
 for hit in searcher.search(parser.parse(query))]
 JavaError: java.lang.IndexOutOfBoundsException: Not a valid hit number: 0
 Java stacktrace:
 java.lang.IndexOutOfBoundsException: Not a valid hit number: 0
 at org.apache.lucene.search.Hits.hitDoc(Hits.java:202)
 at org.apache.lucene.search.Hits.doc(Hits.java:155)

 2013-08-02 15:22:56,030 - ERROR - None - igor.berger - /reviews/r/search/ 
 - Internal Server Error: /reviews/r/search/
 Traceback (most recent call last):
   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.4.5-py2.7.egg/django/core/handlers/base.py,
  
 line 111, in get_response
 response = callback(request, *callback_args, **callback_kwargs)
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/accounts/decorators.py,
  
 line 22, in _check
 return view_func(*args, **kwargs)
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/reviews/views.py,
  
 line 1405, in search
 for hit in searcher.search(parser.parse(query))]
 JavaError: java.lang.IndexOutOfBoundsException: Not a valid hit number: 0
 Java stacktrace:
 java.lang.IndexOutOfBoundsException: Not a valid hit number: 0
 at org.apache.lucene.search.Hits.hitDoc(Hits.java:202)
 at org.apache.lucene.search.Hits.doc(Hits.java:155)



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




Re: Search fails with HTTP 500

2013-08-08 Thread Christian Wuerdig
I have the same issue. I logged it in the issue tracker a while back and
someone pointed me to a different issue with some workaround/fix but I
haven't got around trying it. Don't have the link right now but if you
check in the tracker you should find it otherwise I can send it tomorrow.

Cheers
Christian
On 8/08/2013 12:12 PM, Christian Hammond chip...@chipx86.com wrote:

 Hi Igor,

 Wish I knew. There wasn't any information on what actually causes this
 problem. You could try downgrading to an earlier version of pylucene, but I
 don't know when the problem first occurred, and not everyone seems to be
 hitting this.

 Christian

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


 On Wed, Aug 7, 2013 at 5:10 PM, Igor Berger codewiz...@gmail.com wrote:

 Hi Christian,

 Thanks for looking into it.

 Any search term produces the error. If I type a term that actually
 appears in some reviews,
 I see an auto-suggest drop-down populated with relevant reviews.
 If I click on one of the results, that review opens correctly in a new
 tab.

 I've upgraded to 1.7.12 since my original post. Expectedly, the problem
 remains.

 Is there anything I can reinstall or a cache I can clear to try to fix
 this?

 Thanks again,
 Igor.

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




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




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


Slight glitch in upgrade to 1.7.9

2013-06-04 Thread Christian Wuerdig
Hi,

I just upgraded from 1.7.6 to 1.7.9 and got the following error when trying 
to view the diffs of any review request:

_log() got an unexpected keyword argument 'request'

Traceback (most recent call last):
  File 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/diffviewer/views.py,
 
line 43, in view_diff
diffset.id, request=request)
  File /usr/lib/python2.7/logging/__init__.py, line 1608, in debug
root.debug(msg, *args, **kwargs)
  File /usr/lib/python2.7/logging/__init__.py, line 1128, in debug
self._log(DEBUG, msg, args, **kwargs)
TypeError: _log() got an unexpected keyword argument 'request'

Running 'easy_install -U Djblets' fixed it. Is that not meant to be 
automatically upgraded?

Cheers
Christian

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




Re: Slight glitch in upgrade to 1.7.9

2013-06-04 Thread Christian Wuerdig
Hi Christian,

about 18h ago.

Cheers
Christian

On Wednesday, June 5, 2013 10:54:11 AM UTC+12, Christian Hammond wrote:

 Hi Christian,

 Can you tell me when you downloaded 1.7.9? I put out a hotfix that should 
 have taken care of this problem.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com
  
 On Jun 4, 2013, at 3:53 PM, Christian Wuerdig 
 christia...@gmail.comjavascript: 
 wrote:

 Hi,

 I just upgraded from 1.7.6 to 1.7.9 and got the following error when 
 trying to view the diffs of any review request:

 _log() got an unexpected keyword argument 'request'

 Traceback (most recent call last):
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/diffviewer/views.py,
  
 line 43, in view_diff
 diffset.id, request=request)
   File /usr/lib/python2.7/logging/__init__.py, line 1608, in debug
 root.debug(msg, *args, **kwargs)
   File /usr/lib/python2.7/logging/__init__.py, line 1128, in debug
 self._log(DEBUG, msg, args, **kwargs)
 TypeError: _log() got an unexpected keyword argument 'request'

 Running 'easy_install -U Djblets' fixed it. Is that not meant to be 
 automatically upgraded?

 Cheers
 Christian

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




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




Re: Upgrading to 1.7.1 results in weird timestamps

2013-01-07 Thread Christian Wuerdig
Hi Christian,

it's for new and existing requests. Updating the user timezone to 
Pacific/Auckland fixed it thanks.

Cheers
Christian

On Monday, January 7, 2013 10:37:03 PM UTC+13, Christian Hammond wrote:

 Hi Christian,

 Is this for new review requests?

 1.7 added timezone support. If you go into your user settings (My Account 
 under your username dropdown on the top bar), you can configure your 
 timezone. You should see all times update relative to that timezone.

 The server's timezone settings should ideally be changed to UTC as well.

 Christian

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


 On Sun, Jan 6, 2013 at 7:12 PM, Christian Wuerdig 
 christia...@gmail.comjavascript:
  wrote:

 Some additional info:

 The time zone under General in Reviewboard is set to Pacific/Auckland
 If I modify a review request now I get this: Last Updated Jan. 7, 2013, 
 3:08 a.m.

 Cheers
 Christian


 On Monday, January 7, 2013 3:51:21 PM UTC+13, Christian Wuerdig wrote:

 Hi,

 after the upgrade to 1.7.1 we can see strange timestamps in the 
 dashboard:
 Like: Posted January 7th, 2013, 2 p.m.
 Last Updated: 11 hours, 19 minutes from now

 In the REST API for that request:

 last_updated2013-01-07T14:**08:21Z/last_updated
 time_added2013-01-07T14:00:**10Z/time_added

 Local time on the server is Mon Jan  7 15:49:37 NZDT 2013

 Seems like there were some changes done on how RB (or Python, or 
 Django?) deal with different time zones (we are in New Zealand here so 
 currently we have *UTC/GMT +13 hours)*. It was all working as expected 
 under 1.6.13.

 Anything I missed when upgrading? Any environment variables which need 
 to be set?

 Cheers
 Christian

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




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




Re: Upgaded from 1.6.3 to 1.7.1 - Styles missing

2013-01-07 Thread Christian Wuerdig
Hi Christian,

Unfortunately I don't have the rb-site upgrade console output anymore but 
I'm pretty sure it didn't say anything in that regards (I went over it 
again yesterday to check if I missed anything). The webserver presented me 
with the page telling me to fix the access rights to the htdocs/media/ext 
directory.

Running rb-site manage /var/www/codereview/ resolve-check static-media 
results in: Couldn't find manual update check 'static-media' (rb-site 
--version shows 1.7.1)

Anyway, it's up and running.

Thanks for your hard work.

Cheers
Christian

On Monday, January 7, 2013 10:22:44 PM UTC+13, Christian Hammond wrote:

 When upgrading to 1.7.1, both rb-site and a Manual Updates page should say 
 these need to be added, tell you what to add, and then make you run an 
 'rb-site manage $sitedir resolve-check static-media' command to use the 
 site.

 Christian

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


 On Sun, Jan 6, 2013 at 6:37 PM, Christian Wuerdig 
 christia...@gmail.comjavascript:
  wrote:

 Thanks - this had me my head scratching for a while. Is this something 
 which is supposed to happen automatically under normal circumstances? 
 Because I can't find any documentation about it.
 For the record: I upgraded from 1.6.13 to 1.7.1 on a Ubuntu 12.04.

 Cheers
 Christian


 On Friday, January 4, 2013 6:15:13 AM UTC+13, Brian wrote:

 Hello,

 I upgraded from v1.6.3 to v1.7.1 this morning using the following steps:

  easy_install -U ReviewBoard
  rb-site upgrade /var/www/reviewboard
  /etc/init.d/memcached restart
  service apache2 restart

 then found that I had to do:
  chown -R www-data /var/www/reviewboard/htdocs/**media/ext
  service apache2 restart

 The upgrade seemed to go ok except the styles are missing when I look at 
 our site, I just see text.

 I found here (https://groups.google.com/**forum/?fromgroups=#!topic/**
 reviewboard/PRKV4CPZoZYhttps://groups.google.com/forum/?fromgroups=#!topic/reviewboard/PRKV4CPZoZY)
  
 that I apparently missed something in the rb-site upgrade so I added

 Alias /static /var/www/reviewboard/htdoc/**static


 to my Apache config and restarted Apache again.

 But I'm still not seeing the styles. Any ideas?

 Thanks,
 Brian

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




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




Re: Ready VM or Recommended distribution for Review Board 1.7

2013-01-07 Thread Christian Wuerdig
I installed it on a Ubuntu following 
http://www.reviewboard.org/docs/manual/dev/admin/installation/linux/ step 
by step using MySQL as backend. No problems encountered.
Hope this helps.

On Tuesday, January 8, 2013 6:20:15 AM UTC+13, Erik Putrycz wrote:

 Are there any downloadable appliances with Review Board 1.7? I found 
 bitnami review board but they only have 1.6
 Otherwise, which distribution would result in the easiest install? Would 
 CentOS 6.3 work?



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




Re: Upgaded from 1.6.3 to 1.7.1 - Styles missing

2013-01-06 Thread Christian Wuerdig
Thanks - this had me my head scratching for a while. Is this something 
which is supposed to happen automatically under normal circumstances? 
Because I can't find any documentation about it.
For the record: I upgraded from 1.6.13 to 1.7.1 on a Ubuntu 12.04.

Cheers
Christian

On Friday, January 4, 2013 6:15:13 AM UTC+13, Brian wrote:

 Hello,

 I upgraded from v1.6.3 to v1.7.1 this morning using the following steps:

  easy_install -U ReviewBoard
  rb-site upgrade /var/www/reviewboard
  /etc/init.d/memcached restart
  service apache2 restart

 then found that I had to do:
  chown -R www-data /var/www/reviewboard/htdocs/media/ext
  service apache2 restart

 The upgrade seemed to go ok except the styles are missing when I look at 
 our site, I just see text.

 I found here (
 https://groups.google.com/forum/?fromgroups=#!topic/reviewboard/PRKV4CPZoZY) 
 that I apparently missed something in the rb-site upgrade so I added

 Alias /static /var/www/reviewboard/htdoc/static


 to my Apache config and restarted Apache again.

 But I'm still not seeing the styles. Any ideas?

 Thanks,
 Brian


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




Upgrading to 1.7.1 results in weird timestamps

2013-01-06 Thread Christian Wuerdig
Hi,

after the upgrade to 1.7.1 we can see strange timestamps in the dashboard:
Like: Posted January 7th, 2013, 2 p.m.
Last Updated: 11 hours, 19 minutes from now

In the REST API for that request:

last_updated2013-01-07T14:08:21Z/last_updated
time_added2013-01-07T14:00:10Z/time_added

Local time on the server is Mon Jan  7 15:49:37 NZDT 2013

Seems like there were some changes done on how RB (or Python, or Django?) 
deal with different time zones (we are in New Zealand here so currently we 
have *UTC/GMT +13 hours)*. It was all working as expected under 1.6.13.

Anything I missed when upgrading? Any environment variables which need to 
be set?

Cheers
Christian

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




Re: Upgrading to 1.7.1 results in weird timestamps

2013-01-06 Thread Christian Wuerdig
Some additional info:

The time zone under General in Reviewboard is set to Pacific/Auckland
If I modify a review request now I get this: Last Updated Jan. 7, 2013, 
3:08 a.m.

Cheers
Christian

On Monday, January 7, 2013 3:51:21 PM UTC+13, Christian Wuerdig wrote:

 Hi,

 after the upgrade to 1.7.1 we can see strange timestamps in the dashboard:
 Like: Posted January 7th, 2013, 2 p.m.
 Last Updated: 11 hours, 19 minutes from now

 In the REST API for that request:

 last_updated2013-01-07T14:08:21Z/last_updated
 time_added2013-01-07T14:00:10Z/time_added

 Local time on the server is Mon Jan  7 15:49:37 NZDT 2013

 Seems like there were some changes done on how RB (or Python, or Django?) 
 deal with different time zones (we are in New Zealand here so currently we 
 have *UTC/GMT +13 hours)*. It was all working as expected under 1.6.13.

 Anything I missed when upgrading? Any environment variables which need to 
 be set?

 Cheers
 Christian


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




Upgrade problem 1.6.6 to 1.6.9 with MySql

2012-06-24 Thread Christian Wuerdig
Hi,

I tried to upgrade review board from 1.6.6 to 1.6.9 but `rb-site upgrade` 
spit some errors like 

_mysql_exceptions.  OperationalError: (1005, Can't create table 
 'reviewboard.#sql-2a4_3' (errno: 150))

A google search led me to an older post in this group: 
https://groups.google.com/forum/?fromgroups#!topic/reviewboard/bHj8P1VPV84

And indeed changing all reviewboard tables to InnoDb solved the issue. I 
just thought I mention this here in case someone else runs into this 
problem and it wasn't straight forward to solve (at least not for me).

The problem was caused by initially setting up rb on a Ubuntu 10.10 which 
used MySQL 5.0 and MyISAM was the default storage engine there. Since MySQL 
5.5 the default storage engine is InnoDb.

Maybe it could be added to the MySQL specific documentation of the 
Administration Guide.

Cheers
Christian

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

Re: Diff fie size limited to 1 MB

2012-06-21 Thread Christian Wuerdig
Hi Christian,

we just hit that issue here by some reviews missing the diff files.

In general this is caused when someone works on a feature branch in the 
repository and then merges in the changes from the trunk. Although it is 
supposed to happen regularly sometimes there can be two or three weeks 
between a trunk merge which can amount to larger diffs.

I would appreciate if that limit can be made configurable

Cheers
Christian

On Thursday, May 17, 2012 7:23:28 AM UTC+12, Christian Hammond wrote:

 Hi Ashish,

 What's the size you're hitting with your diffs, and what's in them? Diffs 
 that are megabytes in size are generally impossible to review.

 I'll look at making the limit flexible, but I want to better understand 
 the problems people are hitting.

 Christian

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


 On Wed, May 16, 2012 at 5:14 AM, Ashish Sharma 
 ashiish.sha...@gmail.comwrote:

 Hi,

 With the release of Review Board (1.6.6), the diff file size is limited 
 to 1MB only.

 Since my setup has a limit of 15MB with earlier version and with the 
 latest update I am facing problems

 How can it be increased to say atleast to 10MB.

 thanks
 Ashish

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




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

Re: Diff fie size limited to 1 MB

2012-06-21 Thread Christian Wuerdig
Sorry, ignore that, just realized that it is configurable since 1.6.7

On Friday, June 22, 2012 3:51:56 PM UTC+12, Christian Wuerdig wrote:

 Hi Christian,

 we just hit that issue here by some reviews missing the diff files.

 In general this is caused when someone works on a feature branch in the 
 repository and then merges in the changes from the trunk. Although it is 
 supposed to happen regularly sometimes there can be two or three weeks 
 between a trunk merge which can amount to larger diffs.

 I would appreciate if that limit can be made configurable

 Cheers
 Christian

 On Thursday, May 17, 2012 7:23:28 AM UTC+12, Christian Hammond wrote:

 Hi Ashish,

 What's the size you're hitting with your diffs, and what's in them? Diffs 
 that are megabytes in size are generally impossible to review.

 I'll look at making the limit flexible, but I want to better understand 
 the problems people are hitting.

 Christian

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


 On Wed, May 16, 2012 at 5:14 AM, Ashish Sharma 
 ashiish.sha...@gmail.comwrote:

 Hi,

 With the release of Review Board (1.6.6), the diff file size is limited 
 to 1MB only.

 Since my setup has a limit of 15MB with earlier version and with the 
 latest update I am facing problems

 How can it be increased to say atleast to 10MB.

 thanks
 Ashish

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




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