Skip to content

Instantly share code, notes, and snippets.

@maxov
Last active August 29, 2015 14:12
Show Gist options
  • Save maxov/3b4b5a8d7fe48f394bef to your computer and use it in GitHub Desktop.
Save maxov/3b4b5a8d7fe48f394bef to your computer and use it in GitHub Desktop.
$ sphinx-intl update-txconfig-resources --pot-dir ../build/locale --transifex-project-name sponge-docs | gist
Traceback (most recent call last):
File "/usr/local/bin/sphinx-intl", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/sphinx_intl/commands.py", line 576, in main
run(sys.argv[1:])
File "/usr/local/lib/python2.7/site-packages/sphinx_intl/commands.py", line 568, in run
commands[cmd](options)
File "/usr/local/lib/python2.7/site-packages/sphinx_intl/commands.py", line 157, in __call__
return self.function(**kwargs)
File "/usr/local/lib/python2.7/site-packages/sphinx_intl/commands.py", line 460, in update_txconfig_resources
pot = polib.pofile(pot_file)
File "/usr/local/lib/python2.7/site-packages/polib.py", line 138, in pofile
return _pofile_or_mofile(pofile, 'pofile', **kwargs)
File "/usr/local/lib/python2.7/site-packages/polib.py", line 86, in _pofile_or_mofile
instance = parser.parse()
File "/usr/local/lib/python2.7/site-packages/polib.py", line 1369, in parse
(self.instance.fpath, self.current_line))
IOError: Syntax error in po file None (line 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment