I've upgraded reviewboard to 1.5.3.1, but the command <rb-site manage / var/www/reviewboard index -- --full> throws the same error.
I even tried creating a /site/search-index/index file owned by www- data user. The path is accesible by the user. Still, the command fails. Cristian Andreica On Feb 11, 10:42 pm, Christian Hammond <chip...@chipx86.com> wrote: > My apologies, this wasn't sufficient due to another bug where it doesn't > even save the entry. I've put out a hot-fix release (1.5.3.1) which you > should be able to upgrade to in the normal manner. It will fix this. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.reviewboard.org > VMware, Inc. -http://www.vmware.com > > On Fri, Feb 11, 2011 at 12:36 PM, Christian Hammond > <chip...@chipx86.com>wrote: > > > > > > > > > Hi Jerry, > > > I've fixed this in our repository and will be doing a release this weekend. > > There is a workaround, though. > > > Create an empty file somewhere in a writable directory (your site's data/ > > directory is good or this) and then set the Search Index field to be an > > absolute path to that file. The validation should then work. > > > Christian > > > -- > > Christian Hammond - chip...@chipx86.com > > > Review Board -http://www.reviewboard.org > > VMware, Inc. -http://www.vmware.com > > > On Thu, Feb 10, 2011 at 10:41 AM, Jerry <gpjerrymalo...@gmail.com> wrote: > > >> I'm prevented from saving settings unrelated to this, but on the same > >> page. I tried to change my time zone and, despite having the "Enable > >> Search" option unchecked, I still got the error message "Search index > >> path should be absolute" after clicking "Save". My time zone setting > >> is unchanged after this. > > >> -- Jerry > > >> On Feb 9, 9:04 pm, Christian Hammond <chip...@chipx86.com> wrote: > >> > 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 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 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