post-review script

2010-09-05 Thread Josh Joy
Hi,

I'm able to install reviewboard and run the application. Though when I try
to execute the post-review script I receive the following error. Which
module do I need to install?

Traceback (most recent call last):
  File svn-hook-postcommit-review, line 69, in module
import svn.fs
ImportError: No module named svn.fs


http://github.com/reviewboard/reviewboard/raw/master/contrib/tools/svn-hook-postcommit-review


Thanks,
Josh

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

how to configure pre commit hooks for subversion

2010-09-03 Thread Josh Joy
Hi,

Could someone please point me to documentation describing how to set up
ReviewBoard and subversion for pre commit hooks? And also what is the
workflow process?

I found information for post-review though not pre commit setup and
configuration.

http://www.reviewboard.org/docs/manual/dev/users/tools/post-review/

Thanks in advance,
Josh

-- 
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: django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1

2009-06-14 Thread Josh Joy

What I ended up doing was installing Python 2.6.2 to a different dir
(local dir) and updated by PATH to point to this. Seemed to resolve
the issue.

On Sat, Jun 13, 2009 at 4:22 PM, Christian Hammondchip...@chipx86.com wrote:
 Sometimes a distro will have Apache configured with one version of Python
 (say, 2.4) while /usr/bin/python is 2.5. I've seen this on a RHEL5 machine,
 though it's possible that's because someone installed a newer Python.

 What's the site-packages path containing the new MySQLdb?

 Also, do you see the old one installed in that site-packages?

 And did you restart the web server after upgrading this?

 Christian

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


 On Tue, Jun 2, 2009 at 5:54 AM, Josh Joy joshjd...@gmail.com wrote:

 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

SCMError: URL 'http://svn/trunk/project/somefile.java' is malformed or the scheme or host or path is missing

2009-06-09 Thread Josh Joy

For some reason I receive the following error, though if I go to the
URL directly, I can access the file...

Traceback (most recent call last):
 File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/views.py,
line 152, in view_diff
   interdiffset, highlighting, True)
 File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 620, in get_diff_files
   large_data=True)
 File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/Djblets-0.5rc1-py2.6.egg/djblets/util/misc.py,
line 143, in cache_memoize
   data = lookup_callable()
 File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 619, in lambda
   enable_syntax_highlighting),
 File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 341, in get_chunks
   old = get_original_file(filediff)
 File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 248, in get_original_file
   large_data=True)[0]
 File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/Djblets-0.5rc1-py2.6.egg/djblets/util/misc.py,
line 143, in cache_memoize
   data = lookup_callable()
 File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 247, in lambda
   data = cache_memoize(key, lambda: [fetch_file(file, revision)],
 File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 227, in fetch_file
   data = tool.get_file(file, revision)
 File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/scmtools/svn.py,
line 117, in get_file
   raise SCMError(e)
SCMError: URL 'http://svn/trunk/project/somefile.java' is malformed or
the scheme or host or path is missing

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



NameError: global name 'ClientError' is not defined

2009-06-08 Thread Josh Joy

Hi,

I'm receiving the below error when trying to view the diff. Not sure
what is causing the error...

URL - http://host/projectname/r/4/diff/


Python Info

Python 2.6.2 (r262:71600, Jun  2 2009, 13:47:05)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
Type help, copyright, credits or license for more information.
 import pysvn
 pysvn.version
(1, 7, 0, 0)




Stacktrace

global name 'ClientError' is not defined

Traceback (most recent call last):
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/views.py,
line 152, in view_diff
interdiffset, highlighting, True)
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 620, in get_diff_files
large_data=True)
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/Djblets-0.5rc1-py2.6.egg/djblets/util/misc.py,
line 143, in cache_memoize
data = lookup_callable()
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 619, in lambda
enable_syntax_highlighting),
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 341, in get_chunks
old = get_original_file(filediff)
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 248, in get_original_file
large_data=True)[0]
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/Djblets-0.5rc1-py2.6.egg/djblets/util/misc.py,
line 143, in cache_memoize
data = lookup_callable()
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 247, in lambda
data = cache_memoize(key, lambda: [fetch_file(file, revision)],
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/diffviewer/diffutils.py,
line 227, in fetch_file
data = tool.get_file(file, revision)
  File 
/opt/tools/python/v2.6.2/lib/python2.6/site-packages/ReviewBoard-1.0rc2-py2.6.egg/reviewboard/scmtools/svn.py,
line 104, in get_file
except ClientError, e:
NameError: global name 'ClientError' is not defined

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