I tried to upgrade reviewboard by following  Upgrading Review Board | 
Documentation | Review Board 
<https://www.reviewboard.org/docs/manual/2.5/admin/upgrading/upgrading-reviewboard/>
,
I got an error afer running "easy_install -U ReviewBoard", my environment 
is like:
centos 7.6, python 2.7.5 


[xxxxx]# easy_install -U ReviewBoard
Searching for ReviewBoard
Reading https://pypi.org/simple/ReviewBoard/
Downloading 
https://files.pythonhosted.org/packages/f1/9c/ff4811a231ca80dda5380b0cc4cb56ab0b6f43725c5433d30defe733cdec/ReviewBoard-4.0.2-py2.py3-none-any.whl#sha256=1698073471ae82e4cbb5bf637e2ba2ad97fda0af86b6210068424eb6b224042c
Best match: ReviewBoard 4.0.2
Processing ReviewBoard-4.0.2-py2.py3-none-any.whl
removing '/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg' 
(and everything under it)
Installing ReviewBoard-4.0.2-py2.py3-none-any.whl to 
/usr/lib/python2.7/site-packages
writing requirements to 
/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/EGG-INFO/requires.txt
ReviewBoard 4.0.2 is already the active version in easy-install.pth
Installing rbext script to /usr/bin
Installing rbssh script to /usr/bin
Installing rb-site script to /usr/bin

Installed /usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg
Processing dependencies for ReviewBoard
Searching for django-haystack<2.999,>=2.8.1
Reading https://pypi.org/simple/django-haystack/
Downloading 
https://files.pythonhosted.org/packages/69/43/3e247b7b2134b48e9a53fb387e191e5e05b5f38f2faf78ca892097c2b441/django-haystack-2.8.1.tar.gz#sha256=8b54bcc926596765d0a3383d693bcdd76109c7abb6b2323b3984a39e3576028c
Best match: django-haystack 2.8.1
Processing django-haystack-2.8.1.tar.gz
Writing /tmp/easy_install-KFMXgb/django-haystack-2.8.1/setup.cfg
Running django-haystack-2.8.1/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-KFMXgb/django-haystack-2.8.1/egg-dist-tmp-oOrelr
/tmp/easy_install-KFMXgb/django-haystack-2.8.1/temp/easy_install-TjHwRF/setuptools_scm-6.0.1/src
<pkg_resources.WorkingSet object at 0x7f6a463f5950>
Traceback (most recent call last):
  File "/bin/easy_install", line 11, in <module>
    load_entry_point('setuptools==41.1.0.post1', 'console_scripts', 
'easy_install')()
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", 
line 2316, in main
  File "build/bdist.linux-x86_64/egg/setuptools/__init__.py", line 145, in 
setup
  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 "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", 
line 418, in run
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", 
line 679, in easy_install
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", 
line 707, in install_item
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", 
line 752, in process_distribution
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 782, 
in resolve
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1065, 
in best_match
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1077, 
in obtain
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", 
line 679, in easy_install
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", 
line 705, in install_item
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", 
line 890, in install_eggs
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", 
line 1158, in build_and_install
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", 
line 1144, in run_setup
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 253, in 
run_setup
  File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 195, in 
setup_context
  File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 166, in 
save_modules
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 141, in 
resume
    File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 154, in 
save_modules
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 195, in 
setup_context
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 250, in 
run_setup
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 45, in 
_execfile
  File "/tmp/easy_install-KFMXgb/django-haystack-2.8.1/setup.py", line 71, 
in <module>
  File "build/bdist.linux-x86_64/egg/setuptools/__init__.py", line 144, in 
setup
  File "build/bdist.linux-x86_64/egg/setuptools/__init__.py", line 139, in 
_install_setup_requires
  File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 719, in 
fetch_build_eggs
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 782, 
in resolve
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1065, 
in best_match
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1077, 
in obtain
  File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 786, in 
fetch_build_egg
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", 
line 679, in easy_install
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", 
line 705, in install_item
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", 
line 890, in install_eggs
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", 
line 1158, in build_and_install
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", 
line 1144, in run_setup
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 253, in 
run_setup
  File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 195, in 
setup_context
  File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 166, in 
save_modules
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 141, in 
resume
    File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 154, in 
save_modules
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 195, in 
setup_context
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 250, in 
run_setup
  File "build/bdist.linux-x86_64/egg/setuaptools/sandbox.py", line 45, in 
_execfile
  File 
"/tmp/easy_install-KFMXgb/django-haystack-2.8.1/temp/easy_install-TjHwRF/setuptools_scm-6.0.1/setup.py",
 
line 52, in <module>
  File 
"/tmp/easy_install-KFMXgb/django-haystack-2.8.1/temp/easy_install-TjHwRF/setuptools_scm-6.0.1/setup.py",
 
line 29, in scm_config
  File 
"/tmp/easy_install-KFMXgb/django-haystack-2.8.1/temp/easy_install-TjHwRF/setuptools_scm-6.0.1/src/setuptools_scm/__init__.py",
 
line 8, in <module>
  File 
"/tmp/easy_install-KFMXgb/django-haystack-2.8.1/temp/easy_install-TjHwRF/setuptools_scm-6.0.1/src/setuptools_scm/config.py",
 
line 6, in <module>
  File 
"/tmp/easy_install-KFMXgb/django-haystack-2.8.1/temp/easy_install-TjHwRF/setuptools_scm-6.0.1/src/setuptools_scm/utils.py",
 
line 41
    print(*k)
          ^
SyntaxError: invalid syntax

On Saturday, June 12, 2021 at 9:04:28 AM UTC+8 Christian Hammond wrote:

> Hi Garry,
>
> GitLab had made changes to their API since Review Board 2.5, and 2.5 is no 
> longer maintained. You'll need to upgrade to a modern release.
>
> The latest 3.0.x will work fine. We're putting out 4.0.2 shortly with some 
> GitLab fixes that might be relevant to you, depending on setup.
>
> Christian
>
> On Fri, Jun 11, 2021 at 6:47 AM Garry <[email protected]> wrote:
>
>> hi, I am adding a repo based on gitlab via the admin dashboard. An error 
>> 410 occurred when linking a new account, anyone can help on this? I am 
>> using reviewboard  2.5.17.
>> BTW, I noticed that 
>> "Unlike most types of source code management systems, Git has a *very* 
>> limited 
>> remote protocol, which isn’t capable of some of the requests Review Board 
>> and other similar tools require. Because of this, if Review Board does not 
>> have local file-based access to your main Git repository, you will need to 
>> set up a wrapping service, such as GitWeb 
>> <https://www.reviewboard.org/docs/manual/2.5/admin/configuration/repositories/git/#repository-scm-git-gitweb>
>>  or cgit 
>> <https://www.reviewboard.org/docs/manual/2.5/admin/configuration/repositories/git/#repository-scm-git-cgit>.
>>  
>> This is covered in more detail later in this guide."
>>
>> Does the reviewboard also need local file-based access for  gitlab based 
>> repo ?[image: image(1).png]
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Review Board Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/reviewboard/84e99cbe-9768-4bb3-95ee-22ea5b624ab5n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/reviewboard/84e99cbe-9768-4bb3-95ee-22ea5b624ab5n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/45f08add-cf94-418a-bda6-c14252c2863bn%40googlegroups.com.

Reply via email to