On Sat, Sep 12, 2009 at 10:53, Yuki KODAMA <endflow....@gmail.com> wrote: > On Sat, Sep 12, 2009 at 02:55, Steve Borho <st...@borho.org> wrote: >> Are the JA docs far enough along for me to offer them for download on the >> Wiki? >> I've found that I can easily build them. > > Yep, it's nearing completion. But I've requested some screenshots to > my friend, I want to wait them. Could you wait a bit while? > > BTW, I can generate HTML help, but cannot generate CHM and PDF help. > When I executed command ("Build.bat chm ja"), it introduces following errors: > > Traceback (most recent call last): > File > "c:\tools\python25\lib\site-packages\Sphinx-0.6.2-py2.5.egg\sphinx\cmdline.py", > line 172, in main > app.build(all_files, filenames) > File > "c:\tools\python25\lib\site-packages\Sphinx-0.6.2-py2.5.egg\sphinx\application.py", > line 130, in build > self.builder.build_update() > File > "c:\tools\python25\lib\site-packages\Sphinx-0.6.2-py2.5.egg\sphinx\builders\__init__.py", > line 265, in build_update > 'out of date' % len(to_build)) > File > "c:\tools\python25\lib\site-packages\Sphinx-0.6.2-py2.5.egg\sphinx\builders\__init__.py", > line 323, in build > self.finish() > File > "c:\tools\python25\lib\site-packages\Sphinx-0.6.2-py2.5.egg\sphinx\builders\html.py", > line 572, in finish > self.handle_finish() > File > "c:\tools\python25\lib\site-packages\Sphinx-0.6.2-py2.5.egg\sphinx\builders\htmlhelp.py", > line 145, in handle_finish > self.build_hhx(self.outdir, self.config.htmlhelp_basename) > File > "c:\tools\python25\lib\site-packages\Sphinx-0.6.2-py2.5.egg\sphinx\builders\htmlhelp.py", > line 185, in build_hhx > 'modindex.html')) > UnicodeEncodeError: 'ascii' codec can't encode characters in position > 64-71: ordinal not in range(128) > > Do you get same errors? > I'm using sphinx 0.6.2 and Python 2.5.4. > > -- > Yuki KODAMA >
By dropping gettext function, I could work around above problem, but I got other problem. Here is fixed code in "htmlhelp.py": [after] 184: f.write('<LI> ' + object_sitemap % (_('Global Module Index'), [before] 184: f.write('<LI> ' + object_sitemap % ('Global Module Index', and next problem: Running Sphinx v0.6.2 loading translations [ja]... done loading pickled environment... done building [htmlhelp]: targets for 0 source files that are out of date updating environment: 0 added, 0 changed, 0 removed {snip} writing output... [ 90%] shelve writing output... [ 95%] start writing output... [100%] synchronize writing additional files... genindex modindex copying images... figures\recover.png figures\annotate.png figures\search.png figures\cmenu-nofiles.jpg figures\init.png figures\cmenu-files .jpg figures\guess.jpg figures\visual-diff.jpg figures\share.png figures\logfilter.jpg figures\rename.jpg figures\hgcmd.jpg figures\nautilus .png figures\taskbarui.png figures\serve.png figures\clone.png figures\commit.png figures\settings.png figures\ignore.jpg figures\synchroniz e.png figures\shelve.png figures\email.png figures\overlayicons.png figures\log.png copying static files... done dumping stopword list... writing project file... writing TOC file... writing index file... build succeeded. 'build-ja' is not recognized as an internal or external command, operable program or batch file. Build finished. The CHM file is in build-ja/chm. -- Yuki KODAMA ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop