Hi,
We have migrated both Mercurial HgWeb serve and Reviewboard from Windows to
Linux.
1. Repos Files, NTFS, created under Windows
2. Apache Hg cgi-bin Linux, mount the NTFS drive with cifs (Used to be
Apache under Windows and mount the same drive, same hgconfig file).
3. ReviewBoard under Linux access the HG Web server via http. (used to
be under Windows and access the same http link)
The mercurial repos are still under an NTFS share drive and were created
under Windows. I guess they have the default iso-8851-1 or cp1252 encoding,
not sure how I can check this since the repos is huge and I don't know
where the non ascii characters are.
We mount the drive into the Hg serve machine with Apache frontend. This
seem to work as far as I can tell since I can browse the repository into
the web interface. I can clone the Hg http access repos with TortoiseHg
under Windows client without issue. (Sorry I don't have enough space under
my Linux VM to clone it and see if this work there too).
I cannot use Reviewboard with this repos (web interface show, old reviews
got imported and display just fine, user too... But my old repos are
crashing when trying to posting for those repos and I cannot edit them into
the web admin interface since I get the following error into the bitnami
reviewboard apache log for the wsgi module when trying to access the
http://myserver/reviewboard/admin/db/scmtools/repository/1/
[Thu Jan 19 15:15:57.214945 2017] [:error] [pid 8927] 'utf8' codec can't
decode byte 0x8b in position 1: invalid start byte
[Thu Jan 19 15:15:57.214949 2017] [:error] [pid 8927] Traceback (most
recent call last):
[Thu Jan 19 15:15:57.214953 2017] [:error] [pid 8927] File
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/core/handlers/base.py",
line 112, in get_response
[Thu Jan 19 15:15:57.214958 2017] [:error] [pid 8927] response =
wrapped_callback(request, *callback_args, **callback_kwargs)
[Thu Jan 19 15:15:57.214962 2017] [:error] [pid 8927] File
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/options.py",
line 465, in wrapper
[Thu Jan 19 15:15:57.214966 2017] [:error] [pid 8927] return
self.admin_site.admin_view(view)(*args, **kwargs)
[Thu Jan 19 15:15:57.214970 2017] [:error] [pid 8927] File
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py",
line 99, in _wrapped_view
[Thu Jan 19 15:15:57.214974 2017] [:error] [pid 8927] response =
view_func(request, *args, **kwargs)
[Thu Jan 19 15:15:57.214978 2017] [:error] [pid 8927] File
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/views/decorators/cache.py",
line 52, in _wrapped_view_func
[Thu Jan 19 15:15:57.214982 2017] [:error] [pid 8927] response =
view_func(request, *args, **kwargs)
[Thu Jan 19 15:15:57.214986 2017] [:error] [pid 8927] File
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/sites.py",
line 198, in inner
[Thu Jan 19 15:15:57.214990 2017] [:error] [pid 8927] return
view(request, *args, **kwargs)
[Thu Jan 19 15:15:57.214994 2017] [:error] [pid 8927] File
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py",
line 29, in _wrapper
[Thu Jan 19 15:15:57.214998 2017] [:error] [pid 8927] return
bound_func(*args, **kwargs)
[Thu Jan 19 15:15:57.215001 2017] [:error] [pid 8927] File
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py",
line 99, in _wrapped_view
[Thu Jan 19 15:15:57.215006 2017] [:error] [pid 8927] response =
view_func(request, *args, **kwargs)
[Thu Jan 19 15:15:57.215009 2017] [:error] [pid 8927] File
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py",
line 25, in bound_func
[Thu Jan 19 15:15:57.215014 2017] [:error] [pid 8927] return func(self,
*args2, **kwargs2)
[Thu Jan 19 15:15:57.215017 2017] [:error] [pid 8927] File
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/db/transaction.py",
line 371, in inner
[Thu Jan 19 15:15:57.215021 2017] [:error] [pid 8927] return
func(*args, **kwargs)
[Thu Jan 19 15:15:57.215024 2017] [:error] [pid 8927] File
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/options.py",
line 1270, in change_view
[Thu Jan 19 15:15:57.215029 2017] [:error] [pid 8927] form =
ModelForm(instance=obj)
[Thu Jan 19 15:15:57.215032 2017] [:error] [pid 8927] File
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/reviewboard/scmtools/forms.py",
line 431, in __init__
[Thu Jan 19 15:15:57.215036 2017] [:error] [pid 8927]
self._populate_repository_info_fields()
[Thu Jan 19