Re: Error running first index

2011-02-23 Thread Barry Carroll

Thank you.  That worked perfectly.

Barry Carroll
Software QA engineer
Phone:  801-437-7463
Fax:801-437-0201
Cell:   541-915-5981

==
Studies at IBM ... show that it is at least 10 times as costly to correct an error 
after coding as before... .
  --  William Perry in Effective Methods for Software Testing




On 02/22/2011 03:36 PM, Christian Hammond wrote:

rb-site manage /var/www/
mysitename.net/ http://mysitename.net/ index -- --full


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


Error running first index

2011-02-22 Thread Barry
I am installing Review Board on CentOS 5.
PyLucene is installed.
Apache is the web server.
MySQL is the DB server.
My indexing directory is /var/www/mysitename.net/search-index

When I try to do the initial index (as instructed in the 'Enabling
Search' page of the Administration manual) I get the following error:

[root@centos_5_x86_64_192_217_114_54 ~]# rb-site manage /var/www/
mysitename.net/ index -- --full
Traceback (most recent call last):
  File /usr/bin/rb-site, line 7, in ?
sys.exit(
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.5.3-py2.4.egg/
reviewboard/cmdline/rbsite.py, line 1611, in main
command.run()
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.5.3-py2.4.egg/
reviewboard/cmdline/rbsite.py, line 1545, in run
site.run_manage_command(args[0], args[1:])
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.5.3-py2.4.egg/
reviewboard/cmdline/rbsite.py, line 397, in run_manage_command
execute_manager(reviewboard.settings, [__file__, cmd] + params)
  File /usr/lib/python2.4/site-packages/Django-1.2.5-py2.4.egg/django/
core/management/__init__.py, line 438, in execute_manager
utility.execute()
  File /usr/lib/python2.4/site-packages/Django-1.2.5-py2.4.egg/django/
core/management/__init__.py, line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File /usr/lib/python2.4/site-packages/Django-1.2.5-py2.4.egg/django/
core/management/base.py, line 191, in run_from_argv
self.execute(*args, **options.__dict__)
  File /usr/lib/python2.4/site-packages/Django-1.2.5-py2.4.egg/django/
core/management/base.py, line 220, in execute
output = self.handle(*args, **options)
  File /usr/lib/python2.4/site-packages/Django-1.2.5-py2.4.egg/django/
core/management/base.py, line 351, in handle
return self.handle_noargs(**options)
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.5.3-py2.4.egg/
reviewboard/reviews/management/commands/index.py, line 55, in
handle_noargs
if not os.path.exists(store_dir):
  File /usr/lib64/python2.4/posixpath.py, line 171, in exists
st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found

Can someone tell me what I am doing wrong here?

Thanks in advance for help.

Barry

-- 
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: Error running first index

2011-02-22 Thread Christian Hammond
Hi Barry,

Did you enter the index file path in the General Settings page in the Admin
UI and save it? It looks like it was never saved. Though, we should be
providing an actual error message in this case. Should file a bug on that..

Actually, given that you're using 1.5.3, I suspect you're hitting the saving
problem. You will need to upgrade to 1.5.4.

Christian

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


On Tue, Feb 22, 2011 at 12:19 PM, Barry
barry.carr...@contractor.verio.netwrote:

 I am installing Review Board on CentOS 5.
 PyLucene is installed.
 Apache is the web server.
 MySQL is the DB server.
 My indexing directory is /var/www/mysitename.net/search-index

 When I try to do the initial index (as instructed in the 'Enabling
 Search' page of the Administration manual) I get the following error:

 [root@centos_5_x86_64_192_217_114_54 ~]# rb-site manage /var/www/
 mysitename.net/ index -- --full
 Traceback (most recent call last):
  File /usr/bin/rb-site, line 7, in ?
sys.exit(
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.5.3-py2.4.egg/
 reviewboard/cmdline/rbsite.py, line 1611, in main
command.run()
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.5.3-py2.4.egg/
 reviewboard/cmdline/rbsite.py, line 1545, in run
site.run_manage_command(args[0], args[1:])
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.5.3-py2.4.egg/
 reviewboard/cmdline/rbsite.py, line 397, in run_manage_command
execute_manager(reviewboard.settings, [__file__, cmd] + params)
  File /usr/lib/python2.4/site-packages/Django-1.2.5-py2.4.egg/django/
 core/management/__init__.py, line 438, in execute_manager
utility.execute()
  File /usr/lib/python2.4/site-packages/Django-1.2.5-py2.4.egg/django/
 core/management/__init__.py, line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File /usr/lib/python2.4/site-packages/Django-1.2.5-py2.4.egg/django/
 core/management/base.py, line 191, in run_from_argv
self.execute(*args, **options.__dict__)
  File /usr/lib/python2.4/site-packages/Django-1.2.5-py2.4.egg/django/
 core/management/base.py, line 220, in execute
output = self.handle(*args, **options)
  File /usr/lib/python2.4/site-packages/Django-1.2.5-py2.4.egg/django/
 core/management/base.py, line 351, in handle
return self.handle_noargs(**options)
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.5.3-py2.4.egg/
 reviewboard/reviews/management/commands/index.py, line 55, in
 handle_noargs
if not os.path.exists(store_dir):
  File /usr/lib64/python2.4/posixpath.py, line 171, in exists
st = os.stat(path)
 TypeError: coercing to Unicode: need string or buffer, NoneType found

 Can someone tell me what I am doing wrong here?

 Thanks in advance for help.

 Barry

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