What version are you running?
What steps will reproduce the problem?
- Install ReviewBoard 4.0rc1 with python 2.7
- Try to execute
What do you see?
rb-sitebombs with the following error message:Traceback (most recent call last): File "/usr/bin/rb-site", line 7, in <module> from reviewboard.cmdline.rbsite import main File "/usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py", line 1038 exec(code, module_globals) SyntaxError: unqualified exec is not allowed in function 'run_manage_command' it contains a nested functions with free variables
What operating system are you using?
CentOS 7.9.2009, Python 2.7.5
Hmm, this code has been around for 6 years. Wonder if this is a version on Python 2.7.5 (which is very old).
Is it bailing simply when running rb-site at all?
Are you using any other version in production? If so, what version of Python is in use?
- New + NeedInfo
Yes, it fail when running
rb-siteat all. I can't even run
I am using ReviwBoard version 3.0.20 on the same server (same python) with no issues.