-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
None
-
Affects Version/s: 4.9.0, 4.9.1, 4.9.2
-
Component/s: Documentation
-
None
-
Severity 3 - Minor
Issue Summary
- Fisheye 4.9 does not support python2, however our Supported Platforms - Fisheye 4.9 page incorrectly mentions the following for mercurial
Use Mercurial compiled with Python 2.7, Fisheye is incompatible with Mercurial built with Python 3.
Steps to Reproduce
- Follow steps mentioned in this document
https://hello.atlassian.net/wiki/spaces/~192821926/pages/2836331933/Setup+Mercurial+repository+for+indexing+in+Fisheye+Crucible?atlOrigin=eyJpIjoiNmYwYzIzY2RlYTBiNDhiZjljNGNiNmVjNGY1MGJkYzUiLCJwIjoiY29uZmx1ZW5jZS1jaGF0cy1pbnQifQ
(Make sure to use pyhton2 for compiling mercurial)
Expected Results
- Fisheye 4.9 is successfully able to index mercurial repositories with hg binaries compiled with python2.
Actual Results
- Indexing mercurial repos fail with below error
Repository index failed due to error com.cenqua.fisheye.rep.RepositoryClientException: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: *** failed to import extension felog from /atlassian/apps/fisheye/python/hg/hgfelog/hgfelog.py: invalid syntax (hgfelog.py, line 42) hg: unknown command 'felog' (did you mean log?) com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: *** failed to import extension felog from /atlassian/apps/fisheye/python/hg/hgfelog/hgfelog.py: invalid syntax (hgfelog.py, line 42) hg: unknown command 'felog' (did you mean log?) com.atlassian.utils.process.ProcessException: While executing: '/usr/bin/hg --config extensions.felog=/atlassian/apps/fisheye/python/hg/hgfelog/hgfelog.py --config ui.verbose=false felog 4ba375510263d3ff01adb53fba819597c011c1e6 -p -m' in '/atlassian/data/fisheye/var/cache/it/clone' com.atlassian.utils.process.ProcessException: java.lang.NullPointerException
Workaround
- Compile mercurial Binaries using python 3.9 - 3.13.
- Update document Supported Platforms - Fisheye 4.9 to list the correct python versions for mercurial.