Comments (4)
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.
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.
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.
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)
- manage permission for PyPI HOT 2
- Po files created by sphinx-intl missing `Language` header.
- FileNotFoundError occured
- Add an option to preserve translated and extracted comments HOT 2
- sphinx-intl update adds python-format flag to messages containing % HOT 3
- [Urgent] Update Transifex Calls to APIv3 HOT 3
- How response to the source document updates? HOT 1
- Add support for "replace::" text substitutions? HOT 1
- Support for new Transifex CLI HOT 1
- f-string used in transifex.py, but python 3.5 doesn't support f-string
- Release version 2.1.0 HOT 7
- use pyproject.toml instead of setup.py
- sphinx-intl is using the relative path to cwd not conf.py HOT 3
- [feature] pre-commit-hook
- Unable to generate .po files for specific .rst file HOT 1
- Transifex's tx client seems to have changed behavior for resource naming HOT 3
- Feature request: update-txconfig-resources basing on the Sphinx sources
- Footnotes not rendering as expected in localized version when using myst parser HOT 2
- Documentation: command-line options HOT 1
- Release 2.2.0? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sphinx-intl.