Adding Extension in Review Board

Keywords: ReviewBoard - Windows - Technical issue - Other
Description:
Hi Team,

I have added rbcommenttype in Review board. I am now trying to do Review Request Fields hookup. So I was following this link
https://www.reviewboard.org/docs/manual/3.0/extending/extensions/hooks/review-request-fields-hook/#review-request-fields-hook

https://github.com/reviewboard/rb-extension-pack/blob/master/rbnotefield/setup.py

I am getting module not found error

from reviewboard.extensions.base import Extension
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'reviewboard'
from reviewboard.extensions.hooks import ReviewRequestFieldsHook
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'reviewboard'
from reviewboard.reviews.fields import BaseEditableField, BaseTextAreaField

FYI I have installed Bitnami Review Board Stack in Windows environment.

Can you please help me out?

I got a Reply from Review board. Do you have any idea about the following

**Team Review Board:**How are you invoking the Python shell?
The Bitnami stack has its own bundled version, which needs to be invoked with just the right setup. We can’t really help a lot with that, as we don’t maintain Bitnami’s images, but they might have documentation on it.

**Nilanjan:**FYI I have installed Python 3.6 and writing the code there.

Hi,

Please, note that before running the commands shown on this page, you should load the Bitnami stack environment by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console”. Learn more.

Can you paste here the exact steps you’re following in order to try to reproduce the issue on our side?

Best regards,
Carlos R. Hernández

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.