Hi Peter, Would you mind filing bugs for the Search brokenness and the crontab/docs inconsistency? That’ll help us track it for future releases. (It’s possible it’s just an old crontab from before the upgrade though.)
So for rbmotd, we don’t yet have it released as a .egg. That’d be the ideal way to get it, so that you don’t have to set up a build environment for it, since it contains static media that must be compiled. Can you verify your version of lessc? It should support that option. I can put up eggs soon. Christian -- Christian Hammond - [email protected] Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On June 23, 2014 at 12:06:35 PM, Peter Snelling ([email protected]) wrote: I just upgraded reviewboard from 1.7.11 to 2.0.2 on a Suse linux machine. The upgrade went fine -- I like the look of the changes so far, but I did have a couple of questions. I enabled the new search (I'd never installed PyLucene before, but now that it's not required, I decided to try enabling search). That also worked fine (once I realized you needed to do a "rb-site manage <site> rebuild_index" first, or it would fail and disable searching). The only problem I had was that the first thing I tried searching for was a file name that I'd recently modified, and that wasn't found. It looks like the search only searches descriptions, tests, etc., is that right? So if the file name isn't in the description, it won't be found? The only other issue I noticed was just a minor documentation issue: the example crontab supplied used the "index" command that your documentation said was deprecated / replaced by update_index / rebuild_index, so I used those instead in my crontab. The one other thing I tried was to install the "rbmotd" extension, which sounded like a good way to communicate with users, the next time I want to do an upgrade. I haven't installed any extensions before, so I may have missed something here, but here's what I did: copied the latest "rb-extension-pack-master.zip" file onto my reboard site installed a few missing libraries (rubygems, lessc, g++, ...) cd rb-extension-pack-master/rbmotd sudo ./setup.py install But that gave me the following error. Any idea what this means? Traceback (most recent call last): File "./setup.py", line 29, in <module> 'templates/rbmotd/*.html', File "/usr/local/lib/python2.7/site-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/extensions/packaging.py", line 48, in setup setuptools_setup(**setup_kwargs) File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools/command/install.py", line 73, in run self.do_egg_install() File "/usr/lib/python2.7/site-packages/setuptools/command/install.py", line 93, in do_egg_install self.run_command('bdist_egg') File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 179, in run cmd = self.call_command('install_lib', warn_dir=0) File "/usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 166, in call_command self.run_command(cmdname) File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools/command/install_lib.py", line 20, in run self.build() File "/usr/lib64/python2.7/distutils/command/install_lib.py", line 109, in build self.run_command('build_py') File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/local/lib/python2.7/site-packages/Djblets-0.8.5-py2.7.egg/djblets/extensions/packaging.py", line 270, in run self.run_command('build_static_files') File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/local/lib/python2.7/site-packages/Djblets-0.8.5-py2.7.egg/djblets/extensions/packaging.py", line 139, in run self._build_static_media(extension) File "/usr/local/lib/python2.7/site-packages/Djblets-0.8.5-py2.7.egg/djblets/extensions/packaging.py", line 206, in _build_static_media call_command('collectstatic', interactive=False, verbosity=2) File "/usr/local/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/core/management/__init__.py", line 159, in call_command return klass.execute(*args, **defaults) File "/usr/local/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/core/management/base.py", line 285, in execute output = self.handle(*args, **options) File "/usr/local/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/core/management/base.py", line 415, in handle return self.handle_noargs(**options) File "/usr/local/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/management/commands/collectstatic.py", line 173, in handle_noargs collected = self.collect() File "/usr/local/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/management/commands/collectstatic.py", line 119, in collect for original_path, processed_path, processed in processor: File "/usr/local/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/storage.py", line 32, in post_process packager.pack_stylesheets(package) File "/usr/local/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/packager.py", line 94, in pack_stylesheets variant=package.variant, **kwargs) File "/usr/local/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/packager.py", line 103, in pack paths = self.compile(package.paths, force=True) File "/usr/local/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/packager.py", line 97, in compile return self.compiler.compile(paths, force=force) File "/usr/local/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/compilers/__init__.py", line 55, in compile return list(executor.map(_compile, paths)) File "/usr/local/lib/python2.7/site-packages/futures-2.1.6-py2.7.egg/concurrent/futures/_base.py", line 549, in map yield future.result() File "/usr/local/lib/python2.7/site-packages/futures-2.1.6-py2.7.egg/concurrent/futures/_base.py", line 404, in result return self.__get_result() File "/usr/local/lib/python2.7/site-packages/futures-2.1.6-py2.7.egg/concurrent/futures/_base.py", line 356, in __get_result raise self._exception pipeline.exceptions.CompilerError: /usr/lib64/ruby/1.8/optparse.rb:1450:in `complete': invalid option: --global-var=RB_MINOR_VERSION=0 (OptionParser::InvalidOption) from /usr/lib64/ruby/1.8/optparse.rb:1448:in `catch' from /usr/lib64/ruby/1.8/optparse.rb:1448:in `complete' from /usr/lib64/ruby/1.8/optparse.rb:1261:in `parse_in_order' from /usr/lib64/ruby/1.8/optparse.rb:1254:in `catch' from /usr/lib64/ruby/1.8/optparse.rb:1254:in `parse_in_order' from /usr/lib64/ruby/1.8/optparse.rb:1248:in `order!' from /usr/lib64/ruby/1.8/optparse.rb:1339:in `permute!' from /usr/lib64/ruby/1.8/optparse.rb:1360:in `parse!' from /usr/lib64/ruby/gems/1.8/gems/less-2.6.0/bin/lessc:83 from /usr/bin/lessc:19:in `load' from /usr/bin/lessc:19 -- Peter -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
