No module named compat

Issue #6 resolved
Andrew Chan created an issue

Hi there, I'm having some issues using this extension:

I installed this extension (via pip), godocjson (in path) and added the domain to my extension:

extensions = [ 'sphinxcontrib.golangdomain',...

But when trying to run sphinx-build I get this error:

Running Sphinx v1.7.0

Extension error:
Could not import extension sphinxcontrib.golangdomain (exception: No module named compat)

Any ideas of what is wrong here?

Comments (4)

  1. Ashley Whetter

    This is a duplicate of #5. A fix has already been merged, it's just waiting for @ymotongpoo to make a release with the fix.

  2. Andrew Chan reporter

    Thanks for the speedy reply @awhetter ! I was able to get past that error by building the code in the repo. But now I am getting rather warnings like below and it's not picking up packages/classes/funcs.

    WARNING: 4 column based index found. It might be a bug of extensions you use: [('single', u'test_service.Service (Golang type)', u'test_service.Service', u'test_service.Service')]
    
  3. Log in to comment