3479: Installed rbseverity extension on review board is not working

imr***@gmai***** (Google Code) (Is this you? Claim this profile.)
July 19, 2014
I have installed rbseverity extension from rb-extension-pack-master.zip package on Review Board 2.0.1, It was installed successfully but customized fields Major, Minor, Information fields are not appearing on comment window and observed "Uncaught ReferenceError: RBSeverity is not defined " Java script error from chrome. Please do the needful.




What version are you running?
Review Board Installed location: /opt/reviewboard-2.0.1-0
Mysql port : 3307
http port: 8081
Memcached Port: 11212


What steps will reproduce the problem?
1.Unzip rb-extension-pack-master.zip Packet what I have used for rbseverity and installed rbseverity extension.
2.After "python setup.py install" command, observed no errors
3.After enabling rbseverity extension from Admin/extension, observed no error

What is the expected output?
Under comment dialogue window, customized fields Major, Minor, Information fields should replace with Save Button.


 What do you see instead?
Under comment dialogue window, customized fields Major, Minor, Information fields are not appearing.

Observed "Uncaught ReferenceError: RBSeverity is not defined " Java script error from chrome.


What operating system are you using? 
Ubuntu 12.0.4

What browser?
Chrome


Please provide any additional information below.
Please let me know if you need further details...
david
#1 david
Installing from source is unlikely to work unless you have a variety of additional build tools (such as uglifyjs and lesscss). Can you just install the python egg?
  • +NeedInfo
#2 imr***@gmai***** (Google Code) (Is this you? Claim this profile.)
Could you please provide steps for installing python egg..
david
#3 david
You should be able to just run 'easy_install rbseverity'.
#4 imr***@gmai***** (Google Code) (Is this you? Claim this profile.)
After running I got below error:
root@pv-test:/home/test# easy_install rbseverity
/opt/reviewboard-2.0.1-0/python/bin/.python2.7.bin: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory
root@pv-test:/home/test#

david
#5 david
That seems to be an issue with your python installation.
#6 imr***@gmai***** (Google Code) (Is this you? Claim this profile.)
Hi,
I have installed successfully and enabled rbseverity extension under UI Admin/Extension.Under comment dialogue window, customized fields Major, Minor, Information fields are not appearing,same issue again. Refer below  chrome browser dev tools log:

Uncaught ReferenceError: RBSeverity is not defined (index):465
XHR finished loading: POST "http://192.168.2.235/mod_pagespeed_beacon?url=http%3A%2F%2F192.168.2.235%2Freviewboard%2Fr%2F2%2F". (index):473
O.(anonymous function).l (index):473
(anonymous function) (index):473
XHR finished loading: GET "http://192.168.2.235/reviewboard/api/review-requests/2/?api_format=json". jquery-1.8.2.min.cfa9051cc0b0.js.pagespeed.jm.Gy0gWi7liO.js:1
send jquery-1.8.2.min.cfa9051cc0b0.js.pagespeed.jm.Gy0gWi7liO.js:1
p.extend.ajax jquery-1.8.2.min.cfa9051cc0b0.js.pagespeed.jm.Gy0gWi7liO.js:1
doCall VM89:1
RB.apiCall VM89:1
Backbone.ajax VM89:1
a.sync 3rdparty.min.787bbc6b4fd2.js.pagespeed.jm.6a756ghy6O.js:1
RB.BaseResource.Backbone.Model.extend.sync VM89:1
h.extend.fetch 3rdparty.min.787bbc6b4fd2.js.pagespeed.jm.6a756ghy6O.js:1
RB.BaseResource.Backbone.Model.extend.fetch VM89:1
RB.BaseResource.Backbone.Model.extend.ready VM89:1
RB.ReviewRequest.RB.BaseResource.extend.beginCheckForUpdates VM89:1
RB.ReviewablePageView.Backbone.View.extend._registerForUpdates reviews.min.b68366f67527.js.pagespeed.jm.c64t97SN-W.js:1
RB.ReviewablePageView.Backbone.View.extend.render reviews.min.b68366f67527.js.pagespeed.jm.c64t97SN-W.js:1
RB.ReviewRequestPageView.RB.ReviewablePageView.extend.render reviews.min.b68366f67527.js.pagespeed.jm.c64t97SN-W.js:1
RB.PageManager.Backbone.Model.extend._renderPage VM89:1
k jquery-1.8.2.min.cfa9051cc0b0.js.pagespeed.jm.Gy0gWi7liO.js:1
l.fireWith jquery-1.8.2.min.cfa9051cc0b0.js.pagespeed.jm.Gy0gWi7liO.js:1
p.extend.ready jquery-1.8.2.min.cfa9051cc0b0.js.pagespeed.jm.Gy0gWi7liO.js:1
D
david
#7 david
Fixed in rbseverity 0.5.1. Thanks!
  • -NeedInfo
    +Fixed
#8 imr***@gmai***** (Google Code) (Is this you? Claim this profile.)
Hi Thanks for fixing could you please share rbseverity 0.5.1 extension.
chipx86
#9 chipx86
You just need to upgrade it through easy_install, as per the installations on the Review Board Package Store.
#10 imr***@gmai***** (Google Code) (Is this you? Claim this profile.)
I have upgraded , you can close this issue.