Re: django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1

2009-06-02 Thread Josh Joy

I'm not entirely sure what that means?

How do I now which Python is running Review Board? I'm just using the
one under bin...I have a fresh install of CentOS...so I'm not seeing
multiple versions of Python...

Thanks,
Josh

On Tue, Jun 2, 2009 at 12:08 AM, Christian Hammond chip...@chipx86.com wrote:
 Make sure you installed the new MySQLdb using the same version of Python
 that's running Review Board.

 Christian

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


 On Mon, Jun 1, 2009 at 7:26 PM, joshjdevl joshjd...@gmail.com wrote:

 Hi,

 What exactly did you install for drivers that reoslved the issue?

 I'm still receiving ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is
 required; you have 1.2.1, though I  have 1.2.2 installed and in my
 site-package

 Thanks,
 Josh

 On Apr 7, 1:40 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
  I had to install new drivers for python. Thanks!
 
  On Apr 7, 1:36 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
 
   Sorry, I forgot to say that I am using Red Hat Enterprise 5, on a new
   server. +
 
   On Apr 7, 1:35 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
 
Hello, I am getting errors while running the tool:
rb-site install /var/www/reviews.example.com
 
I have created the database, but have the following issues, any help
is appreciated:
 
* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
Creating database ... Traceback (most recent call last):
  File /usr/bin/rb-site, line 5, in ?
    pkg_resources.run_script('ReviewBoard==1.0beta2', 'rb-site')
  File /usr/lib/python2.4/site-packages/pkg_resources.py, line
448,
in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File /usr/lib/python2.4/site-packages/pkg_resources.py, line
1166,
in run_script
    execfile(script_filename, namespace, namespace)
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 1280, in ?
    main(sys.argv[1:])
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 1275, in main
    command.run()
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 912, in run
    self.show_install_status()
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 1134, in
show_install_status
    site.sync_database)
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 519, in step
    func()
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 224, in sync_database
    self.run_manage_command(syncdb, [--noinput])
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 261, in run_manage_command
    fix_django_evolution_issues(reviewboard.settings)
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/reviewboard/admin/migration.py, line 13, in
fix_django_evolution_issues
    import django.db.models.fields as model_fields
  File
/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
django/db/__init__.py, line 16, in ?
    backend = __import__('%s%s.base' % (_import_path,
settings.DATABASE_ENGINE), {}, {}, [''])
  File
/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
django/db/backends/mysql/base.py, line 22, in ?
    raiseImproperlyConfigured(MySQLdb-1.2.1p2 or newer is required;
you have %s % Database.__version__)
django.core.exceptions.ImproperlyConfigured:MySQLdb-1.2.1p2 or newer
is required; you have 1.2.1



 


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



windows post-review errors while using on server

2009-06-02 Thread mmorgan

Hi,

I pretty new to review board, but want to say firstly it is a great
tool so keep up the good work!
Ive managed to set up review board on my windows server, which also
hosts my svn repository.
Ive decided to try to get post-review set up so that we can
automatically create reviews from the svn hooks, but im having a bit
of trouble getting it to work.
I apologise in advance if someone has answered the same question, ive
search everywhere in the discussion groups but haven't had any luck
finding an answer!

Currently I have python and difftools all installed, and installed
post-review as per the instructions using easy_install -U RBTools,
which seems to work. I have created a .bat file just to see if i can
get post-review working before trying to get it working with the svn
hooks. When i run the following from my .bat file:

C:\Python25\ScriptsC:\Python25\python.exe C:\Python25\Scripts\post-
review --repository-url==https://REPO_IP/svn/prototype --revision-
range=r533:r534 --server=http://127.0.0.1:8080 --username=admin --
password=rbAdminPass --debug

I get the following error dump:

 svn info =https://REPO_IP/svn/prototype
 cleartool pwv -short
Traceback (most recent call last):
  File C:\Python25\Scripts\post-review, line 5, in module
pkg_resources.run_script('rbtools==0.2beta1', 'post-review')
  File C:\Python25\Lib\site-packages\pkg_resources.py, line 448, in
run_script
self.require(requires)[0].run_script(script_name, ns)
  File C:\Python25\Lib\site-packages\pkg_resources.py, line 1173, in
run_script
exec script_code in namespace, namespace
  File C:\Python25\Scripts\post-review, line 2313, in module
  File C:\Python25\Scripts\post-review, line 2254, in main
  File C:\Python25\Scripts\post-review, line 2206, in
determine_client
  File C:\Python25\Scripts\post-review, line 744, in
get_repository_info
  File C:\Python25\Scripts\post-review, line 1889, in execute
  File C:\Python25\Lib\subprocess.py, line 594, in __init__
errread, errwrite)
  File C:\Python25\Lib\subprocess.py, line 822, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified

Any help would be much appreciated!

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



Re: fail to post-commit with --revision-range

2009-06-02 Thread sailor...@gmail.com

I tried to make a change as below.
546c546
 rev_str += -r %s % rev
---
 rev_str +=  -r %s % rev

It seems this Python code is not too complex, I will try to customize
it later.


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



Re: Mail features

2009-06-02 Thread Vesterbaek

I would find it useful to to be able to configure this independently
for groups and people, such that a user can choose to be member of a
particular group, but not receive any emails from review requests to
that group, but only get emails if a review request is directed at the
user (listed in people).

Usecase:
 - We have a number of development teams, which each map to one or
more reviewboard groups. I've setup default reviewers for the
different groups based on the repository paths of the files in the
review requests. We do it this way to make sure that all developers
can easily stay orientated about different review requests that is
relevant for them, and possibly comment if they feel like doing so.
They should not (be forced to) receive emails about these group review
requests. Mandatory reviewers are put in the peoples field, and
these should normally receive emails.

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



Re: Mail features

2009-06-02 Thread Chris Clark

Vesterbaek wrote:
 I would find it useful to to be able to configure this independently
 for groups and people, such that a user can choose to be member of a
 particular group, but not receive any emails from review requests to
 that group, but only get emails if a review request is directed at the
 user (listed in people).

 Usecase:
  - We have a number of development teams, which each map to one or
 more reviewboard groups. I've setup default reviewers for the
 different groups based on the repository paths of the files in the
 review requests. We do it this way to make sure that all developers
 can easily stay orientated about different review requests that is
 relevant for them, and possibly comment if they feel like doing so.
 They should not (be forced to) receive emails about these group review
 requests. Mandatory reviewers are put in the peoples field, and
 these should normally receive emails.
   

The way we tackle this is with (Mailman) mailing lists. People join the 
mailing list and have the usual options; all emails, digest, or no emails.

We then making the mailing-list-email-address the group email address 
and NEVER add anyone to the Reviewboard groups.

Then when posting a review add the group, and the specific people.

Not exactly what you asked for but can accomplish the same thing. This 
works for us as we had an existing mailing list already in place, 
reviewboard simply makes life easier for the people that want to use 
Reviewboard, this use case may not work for everyone.

Chris


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



Re: Mail features

2009-06-02 Thread Helder Ribeiro

On Tue, Jun 2, 2009 at 3:52 PM, Chris Clark chris.cl...@ingres.com wrote:

 Vesterbaek wrote:
 I would find it useful to to be able to configure this independently
 for groups and people, such that a user can choose to be member of a
 particular group, but not receive any emails from review requests to
 that group, but only get emails if a review request is directed at the
 user (listed in people).

 Usecase:
  - We have a number of development teams, which each map to one or
 more reviewboard groups. I've setup default reviewers for the
 different groups based on the repository paths of the files in the
 review requests. We do it this way to make sure that all developers
 can easily stay orientated about different review requests that is
 relevant for them, and possibly comment if they feel like doing so.
 They should not (be forced to) receive emails about these group review
 requests. Mandatory reviewers are put in the peoples field, and
 these should normally receive emails.


 The way we tackle this is with (Mailman) mailing lists. People join the
 mailing list and have the usual options; all emails, digest, or no emails.

 We then making the mailing-list-email-address the group email address
 and NEVER add anyone to the Reviewboard groups.

 Then when posting a review add the group, and the specific people.

Great idea! So this way the review requests don't get listed on
people's reviewboard inbox right? Can they be browsed somewhere? I was
looking for a way to make review requests feel more optional as a
way to introduce code review in a company that's not used to it. This
way I could install a post-receive-hook that would create a review
request for every commit, but that wouldn't make anyone responsible
for it. This way people could just browse past commits and comment on
them if they felt like it. Hopefully feedback would increase to a
point where more formal adoption could be established.


 Not exactly what you asked for but can accomplish the same thing. This
 works for us as we had an existing mailing list already in place,
 reviewboard simply makes life easier for the people that want to use
 Reviewboard, this use case may not work for everyone.

 Chris


 


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



Re: Mail features

2009-06-02 Thread Christian Hammond

You can go ahead and join groups with this method and still not
receive emails. We only email people individually if there is no
mailing list associated with the group. People can join the group but
not the mailing list and shouldn't see the emails.

Now, if you are on the target reviewer list or you ever review the
review request, you will be directly on the CC list. This we can make
optional in a future version.

Christian


On Tuesday, June 2, 2009, Helder Ribeiro hel...@gmail.com wrote:

 On Tue, Jun 2, 2009 at 3:52 PM, Chris Clark chris.cl...@ingres.com wrote:

 Vesterbaek wrote:
 I would find it useful to to be able to configure this independently
 for groups and people, such that a user can choose to be member of a
 particular group, but not receive any emails from review requests to
 that group, but only get emails if a review request is directed at the
 user (listed in people).

 Usecase:
  - We have a number of development teams, which each map to one or
 more reviewboard groups. I've setup default reviewers for the
 different groups based on the repository paths of the files in the
 review requests. We do it this way to make sure that all developers
 can easily stay orientated about different review requests that is
 relevant for them, and possibly comment if they feel like doing so.
 They should not (be forced to) receive emails about these group review
 requests. Mandatory reviewers are put in the peoples field, and
 these should normally receive emails.


 The way we tackle this is with (Mailman) mailing lists. People join the
 mailing list and have the usual options; all emails, digest, or no emails.

 We then making the mailing-list-email-address the group email address
 and NEVER add anyone to the Reviewboard groups.

 Then when posting a review add the group, and the specific people.

 Great idea! So this way the review requests don't get listed on
 people's reviewboard inbox right? Can they be browsed somewhere? I was
 looking for a way to make review requests feel more optional as a
 way to introduce code review in a company that's not used to it. This
 way I could install a post-receive-hook that would create a review
 request for every commit, but that wouldn't make anyone responsible
 for it. This way people could just browse past commits and comment on
 them if they felt like it. Hopefully feedback would increase to a
 point where more formal adoption could be established.


 Not exactly what you asked for but can accomplish the same thing. This
 works for us as we had an existing mailing list already in place,
 reviewboard simply makes life easier for the people that want to use
 Reviewboard, this use case may not work for everyone.

 Chris


 


 


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

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



Custom post-review implementations making them easier proposal

2009-06-02 Thread Chris Clark

If you want to deploy post-review with some site specific customizations 
(e.g. add support for a custom in house SCM) there are only a few options:

* Privately fork post-review and try and sync all the changes that
  occur in trunk into your version
* add a wrapper script around post-review, e.g. rename post-review
  to postreview.py (python does not allow hypens - in
  module/library names), import postreview in your tool and then
  monkey patch in your changes. The rename can be handled in
  setup.py when building

Neither solution is optimal but this is the price you pay if you want 
private custom versions :-(

I don't have a solution to the above but I have some ideas on making it 
suck slightly less by making either option easier to deal with. For 
instance take the case where one needs to add in support for a custom 
SCM. You need to add a new class (subclassed from SCMClient) and then 
modify determine_client() to add it to the list of SCM's.

* With the forked approach you have to edit determine_client().
* With the wrapper approach you have to copy the existing
  determine_client() into your wrapper, modify it then monkey patch
  the original.

Either way you have to be prepared to follow the trunk version in case 
determine_client() changes.

What do people think of the following ideas:

1) move the tuple of SCM clients into a global variable.
E.g. instead of:

# Try to find the SCM Client we're going to be working with.
for tool in (SVNClient(), CVSClient(), GitClient(), MercurialClient(),
 PerforceClient(), ClearCaseClient()):

Have:


scm_tuple=(SVNClient(), CVSClient(), GitClient(), MercurialClient(),
   PerforceClient(), ClearCaseClient())

def determine_client():

# Try to find the SCM Client we're going to be working with.
for tool in scm_tuple:


This makes monkey patching the list easier, you just update the global 
from outside.

2) modify the trunk version of post-review to change the formatting that 
is used in the tuple (list) of SCM clients to make it easier to edit the 
list. E.g.:

scm_tuple=(
SVNClient(),
CVSClient(),
GitClient(),
MercurialClient(),
PerforceClient(),
ClearCaseClient(),
)

This makes it easier to modify the code if you decide to fork the 
script. You can re-order, add, or remove very easily. Diffs show up very 
clearly.

Does this appeal to anyone? #1 above would make my life easier. I wanted 
to get a feel from a wide audience before posting a for patch for review 
where it may not be seen by so many people.

Chris


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



A Complete Web Development Solution | Halwasiya Infosys

2009-06-02 Thread halwit...@gmail.com

Dear Sir/Madam

At last you found us! Halwasiya Infosys is the one-stop shop you have
been looking for to fill all of your Web Development needs. From Logos
to Web Sites to Facebook Applications to Iphone Applications to
promoting your company on the web, we do it all and at very
competitive prices. We use only the latest technologies and every
project is completely customized to your needs. No templates are ever
used. This is why more and more people are coming to us than anywhere
else.

We invite you to come inside to learn more about us and to view our
work. When you are done looking around please visit our contact page
to send us an email with your questions and so we can formally
introduce ourselves.

Some of the Services we provide:-

1)  Website Design
2)  Custom Web Solutions  Database Driven Websites
3)  Facebook Application  Facebook Connect
4)  MySpace Application
5)  Offshore Development
6)  Ecommerce Development
7)  IPhone Application
8)  Search Engine Marketing
9)  Search Engine Optimisation

Visit us at: www.halwasiyainfosys.com and get 20% Discount using the E-
coupon code: XY78S

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



A Complete Web Development Solution | Halwasiya Infosys

2009-06-02 Thread halwit...@gmail.com

Dear Sir/Madam

At last you found us! Halwasiya Infosys is the one-stop shop you have
been looking for to fill all of your Web Development needs. From Logos
to Web Sites to Facebook Applications to Iphone Applications to
promoting your company on the web, we do it all and at very
competitive prices. We use only the latest technologies and every
project is completely customized to your needs. No templates are ever
used. This is why more and more people are coming to us than anywhere
else.

We invite you to come inside to learn more about us and to view our
work. When you are done looking around please visit our contact page
to send us an email with your questions and so we can formally
introduce ourselves.

Some of the Services we provide:-

1)  Website Design
2)  Custom Web Solutions  Database Driven Websites
3)  Facebook Application  Facebook Connect
4)  MySpace Application
5)  Offshore Development
6)  Ecommerce Development
7)  IPhone Application
8)  Search Engine Marketing
9)  Search Engine Optimisation

Visit us at: www.halwasiyainfosys.com and get 20% Discount using the E-
coupon code: XY78S

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



Issue 1144 in reviewboard: Review Board intermittently hangs due to slow DB queries

2009-06-02 Thread codesite-noreply

Updates:
Status: Started
Owner: chipx86
Labels: -Priority-Medium Priority-Furious Milestone-Release1.0  
Component-Reviews

Comment #1 on issue 1144 by chipx86: Review Board intermittently hangs due  
to slow DB queries
http://code.google.com/p/reviewboard/issues/detail?id=1144

(No comment was entered for this change.)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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



Issue 1145 in reviewboard: Description textarea grows 1 line with every character typed while editing it in Chromium for Linux

2009-06-02 Thread codesite-noreply

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

New issue 1145 by adsouza: Description textarea grows 1 line with every  
character typed while editing it in Chromium for Linux
http://code.google.com/p/reviewboard/issues/detail?id=1145

*NOTE: Do not post confidential information in this bug report.*

What version are you running?
Whatever's currently in production at VMware.

What's the URL of the page containing the problem?
Seems to affect any review.

What steps will reproduce the problem?
1. Try to edit the description field of a review in Chromium for Linux.

What is the expected output? What do you see instead?
I expect the text area to only expand when I autowrap to a new line.
Instead it does so every time I type a new character.

What operating system are you using? What browser?
Chromium 3.0.183.0 on Ubuntu 9.04

Please provide any additional information below.
It's possible this is a Chromium bug but it doesn't seem to happen on any
other webapps.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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