Hi Henry,

I doubt you screwed anything up by not doing rb-site upgrade. It's likely a
flaw in the new validation logic. I'll see if I can work around this and get
you a patch tonight.

Christian

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


On Wed, Feb 9, 2011 at 5:46 PM, Henry Yei <henry....@gmail.com> wrote:

> After upgrading from 1.5.2 to 1.5.3, I am unable to save the path of
> the search index file. Has anyone else hit this problem, or is
> specific to my configuration?
>
> The path validation seems to work, but after the path is saved, the
> path  does not appear in the Admin UI under the Settings->General
> section and that field is blank.
>
> The command rb-site manage /var/www/reviewboard index -- --full throws
> an exception which seems to show that there is no value saved in the
> variable store_dir which is initialized by that search_index_file
> variable:
>
>
> sh-4.1$ rb-site manage /var/www/reviewboard/ index -- --full
> Traceback (most recent call last):
>  File "/usr/local/bin/rb-site", line 9, in <module>
>    load_entry_point('ReviewBoard==1.5.3', 'console_scripts', 'rb-
> site')()
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.3-
> py2.6.egg/reviewboard/cmdline/rbsite.py", line 1611, in main
>
> command.run()
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.3-
> py2.6.egg/reviewboard/cmdline/rbsite.py", line 1545, in run
>    site.run_manage_command(args[0],
> args[1:])
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.3-
> py2.6.egg/reviewboard/cmdline/rbsite.py", line 397, in
> run_manage_command
>    execute_manager(reviewboard.settings, [__file__, cmd] +
> params)
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/
> django/core/management/__init__.py", line 438, in execute_manager
>
> utility.execute()
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/
> django/core/management/__init__.py", line 379, in execute
>
> self.fetch_command(subcommand).run_from_argv(self.argv)
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/
> django/core/management/base.py", line 191, in run_from_argv
>    self.execute(*args,
> **options.__dict__)
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/
> django/core/management/base.py", line 220, in execute
>    output = self.handle(*args,
> **options)
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/
> django/core/management/base.py", line 351, in handle
>    return
> self.handle_noargs(**options)
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.3-
> py2.6.egg/reviewboard/reviews/management/commands/index.py", line 55,
> in
> handle_noargs
>    if not
> os.path.exists(store_dir):
>  File "/usr/lib/python2.6/genericpath.py", line 18, in
> exists
>    st =
> os.stat(path)
> TypeError: coercing to Unicode: need string or buffer, NoneType
> found
>
> I may have screwed something up when I forgot to do an rb-site
> upgrade  until after a full day of use when I updated the ReviewBoard
> installation via easy_install.
>
> --
> 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

Reply via email to