Re: problem upgrading 1.5.6 to 1.6.1

2011-09-14 Thread Christian Hammond
What error? The one you pasted here?

Going back to 1.6 won't solve anything. Your database is in an inconsistent
state now. Please run:

rb-site manage /path/to/site evolve -- --hint

And paste the output.

Christian

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


On Tue, Sep 13, 2011 at 8:54 PM, Rohini Kumar Tharigonda
rok...@gmail.comwrote:

 I tried upgrading it to 1.5.6 to 1.6.
 It gave error. Then came 1.6.1 immediately.
 How can upgrade RB to 1.6 instead of 1.6.1

 On Sep 14, 5:48 am, Christian Hammond chip...@chipx86.com wrote:
  At one point or another, you installed 1.6, not 1.6.1, but I'm guessing
  something went wrong. Basically, your database already has the columns
 that
  1.6.1 thinks needs to be installed, but due to whatever happened, RB's
  settings in your database didn't have that knowledge recorded.
 
  If I know what you attempted before, it'll help me to figure out the
  solution.
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.reviewboard.org
  VMware, Inc. -http://www.vmware.com
 
  On Tue, Sep 13, 2011 at 2:40 AM, Rohini Kumar Tharigonda
  rok...@gmail.comwrote:
 
 
 
 
 
 
 
   I have installed review board with yum
   (ReviewBoard-1.5.6-1.fc15.noarch)
 
   I did the following . I get error while upgrading  site.
 
   root@localhost conf.d]# easy_install -U ReviewBoard
 
   install_dir /usr/lib/python2.7/site-packages/
   Searching for ReviewBoard
   Readinghttp://pypi.python.org/simple/ReviewBoard/
   Readinghttp://www.reviewboard.org/
   Readinghttp://downloads.reviewboard.org/releases/ReviewBoard/1.6/
   Readinghttp://downloads.reviewboard.org/releases/ReviewBoard/1.5/
   Readinghttp://downloads.reviewboard.org/releases/ReviewBoard/1.0/
   Readinghttp://www.review-board.org/
   Readinghttp://downloads.review-board.org/releases/
   Readinghttp://downloads.review-board.org/releases/ReviewBoard/1.0/
   Best match: ReviewBoard 1.6.1
   Downloading
  http://downloads.reviewboard.org/releases/ReviewBoard/1.6/ReviewBoard.
 ..
   Processing ReviewBoard-1.6.1-py2.7.egg
   creating /usr/lib/python2.7/site-packages/ReviewBoard-1.6.1-py2.7.egg
   Extracting ReviewBoard-1.6.1-py2.7.egg to /usr/lib/python2.7/site-
   packages
   Adding ReviewBoard 1.6.1 to easy-install.pth file
   Installing rb-site script to /usr/bin
   Installing rbssh script to /usr/bin
 
   Installed /usr/lib/python2.7/site-packages/ReviewBoard-1.6.1-py2.7.egg
   Readinghttp://downloads.reviewboard.org/mirror/
   Processing dependencies for ReviewBoard
   Finished processing dependencies for ReviewBoard
 
   [root@localhost conf.d]# rb-site upgrade /var/www/reviewboard/
 
   Rebuilding directory structure
   Upgrading site settings_local.py
   Updating database. This may take a while.
   /usr/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/db/
   __init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated;
   use settings.DATABASES instead.
DeprecationWarning
   /usr/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/db/
   __init__.py:60: DeprecationWarning: Short names for ENGINE in database
   configurations are deprecated. Prepend default.ENGINE with
   'django.db.backends.'
DeprecationWarning
   Creating tables ...
   Upgrading Review Board from 1.6 to 1.6.1
   There are unapplied evolutions for accounts.
   There are unapplied evolutions for reviews.
   There are unapplied evolutions for scmtools.
   Project signature has changed - an evolution is required
   Installing custom SQL ...
   Installing indexes ...
   No fixtures found.
   Error: Error applying evolution: (1060, Duplicate column name
   'is_private')
   [root@localhost conf.d]#
 
   --
   Want to help the Review Board project? Donate today at
  http://www.reviewboard.org/donate/
   Happy user? Let us know athttp://www.reviewboard.org/users/
   -~--~~~~--~~--~--~---
   To unsubscribe from this group, send email to
   reviewboard+unsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/reviewboard?hl=en

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


-- 
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: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-14 Thread Christian Hammond
You can't move the packages to 2.7. You have to re-install.  It looks like
you may have tried that, and that's why it broke?

You need to make sure easy_install is working with Python 2.7, or you're
using easy_install-2.7 (if provided by your distro), and then install the
packages.

You don't need to remove anything from 2.4, and moving packages from 2.4
into 2.7 will just break things.

What distro are you using?

Christian

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


On Tue, Sep 13, 2011 at 7:32 PM, Nelson Jones huawen@gmail.com wrote:

 Do I need to remove
 python-setuptools
 python-devel
 ReviewBoard

 from Python 2.4?
 And install them int Python 2.7?
 How do I remove these egg files?

 Thanks,

 On Sep 13, 9:16 pm, Nelson Jones huawen@gmail.com wrote:
  when I ran rb-site install. I got the following error.
  $ rb-site install /var/www/myrb
  Traceback (most recent call last):
File /usr/bin/rb-site, line 7, in ?
  sys.exit(
File /usr/lib/python2.4/site-packages/pkg_resources.py, line 236,
  in load_entry_point
  return get_distribution(dist).load_entry_point(group, name)
File /usr/lib/python2.4/site-packages/pkg_resources.py, line 2096,
  in load_entry_point
  raise ImportError(Entry point %r not found % ((group,name),))
  ImportError: Entry point ('console_scripts', 'rb-site') not found
 
  What might be my problem?
 
  The followings had been installed
 
  python-setuptools
  python-devel
  memcached
  patch
  ReviewBoard
 
  Python was 2.4 before these installation, and then upgraded to 2.7
  after the above installations.
 
  Thanks,

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


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

'AdminSite' object has no attribute 'root' after upgrading from 1.0 to 1.61

2011-09-14 Thread insysion
Dear all,

I'd just finished upgrading and had restarted my webserver and
memcached, unfornately my ReviewBoard Site is now excepting. I gather
that this is a relatively common Django problem after upgrading but
I'm hoping someone can save me a few hours of fumbling around.

All help gratefully received,
Sandeep


Stack trace follows:

Environment:


Request Method: GET
Request URL: 
http://cpi6w016:90/reviewboard.test.com/account/login/?next_page=/reviewboard.test.com/dashboard/

Django Version: 1.3.1
Python Version: 2.5.4
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.markup',
 'django.contrib.sites',
 'django.contrib.sessions',
 'djblets.datagrid',
 'djblets.feedview',
 'djblets.siteconfig',
 'djblets.util',
 'djblets.webapi',
 'reviewboard.accounts',
 'reviewboard.admin',
 'reviewboard.changedescs',
 'reviewboard.diffviewer',
 'reviewboard.iphone',
 'reviewboard.reports',
 'reviewboard.reviews',
 'reviewboard.scmtools',
 'reviewboard.webapi',
 'django_evolution']
Installed Middleware:
('django.middleware.gzip.GZipMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'django.middleware.http.ConditionalGetMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'djblets.siteconfig.middleware.SettingsMiddleware',
 'reviewboard.admin.middleware.LoadSettingsMiddleware',
 'djblets.log.middleware.LoggingMiddleware',
 'reviewboard.admin.middleware.CheckUpdatesRequiredMiddleware')


Traceback:
File c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\core
\handlers\base.py in get_response
  117. response =
middleware_method(request, e)
File c:\python25\lib\site-packages\Djblets-0.6.11-py2.5.egg\djblets
\log\middleware.py in process_exception
  221.   exception, exc_info=1)
File C:\Python25\Lib\logging\__init__.py in error
  1294. apply(root.error, (msg,)+args, kwargs)
File C:\Python25\Lib\logging\__init__.py in error
  1015. apply(self._log, (ERROR, msg, args), kwargs)
File C:\Python25\Lib\logging\__init__.py in _log
  1101. self.handle(record)
File C:\Python25\Lib\logging\__init__.py in handle
  . self.callHandlers(record)
File C:\Python25\Lib\logging\__init__.py in callHandlers
  1148. hdlr.handle(record)
File C:\Python25\Lib\logging\__init__.py in handle
  655. self.emit(record)
File C:\Python25\Lib\logging\__init__.py in emit
  757. self.handleError(record)
File C:\Python25\Lib\logging\__init__.py in handleError
  706. traceback.print_exception(ei[0], ei[1], ei[2],
None, sys.stderr)
File C:\Python25\Lib\traceback.py in print_exception
  124. _print(file, 'Traceback (most recent call last):')
File C:\Python25\Lib\traceback.py in _print
  13. file.write(str+terminator)

Exception Type: IOError at /reviewboard.test.com/account/login/
Exception Value: [Errno 9] Bad file descriptor

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


Method names in condensed diff view - I love you all

2011-09-14 Thread Matthew Flint
Hey,

We just upgraded ReviewBoard, and I see there are now method names
shown even when that part of the file is hidden.

It is brilliant. I love you all.

Matthew

-- 
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: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-14 Thread Nelson Jones
I am using Python 2.7.2 compressed source tarball (for Linux, Unix or
Mac OS X) from www.python.org.

Built from the source and did install via make install.

However, nothing was created under /usr/lib such as /usr/lib/
python2.7.  I guess that is a result of not installing  python27-
devel ?

yum list python-devel
Loaded plugins: kmod, security
Installed Packages
python-
devel.i386
2.4.3-44.el5
installed
python-
devel.x86_64
2.4.3-44.el5
installed

yum list python-setuptools
Loaded plugins: kmod, security
Installed Packages
python-
setuptools.noarch
0.6c5-2.el5
installed

They are  under python2.4

/usr/lib/python2.4/site-packages  ll
total 1080
-rw-r--r-- 1 root  14223 Sep  7  2006 aotcompile.py
-rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyc
-rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyo
-rw-r--r-- 1 root   7389 Aug 30  2006 classfile.py
-rw-r--r-- 1 root   7671 Apr 17  2008 classfile.pyc
-rw-r--r-- 1 root   7441 Apr 17  2008 classfile.pyo
-rwxr-xr-x 1 root   4996 Jun 20  2007 cracklibmodule.so
-rw--- 1 root368 Sep 13 15:10 easy-install.pth
drwxr-xr-x 2 root   4096 Jun 17 08:05 elementtree
drwxr-xr-x 2 root   4096 Jun 17 08:06 iniparse
-rw-r--r-- 1 root  39388 Oct 20  2008 instnum.py
-rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyc
-rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyo
-rw--- 1 root 294582 Sep 13 15:10 paramiko-1.7.7.1-py2.4.egg
drwx-- 4 root   4096 Sep 13 15:10 python_dateutil-1.5-py2.4.egg
drwx-- 3 root   4096 Sep 13 15:10 python_memcached-1.47-py2.4.egg
-rw--- 1 root 508900 Sep 13 15:10 pytz-2011h-py2.4.egg
-rw--- 1 root   8428 Sep 13 15:10 recaptcha_client-1.0.6-py2.4.egg
drwx-- 5 root   4096 Sep 13 15:10 ReviewBoard-1.6.1-py2.4.egg
drwxr-xr-x 2 root   4096 Jun 17 08:12 rhn
drwxr-xr-x 2 root   4096 Jun 17 08:12 rpmUtils
drwxr-xr-x 3 root   4096 Jun 17 08:12 sos
drwxr-xr-x 2 root   4096 Jun 17 08:12 urlgrabber
drwxr-xr-x 2 root   4096 Jun 17 08:12 yum

And not 2.7

And I can't install them to 2.7.

#yum update python-setuptools
Loaded plugins: kmod, security
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update
# yum update python-devel
Loaded plugins: kmod, security
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update

What might I missed?

Thanks

On Sep 14, 2:45 am, Christian Hammond chip...@chipx86.com wrote:
 You can't move the packages to 2.7. You have to re-install.  It looks like
 you may have tried that, and that's why it broke?

 You need to make sure easy_install is working with Python 2.7, or you're
 using easy_install-2.7 (if provided by your distro), and then install the
 packages.

 You don't need to remove anything from 2.4, and moving packages from 2.4
 into 2.7 will just break things.

 What distro are you using?

 Christian

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



 On Tue, Sep 13, 2011 at 7:32 PM, Nelson Jones huawen@gmail.com wrote:
  Do I need to remove
  python-setuptools
  python-devel
  ReviewBoard

  from Python 2.4?
  And install them int Python 2.7?
  How do I remove these egg files?

  Thanks,

  On Sep 13, 9:16 pm, Nelson Jones huawen@gmail.com wrote:
   when I ran rb-site install. I got the following error.
   $ rb-site install /var/www/myrb
   Traceback (most recent call last):
     File /usr/bin/rb-site, line 7, in ?
       sys.exit(
     File /usr/lib/python2.4/site-packages/pkg_resources.py, line 236,
   in load_entry_point
       return get_distribution(dist).load_entry_point(group, name)
     File /usr/lib/python2.4/site-packages/pkg_resources.py, line 2096,
   in load_entry_point
       raise ImportError(Entry point %r not found % ((group,name),))
   ImportError: Entry point ('console_scripts', 'rb-site') not found

   What might be my problem?

   The followings had been installed

   python-setuptools
   python-devel
   memcached
   patch
   ReviewBoard

   Python was 2.4 before these installation, and then upgraded to 2.7
   after the above installations.

   Thanks,

  --
  Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
  Happy user? Let us know athttp://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- Hide quoted text -

 - Show quoted text -

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


Authentication - Subversion

2011-09-14 Thread hs_etd
I am trying to add a repository in Subversion. After entering in the
path to the repository which looks like svn://xxx.yyy.net/zzz, I click
Save but I always get the error Authentication failed.

I look at the /etc/httpd/logs/error_log file and it says Failed to
get repository information for svn://xxx.yyy.net/zzz:
callback_get_login required

Thanks for any pointers on what I need to do.

-- 
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: Method names in condensed diff view - I love you all

2011-09-14 Thread David Trowbridge
We love you too!

Happy reviewing,
-David



On Wed, Sep 14, 2011 at 2:02 AM, Matthew Flint m...@tthew.org wrote:
 Hey,

 We just upgraded ReviewBoard, and I see there are now method names
 shown even when that part of the file is hidden.

 It is brilliant. I love you all.

 Matthew

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


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


Re: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-14 Thread Christian Hammond
We can't really support a custom Python install. I would suggest if your
distro doesn't ship 2.7, just use the latest it does ship. 2.7 won't gain
you anything with RB.

If you install 2.7 and the distro doesn't provide it, yum won't be able to
find any compatible modules for you.

Christian


On Wednesday, September 14, 2011, Nelson Jones huawen@gmail.com wrote:
 I am using Python 2.7.2 compressed source tarball (for Linux, Unix or
 Mac OS X) from www.python.org.

 Built from the source and did install via make install.

 However, nothing was created under /usr/lib such as /usr/lib/
 python2.7.  I guess that is a result of not installing  python27-
 devel ?

 yum list python-devel
 Loaded plugins: kmod, security
 Installed Packages
 python-
 devel.i386
 2.4.3-44.el5
 installed
 python-
 devel.x86_64
 2.4.3-44.el5
 installed

 yum list python-setuptools
 Loaded plugins: kmod, security
 Installed Packages
 python-
 setuptools.noarch
 0.6c5-2.el5
 installed

 They are  under python2.4

 /usr/lib/python2.4/site-packages  ll
 total 1080
 -rw-r--r-- 1 root  14223 Sep  7  2006 aotcompile.py
 -rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyc
 -rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyo
 -rw-r--r-- 1 root   7389 Aug 30  2006 classfile.py
 -rw-r--r-- 1 root   7671 Apr 17  2008 classfile.pyc
 -rw-r--r-- 1 root   7441 Apr 17  2008 classfile.pyo
 -rwxr-xr-x 1 root   4996 Jun 20  2007 cracklibmodule.so
 -rw--- 1 root368 Sep 13 15:10 easy-install.pth
 drwxr-xr-x 2 root   4096 Jun 17 08:05 elementtree
 drwxr-xr-x 2 root   4096 Jun 17 08:06 iniparse
 -rw-r--r-- 1 root  39388 Oct 20  2008 instnum.py
 -rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyc
 -rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyo
 -rw--- 1 root 294582 Sep 13 15:10 paramiko-1.7.7.1-py2.4.egg
 drwx-- 4 root   4096 Sep 13 15:10 python_dateutil-1.5-py2.4.egg
 drwx-- 3 root   4096 Sep 13 15:10 python_memcached-1.47-py2.4.egg
 -rw--- 1 root 508900 Sep 13 15:10 pytz-2011h-py2.4.egg
 -rw--- 1 root   8428 Sep 13 15:10 recaptcha_client-1.0.6-py2.4.egg
 drwx-- 5 root   4096 Sep 13 15:10 ReviewBoard-1.6.1-py2.4.egg
 drwxr-xr-x 2 root   4096 Jun 17 08:12 rhn
 drwxr-xr-x 2 root   4096 Jun 17 08:12 rpmUtils
 drwxr-xr-x 3 root   4096 Jun 17 08:12 sos
 drwxr-xr-x 2 root   4096 Jun 17 08:12 urlgrabber
 drwxr-xr-x 2 root   4096 Jun 17 08:12 yum

 And not 2.7

 And I can't install them to 2.7.

 #yum update python-setuptools
 Loaded plugins: kmod, security
 Skipping security plugin, no data
 Setting up Update Process
 No Packages marked for Update
 # yum update python-devel
 Loaded plugins: kmod, security
 Skipping security plugin, no data
 Setting up Update Process
 No Packages marked for Update

 What might I missed?

 Thanks

 On Sep 14, 2:45 am, Christian Hammond chip...@chipx86.com wrote:
 You can't move the packages to 2.7. You have to re-install.  It looks
like
 you may have tried that, and that's why it broke?

 You need to make sure easy_install is working with Python 2.7, or you're
 using easy_install-2.7 (if provided by your distro), and then install the
 packages.

 You don't need to remove anything from 2.4, and moving packages from 2.4
 into 2.7 will just break things.

 What distro are you using?

 Christian

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



 On Tue, Sep 13, 2011 at 7:32 PM, Nelson Jones huawen@gmail.com
wrote:
  Do I need to remove
  python-setuptools
  python-devel
  ReviewBoard

  from Python 2.4?
  And install them int Python 2.7?
  How do I remove these egg files?

  Thanks,

  On Sep 13, 9:16 pm, Nelson Jones huawen@gmail.com wrote:
   when I ran rb-site install. I got the following error.
   $ rb-site install /var/www/myrb
   Traceback (most recent call last):
 File /usr/bin/rb-site, line 7, in ?
   sys.exit(
 File /usr/lib/python2.4/site-packages/pkg_resources.py, line 236,
   in load_entry_point
   return get_distribution(dist).load_entry_point(group, name)
 File /usr/lib/python2.4/site-packages/pkg_resources.py, line
2096,
   in load_entry_point
   raise ImportError(Entry point %r not found % ((group,name),))
   ImportError: Entry point ('console_scripts', 'rb-site') not found

   What might be my problem?

   The followings had been installed

   python-setuptools
   python-devel
   memcached
   patch
   ReviewBoard

   Python was 2.4 before these installation, and then upgraded to 2.7
   after the above installations.

   Thanks,

  --
  Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
  Happy user? Let us know athttp://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- Hide quoted text -

 - Show quoted text -

 --
 Want 

post-review new files with Perforce

2011-09-14 Thread Ben
I am having a problem using ReviewBoard 1.6 with Perforce. When I run
post-review for a changelist with new files, I get an error while
posting the diffs. (post-review debug trace below). I have tried
uploading the diffs manually after generating them with post-review,
but I just get malformed patch errors on the server. This looks like
Issue 2054 to me, and I posted my information there.

Does anyone have this working or know of a workaround?

-Ben

 RBTools 0.3.3
 Home = C:\Users\ben\AppData\Roaming
 p4 info
 repository info: Path: lenel-sourceold.windows.lenel.com:1666, Base
 path: None, Supports changesets: True
 p4 counters
 HTTP GETting api/
 HTTP GETting http://10.112.8.55/api/info/
 Using the new web API
 Generating diff for changenum 206994
 p4 describe -s 206994
 Processing edit of //Development/Path/To/My/src/Solution.sln
 Writing //Development/Path/To/My/src/Solution.sln#10
 to c:\users\ben\appdata\local\temp\tmp5eiypf
 p4 print -o c:\users\ben\appdata\local\temp\tmp5eiypf -q
 //Development/Path/To/My/src/Solution.sln#10
 diff -urNp c:\users\ben\appdata\local\temp\tmp5eiypf
 D:/Development\Path\To\My\src\Solution.sln
 Processing add of
 //Development/OnGuard/Branches/Titan/DotNet/src/TwoFlower/app.config
 diff -urNp c:\users\ben\appdata\local\temp\tmporoe81
 D:/Development\Path\To\My\src\TwoFlower\app.config
 Processing add of //Development/Path/To/My/src/TwoFlower/PrincipalExt.cs
 diff -urNp c:\users\ben\appdata\local\temp\tmporoe81
 D:/Development\Path\To\My\src\TwoFlower\Principal.cs
 Processing add of //Development/Path/To/My/src/TwoFlower/Program.cs
 diff -urNp c:\users\ben\appdata\local\temp\tmporoe81
 D:/Development\Path\To\My\src\TwoFlower\Program.cs
 Processing add of
 //Development/Path/To/My/src/TwoFlower/Properties/AssemblyInfo.cs
 diff -urNp c:\users\ben\appdata\local\temp\tmporoe81
 D:/Development\Path\To\My\src\TwoFlower\Properties\AssemblyInfo.cs
 Processing add of
 //Development/Path/To/My/src/TwoFlower/TwoFlower.csproj
 diff -urNp c:\users\ben\appdata\local\temp\tmporoe81
 D:/Development\Path\To\My\src\TwoFlower\TwoFlower.csproj
 Processing add of
 //Development/Path/To/My/src/TwoFlower/WrappedServer.cs
 diff -urNp c:\users\ben\appdata\local\temp\tmporoe81
 D:/Development\Path\To\My\src\TwoFlower\WrappedServer.cs
 Attempting to create review request on
 lenel-sourceold.windows.lenel.com:1666 for 206994
 HTTP POSTing to http://10.112.8.55/api/review-requests/:
 {'changenum': '206994', 'repository': 
 'lenel-sourceold.windows.lenel.com:1666'}
 Got API Error 204 (HTTP code 409): The change number specified has
 already been used
 Error data: {u'stat': u'fail', u'review_request': {u'status':
 u'pending', u'last_updated': u'2011-09-13 17:28:43', u'description':
 u'Test rig for using two embedded application servers\n', u'links':
 {u'diffs': {u'href':
 u'http://10.112.8.55/api/review-requests/5/diffs/', u'method': u'GET'},
 u'repository': {u'href': u'http://10.112.8.55/api/repositories/2/',
 u'method': u'GET', u'title': u'Old OnGuard Repository'}, u'changes':
 {u'href': u'http://10.112.8.55/api/review-requests/5/changes/',
 u'method': u'GET'}, u'self': {u'href':
 u'http://10.112.8.55/api/review-requests/5/', u'method': u'GET'},
 u'update': {u'href': u'http://10.112.8.55/api/review-requests/5/',
 u'method': u'PUT'}, u'last_update': {u'href':
 u'http://10.112.8.55/api/review-requests/5/last-update/', u'method':
 u'GET'}, u'reviews': {u'href':
 u'http://10.112.8.55/api/review-requests/5/reviews/', u'method':
 u'GET'}, u'draft': {u'href':
 u'http://10.112.8.55/api/review-requests/5/draft/',u'method': u'GET'},
 u'file_attachments': {u'href':
 u'http://10.112.8.55/api/review-requests/5/file-attachments/',
 u'method': u'GET'}, u'submitter': {u'href':
 u'http://10.112.8.55/api/users/ben/', u'method': u'GET', u'title':
 u'ben'},u'screenshots': {u'href':
 u'http://10.112.8.55/api/review-requests/5/screenshots/', u'method':
 u'GET'}, u'delete': {u'href':
 u'http://10.112.8.55/api/review-requests/5/', u'method': u'DELETE'}},
 u'target_groups': [], u'bugs_closed': [], u'changenum': 206994,
 u'target_people': [], u'testing_done': u'', u'branch': u'', u'id': 5,
 u'time_added': u'2011-09-13 17:28:43', u'summary': u'Test rig for using
 two embedded application servers', u'public': False}, u'err': {u'msg':
 u'The change number specified has already been used', u'code': 204}}
 Review request already exists. Updating it...
 HTTP PUTting to http://10.112.8.55/api/review-requests/5/:
 {'changenum': 206994}
 Uploading diff, size: 16111
 HTTP POSTing to http://10.112.8.55/api/review-requests/5/diffs/: {}

Traceback (most recent call last):
   File c:\Python27\Scripts\post-review-script.py, line 8, in
module
 load_entry_point('rbtools==0.3.3', 'console_scripts', 'post-
review')()
File c:\Python27\lib\site-packages\rbtools-0.3.3-py2.7.egg\rbtools
\postreview.p y,
line 4004, in main
File c:\Python27\lib\site-packages\rbtools-0.3.3-py2.7.egg\rbtools
\postreview.p y,
line 3663, in tempt_fate
File 

Re: Authentication - Subversion

2011-09-14 Thread hs_etd
The issue has been solved. Somehow, the login credentials were not
correct when attempting to add the repository.

-- 
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: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-14 Thread Nelson Jones
So are you saying we should stay on Python 2.4?

But with 2.4, after installing the required packages

python-setuptools
python-devel
ReviewBoard

rb-site crashed due to missing packages.
$ rb-site install /var/www/myrb
Traceback (most recent call last):
  File /usr/bin/rb-site, line 7, in ?
sys.exit(
  File /usr/lib/python2.4/site-packages/pkg_resources.py, line 236,
in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
  File /usr/lib/python2.4/site-packages/pkg_resources.py, line
2096,
in load_entry_point
raise ImportError(Entry point %r not found % ((group,name),))
ImportError: Entry point ('console_scripts', 'rb-site') not found


And as displayed above, the Django was not installed either.

So with Python 2.4,  did I miss any step to cause the library missing
issue?
Please advise.

Btw, I am using Red Hat 2.5 which seems to ship Python 2.4 by
default.

Thanks,


On Sep 14, 3:05 pm, Christian Hammond chip...@chipx86.com wrote:
 We can't really support a custom Python install. I would suggest if your
 distro doesn't ship 2.7, just use the latest it does ship. 2.7 won't gain
 you anything with RB.

 If you install 2.7 and the distro doesn't provide it, yum won't be able to
 find any compatible modules for you.

 Christian









 On Wednesday, September 14, 2011, Nelson Jones huawen@gmail.com wrote:
  I am using Python 2.7.2 compressed source tarball (for Linux, Unix or
  Mac OS X) fromwww.python.org.

  Built from the source and did install via make install.

  However, nothing was created under /usr/lib such as /usr/lib/
  python2.7.  I guess that is a result of not installing  python27-
  devel ?

  yum list python-devel
  Loaded plugins: kmod, security
  Installed Packages
  python-
  devel.i386
  2.4.3-44.el5
  installed
  python-
  devel.x86_64
  2.4.3-44.el5
  installed

  yum list python-setuptools
  Loaded plugins: kmod, security
  Installed Packages
  python-
  setuptools.noarch
  0.6c5-2.el5
  installed

  They are  under python2.4

  /usr/lib/python2.4/site-packages  ll
  total 1080
  -rw-r--r-- 1 root  14223 Sep  7  2006 aotcompile.py
  -rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyc
  -rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyo
  -rw-r--r-- 1 root   7389 Aug 30  2006 classfile.py
  -rw-r--r-- 1 root   7671 Apr 17  2008 classfile.pyc
  -rw-r--r-- 1 root   7441 Apr 17  2008 classfile.pyo
  -rwxr-xr-x 1 root   4996 Jun 20  2007 cracklibmodule.so
  -rw--- 1 root    368 Sep 13 15:10 easy-install.pth
  drwxr-xr-x 2 root   4096 Jun 17 08:05 elementtree
  drwxr-xr-x 2 root   4096 Jun 17 08:06 iniparse
  -rw-r--r-- 1 root  39388 Oct 20  2008 instnum.py
  -rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyc
  -rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyo
  -rw--- 1 root 294582 Sep 13 15:10 paramiko-1.7.7.1-py2.4.egg
  drwx-- 4 root   4096 Sep 13 15:10 python_dateutil-1.5-py2.4.egg
  drwx-- 3 root   4096 Sep 13 15:10 python_memcached-1.47-py2.4.egg
  -rw--- 1 root 508900 Sep 13 15:10 pytz-2011h-py2.4.egg
  -rw--- 1 root   8428 Sep 13 15:10 recaptcha_client-1.0.6-py2.4.egg
  drwx-- 5 root   4096 Sep 13 15:10 ReviewBoard-1.6.1-py2.4.egg
  drwxr-xr-x 2 root   4096 Jun 17 08:12 rhn
  drwxr-xr-x 2 root   4096 Jun 17 08:12 rpmUtils
  drwxr-xr-x 3 root   4096 Jun 17 08:12 sos
  drwxr-xr-x 2 root   4096 Jun 17 08:12 urlgrabber
  drwxr-xr-x 2 root   4096 Jun 17 08:12 yum

  And not 2.7

  And I can't install them to 2.7.

  #yum update python-setuptools
  Loaded plugins: kmod, security
  Skipping security plugin, no data
  Setting up Update Process
  No Packages marked for Update
  # yum update python-devel
  Loaded plugins: kmod, security
  Skipping security plugin, no data
  Setting up Update Process
  No Packages marked for Update

  What might I missed?

  Thanks

  On Sep 14, 2:45 am, Christian Hammond chip...@chipx86.com wrote:
  You can't move the packages to 2.7. You have to re-install.  It looks
 like
  you may have tried that, and that's why it broke?

  You need to make sure easy_install is working with Python 2.7, or you're
  using easy_install-2.7 (if provided by your distro), and then install the
  packages.

  You don't need to remove anything from 2.4, and moving packages from 2.4
  into 2.7 will just break things.

  What distro are you using?

  Christian

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

  On Tue, Sep 13, 2011 at 7:32 PM, Nelson Jones huawen@gmail.com
 wrote:
   Do I need to remove
   python-setuptools
   python-devel
   ReviewBoard

   from Python 2.4?
   And install them int Python 2.7?
   How do I remove these egg files?

   Thanks,

   On Sep 13, 9:16 pm, Nelson Jones huawen@gmail.com wrote:
when I ran rb-site install. I got the following error.
$ rb-site install /var/www/myrb
Traceback (most recent call last):
  File /usr/bin/rb-site, line 7, in ?
    sys.exit(
  File 

Re: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-14 Thread Stephen Gallagher
If you're using Red Hat Enterprise Linux 5.x (I'm guessing 5.2, not 2.5),
you might want to try using the 1.5.6 RPM I maintain in EPEL.

See  http://fedoraproject.org/wiki/EPEL for details on how to get it set up.

I should warn you that there's one catch: MySQL doesn't work with this
version because RHEL's copy of python-MySQL is too old (this is going to be
fixed in RHEL 5.8).

But this RPM should make it easier to get up and running on RHEL 5.

On Wed, Sep 14, 2011 at 6:32 PM, Nelson Jones huawen@gmail.com wrote:

 So are you saying we should stay on Python 2.4?

 But with 2.4, after installing the required packages

 python-setuptools
 python-devel
 ReviewBoard

 rb-site crashed due to missing packages.
 $ rb-site install /var/www/myrb
 Traceback (most recent call last):
  File /usr/bin/rb-site, line 7, in ?
sys.exit(
  File /usr/lib/python2.4/site-packages/pkg_resources.py, line 236,
 in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
  File /usr/lib/python2.4/site-packages/pkg_resources.py, line
 2096,
 in load_entry_point
raise ImportError(Entry point %r not found % ((group,name),))
 ImportError: Entry point ('console_scripts', 'rb-site') not found


 And as displayed above, the Django was not installed either.

 So with Python 2.4,  did I miss any step to cause the library missing
 issue?
 Please advise.

 Btw, I am using Red Hat 2.5 which seems to ship Python 2.4 by
 default.

 Thanks,


 On Sep 14, 3:05 pm, Christian Hammond chip...@chipx86.com wrote:
  We can't really support a custom Python install. I would suggest if your
  distro doesn't ship 2.7, just use the latest it does ship. 2.7 won't gain
  you anything with RB.
 
  If you install 2.7 and the distro doesn't provide it, yum won't be able
 to
  find any compatible modules for you.
 
  Christian
 
 
 
 
 
 
 
 
 
  On Wednesday, September 14, 2011, Nelson Jones huawen@gmail.com
 wrote:
   I am using Python 2.7.2 compressed source tarball (for Linux, Unix or
   Mac OS X) fromwww.python.org.
 
   Built from the source and did install via make install.
 
   However, nothing was created under /usr/lib such as /usr/lib/
   python2.7.  I guess that is a result of not installing  python27-
   devel ?
 
   yum list python-devel
   Loaded plugins: kmod, security
   Installed Packages
   python-
   devel.i386
   2.4.3-44.el5
   installed
   python-
   devel.x86_64
   2.4.3-44.el5
   installed
 
   yum list python-setuptools
   Loaded plugins: kmod, security
   Installed Packages
   python-
   setuptools.noarch
   0.6c5-2.el5
   installed
 
   They are  under python2.4
 
   /usr/lib/python2.4/site-packages  ll
   total 1080
   -rw-r--r-- 1 root  14223 Sep  7  2006 aotcompile.py
   -rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyc
   -rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyo
   -rw-r--r-- 1 root   7389 Aug 30  2006 classfile.py
   -rw-r--r-- 1 root   7671 Apr 17  2008 classfile.pyc
   -rw-r--r-- 1 root   7441 Apr 17  2008 classfile.pyo
   -rwxr-xr-x 1 root   4996 Jun 20  2007 cracklibmodule.so
   -rw--- 1 root368 Sep 13 15:10 easy-install.pth
   drwxr-xr-x 2 root   4096 Jun 17 08:05 elementtree
   drwxr-xr-x 2 root   4096 Jun 17 08:06 iniparse
   -rw-r--r-- 1 root  39388 Oct 20  2008 instnum.py
   -rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyc
   -rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyo
   -rw--- 1 root 294582 Sep 13 15:10 paramiko-1.7.7.1-py2.4.egg
   drwx-- 4 root   4096 Sep 13 15:10 python_dateutil-1.5-py2.4.egg
   drwx-- 3 root   4096 Sep 13 15:10 python_memcached-1.47-py2.4.egg
   -rw--- 1 root 508900 Sep 13 15:10 pytz-2011h-py2.4.egg
   -rw--- 1 root   8428 Sep 13 15:10 recaptcha_client-1.0.6-py2.4.egg
   drwx-- 5 root   4096 Sep 13 15:10 ReviewBoard-1.6.1-py2.4.egg
   drwxr-xr-x 2 root   4096 Jun 17 08:12 rhn
   drwxr-xr-x 2 root   4096 Jun 17 08:12 rpmUtils
   drwxr-xr-x 3 root   4096 Jun 17 08:12 sos
   drwxr-xr-x 2 root   4096 Jun 17 08:12 urlgrabber
   drwxr-xr-x 2 root   4096 Jun 17 08:12 yum
 
   And not 2.7
 
   And I can't install them to 2.7.
 
   #yum update python-setuptools
   Loaded plugins: kmod, security
   Skipping security plugin, no data
   Setting up Update Process
   No Packages marked for Update
   # yum update python-devel
   Loaded plugins: kmod, security
   Skipping security plugin, no data
   Setting up Update Process
   No Packages marked for Update
 
   What might I missed?
 
   Thanks
 
   On Sep 14, 2:45 am, Christian Hammond chip...@chipx86.com wrote:
   You can't move the packages to 2.7. You have to re-install.  It looks
  like
   you may have tried that, and that's why it broke?
 
   You need to make sure easy_install is working with Python 2.7, or
 you're
   using easy_install-2.7 (if provided by your distro), and then install
 the
   packages.
 
   You don't need to remove anything from 2.4, and moving packages from
 2.4
   into 2.7 will just break things.
 
   What distro are you using?
 
   Christian
 

Re: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-14 Thread Nelson Jones
I think you are right it is Red Hat 5.
I did some search and found this one : ReviewBoard-1.5.6-2.el5 RPM for
noarch
It did mention it require the following packages

Requires

/usr/bin/env
/usr/bin/python
Django = 1.1.1
django-evolution = 0.6.5
httpd
patchutils
pysvn
python(abi) = 2.4
python-dateutil
python-djblets
python-flup
python-imaging
python-memcached
python-nose
python-paramiko
python-pygments
python-recaptcha-client
python-sqlite
pytz
rpmlib(CompressedFileNames) = 3.0.4-1
rpmlib(PayloadFilesHavePrefix) = 4.0-1

Do I have to individually download and install each of them? Or the
rpm install will automatically install these for me?

Thanks,

On Sep 14, 8:53 pm, Stephen Gallagher step...@gallagherhome.com
wrote:
 If you're using Red Hat Enterprise Linux 5.x (I'm guessing 5.2, not 2.5),
 you might want to try using the 1.5.6 RPM I maintain in EPEL.

 See  http://fedoraproject.org/wiki/EPELfor details on how to get it set up.

 I should warn you that there's one catch: MySQL doesn't work with this
 version because RHEL's copy of python-MySQL is too old (this is going to be
 fixed in RHEL 5.8).

 But this RPM should make it easier to get up and running on RHEL 5.







 On Wed, Sep 14, 2011 at 6:32 PM, Nelson Jones huawen@gmail.com wrote:
  So are you saying we should stay on Python 2.4?

  But with 2.4, after installing the required packages

  python-setuptools
  python-devel
  ReviewBoard

  rb-site crashed due to missing packages.
  $ rb-site install /var/www/myrb
  Traceback (most recent call last):
   File /usr/bin/rb-site, line 7, in ?
     sys.exit(
   File /usr/lib/python2.4/site-packages/pkg_resources.py, line 236,
  in load_entry_point
     return get_distribution(dist).load_entry_point(group, name)
   File /usr/lib/python2.4/site-packages/pkg_resources.py, line
  2096,
  in load_entry_point
     raise ImportError(Entry point %r not found % ((group,name),))
  ImportError: Entry point ('console_scripts', 'rb-site') not found

  And as displayed above, the Django was not installed either.

  So with Python 2.4,  did I miss any step to cause the library missing
  issue?
  Please advise.

  Btw, I am using Red Hat 2.5 which seems to ship Python 2.4 by
  default.

  Thanks,

  On Sep 14, 3:05 pm, Christian Hammond chip...@chipx86.com wrote:
   We can't really support a custom Python install. I would suggest if your
   distro doesn't ship 2.7, just use the latest it does ship. 2.7 won't gain
   you anything with RB.

   If you install 2.7 and the distro doesn't provide it, yum won't be able
  to
   find any compatible modules for you.

   Christian

   On Wednesday, September 14, 2011, Nelson Jones huawen@gmail.com
  wrote:
I am using Python 2.7.2 compressed source tarball (for Linux, Unix or
Mac OS X) fromwww.python.org.

Built from the source and did install via make install.

However, nothing was created under /usr/lib such as /usr/lib/
python2.7.  I guess that is a result of not installing  python27-
devel ?

yum list python-devel
Loaded plugins: kmod, security
Installed Packages
python-
devel.i386
2.4.3-44.el5
installed
python-
devel.x86_64
2.4.3-44.el5
installed

yum list python-setuptools
Loaded plugins: kmod, security
Installed Packages
python-
setuptools.noarch
0.6c5-2.el5
installed

They are  under python2.4

/usr/lib/python2.4/site-packages  ll
total 1080
-rw-r--r-- 1 root  14223 Sep  7  2006 aotcompile.py
-rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyc
-rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyo
-rw-r--r-- 1 root   7389 Aug 30  2006 classfile.py
-rw-r--r-- 1 root   7671 Apr 17  2008 classfile.pyc
-rw-r--r-- 1 root   7441 Apr 17  2008 classfile.pyo
-rwxr-xr-x 1 root   4996 Jun 20  2007 cracklibmodule.so
-rw--- 1 root    368 Sep 13 15:10 easy-install.pth
drwxr-xr-x 2 root   4096 Jun 17 08:05 elementtree
drwxr-xr-x 2 root   4096 Jun 17 08:06 iniparse
-rw-r--r-- 1 root  39388 Oct 20  2008 instnum.py
-rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyc
-rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyo
-rw--- 1 root 294582 Sep 13 15:10 paramiko-1.7.7.1-py2.4.egg
drwx-- 4 root   4096 Sep 13 15:10 python_dateutil-1.5-py2.4.egg
drwx-- 3 root   4096 Sep 13 15:10 python_memcached-1.47-py2.4.egg
-rw--- 1 root 508900 Sep 13 15:10 pytz-2011h-py2.4.egg
-rw--- 1 root   8428 Sep 13 15:10 recaptcha_client-1.0.6-py2.4.egg
drwx-- 5 root   4096 Sep 13 15:10 ReviewBoard-1.6.1-py2.4.egg
drwxr-xr-x 2 root   4096 Jun 17 08:12 rhn
drwxr-xr-x 2 root   4096 Jun 17 08:12 rpmUtils
drwxr-xr-x 3 root   4096 Jun 17 08:12 sos
drwxr-xr-x 2 root   4096 Jun 17 08:12 urlgrabber
drwxr-xr-x 2 root   4096 Jun 17 08:12 yum

And not 2.7

And I can't install them to 2.7.

#yum update python-setuptools
Loaded plugins: kmod, security
Skipping security plugin, no 

Issue 2284 in reviewboard: ldap authentication with anonymous bind fails due to referrals

2011-09-14 Thread reviewboard

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

New issue 2284 by eivi...@gmail.com: ldap authentication with anonymous  
bind fails due to referrals

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

* NOTE: Do not post confidential information in this bug report. *
*   If you need immediate support, please contact*
*   reviewbo...@googlegroups.com *

What version are you running?
1.5.6

What steps will reproduce the problem?

When authenticating by LDAP against a windows domain controller, using  
an anonymous user, the search operation fails if the ldap server replies  
with a referral.


See http://www.python-ldap.org/faq.shtml, question 12 for more details.

I've fixed this by adding
ldapo.set_option(ldap.OPT_REFERRALS, 0)
in backends.py:LDAPBackend.authenticate and LDAPBackend.get_or_create_user  
(just after setting protocol version).


Maybe a better fix would be to set this only if LDAP_ANON_BIND_UID is set.

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

This is the logged error message:

2011-09-14 09:03:17,800 - WARNING - LDAP error: {'info': '04DC:  
LdapErr: DSI
D-0C0906DD, comment: In order to perform this operation a successful bind  
must b

e completed on the connection., data 0, v1772', 'desc': 'Operations error'}


What operating system are you using? What browser?

Gentoo linux.



--
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 2285 in reviewboard: svn: Error reading spooled REPORT request response

2011-09-14 Thread reviewboard

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

New issue 2285 by laurent@gmail.com: svn: Error reading spooled REPORT  
request response

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

What version are you running?
+ Using reviewboard 1.6 and post-review 0.3.3 and svn, version 1.6.12

What's the URL of the page containing the problem?
N/A (problem on the command-lie)

What steps will reproduce the problem?

post-review --server=http://10.100.46.245/reviewboard --summary=Review of  
XXX --description=Review of the implementation of the XXX -p  
--target-people=me -r 31 --revision-range=17941:24885

.
.

svn: 'diff' returned 2\n, 'svn: Error reading spooled REPORT request  
response\n']



What is the expected output? What do you see instead?
- No error and updating the ViewDiff in reviewboard

What operating system are you using? What browser?
Ubunttu 10.10 Firefox 3.6.13

Please provide any additional information below.


--
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 2286 in reviewboard: Post-review cannot handle revision range for subversion/svn on a specific file

2011-09-14 Thread reviewboard

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

New issue 2286 by connect2...@gmail.com: Post-review cannot handle revision  
range for subversion/svn on a specific file

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

* NOTE: Do not post confidential information in this bug report. *
*   If you need immediate support, please contact*
*   reviewbo...@googlegroups.com *

What version are you running?
RBTools 0.3.3

What's the URL of the page containing the problem?
Localhost

What steps will reproduce the problem?
1. Provide the command post-review bar/foo.txt --revision-range=r1:r2 -d
2. Here foo.txt is the specific file we need to find the diff between two  
revisions.



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

*ACTUAL OUTPUT:

RBTools 0.3.3
Home = C:\Users\PCName\AppData\Roaming
svn info
diff --version
repository info: Path: https://svn.domain_name.com/svn, Base path:  
/base/path, Supports changesets: False

HTTP GETting api/
HTTP GETting http://localhost/api/info/
Using the new web API
svn diff --diff-cmd=diff -r r1:r2

**Struck/Hangs here. No progress after this**

*EXPECTED OUTPUT:

- Should upload the diff between two revisions to the REVIEWBOARD.


What operating system are you using? What browser?
Windows 7, Google Chrome

Please provide any additional information below.

 Is there any workaround or any way to do it???



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



Re: Issue 2054 in reviewboard: RBTools-0.3.2 + Perforce - failed to upload diff when source file is a new file

2011-09-14 Thread reviewboard


Comment #2 on issue 2054 by benbe...@gmail.com: RBTools-0.3.2 + Perforce -  
failed to upload diff when source file is a new file

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

Running Windows 7 64bit client with Perforce for SCM, RBTools 0.3.3,  
ReviewBoard 1.6 hosted on Xubuntu 10.04 LTS VM (an unofficial VM being used  
for evaluation purposes) I get a similar error when running post-review on  
a changelist that is mostly new files.


Output of post-review --debug 206994


RBTools 0.3.3
Home = C:\Users\ben\AppData\Roaming
p4 info
repository info: Path: lenel-sourceold.windows.lenel.com:1666, Base  
path: None, Supports changesets: True

p4 counters
HTTP GETting api/
HTTP GETting http://10.112.8.55/api/info/
Using the new web API
Generating diff for changenum 206994
p4 describe -s 206994
Processing edit of //Development/Path/To/My/src/Solution.sln
Writing //Development/Path/To/My/src/Solution.sln#10  
to c:\users\ben\appdata\local\temp\tmp5eiypf
p4 print -o c:\users\ben\appdata\local\temp\tmp5eiypf -q  
//Development/Path/To/My/src/Solution.sln#10
diff -urNp c:\users\ben\appdata\local\temp\tmp5eiypf  
D:/Development\Path\To\My\src\Solution.sln
Processing add of  
//Development/OnGuard/Branches/Titan/DotNet/src/TwoFlower/app.config
diff -urNp c:\users\ben\appdata\local\temp\tmporoe81  
D:/Development\Path\To\My\src\TwoFlower\app.config

Processing add of //Development/Path/To/My/src/TwoFlower/PrincipalExt.cs
diff -urNp c:\users\ben\appdata\local\temp\tmporoe81  
D:/Development\Path\To\My\src\TwoFlower\Principal.cs

Processing add of //Development/Path/To/My/src/TwoFlower/Program.cs
diff -urNp c:\users\ben\appdata\local\temp\tmporoe81  
D:/Development\Path\To\My\src\TwoFlower\Program.cs
Processing add of  
//Development/Path/To/My/src/TwoFlower/Properties/AssemblyInfo.cs
diff -urNp c:\users\ben\appdata\local\temp\tmporoe81  
D:/Development\Path\To\My\src\TwoFlower\Properties\AssemblyInfo.cs
Processing add of  
//Development/Path/To/My/src/TwoFlower/TwoFlower.csproj
diff -urNp c:\users\ben\appdata\local\temp\tmporoe81  
D:/Development\Path\To\My\src\TwoFlower\TwoFlower.csproj
Processing add of  
//Development/Path/To/My/src/TwoFlower/WrappedServer.cs
diff -urNp c:\users\ben\appdata\local\temp\tmporoe81  
D:/Development\Path\To\My\src\TwoFlower\WrappedServer.cs
Attempting to create review request on  
lenel-sourceold.windows.lenel.com:1666 for 206994
HTTP POSTing to http://10.112.8.55/api/review-requests/:  
{'changenum': '206994', 'repository': 'lenel-sourceold.windows.lenel.com:1666'}
Got API Error 204 (HTTP code 409): The change number specified has  
already been used
Error data: {u'stat': u'fail', u'review_request': {u'status':  
u'pending', u'last_updated': u'2011-09-13 17:28:43', u'description':  
u'Test rig for using two embedded application servers\n', u'links':  
{u'diffs': {u'href':  
u'http://10.112.8.55/api/review-requests/5/diffs/', u'method': u'GET'},  
u'repository': {u'href': u'http://10.112.8.55/api/repositories/2/',  
u'method': u'GET', u'title': u'Old OnGuard Repository'}, u'changes':  
{u'href': u'http://10.112.8.55/api/review-requests/5/changes/',  
u'method': u'GET'}, u'self': {u'href':  
u'http://10.112.8.55/api/review-requests/5/', u'method': u'GET'},  
u'update': {u'href': u'http://10.112.8.55/api/review-requests/5/',  
u'method': u'PUT'}, u'last_update': {u'href':  
u'http://10.112.8.55/api/review-requests/5/last-update/', u'method':  
u'GET'}, u'reviews': {u'href':  
u'http://10.112.8.55/api/review-requests/5/reviews/', u'method':  
u'GET'}, u'draft': {u'href':  
u'http://10.112.8.55/api/review-requests/5/draft/',u'method': u'GET'},  
u'file_attachments': {u'href':  
u'http://10.112.8.55/api/review-requests/5/file-attachments/',  
u'method': u'GET'}, u'submitter': {u'href':  
u'http://10.112.8.55/api/users/ben/', u'method': u'GET', u'title':  
u'ben'},u'screenshots': {u'href':  
u'http://10.112.8.55/api/review-requests/5/screenshots/', u'method':  
u'GET'}, u'delete': {u'href':  
u'http://10.112.8.55/api/review-requests/5/', u'method': u'DELETE'}},  
u'target_groups': [], u'bugs_closed': [], u'changenum': 206994,  
u'target_people': [], u'testing_done': u'', u'branch': u'', u'id': 5,  
u'time_added': u'2011-09-13 17:28:43', u'summary': u'Test rig for using  
two embedded application servers', u'public': False}, u'err': {u'msg':  
u'The change number specified has already been used', u'code': 204}}

Review request already exists. Updating it...
HTTP PUTting to http://10.112.8.55/api/review-requests/5/:  
{'changenum': 206994}

Uploading diff, size: 16111
HTTP POSTing to http://10.112.8.55/api/review-requests/5/diffs/: {}

Traceback (most recent call last):
  File c:\Python27\Scripts\post-review-script.py, line 8, in module
load_entry_point('rbtools==0.3.3', 'console_scripts', 'post-review')()
   
File c:\Python27\lib\site-packages\rbtools-0.3.3-py2.7.egg\rbtools\postreview.py,  
line 4004, in main
   
File 

Re: Issue 2267 in reviewboard: Site Configurations displaying mail password in plain text

2011-09-14 Thread reviewboard


Comment #1 on issue 2267 by zel...@gmail.com: Site Configurations  
displaying mail password in plain text

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

This is pretty bad.  Passwords should never be stored in cleartext -- even  
in a database.


--
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 2287 in reviewboard: Subversion repository that requires username/password cannot be neither saved, nor accessed

2011-09-14 Thread reviewboard

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

New issue 2287 by stros...@gmail.com: Subversion repository that requires  
username/password cannot be neither saved, nor accessed

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

* NOTE: Do not post confidential information in this bug report. *
*   If you need immediate support, please contact*
*   reviewbo...@googlegroups.com *

What version are you running?

1.6.1

What's the URL of the page containing the problem?


What steps will reproduce the problem?
1. Trying to add new SVN repo with user name and empty password
2. Save of this repo fails, reporting authorization error
3. Manual change of reviewboard.db to save the repo details
   leads to similar authorization errors on reviews posting
   (post-review -d reports 'Login to the SCM server failed.')

Indeed I detected the root cause: it is not set callback_get_login
member of SVN client object defined in standard pysvn library used by  
svn.py of review board. The fix is attached.



Attachments:
svn.py  15.9 KB
svn.py.bak  15.4 KB
svn.py.diff  522 bytes

--
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 2288 in reviewboard: Custom syntax highlighting options

2011-09-14 Thread reviewboard

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

New issue 2288 by rlo...@gmail.com: Custom syntax highlighting options
http://code.google.com/p/reviewboard/issues/detail?id=2288

*NOTE: If you have a patch, please submit it to
http://reviews.reviewboard.org/


What version are you running?  1.5.5


Describe the enhancement and the motivation for it.
It would be nice there was a way to customize which Pygment lexer was used  
for certain file types and/or names.  For example our company uses mysql  
for all of relational databases, our schema files use the .sql extension  
which Pygment automatically chooses the SqlLexer, but we would prefer if it  
picked the MySqlLexer for all .sql files.  If the administrator (or per  
user possibly) could specify a file pattern and an associated Pygment lexer  
name ('mysql' in this case) which could override the default mapping of  
Pygment it would be very helpful.



What operating system are you using? What browser?
Linux, Firefox


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