That sphinx error is because it's running a python2 file with python3.
I've seen that a lot since the system python was updated to 3.
You want that line after make html to be "python2 ../sphinx-build.py ...etc"
Since you're on Arch I'm assuming you can take it from here but if not
then feel free to fire me back an email, maybe off list to not bore
everyone with Archlinux administration stuff. What to change depends on
how you installed sphinx but it's a one minute fix either way.
-Jesse
On 05/04/2012 07:59 AM, Gour wrote:
On Wed, 28 Mar 2012 18:11:33 -0500
Kevin Horn<[email protected]> wrote:
But there's also the rst2pdf package
(http://code.google.com/p/rst2pdf/), which includes a Sphinx
"builder" that uses ReportLab
(http://www.reportlab.com/software/opensource/) to generate PDFs
directly from the Rst source, bypassing the LaTeX step.
Yeah, I know about it, but, at the moment both Sphinx& rst2pdf
packages seems to be broken in my (Archlinux) distro).
Sphinx fails with:
[gour@atmarama doc] make html
python ../sphinx-build.py -b html -d _build/doctrees . _build/html
Traceback (most recent call last):
File "../sphinx-build.py", line 15, in<module>
sys.exit(main(sys.argv))
File "/home/gour/tmp/Sphinx-1.1.3/sphinx/__init__.py", line 47, in main
from sphinx import cmdline
File "/home/gour/tmp/Sphinx-1.1.3/sphinx/cmdline.py", line 198
except Exception, err:
^
SyntaxError: invalid syntax
make: *** [html] Error 1
and rst2pdf with: ("ImportError: No module named roman")
Either way, I'd choose Sphinx over AsciiDoc, though that may be
personal preference.
At the moment I hit some limit in AsciiDoc toolchain: "Unfortunately
neither of the free docbook toolchains will wrap text as far as I know
(ie float the image).", so I'm trying to evaluate Sphinx.
However, I'd like to know - it does not matter it'd "personal
preference" - what are some of the reasons you'd choose Sphinx over the
AsciiDoc?
Sincerely,
Gour
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.