jdm / bugsahoy

A landing page to make finding relevant bugs easier for new Mozilla contributors.
http://www.joshmatthews.net/bugsahoy/
68 stars 95 forks source link

GitHub issues from servo/servo not showing? #182

Closed caugner closed 6 years ago

caugner commented 6 years ago

When I visit https://www.joshmatthews.net/bugsahoy/?servo=1, I don't see any bugs:

image

However, I would expect to see these bugs:

image

Is my expectation wrong or the GitHub integration broken?

jdm commented 6 years ago

The github integration is broken. Thanks for noticing!

jdm commented 6 years ago

My devtools console shows me:

XML Parsing Error: syntax error
Location: https://www.joshmatthews.net/bugsahoy/cgi-bin/githubapi.cgi?user=servo&name=servo&labels=E-easy
Line Number 1, Column 1:
caugner commented 6 years ago

Ah, the problem seems to be the shebang in githubapi.cgi that doesn't specify the python version (either python2 or python3, since there is no python symlink set on the system that hosts bugsahoy).

See the output from https://www.joshmatthews.net/bugsahoy/cgi-bin/githubapi.cgi?user=servo&name=servo&labels=E-easy:

The following python binaries are available:

python2: Python 2.7.15
python3: Python 3.6.4

Please use the binary for the version of Python you want.
caugner commented 6 years ago

Probably a symlink python -> python2 on the system would be the best solution, no?

jdm commented 6 years ago

Indeed! Good catch; fixed in b1e44a36f9ad35ab76b7b06d0359e237611f153c.