# Nginix problem on clicking the source code

**URL:** https://discuss.tryton.org/t/nginix-problem-on-clicking-the-source-code/3136
**Category:** Site Feedback
**Created:** [August 18, 2020, 8:31am UTC](https://discuss.tryton.org/t/nginix-problem-on-clicking-the-source-code/3136 "2020-08-18T08:31:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mboscolo](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/mboscolo/32/781_2.png) [@mboscolo](https://discuss.tryton.org/u/mboscolo)
#### Post date: [August 18, 2020, 8:31am UTC](https://discuss.tryton.org/t/nginix-problem-on-clicking-the-source-code/3136/1 "2020-08-18T08:31:22Z")

</div>

If you go on the following link you will receive the 502 error

# 502 Bad Gateway

[https://hg.tryton.org/modules/notification\_email/file/tip/tryton.cfg](https://hg.tryton.org/modules/notification_email/file/tip/tryton.cfg)

hope it helps  
regards  
Matteo

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [August 18, 2020, 8:38am UTC](https://discuss.tryton.org/t/nginix-problem-on-clicking-the-source-code/3136/2 "2020-08-18T08:38:18Z")

</div>

It was because we still use mercurial with Python2 and the Gentoo distribution removed the support of pygments for it. I installed it with `pip2` for the hg user.  
It is really time to fix [Replace mercurial-server by hg-ssh (#9158) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/issue9158).
