Reviewboard 3.0.19 release

2020-11-10 Thread Koushik Roy
I saw in the release notes of ReviewBot 2.0 that Reviewboard 3.0.19 release 
is required.
I could not find Reviewboard release 3.0.19
Anything missing?

Koushik Roy.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/3e961fca-6b59-49d1-9871-2ca72a41a918n%40googlegroups.com.


Re: rb-site manage /var/www/reviewboard rebuild_index gives error

2020-01-27 Thread Koushik Roy
Christian,
  There are few changes in the Reviewboard source. These are minor and 
definitely not related to app initialization and loading extensions.
  Also, these changes have been there for 4-5 years. I have made several 
upgrades by merging newer code from RB open source.
  I never had this issue.

  I am going to try out a few things like not installing the extensions and 
install RB 3.0.15 without my changes etc.
  Let's see how it goes. I might need more help.
  Thank you.

Koushik




On Thursday, January 23, 2020 at 5:01:40 PM UTC-5, Koushik Roy wrote:
>
>
> 1. Upgraded from RB 3.0.6 to 3.0.15
> 2. Everything went fine except -
>
>   rb-site manage /var/www/reviewboard rebuild_index (or update_index) 
> gives error:
>
> ERROR:djblets.extensions.manager:Error loading extension rbmotd: 
> APPLICATION_MODEL refers to model oauth.Application that has not been 
> installed
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.7/dist-packages/Djblets-1.0.12-py2.7.egg/djblets/extensions/manager.py",
>  
> line 704, in _load_extensions
> ext_class = entrypoint.load()
>   File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", 
> line 2443, in load
> return self.resolve()
>   File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", 
> line 2449, in resolve
> module = __import__(self.module_name, fromlist=['__name__'], level=0)
>   File 
> "/usr/local/lib/python2.7/dist-packages/rbmotd-1.0-py2.7.egg/rbmotd/extension.py",
>  
> line 2, in 
> from reviewboard.extensions.hooks import TemplateHook
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-3.0.15.1.dev0-py2.7.egg/reviewboard/extensions/hooks.py",
>  
> line 48, in 
> from reviewboard.urls import (diffviewer_url_names,
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-3.0.15.1.dev0-py2.7.egg/reviewboard/urls.py",
>  
> line 49, in 
> admin.autodiscover()
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/admin/__init__.py",
>  
> line 29, in autodiscover
> import_module('%s.admin' % app)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/utils/importlib.py",
>  
> line 40, in import_module
> __import__(name)
>   File 
> "/usr/local/lib/python2.7/dist-packages/django_oauth_toolkit-0.9.0-py2.7.egg/oauth2_provider/admin.py",
>  
> line 9, in 
> Application = get_application_model()
>   File 
> "/usr/local/lib/python2.7/dist-packages/django_oauth_toolkit-0.9.0-py2.7.egg/oauth2_provider/models.py",
>  
> line 267, in get_application_model
> raise ImproperlyConfigured(e.format(oauth2_settings.APPLICATION_MODEL))
> ImproperlyConfigured: APPLICATION_MODEL refers to model oauth.Application 
> that has not been installed
>
>
> Note: I have added an explicit dependency on requests-oauthlib>=0.8,<=1.0 
> and on django-braces==1.13 as required in RB 3.0.16
>
> What could I be missing?
> Appreciate any help.
> Thanks
>
> Koushik Roy
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/4608b91d-dcb7-472a-a6bb-b77843a61c70%40googlegroups.com.


rb-site manage /var/www/reviewboard rebuild_index gives error

2020-01-23 Thread Koushik Roy

1. Upgraded from RB 3.0.6 to 3.0.15
2. Everything went fine except -

  rb-site manage /var/www/reviewboard rebuild_index (or update_index) gives 
error:

ERROR:djblets.extensions.manager:Error loading extension rbmotd: 
APPLICATION_MODEL refers to model oauth.Application that has not been 
installed
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-1.0.12-py2.7.egg/djblets/extensions/manager.py",
 
line 704, in _load_extensions
ext_class = entrypoint.load()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", 
line 2443, in load
return self.resolve()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", 
line 2449, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File 
"/usr/local/lib/python2.7/dist-packages/rbmotd-1.0-py2.7.egg/rbmotd/extension.py",
 
line 2, in 
from reviewboard.extensions.hooks import TemplateHook
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-3.0.15.1.dev0-py2.7.egg/reviewboard/extensions/hooks.py",
 
line 48, in 
from reviewboard.urls import (diffviewer_url_names,
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-3.0.15.1.dev0-py2.7.egg/reviewboard/urls.py",
 
line 49, in 
admin.autodiscover()
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/admin/__init__.py",
 
line 29, in autodiscover
import_module('%s.admin' % app)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/utils/importlib.py",
 
line 40, in import_module
__import__(name)
  File 
"/usr/local/lib/python2.7/dist-packages/django_oauth_toolkit-0.9.0-py2.7.egg/oauth2_provider/admin.py",
 
line 9, in 
Application = get_application_model()
  File 
"/usr/local/lib/python2.7/dist-packages/django_oauth_toolkit-0.9.0-py2.7.egg/oauth2_provider/models.py",
 
line 267, in get_application_model
raise ImproperlyConfigured(e.format(oauth2_settings.APPLICATION_MODEL))
ImproperlyConfigured: APPLICATION_MODEL refers to model oauth.Application 
that has not been installed


Note: I have added an explicit dependency on requests-oauthlib>=0.8,<=1.0 
and on django-braces==1.13 as required in RB 3.0.16

What could I be missing?
Appreciate any help.
Thanks

Koushik Roy

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/35dcf8f0-5f8c-4fb2-97f6-b261fab6cc7c%40googlegroups.com.


Re: Reviewboard and Gitlab

2019-06-26 Thread Koushik Roy
Paul, Christian,

  Thanks very much for giving the useful insight. I will look forward to 
these enhancements.

Koushik


On Wednesday, June 26, 2019 at 7:29:57 AM UTC-4, Christian Hammond wrote:
>
> This for now is the way to do it. There are technical reasons why we need 
> one repository entry per actual repository, and there’s just no way to have 
> a single entry act as a proxy for multiple ones.
>
> Once we wrap up RB4 (soon! Finishing the last big project in it), we’re 
> aiming to redo repository creation for RB5. One major goal is to allow for 
> looking up available repositories (listing all owned by a user/org, or 
> searching) and adding all at once. Just check the boxes and click Add.
>
> On top of this, we’re planning to allow webhooks to be configured on 
> services that offer this to notify us when new repositories owned by a 
> user/org are created on the service, so we can auto-add them.
>
> That’s still down the road, but it’s the equivalent of what Paul mentioned.
>
> Now, I’d recommend doing the creation via the Python modules in Review 
> Board. The API support for creating service-backed repositories isn’t fully 
> there. They work great for simple standalone repositories, but are still 
> missing some things needed to create ones backed by services like GitLab. 
> Using Review Board’s Repository class in Python (via a script or extension) 
> will be easier.
>
> Christian
>
>
> On Wed, Jun 26, 2019 at 02:07 Paul Mansfield  > wrote:
>
>> I'd use the gitlab API to get a list of repositories
>>
>> https://docs.gitlab.com/ee/api/repositories.html
>>
>> and get a list of repositories in RB and compare and create as required
>>
>> https://www.reviewboard.org/docs/manual/3.0/webapi/2.0/resources/repository-list/
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Review Board Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to revie...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/reviewboard/7721373d-5128-45b1-be18-e39799b1ad6c%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> -- 
> Christian Hammond
> President/CEO of Beanbag
> Makers of Review Board
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/b29acfe3-4a42-473b-8684-a3b1e98f4d2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Reviewboard and Gitlab

2019-06-25 Thread Koushik Roy

Trying to setup and use -
  - Reviewboard 3.0.6 + Gitlab 11.10.0-ee

We expect that thousands of developers would use this setup and create 
thousands of projects(or repo, in Gitlab terminology).

According to my understanding of Reviewboard setup, each of these thousands 
of projects need to be added in Reviewboard
as a unique repository. This is absolutely not a sustainable approach.

How can I add ONE (or JUST a FEW) Gitlab repositories in Reviewboard and 
make thousands of developers with thousands
of projects use Gitab+Reviewboard?

I appreciate any help.
Thank you.

Koushik Roy

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/e06f4e18-4378-4a20-a6ba-684b04e9c2cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Review Board Ticket #4805: URL hash does not work: Click on filename in review summary does not take to the file/line in the diff viewer.

2019-03-21 Thread Koushik Roy
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4805/
--

New ticket #4805 by roys2005.gmail.com
For Beanbag, Inc. > Review Board

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


--
URL hash does not work: Click on filename in review summary does not take to 
the file/line in the diff viewer.
==

# What version are you running?
3.xx and 4.x both show the bug.

# What's the URL of the page containing the problem?
https://reviews.reviewboard.org/r/10454/diff/1/?file=134764#file134764line82

# What steps will reproduce the problem?
1. Just click on the above link
2. 
3. 


# What is the expected output? What do you see instead?
Scroll down to the file/line - #file134764line82

# What operating system are you using? What browser?
Firefox & Chrome on Linux

# Please provide any additional information below.


--

-- 
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 https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Review Board Ticket #4777: Publish button is disabled when it shouldn't be

2018-12-31 Thread Koushik Roy
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4777/
--

New ticket #4777 by roys2005.gmail.com
For Beanbag, Inc. > Review Board

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


--
Publish button is disabled when it shouldn't be
==

# What version are you running?
3.0.6

# What's the URL of the page containing the problem?
Any review request draft

# What steps will reproduce the problem?
1. make some valid edits in the "testing done" field
2. edit reviewers field with invalid values
2. notice the error message and the reviewers field returning to a correct state
3. both publish and discard buttons are grayed out
4. I should be able to publish the changes I made in the testing done field


# What is the expected output? What do you see instead?


# What operating system are you using? What browser?
Firefox on Linux

# Please provide any additional information below.


--

-- 
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 https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Review Board Ticket #4776: Popup, when at the end of the page becomes partly invisible.

2018-12-31 Thread Koushik Roy
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4776/
--

New ticket #4776 by roys2005.gmail.com
For Beanbag, Inc. > Review Board

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

File attachments:

 * RB-bug-report-2.png
   



--
Popup, when at the end of the page becomes partly invisible.
==

# What version are you running?
3.0.6

# What's the URL of the page containing the problem?
/diff/1/#

# What steps will reproduce the problem?
1. Make sure the last line of the last file has a comment/issue
2. Hover on the number
3. The popup is not fully visible


# What is the expected output? What do you see instead?


# What operating system are you using? What browser?
Firefox on Linux

# Please provide any additional information below.


--

-- 
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 https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Review Board Ticket #4775: Dashboard table header mis-alignment

2018-12-31 Thread Koushik Roy
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4775/
--

New ticket #4775 by roys2005.gmail.com
For Beanbag, Inc. > Review Board

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

File attachments:

 * RB-bug-report-1png
   



--
Dashboard table header mis-alignment
==

# What version are you running?
3.0.6

# What's the URL of the page containing the problem?
/dashboard

# What steps will reproduce the problem?
1. Load the dashboard
2. Have 9 or 10 columns displayed
3. Make the browser window width somewhat narrower
4. Watch the misaligned heading


# What is the expected output? What do you see instead?


# What operating system are you using? What browser?
Firefox on Linux

# Please provide any additional information below.


--

-- 
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 https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: RB 3.0.11 causes Apache to spike to 100% and deadlock?

2018-12-17 Thread Koushik Roy
Just in case this helps -

I have experienced that memcached sometimes looses mind with inexplicable 
behavior showing up in RB.
I restarted memcached and things were fine.
Of course this does not help debugging, but you can get going at least.

Thanks

Koushik


On Friday, December 14, 2018 at 7:12:53 PM UTC-5, pisymbol wrote:
>
>
>
> On Fri, Dec 14, 2018 at 4:04 PM Christian Hammond  > wrote:
>
>> Does this happen with any particular files in the repository? Is there 
>> anything there that may be common amongst the ones that are failing?
>>
>
> Nothing is jumping out. 
>
>>
>> There's definitely no change in 3.0.11 that impact the diff viewer code, 
>> or repository-related operations.
>>
>> Just to sanity check, was Apache restarted after upgrading?
>>
>
> Several times at this point.
>
> -aps
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CERTIFICATE_VERIFY_FAILED error when webhook is triggered

2018-11-08 Thread Koushik Roy

>
> I have added self-signed certificate into trust store and that has worked 
> for me. This should be done very cautiously, the self-signed certificate 
> must really be trustworthy.

   Thanks

Koushik 

>  

 

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Review Board Ticket #4727: Autocomple and autocorrect behavior

2018-07-27 Thread Koushik Roy
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4727/
--

New ticket #4727 by roys2005.gmail.com
For Beanbag, Inc. > Review Board

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


--
Autocomple and autocorrect behavior
==

# What version are you running?
  2.5.15

# What's the URL of the page containing the problem?
  Edit a draft

# What steps will reproduce the problem?
1. Enter part of a username in the reviewers field
2. RB would autocomplete
3. Then browser would autocorrect - end up with a wrong username

# What is the expected output? What do you see instead?
  I saw as above. I would expect, if possible, design the field in such a way
  that Safari does not consider the field for auto correction.

# What operating system are you using? What browser?
  MAC/Safari with Safari's autocorrect turned ON.

# Please provide any additional information below.


--

-- 
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 https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Review Board Ticket #4726: Error when archiving reviews from dashboard

2018-07-27 Thread Koushik Roy
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4726/
--

New ticket #4726 by roys2005.gmail.com
For Beanbag, Inc. > Review Board

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


--
 Error when archiving reviews from dashboard 
==

# What version are you running?
  2.5.15

# What's the URL of the page containing the problem?
  /dashboard/

# What steps will reproduce the problem?
1. Go to reviewboard dashboard
2. Select on Notifications Incoming or any other tab with 2 pages
3. Make sure selection on top says "Show archived". i.e. archives are not shown
4. Navigate to page 2
5. Click on archive.
6. Select all reviews using the checkbox in the table header
7. Notice reviews do not archive as expected and error in the browser console. 

# What is the expected output? What do you see instead?
  I should not see the error. Also, the reviews should get archived.

# What operating system are you using? What browser?
  Linux/Chrome


# Please provide any additional information below.

On my reviewboard dashboard, I have a very large count of incoming 
notifications. When trying to archive the reviews I got the below error and the 
reviews did not archive.

jquery-1.11.1.min.8101d596b2b8.js:4 GET 
http://reviewboard.mycompany.com/dashboard/?type=in=2=optional=0
 404 (NOT FOUND)


--

-- 
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 https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Review Board Ticket #4725: Diff viewer page forced to scroll OR repositioned.

2018-07-27 Thread Koushik Roy
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4725/
--

New ticket #4725 by roys2005.gmail.com
For Beanbag, Inc. > Review Board

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


--
Diff viewer page forced to scroll OR repositioned.
==

# What version are you running?
  2.5.15

# What's the URL of the page containing the problem?
  Diff viewer of a review request

# What steps will reproduce the problem?
1. Go to review http://reviewboard.mycompany.com/r/251858/diff/1#index_header
2. Keep page scrolled up
3. Hover over the number with the comment/issue on the left on the diff
4. The issue preview floats down below the page. This should be above
5. Now scroll down to the end of the page
6. Hover over the number and see the same above behavior
7. Scroll down further to read from preview
8. Hover over the number again and notice the page keeps fluctuating constantly 
making it unclickable and the preview unreadable


# What is the expected output? What do you see instead?
  Position the pop up such that it is visible entirely. I see parts of it.

# What operating system are you using? What browser?
  Linux/Chrome

# Please provide any additional information below.


--

-- 
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 https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: A weird unicode puzzle after upgrade from 2.0.20 to 2.5.4

2016-12-23 Thread Koushik Roy
My devserver is indeed a staging server.
Also, I have written a couple of extensions for our specific workflow in 
the organization. For that too I need a devserver.

I validated that MySQL 5.6 does not produce this warning.
I will upgrade to MySQL 5.6 soon.

Thanks

Koushik



On Friday, December 23, 2016 at 1:37:04 AM UTC-5, Christian Hammond wrote:
>
> What's the purpose of your dev server? Depending on needs, SQLite might be 
> a better option, but probably not if this is a staging server.
>
> You might want to try a newer version of MySQL. I might be wrong, but I 
> don't believe I've hit this issue with 5.6. When in DEBUG = True mode, 
> warnings will propagate as errors. You may have to configure MySQL to 
> ignore the error code.
>
> Christian
>
>
> On Thu, Dec 22, 2016 at 10:40 Koushik Roy <roys...@gmail.com > 
> wrote:
>
>> Christian,
>>   There is still one problem, though.
>>   For a development server where an exception is raised due to this utf8 
>> warning, creating new review request fails.
>>
>> rbt post --server=http://localhost:8080
>> Generating diff for pending changeset default
>>
>> ==> HTTP Authentication Required
>> Enter authorization information for "Web API" at localhost:8080
>> Username: admin
>> Password: 
>> ERROR: Error uploading diff
>>
>>
>> One or more fields had errors (HTTP 400, API Error 105)
>>
>> path: Invalid utf8 character string: 'C96A49'
>>
>> Your review request still exists, but the diff is not attached.
>>
>> http://localhost:8080/r/5/
>>
>>
>>   Any advice?
>>
>> Thanks,
>>
>> Koushik
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> -- 
>>
>>
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>>
>>
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>>
>>
>> Happy user? Let us know! https://www.reviewboard.org/users/
>>
>>
>> --- 
>>
>>
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>>
>>
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com .
>>
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>

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


Re: A weird unicode puzzle after upgrade from 2.0.20 to 2.5.4

2016-12-21 Thread Koushik Roy
MySQL 5.5

Thanks for the explanation
So it is not required to condense diff before db migration, right?

In fact, condense diff happens on the fly. Is there any advantage to do
condense diff from time to time?

On Dec 21, 2016 7:19 PM, "Christian Hammond" <christ...@beanbaginc.com>
wrote:

> Hey,
>
> So the good news is, this is not a corruption issue, nor is it related to
> the contents of any of your files.
>
> This error is occurring when saving diff data using our new compressed
> storage mechanism. We populate a binary field with compressed diff data
> when uploading a new diff, viewing an existing diff, or condensing all
> diffs.
>
> What's happening is that MySQL is validating the compressed data as
> Unicode. It's then seeing something it doesn't like in there and
> complaining about it, but still permitting it to be stored. The storage is
> therefore working as expected (since you can then successfully view the
> diff), just the validation is wrong. This happens regardless of the
> contents of your diffs.
>
> Newer versions of Django work around this, but we don't use those
> versions. I'll see if there's a workaround we can put in place.
>
> If you keep DEBUG set to False (which you should for production), then the
> warnings shouldn't crash the page. If need be, you can instruct MySQL to
> ignore warning code 1300.
>
> What version of MySQL are you using?
>
> Christian
>
>
> On Wed, Dec 21, 2016 at 08:41 Koushik Roy <roys2...@gmail.com> wrote:
>
> Christian,
>   As promised, more information in the file attached.
>   Please HELP, HELP!!
>
>   With the utf8 conversion warning, MY CONCERN IS DATA LOSS/CORRUPTION.
>   If the text contains only plain English, then may be we are fine.
>   But where multi-byte encoding is required, is there any guarantee that
>   the warning did not cause data loss/corruption?
>
>   Also, I don't understand if the encoding warning has anything to do
>   with the 'condensediffs' as Eric had mentioned.
>   Performing 'condensediffs' may have only bypassed the warning?
>
>   Let me know if you need any more information.
>
> Thank you.
>
> Koushik Roy.
>
>
>
>
>
>
>
>
>
>
> --
>
>
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
>
>
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
>
>
> Happy user? Let us know! https://www.reviewboard.org/users/
>
>
> ---
>
>
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
>
>
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
>
>
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "reviewboard" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/reviewboard/sERwJNqPy60/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: A weird unicode puzzle after upgrade from 2.0.20 to 2.5.4

2016-12-21 Thread Koushik Roy
Christian,
  As promised, more information in the file attached.
  Please HELP, HELP!!

  With the utf8 conversion warning, MY CONCERN IS DATA LOSS/CORRUPTION.
  If the text contains only plain English, then may be we are fine.
  But where multi-byte encoding is required, is there any guarantee that
  the warning did not cause data loss/corruption?

  Also, I don't understand if the encoding warning has anything to do
  with the 'condensediffs' as Eric had mentioned.
  Performing 'condensediffs' may have only bypassed the warning?

  Let me know if you need any more information.

Thank you.

Koushik Roy.


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


capture
Description: Binary data


Re: A weird unicode puzzle after upgrade from 2.0.20 to 2.5.4

2016-12-20 Thread Koushik Roy

Yes, the database upgrade was complete without errors, after changing the 
tables to InnoDB.
I will soon give you the full information. My db size is too large (15GB).
I am trying to create a smaller test DB to reproduce the problem.

Thanks,


On Monday, December 19, 2016 at 7:35:44 PM UTC-5, Christian Hammond wrote:
>
> Hi,
>
> Sorry you're hitting this too. To confirm, did the actual database upgrade 
> itself complete without errors, once the table type and such were adjusted?
>
> Can you show me the full error information?
>
> Thanks,
>
> Christian
>
>
> On Mon, Dec 19, 2016 at 15:23 Koushik Roy <roys...@gmail.com > 
> wrote:
>
>>
>> Christian,
>>   I too, have faced this problem while upgrading from 2.0.21 to 2.5.7
>>   The 'invalid utf8 character' may be only a symptom of the problem.
>>   My only guess is around the following -
>> - the database was using 'latin1' as default charset, RB 2.5.x 
>> expects 'utf8'. So some mismatch/warning results.
>> - the database was using 'MyISAM' with which the evolution fails; one 
>> has to change the engine to 'InnoDB' before evolution.
>>   If you want a sample diff, I can possibly produce it - let me know how, 
>> please give me step by step instructions.
>>
>>   Bottomline, this upgrade has not yet been successful for me.
>>   Any help is appreciated.
>>   Thanks
>>
>> Koushik Roy.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> -- 
>>
>>
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>>
>>
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>>
>>
>> Happy user? Let us know! https://www.reviewboard.org/users/
>>
>>
>> --- 
>>
>>
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>>
>>
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com .
>>
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>

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


Re: A weird unicode puzzle after upgrade from 2.0.20 to 2.5.4

2016-12-19 Thread Koushik Roy

Christian,
  I too, have faced this problem while upgrading from 2.0.21 to 2.5.7
  The 'invalid utf8 character' may be only a symptom of the problem.
  My only guess is around the following -
- the database was using 'latin1' as default charset, RB 2.5.x expects 
'utf8'. So some mismatch/warning results.
- the database was using 'MyISAM' with which the evolution fails; one 
has to change the engine to 'InnoDB' before evolution.
  If you want a sample diff, I can possibly produce it - let me know how, 
please give me step by step instructions.

  Bottomline, this upgrade has not yet been successful for me.
  Any help is appreciated.
  Thanks

Koushik Roy.

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


Re: Review Board Ticket #4366: Diff Viewer with interdiff broken

2016-12-09 Thread Koushik Roy
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4366/
--

New update by roys2005.gmail.com
For Beanbag, Inc. > Review Board > Ticket #4366


Reply:

Thanks

-- 
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 https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Review Board Ticket #4366: Diff Viewer with interdiff broken

2016-12-09 Thread Koushik Roy
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4366/
--

New update by roys2005.gmail.com
For Beanbag, Inc. > Review Board > Ticket #4366


Reply:

May I request that this bug be treated with high priority.
I believe I have provided all the information required.
Despite, this bug is sitting in "Need info".

This bug makes interdiff very unusable in our organization.
Many people have faced this issue and complained.

Thanks for your attention.

Koushik

-- 
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 https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Reviewboard is hung

2016-02-05 Thread Koushik Roy
I have moved this discussion here as you suggested.

Version info:
  - RB 2.0.18
  - Debian 7.6
  - Apache 2.2.2 with mod_wsgi

Yes, this is not normal. I have been administering RB for 2 yrs.
This happened for the first time.

I enabled server-status for Apache and checked that there were
several keep-alive threads.

There are some queries that we run against ReviewBoard using
the REST API - some of these queries cause keep-alive.

Keep alive is ok as long as the child apache processes do not take 100% CPU.
But, that was not the case -

Also, at one point in time all 4 CPUs were at 100%
Review Board log, apache log & syslog do not give me any clue.

I will investigate. In the meantime if you have any clue, that will be 
helpful.

Thanks,


top - 13:10:09 up 513 days,  2:39,  5 users,  load average: 2.08, 2.13, 2.01

Tasks: 121 total,   1 running, 120 sleeping,   0 stopped,   0 zombie

%Cpu0  :  8.9 us,  0.3 sy,  0.0 ni, 90.1 id,  0.0 wa,  0.0 hi,  0.7 si,  
0.0 st

%Cpu1  :100.0 us,  0.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  
0.0 st

%Cpu2  :  2.7 us,  0.0 sy,  0.0 ni, 97.3 id,  0.0 wa,  0.0 hi,  0.0 si,  
0.0 st

%Cpu3  :100.0 us,  0.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  
0.0 st

KiB Mem:   8200212 total,  6805576 used,  1394636 free,   299688 buffers

KiB Swap:  3071996 total,16576 used,  3055420 free,  1688108 cached

 

 PID USER  PR  NI  VIRT  RES  SHR S  %CPU %MEMTIME+  
COMMAND 
   


 6874 www-data  20   0 92120 3288 1088 S   0.0  0.0   0:00.00 
apache2  
  

 6876 www-data  20   0  614m 228m 7376 S  99.8  2.9 202:46.27 
apache2 
   


 6878 www-data  20   0  624m 231m 7380 S  99.8  2.9 221:18.05 
apache2 
   


 9348 www-data  20   0 1395m 967m 7592 S   2.0 12.1  10:59.89 apache2 


 

 

 

(gdb) where

#0  0x7f4e64a2118d in read () at ../sysdeps/unix/syscall-template.S:82

#1  0x7f4e65542cd4 in ap_mpm_pod_check ()

#2  0x7f4e6551524b in ?? ()

#3  0x7f4e655417a9 in ?? ()

#4  0x7f4e65541839 in ?? ()

#5  0x7f4e65542305 in ap_mpm_run ()

#6  0x7f4e65515ee6 in main ()

 

 

 

 

(gdb) where

#0  0x7f4e64a213b0 in __accept_nocancel () at 
../sysdeps/unix/syscall-template.S:82

#1  0x7f4e629f42c1 in ?? () from /usr/lib/apache2/modules/mod_cgid.so

#2  0x7f4e629f4d87 in ?? () from /usr/lib/apache2/modules/mod_cgid.so

#3  0x7f4e6552ad99 in ap_run_post_config ()

#4  0x7f4e65515ec3 in main ()

 


 

Hi,

That's not normal at all for them to hang. What version of Review Board are 
you running?

Can you provide more details about your system?  Apache version, Apache 
configuration, mod_wsgi vs fastcgi vs mod_python?

(Btw, this would be best on revie...@googlegroups.com, as it's not related 
to the development of the product or add-ons.)

Christian

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

- hide quoted text -
On Fri, Feb 5, 2016 at 9:17 AM, Koushik Roy <roys...@gmail.com> wrote:

> - hide quoted text -
>

> At my site where Review Board is deployed, I found that 4 apache threads 
> are hung.
>
These threads are running underlying Review Board code.
>

> Any clue as to how to find out what caused these threads to hang?
>
Any method to attach a debugger to the Python code?
>

> Thanks for the help.
>

> Koushik
>

>
> -- 


> --- 

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


Re: Reviewboard is hung

2016-02-05 Thread Koushik Roy
Christian, we are using Perforce and local git repositories.
In the review board log I find that a file retrieval from Perforce took 
about 27sec. just before the apache threads hung.
I don't know if this is related or not.

Koushik



On Friday, February 5, 2016 at 4:53:03 PM UTC-5, Koushik Roy wrote:
>
> I have moved this discussion here as you suggested.
>
> Version info:
>   - RB 2.0.18
>   - Debian 7.6
>   - Apache 2.2.2 with mod_wsgi
>
> Yes, this is not normal. I have been administering RB for 2 yrs.
> This happened for the first time.
>
> I enabled server-status for Apache and checked that there were
> several keep-alive threads.
>
> There are some queries that we run against ReviewBoard using
> the REST API - some of these queries cause keep-alive.
>
> Keep alive is ok as long as the child apache processes do not take 100% 
> CPU.
> But, that was not the case -
>
> Also, at one point in time all 4 CPUs were at 100%
> Review Board log, apache log & syslog do not give me any clue.
>
> I will investigate. In the meantime if you have any clue, that will be 
> helpful.
>
> Thanks,
>
>
> top - 13:10:09 up 513 days,  2:39,  5 users,  load average: 2.08, 2.13, 
> 2.01
>
> Tasks: 121 total,   1 running, 120 sleeping,   0 stopped,   0 zombie
>
> %Cpu0  :  8.9 us,  0.3 sy,  0.0 ni, 90.1 id,  0.0 wa,  0.0 hi,  0.7 si,  
> 0.0 st
>
> %Cpu1  :100.0 us,  0.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  
> 0.0 st
>
> %Cpu2  :  2.7 us,  0.0 sy,  0.0 ni, 97.3 id,  0.0 wa,  0.0 hi,  0.0 si,  
> 0.0 st
>
> %Cpu3  :100.0 us,  0.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  
> 0.0 st
>
> KiB Mem:   8200212 total,  6805576 used,  1394636 free,   299688 buffers
>
> KiB Swap:  3071996 total,16576 used,  3055420 free,  1688108 cached
>
>  
>
>  PID USER  PR  NI  VIRT  RES  SHR S  %CPU %MEMTIME+  
> COMMAND   
>  
>
>
>  6874 www-data  20   0 92120 3288 1088 S   0.0  0.0   0:00.00 
> apache2  
>   
>
>  6876 www-data  20   0  614m 228m 7376 S  99.8  2.9 202:46.27 
> apache2   
>  
>
>
>  6878 www-data  20   0  624m 231m 7380 S  99.8  2.9 221:18.05 
> apache2   
>  
>
>
>  9348 www-data  20   0 1395m 967m 7592 S   2.0 12.1  10:59.89 apache2 
>
>
>  
>
>  
>
>  
>
> (gdb) where
>
> #0  0x7f4e64a2118d in read () at ../sysdeps/unix/syscall-template.S:82
>
> #1  0x7f4e65542cd4 in ap_mpm_pod_check ()
>
> #2  0x7f4e6551524b in ?? ()
>
> #3  0x7f4e655417a9 in ?? ()
>
> #4  0x7f4e65541839 in ?? ()
>
> #5  0x7f4e65542305 in ap_mpm_run ()
>
> #6  0x7f4e65515ee6 in main ()
>
>  
>
>  
>
>  
>
>  
>
> (gdb) where
>
> #0  0x7f4e64a213b0 in __accept_nocancel () at 
> ../sysdeps/unix/syscall-template.S:82
>
> #1  0x7f4e629f42c1 in ?? () from /usr/lib/apache2/modules/mod_cgid.so
>
> #2  0x7f4e629f4d87 in ?? () from /usr/lib/apache2/modules/mod_cgid.so
>
> #3  0x7f4e6552ad99 in ap_run_post_config ()
>
> #4  0x7f4e65515ec3 in main ()
>
>  
>
>
>  
>
> Hi,
>
> That's not normal at all for them to hang. What version of Review Board 
> are you running?
>
> Can you provide more details about your system?  Apache version, Apache 
> configuration, mod_wsgi vs fastcgi vs mod_python?
>
> (Btw, this would be best on revie...@googlegroups.com, as it's not 
> related to the development of the product or add-ons.)
>
> Christian
>
> -- 
> Christian Hammond - chri...@beanbaginc.com
> Review Board - https://www.reviewboard.org
> Beanbag, Inc. - https://www.beanbaginc.com
>
> - hide quoted text -
> On Fri, Feb 5, 2016 at 9:17 AM, Koushik Roy <roys...@gmail.com> wrote:
>
>> - hide quoted text -
>>
>
>> At my site where Review Board is deployed, I found that 4 apache threads 
>> are hung.
>>
> These threads are running underlying Review Board code.
>>
>
>> Any clue as to how to find out what caused these threads to hang?
>>
> Any method to attach a debugger to the Python code?
>>
>
>> Thanks for the help.
>>
>
>> Koushik
>>
>
>>
>> -- 
>
>
>> --- 
>
>

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


Need Help: Review Board Unit Test Problem

2014-04-08 Thread Koushik Roy

Hi,

  I am trying to run review board unit tests with manage.py test

  I have two questions -

1. The tests were hung. What am I missing?
I was able to run them once - but not the second time.

*Copying 
'/home/kroy/envs/serverside/apr4/local/lib/python2.7/site-packages/Django-1.4.10-py2.7.egg/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js'*

*267 static files copied.*
*Creating test database for alias 'default'...*
*^Z*
*Suspended*


2. When the tests ran for the first time, I noticed that I need 
internet connection to access Perforce server etc.
How can I run the tests with internal servers?


Thanks for the help.

Koushik Roy.

-- 
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: Need Help: Review Board Unit Test Problem

2014-04-08 Thread Koushik Roy
Christian, thanks for the quick response.
1. Yes, I am using sqlite for the unit tests. (For my actual server, its 
MySql)
2  3. I am running RB1.7.13 on Debian7-64

Its only the tests that I cannot run; my real environment with Apache-MySql 
etc. is functional.

Thanks.




On Tuesday, April 8, 2014 3:53:52 PM UTC-4, Christian Hammond wrote:

 Hi,

 This is probably best discussed on the reviewboard-dev list, but that's 
 okay. I have a few questions.

 1. Are you using sqlite as your database backend, or something else? You 
 should only use sqlite for the test suite, or you'll have a bad time.

 2. What are you running the tests on, OS/distro-wise?

 3. What version of Review Board?

 You do need an Internet connection for many of the tests, but assuming a 
 modern tree, it *should* skip those tests once it realizes it can't reach 
 the servers. There is no way to run against internal servers, since they 
 would simply fail. We need it to be the specific servers we're testing 
 against.

 Christian

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


 On Tue, Apr 8, 2014 at 12:29 PM, Koushik Roy roys...@gmail.comjavascript:
  wrote:


 Hi,

   I am trying to run review board unit tests with manage.py test

   I have two questions -

 1. The tests were hung. What am I missing?
 I was able to run them once - but not the second time.

 *Copying 
 '/home/kroy/envs/serverside/apr4/local/lib/python2.7/site-packages/Django-1.4.10-py2.7.egg/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js'*

 *267 static files copied.*
 *Creating test database for alias 'default'...*
 *^Z*
 *Suspended*


 2. When the tests ran for the first time, I noticed that I need 
 internet connection to access Perforce server etc.
 How can I run the tests with internal servers?


 Thanks for the help.

 Koushik Roy.

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