Giter Club home page Giter Club logo

Comments (4)

shimizukawa avatar shimizukawa commented on July 28, 2024

I guess it is caused by sphinx-build instead of sphinx-intl. So you should file the issue to https://github.com/sphinx-doc/sphinx/issues.

BTW, It seems your sphinx version is not a current maintained version. Please try earlier version of sphinx.
And/or, please let me know a full traceback that is recorded in the saved log file: /var/folders/hq/x053v2n52fbbkyd99d_46ywh0000gn/T/sphinx-err-wgSdEl.log

from sphinx-intl.

meshiguge avatar meshiguge commented on July 28, 2024

here is the log :

packages/sphinx/ext/oldcmarkup.pyc
Traceback (most recent call last):
File "/Users/xx/anaconda/lib/python2.7/site-packages/sphinx/cmdline.py", line 254, in main
app.build(force_all, filenames)
File "/Users/xx/anaconda/lib/python2.7/site-packages/sphinx/application.py", line 220, in build
self.builder.build_update()
File "/Users/xx/anaconda/lib/python2.7/site-packages/sphinx/builders/init.py", line 214, in build_update
'out of date' % len(to_build))
File "/Users/xx/anaconda/lib/python2.7/site-packages/sphinx/builders/gettext.py", line 177, in build
I18nBuilder.build(self, docnames, summary, method)
File "/Users/xx/anaconda/lib/python2.7/site-packages/sphinx/builders/init.py", line 279, in build
self.finish()
File "/Users/xx/anaconda/lib/python2.7/site-packages/sphinx/builders/gettext.py", line 206, in finish
for source, line, _ in positions))
File "/Users/xx/anaconda/lib/python2.7/site-packages/sphinx/builders/gettext.py", line 206, in
for source, line, _ in positions))
File "/Users/xx/anaconda/lib/python2.7/site-packages/sphinx/util/osutil.py", line 160, in safe_relpath
return relpath(path, start)
File "/Users/xx/anaconda/lib/python2.7/posixpath.py", line 431, in relpath
path_list = [x for x in abspath(path).split(sep) if x]
File "/Users/xx/anaconda/lib/python2.7/posixpath.py", line 360, in abspath
if not isabs(path):
File "/Users/xx/anaconda/lib/python2.7/posixpath.py", line 54, in isabs
return s.startswith('/')
AttributeError: StringList instance has no attribute 'startswith'

from sphinx-intl.

meshiguge avatar meshiguge commented on July 28, 2024

I guess it is caused by sphinx-build instead of sphinx-intl

But my make html could work well . It causes error when I use make gettext with sphinx-intl

thanks

from sphinx-intl.

shimizukawa avatar shimizukawa commented on July 28, 2024

It seems that this issue was reported by sphinx-doc/sphinx#3510. So now I close this issue. Thanks.

from sphinx-intl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.