Review Board Extension Beginner

1,040 views
Skip to first unread message

Catherine

unread,
Jul 11, 2012, 1:04:39 PM7/11/12
to reviewboard-dev
My compnay just setup a dev reviews.example.com in linux machine. I
have read all the documenation of http://www.reviewboard.org/docs/codebase/dev/extending/extensions/.

The reviews.example.com is created in /var/www/ folder. But where is
the extension *.py files?
I am a window user and not familiar with linux system. Can I use
textedit to create the py file?
Is there any lower level documents that will teach beginner step by
step to create a Review Board extension application?

Thanks so much for your help,
Catherine

Christian Hammond

unread,
Jul 11, 2012, 2:26:31 PM7/11/12
to reviewb...@googlegroups.com
Hi Catherine,

.py files are just Python files that implement certain classes and methods.

The documentation you're reading is for the upcoming 1.7 release. The 1.6.x releases do not support extensions, and 1.7 is a bit bleeding edge at the moment, so you'd have to decide whether you feel it's worth it. At the moment, I know there are some regressions in various parts of the codebase, so I can't recommend it for production use.

We do have sample extensions in https://github.com/reviewboard/rb-extension-pack and some documentation in http://www.reviewboard.org/docs/codebase/dev/extending/extensions/. The biggest part will be to learn Python, though.

Chrisitan

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

Catherine

unread,
Jul 11, 2012, 2:35:50 PM7/11/12
to reviewboard-dev
Hi Chrisitan,

Thanks for responding my question.
The tech guy only created a Review Board site. How can I verify the
setuptools-0.6c11-py2.7.egg got installed in the Linux machine.

Thanks again,
Catherine

On Jul 11, 11:26 am, Christian Hammond <chip...@chipx86.com> wrote:
> Hi Catherine,
>
> .py files are just Python files that implement certain classes and methods.
>
> The documentation you're reading is for the upcoming 1.7 release. The 1.6.x
> releases do not support extensions, and 1.7 is a bit bleeding edge at the
> moment, so you'd have to decide whether you feel it's worth it. At the
> moment, I know there are some regressions in various parts of the codebase,
> so I can't recommend it for production use.
>
> We do have sample extensions inhttps://github.com/reviewboard/rb-extension-packand some documentation inhttp://www.reviewboard.org/docs/codebase/dev/extending/extensions/. The
> biggest part will be to learn Python, though.
>
> Chrisitan
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
>
>
> On Wed, Jul 11, 2012 at 10:04 AM, Catherine <lihjuch...@yahoo.com> wrote:
> > My compnay just setup a dev reviews.example.com in linux machine. I
> > have read all the documenation of
> >http://www.reviewboard.org/docs/codebase/dev/extending/extensions/.
>
> > The reviews.example.com is created in /var/www/ folder. But where is
> > the extension *.py files?
> > I am a window user and not familiar with linux system. Can I use
> > textedit to create the py file?
> > Is there any lower level documents that will teach beginner step by
> > step to create a Review Board extension application?
>
> > Thanks so much for your help,
> > Catherine- Hide quoted text -
>
> - Show quoted text -

Christian Hammond

unread,
Jan 24, 2013, 3:25:18 PM1/24/13
to reviewb...@googlegroups.com
Hi,

Off-hand, it looks okay. I'll try to play with this later and see if anything stands out, but first off, is your Review Board in a virtualenv or installed to the system packages? Same question with your extension.

One thing to check are import errors, too. They should probably show up in the reviewboard.log file.

Christian

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


On Thu, Jan 24, 2013 at 7:05 AM, <christop...@gmail.com> wrote:
Hello

I'm writing an extension for reviewboard 1.7.2 (on Fedora 18 / python 2.7.3)

To deploy my extension I used "python setup.py develop" as mentionned in the documentation.

All seems to be fine, a link to my egg is created under /python_install_dir/site-packages, but my extension is not visible in reviewboard (/admin/extensions/)

I tried to restart apache but It doesn't change anything.

I suppose there is something wrong in my setup.py... but I don't know what. Could you give me some guidance on what i should check ?

Regards
Chris

here's my setup.py (full source code in attachment)
---
from setuptools import setup


PACKAGE = "rbkonnect"
VERSION = "1.0"

setup(
    name=PACKAGE,
    version=VERSION,
    description="Konnect extension for Review Board",
    author="Christophe",
    packages=["rbkonnect"],
    entry_points={
        'reviewboard.extensions':
            '%s = rbkonnect.extension:RBKonnectExtension' % PACKAGE,
    }
)

---

--
 
 
 

Christian Hammond

unread,
Jan 24, 2013, 5:39:23 PM1/24/13
to christop...@gmail.com, reviewb...@googlegroups.com
Ah, that would certainly do it. Yes, you'll need to pass *args, **kwargs to the parent.

Christian

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

On Jan 24, 2013, at 2:38 PM, christop...@gmail.com wrote:

> Hi,
>
> I found I little mistake in extension.py (in the __init__, method, the call to the parent class __init__ method is incorrect, I should pass (*args, **kwargs)). Maybe this is the cause of the problem. I will check that first thing at office tomorrow (i hope it will work, it would be nice to start my working day with such a success!)
>
> My reviewboard site is installed to system packages, so is my extension.
>
> Christophe

christop...@gmail.com

unread,
Jan 25, 2013, 5:36:52 AM1/25/13
to reviewb...@googlegroups.com, christop...@gmail.com, chi...@chipx86.com
Hello

Thanks for your reply Christian

I fixed the missing (*args, **kwargs) parameters error but unfortunately reviewboard is as blind as before about my extension !

I found my code was not the problem. I downloaded the rbxmlreview extension from github and installed it with python setup.py develop (when building the extension python complained about a missing __init__ file, which I added manually). But ExtensionManager still doesn't know about this extension

rb-site manage /var/www/reviews.onesys.info shell
>>> from djblets.extensions.base import ExtensionManager, Extension
>>> print len(ExtensionManager("reviewboard.extensions").get_installed_extensions())
0 # --> oh, no!
>>> ExtensionManager("reviewboard.extensions").load(True) # --> i'm not defeated yet!
>>> print len(ExtensionManager("reviewboard.extensions").get_installed_extensions())
0 # --> sigh!

christop...@gmail.com

unread,
Jan 25, 2013, 5:46:33 AM1/25/13
to reviewb...@googlegroups.com, christop...@gmail.com, chi...@chipx86.com
oops, my test was wrong

>>> from djblets.extensions.base import ExtensionManager, Extension
>>> manager = ExtensionManager("reviewboard.extensions")
>>> manager.load(True)
>>> print len(manager.get_installed_extensions())
2 # --> yess!

now I wonder why ReviewBoard doesn't see this extensions ?...

christop...@gmail.com

unread,
Jan 25, 2013, 6:01:48 AM1/25/13
to reviewb...@googlegroups.com, christop...@gmail.com, chi...@chipx86.com
After some further investigation I have an idea : may the load() command on ExtensionManager be missing in ReviewBoard ?

Some more tests:
>>> manager = ExtensionManager("reviewboard.extensions")
>>> print len(manager.get_installed_extensions())
0

>>> manager = ExtensionManager("reviewboard.extensions")
>>> manager.load()
>>> print len(manager.get_installed_extensions())
2

for example in extensions/views.py we a call to djblets.extensions.views.configure_extension with some ExtensionManager object passed in parameter. But I see nowhere the "load()" command (neither in reviewboard, neither in djblets)

christop...@gmail.com

unread,
Jan 25, 2013, 1:35:24 PM1/25/13
to reviewb...@googlegroups.com, christop...@gmail.com, chi...@chipx86.com
No, seems to be OK in fact
Extension are loaded in reviewboard/__init__.py (l.87: get_extension_manager().load())
I have to found another trail

Christophe SCHAERER

unread,
Jan 26, 2013, 6:20:07 AM1/26/13
to Raja Venkataraman, reviewb...@googlegroups.com
Raja,
Thanks for the test, this is very interesting. I will try to run my reviewboard site on devserver and see what's happen.
Christophe

2013/1/26 Raja Venkataraman <raja...@gmail.com>
I think its probably something to do with your apache setup. I installed your extension, downloading from above and modifying the __init__ to pass args,kwargs to super and it appears just fine in /admin/extensions. Im just using the devserver setup, not apache, attaching screenshot that shows your extension.

-Raja




--
Cordialement,

Christophe SCHAERER.
Développements PilOTT

ONESYS
6-8 rue Georges Marrane
69200 Vénissieux
Tél : 04 69 85 86 20
Web : http://www.onesys.fr/

Christophe SCHAERER

unread,
Jan 26, 2013, 7:05:18 AM1/26/13
to Raja Venkataraman, chi...@chipx86.com, reviewb...@googlegroups.com
Hi
I have an idea of what's could be the issue's root. Here's the pieces of the puzzle :
- In reviewboard, installed extensions are load at the first page load and stored in a global variable accessible via get_extension_manager() method
- Some users reported problems (see here) with global variables when using Apache / WSGI (which is my server config)
 
Theses two points lead me to the hypothesis that reviewboard extension single-loading logic could be broken because Apache / WSGI reinitialize "global _extension_manager" at each request
 
It is also consistent with the fact that all is fine with devserver (as it is a single-threading server)
 
This is only hypothesis, it should be confirmed by others users running Apache / WSGI
 
Regards
Christophe

 
2013/1/26 Christophe SCHAERER <christoph...@onesys.fr>

Christophe

unread,
Jan 26, 2013, 8:21:49 AM1/26/13
to Raja Venkataraman, reviewb...@googlegroups.com, chi...@chipx86.com
I missed that point. Given that my hypothesis is at least very improbable!
Thanks to the hint, I'll try it
Christophe
2013/1/26 Raja Venkataraman <raja...@gmail.com>
Hi
I dont think that would be the case, because there is a middleware that gets called during every request that checks if the extensions are modified (added/deleted/config changed) and reloads them. Checkout ExtensionsMiddleware in djblets/extension/middleware.py. So even if it gets initialized everytime, it should load all the extensions, shouldnt it?

Can you try running apache as single threaded and see if you can breakpoint to find the problem. You can run it single threaded as sudo <path to httpd>/httpd -DFOREGROUND 

Regards
Raja
Tél : 04 27 04 30 77
Web : http://www.onesys.fr/

christop...@gmail.com

unread,
Jan 28, 2013, 12:27:59 PM1/28/13
to reviewb...@googlegroups.com, Raja Venkataraman, chi...@chipx86.com
Hi,
Some tests later,
- running with httpd -DFOREGROUND doesn't change anything (extensions are not visible in /admin/extensions, and are not registered in database in extensions_registeredextension )
- but when running with dev server (rb-site manage /var/www/reviews.example.info runserver) extension are correctly loaded (visible in /admin/extension, see attachment, and registered in database)

This supports the idea of an apache config (or wsgi) related problem (i'm running apache 2.4.3 / mod_wsgi 3.4.6). Unless I find some relevant error message, it see no way of steping foward on that problem.

christop...@gmail.com

unread,
Jan 28, 2013, 12:29:58 PM1/28/13
to reviewb...@googlegroups.com, Raja Venkataraman, chi...@chipx86.com
here's the attachment mentionned in my previous post
screenshot.png

Christian Hammond

unread,
Jan 28, 2013, 1:22:08 PM1/28/13
to christop...@gmail.com, reviewb...@googlegroups.com, Raja Venkataraman, chi...@chipx86.com
When you're doing development, are you using virtualenv or otherwise installing to some path local to your user?

Christian

christop...@gmail.com

unread,
Jan 28, 2013, 2:02:59 PM1/28/13
to reviewb...@googlegroups.com, christop...@gmail.com, Raja Venkataraman, chi...@chipx86.com
In fact I doesn't have any real developpement environnement. Reviewboard is the first python app I've installed and i've just learned about virtualenv, reading reviewboard documentation. It doesn't seems to me too difficult to set up a virtualenv, but if the problem lies in some apache config setting, won't this be useless ? I didn't thought about installing reviewboard to some local path. If I can add some logging instructions to reviewboard source code and run it in my production environnement, that would probably be of some help. I'm not sure of the way of doing that. If it is quite straigthforward (like running python setup.py develop for an extension) I can try.

Sorry if my explanations are confused (i've got to "getting thinks works" without fully understanding the underlying concepts but it's how high-level-language programmers often have to work!)

christop...@gmail.com

unread,
Jan 28, 2013, 3:46:02 PM1/28/13
to reviewb...@googlegroups.com, christop...@gmail.com, Raja Venkataraman, chi...@chipx86.com
I saw it was possible (link) to use virtualenv with apache / mod_wsgi. It understand that it should work as long as my virtualenv python modules are compatibles with the version of the python interpreter in mod_wsgi. Isn't it the way to go ?

Christian Hammond

unread,
Jan 28, 2013, 4:00:34 PM1/28/13
to christop...@gmail.com, reviewb...@googlegroups.com, christop...@gmail.com, Raja Venkataraman, chi...@chipx86.com
Hi,

Sorry, I wasn't implying that you should use virtualenv with Apache. I thought maybe you were using both, and that could cause a problem.

It sounds like a setup issue of some kind, but it's hard to say what without having access to the machine.

If Apache is using the same version of Review Board that you are using on the command line, and your extension is installed in the global Python path, it should work.

A couple other things to verify:

1) You're using easy_install, not pip
2) You're doing 'setup.py install', not 'develop'. Depending on directory permissions, the latter may not work, since Apache runs as a different user.
3) You've restarted Apache after doing an install (this is needed for now, but will be fixed soon).

Christian

Christophe

unread,
Jan 28, 2013, 6:40:02 PM1/28/13
to Christian Hammond, reviewb...@googlegroups.com, Raja Venkataraman, chi...@chipx86.com
Hi,
Before I dive into virtualenv I have to make sure i didn't miss some basic permission problem, like
- mod_wsgi can't follow the symlink created by setuptools when running "python setup.py develop"
- mod_wsgi can't execute the code of the egg
I would be a bit disapointed to spend hours debugging if the solution is as simple as a chmod <something> (I know what i'm talking about, I fell in that kind of trap before!)

christop...@gmail.com

unread,
Jan 29, 2013, 6:06:18 AM1/29/13
to reviewb...@googlegroups.com, Raja Venkataraman, chi...@chipx86.com
Hi
Got it!

It works if I move my extension source egg under /path/to/reviewboard/website, i.e.

mkdir /var/www/reviews.example.info/extensions
mv /path/to/my_extension /var/www/reviews.example.info/extensions/my_extension
chown -R apache /var/www/reviews.example.info/extensions
cd /var/www/reviews.example.info/extensions/my_extension
python setup.py build # not sure it is needed
python setup.py develop # will create a symlink under /path/to/python_install/site-packages


It sould be pointed out that the "naive" approach "chmod -R 777 /path/to/my_extension" doesn't works when the extension dir is outside apache web directory root (/var/www on my system)

I'm note sure of how this has to be understood, my guess is that is has to do with the following rule (mod_wsgi quick config guide) :
« [...] WSGI application will be run as the user that Apache runs as. As such, the user that Apache runs as must have read access to both the WSGI application script file and all the parent directories that contain it »

Thanks again for your help. Reviewboard is great, and now that I'm able to make it communicate with others apps, it is even better!

@Raja : I indeed didn't understood the -DFOREGROUND that way! That's because I'm very new to the python world, it didn't knew I could breakpoint the apache process with pdb. Sounds powerful, though!

Christophe

Rama krishna

unread,
Jun 26, 2014, 6:58:07 AM6/26/14
to reviewb...@googlegroups.com
Hi,
I have installed rbseverity extension on reviewboard after enabling this extension under Admn/extension observed below error(review board log error), could you please guide me how to resolve this:

2014-06-27 01:55:07,906 - DEBUG - None - admin - /reviewboard/r/7/diff/1/fragment/7/ - Generating diff chunks for self.filediff id 7 (V&V/Tools/CDP Automation/Source/10A-10B/CDP.pl,v) took 0.036396 seconds
2014-06-27 01:56:15,443 - DEBUG -  - Installing extension media for Comment Severity 0.5 (enabled = True)
2014-06-27 01:56:47,233 - CRITICAL -  - Unable to load CSS bundle 'default' for extension 'Comment Severity' (rbseverity.extension.SeverityExtension): The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9fab0c>.
Traceback (most recent call last):
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Djblets-0.8.1-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py", line 57, in _render_bundle
    return node_cls('"%s"' % extension.get_bundle_id(name)).render(context)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 55, in render
    return self.render_compressed(package, 'css')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 36, in render_compressed
    return method(package, package.output_filename)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 62, in render_css
    'url': mark_safe(staticfiles_storage.url(path))
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 139, in url
    hashed_name = self.hashed_name(clean_name).replace('\\', '/')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 96, in hashed_name
    (clean_name, self))
ValueError: The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9fab0c>.
2014-06-27 01:56:47,381 - CRITICAL -  - Unable to load JavaScript bundle 'severity-review' for extension 'Comment Severity' (rbseverity.extension.SeverityExtension): The file 'ext/rbseverity.extension.SeverityExtension/js/severity-review.min.js' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9fab0c>.
Traceback (most recent call last):
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Djblets-0.8.1-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py", line 57, in _render_bundle
    return node_cls('"%s"' % extension.get_bundle_id(name)).render(context)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 81, in render
    return self.render_compressed(package, 'js')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 36, in render_compressed
    return method(package, package.output_filename)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 88, in render_js
    'url': mark_safe(staticfiles_storage.url(path))
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 139, in url
    hashed_name = self.hashed_name(clean_name).replace('\\', '/')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 96, in hashed_name
    (clean_name, self))
ValueError: The file 'ext/rbseverity.extension.SeverityExtension/js/severity-review.min.js' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9fab0c>.
2014-06-27 01:56:49,972 - DEBUG - None - admin - /reviewboard/r/7/diff/ - Generating diff viewer page for filediff id 14
2014-06-27 01:56:50,010 - DEBUG - None - admin - /reviewboard/r/7/diff/ - Begin: Generating diff file info for diffset id 14
2014-06-27 01:56:50,017 - DEBUG - None - admin - /reviewboard/r/7/diff/ - End: Generating diff file info for diffset id 14
2014-06-27 01:56:50,017 - DEBUG - None - admin - /reviewboard/r/7/diff/ - Generating diff file info for diffset id 14 took 0.006338 seconds
2014-06-27 01:56:50,035 - DEBUG - None - admin - /reviewboard/r/7/diff/ - Done generating diff viewer page for filediff id 14
2014-06-27 01:56:50,059 - CRITICAL -  - Unable to load CSS bundle 'default' for extension 'Comment Severity' (rbseverity.extension.SeverityExtension): The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9fab0c>.
Traceback (most recent call last):
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Djblets-0.8.1-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py", line 57, in _render_bundle
    return node_cls('"%s"' % extension.get_bundle_id(name)).render(context)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 55, in render
    return self.render_compressed(package, 'css')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 36, in render_compressed
    return method(package, package.output_filename)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 62, in render_css
    'url': mark_safe(staticfiles_storage.url(path))
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 139, in url
    hashed_name = self.hashed_name(clean_name).replace('\\', '/')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 96, in hashed_name
    (clean_name, self))
ValueError: The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9fab0c>.
2014-06-27 01:56:50,123 - CRITICAL -  - Unable to load JavaScript bundle 'severity-review' for extension 'Comment Severity' (rbseverity.extension.SeverityExtension): The file 'ext/rbseverity.extension.SeverityExtension/js/severity-review.min.js' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9fab0c>.
Traceback (most recent call last):
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Djblets-0.8.1-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py", line 57, in _render_bundle
    return node_cls('"%s"' % extension.get_bundle_id(name)).render(context)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 81, in render
    return self.render_compressed(package, 'js')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 36, in render_compressed
    return method(package, package.output_filename)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 88, in render_js
    'url': mark_safe(staticfiles_storage.url(path))
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 139, in url
    hashed_name = self.hashed_name(clean_name).replace('\\', '/')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 96, in hashed_name
    (clean_name, self))
ValueError: The file 'ext/rbseverity.extension.SeverityExtension/js/severity-review.min.js' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9fab0c>.
2014-06-27 01:56:50,531 - DEBUG - None - admin - /reviewboard/r/7/diff/1/fragment/7/ - Begin: Generating diff file info for diffset id 14, filediff 7
2014-06-27 01:56:50,588 - DEBUG - None - admin - /reviewboard/r/7/diff/1/fragment/7/ - End: Generating diff file info for diffset id 14, filediff 7
2014-06-27 01:56:50,600 - DEBUG - None - admin - /reviewboard/r/7/diff/1/fragment/7/ - Generating diff file info for diffset id 14, filediff 7 took 0.079777 seconds
2014-06-27 02:20:37,680 - CRITICAL -  - Unable to load CSS bundle 'default' for extension 'Comment Severity' (rbseverity.extension.SeverityExtension): The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9f3aec>.
Traceback (most recent call last):
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Djblets-0.8.1-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py", line 57, in _render_bundle
    return node_cls('"%s"' % extension.get_bundle_id(name)).render(context)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 55, in render
    return self.render_compressed(package, 'css')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 36, in render_compressed
    return method(package, package.output_filename)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 62, in render_css
    'url': mark_safe(staticfiles_storage.url(path))
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 139, in url
    hashed_name = self.hashed_name(clean_name).replace('\\', '/')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 96, in hashed_name
    (clean_name, self))
ValueError: The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9f3aec>.
2014-06-27 02:20:49,748 - CRITICAL -  - Unable to load CSS bundle 'default' for extension 'Comment Severity' (rbseverity.extension.SeverityExtension): The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9f9b6c>.
Traceback (most recent call last):
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Djblets-0.8.1-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py", line 57, in _render_bundle
    return node_cls('"%s"' % extension.get_bundle_id(name)).render(context)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 55, in render
    return self.render_compressed(package, 'css')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 36, in render_compressed
    return method(package, package.output_filename)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 62, in render_css
    'url': mark_safe(staticfiles_storage.url(path))
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 139, in url
    hashed_name = self.hashed_name(clean_name).replace('\\', '/')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 96, in hashed_name
    (clean_name, self))
ValueError: The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9f9b6c>.
2014-06-27 02:20:56,879 - CRITICAL -  - Unable to load CSS bundle 'default' for extension 'Comment Severity' (rbseverity.extension.SeverityExtension): The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9fab0c>.
Traceback (most recent call last):
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Djblets-0.8.1-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py", line 57, in _render_bundle
    return node_cls('"%s"' % extension.get_bundle_id(name)).render(context)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 55, in render
    return self.render_compressed(package, 'css')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 36, in render_compressed
    return method(package, package.output_filename)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 62, in render_css
    'url': mark_safe(staticfiles_storage.url(path))
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 139, in url
    hashed_name = self.hashed_name(clean_name).replace('\\', '/')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 96, in hashed_name
    (clean_name, self))
ValueError: The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9fab0c>.
2014-06-27 02:23:11,859 - CRITICAL -  - Unable to load CSS bundle 'default' for extension 'Comment Severity' (rbseverity.extension.SeverityExtension): The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9f3aec>.
Traceback (most recent call last):
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Djblets-0.8.1-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py", line 57, in _render_bundle
    return node_cls('"%s"' % extension.get_bundle_id(name)).render(context)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 55, in render
    return self.render_compressed(package, 'css')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 36, in render_compressed
    return method(package, package.output_filename)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 62, in render_css
    'url': mark_safe(staticfiles_storage.url(path))
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 139, in url
    hashed_name = self.hashed_name(clean_name).replace('\\', '/')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 96, in hashed_name
    (clean_name, self))
ValueError: The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9f3aec>.
2014-06-27 02:23:14,535 - CRITICAL -  - Unable to load CSS bundle 'default' for extension 'Comment Severity' (rbseverity.extension.SeverityExtension): The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9f3aec>.
Traceback (most recent call last):
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Djblets-0.8.1-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py", line 57, in _render_bundle
    return node_cls('"%s"' % extension.get_bundle_id(name)).render(context)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 55, in render
    return self.render_compressed(package, 'css')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 36, in render_compressed
    return method(package, package.output_filename)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 62, in render_css
    'url': mark_safe(staticfiles_storage.url(path))
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 139, in url
    hashed_name = self.hashed_name(clean_name).replace('\\', '/')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 96, in hashed_name
    (clean_name, self))
ValueError: The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9f3aec>.
2014-06-27 02:23:41,281 - CRITICAL -  - Unable to load CSS bundle 'default' for extension 'Comment Severity' (rbseverity.extension.SeverityExtension): The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9f9b6c>.
Traceback (most recent call last):
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Djblets-0.8.1-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py", line 57, in _render_bundle
    return node_cls('"%s"' % extension.get_bundle_id(name)).render(context)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 55, in render
    return self.render_compressed(package, 'css')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 36, in render_compressed
    return method(package, package.output_filename)
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/django_pipeline-1.3.24-py2.7.egg/pipeline/templatetags/compressed.py", line 62, in render_css
    'url': mark_safe(staticfiles_storage.url(path))
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 139, in url
    hashed_name = self.hashed_name(clean_name).replace('\\', '/')
  File "/opt/reviewboard-2.0.1-0/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/contrib/staticfiles/storage.py", line 96, in hashed_name
    (clean_name, self))
ValueError: The file 'ext/rbseverity.extension.SeverityExtension/css/default.min.css' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa9f9b6c>.

Christian Hammond

unread,
Jun 26, 2014, 2:53:41 PM6/26/14
to reviewb...@googlegroups.com
I’m glad you’re now posting to the right place, but please keep it to one thread, and open new threads for new issues instead of replying to random people…

How did you install the extension? You should just do:

    sudo easy_installl -U rbseverity

Christian

-- 
Christian Hammond - chri...@beanbaginc.com
Beanbag, Inc. - http://www.beanbaginc.com
--

---
You received this message because you are subscribed to the Google Groups "reviewboard-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-d...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages