<div dir="ltr"><div>Sorry, seems that GMail cannot understand I'm on a ML, and just answered the single persons.<br><br></div>[Thread with INADA]<br><div><div><div>Thank you.<br><br></div>Seems that rst2html.py uses the header of a section as the id of the corresponding HTML anchor.<br>Since I had two headers with the same title there was a name clash.<br></div>I just changed one of the headers and the problem is gone.<br><br><br></div><div>[Thread with Wolfgang]<br></div><div><span class="im">On 03/02/2015 12:11 PM, Leonardo Giordani wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="im">
Thanks, spotted!<br>
<br>
Now readthedocs fails with this message<br>
<br>
Traceback (most recent call last):<br></span>
   File "/home/docs/checkouts/<a href="http://readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/cmdline.py" target="_blank">readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/cmdline.py</a>  <<a href="http://readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/cmdline.py" target="_blank">http://readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/cmdline.py</a>>", line 253, in main<br>
     warningiserror, tags, verbosity, parallel)<br>
   File "/home/docs/checkouts/<a href="http://readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/application.py" target="_blank">readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/application.py</a>  <<a href="http://readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/application.py" target="_blank">http://readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/application.py</a>>", line 107, in __init__<br>
     confoverrides or {}, self.tags)<br>
   File "/home/docs/checkouts/<a href="http://readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/config.py" target="_blank">readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/config.py</a>  <<a href="http://readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/config.py" target="_blank">http://readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/config.py</a>>", line 229, in __init__<br>
     execfile_(filename, config)<br>
   File "/home/docs/checkouts/<a href="http://readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/util/pycompat.py" target="_blank">readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/util/pycompat.py</a>  <<a href="http://readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/util/pycompat.py" target="_blank">http://readthedocs.org/user_builds/postage/envs/feature-docs/local/lib/python2.7/site-packages/sphinx/util/pycompat.py</a>>", line 105, in execfile_<span class="im"><br>
     exec code in _globals<br>
   File "conf.py", line 31, in <module><br>
     import postage<br></span>
   File "/home/docs/checkouts/<a href="http://readthedocs.org/user_builds/postage/checkouts/feature-docs/postage/__init__.py" target="_blank">readthedocs.org/user_builds/postage/checkouts/feature-docs/postage/__init__.py</a>  <<a href="http://readthedocs.org/user_builds/postage/checkouts/feature-docs/postage/__init__.py" target="_blank">http://readthedocs.org/user_builds/postage/checkouts/feature-docs/postage/__init__.py</a>>", line 10, in <module><br>
     from postage import messaging<br>
   File "/home/docs/checkouts/<a href="http://readthedocs.org/user_builds/postage/checkouts/feature-docs/postage/messaging.py" target="_blank">readthedocs.org/user_builds/postage/checkouts/feature-docs/postage/messaging.py</a>  <<a href="http://readthedocs.org/user_builds/postage/checkouts/feature-docs/postage/messaging.py" target="_blank">http://readthedocs.org/user_builds/postage/checkouts/feature-docs/postage/messaging.py</a>>", line 4, in <module><span class="im"><br>
     import pika<br>
ImportError: No module named pika<br>
<br>
Exception occurred:<br></span>
   File "/home/docs/checkouts/<a href="http://readthedocs.org/user_builds/postage/checkouts/feature-docs/postage/messaging.py" target="_blank">readthedocs.org/user_builds/postage/checkouts/feature-docs/postage/messaging.py</a>  <<a href="http://readthedocs.org/user_builds/postage/checkouts/feature-docs/postage/messaging.py" target="_blank">http://readthedocs.org/user_builds/postage/checkouts/feature-docs/postage/messaging.py</a>>", line 4, in <module><span class="im"><br>
     import pika<br>
ImportError: No module named pika<br>
The full traceback has been saved in /tmp/sphinx-err-R4ZC2D.log, if you want to report the issue to the developers.<br>
Please also report this if it was a user error, so that a better error message can be provided next time.<br>
A bug report can be filed in the tracker at <<a href="https://bitbucket.org/birkenfeld/sphinx/issues/" target="_blank">https://bitbucket.org/birkenfeld/sphinx/issues/</a>>. Thanks!<br>
<br>
I however configured the build to use a virtualenv and specified 'pika' in my requirements.txt file.<br>
<br>
</span></blockquote>
<br>
Look at the complete output from readthedocs:<br>
<br>
Setup Output<br>
<br>
<br>
<br>
checkout<br>
-----<br>
<br>
<br>
<br>
venv<br>
-----<br>
<br>
Using real prefix '/usr'<br>
New python executable in /home/docs/checkouts/<a href="http://readthedocs.org/user_builds/postage/envs/latest/bin/python" target="_blank">readthedocs.org/user_builds/postage/envs/latest/bin/python</a><br>
Installing setuptools, pip...done.<br>
Running virtualenv with interpreter /home/docs/bin/python<br>
<br>
<br>
doc_builder<br>
-----<br>
<br>
Requirement already up-to-date: sphinx==1.2.2 in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages<br>
Requirement already up-to-date: virtualenv==1.10.1 in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages<br>
Requirement already up-to-date: setuptools==1.1 in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages<br>
Requirement already up-to-date: docutils==0.11 in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages<br>
Requirement already up-to-date: mkdocs==0.11.1 in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages<br>
Requirement already up-to-date: mock==1.0.1 in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages<br>
Requirement already up-to-date: pillow==2.6.1 in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages<br>
Requirement already up-to-date: readthedocs-sphinx-ext==0.4.4 in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages<br>
Requirement already up-to-date: Jinja2>=2.7.1 in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages (from mkdocs==0.11.1)<br>
Requirement already up-to-date: Markdown>=2.3.1,<2.5 in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages (from mkdocs==0.11.1)<br>
Requirement already up-to-date: PyYAML>=3.10 in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages (from mkdocs==0.11.1)<br>
Requirement already up-to-date: watchdog>=0.7.0 in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages (from mkdocs==0.11.1)<br>
Requirement already up-to-date: ghp-import>=0.4.1 in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages (from mkdocs==0.11.1)<br>
Requirement already up-to-date: argh>=0.24.1 in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages (from watchdog>=0.7.0->mkdocs==0.11.1)<br>
Requirement already up-to-date: pathtools>=0.1.1 in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages (from watchdog>=0.7.0->mkdocs==0.11.1)<br>
Cleaning up...<br>
<br>
<br>
requirements<br>
-----<br>
<br>
Requirement already satisfied (use --upgrade to upgrade): mock in /var/build/user_builds/postage/envs/latest/lib/python2.7/site-packages (from -r requirements.txt (line 1))<br>
Downloading/unpacking pika (from -r requirements.txt (line 2))<br>
  Running setup.py (path:/var/build/user_builds/postage/envs/latest/build/pika/setup.py) egg_info for package pika<br>
<br>
Downloading/unpacking tornado (from pika->-r requirements.txt (line 2))<br>
  Running setup.py (path:/var/build/user_builds/postage/envs/latest/build/tornado/setup.py) egg_info for package tornado<br>
<br>
Downloading/unpacking twisted (from pika->-r requirements.txt (line 2))<br>
  Running setup.py (path:/var/build/user_builds/postage/envs/latest/build/twisted/setup.py) egg_info for package twisted<br>
<br>
Downloading/unpacking pyev (from pika->-r requirements.txt (line 2))<br>
  Running setup.py (path:/var/build/user_builds/postage/envs/latest/build/pyev/setup.py) egg_info for package pyev<br>
    Aborted: pyev-0.9.0 requires libev >= 4.15<br>
    Complete output from command python setup.py egg_info:<br>
    Aborted: pyev-0.9.0 requires libev >= 4.15<br>
<br>
There it is! readthedocs already failed to install pika because it, in turn, requires libev >= 4.15 .<br><br><br><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>Leonardo Giordani<br><a href="http://twitter.com/tw_lgiordani" target="_blank">@tw_lgiordani</a> - <a href="http://lgiordani.com" target="_blank">lgiordani.com</a><br></div>My profile on <a href="http://about.me/leonardo.giordani" target="_blank">About.me</a> - My <a href="https://github.com/lgiordani" target="_blank">GitHub page</a><br></div></div></div>
<br><div class="gmail_quote">2015-03-02 11:33 GMT+01:00 INADA Naoki <span dir="ltr"><<a href="mailto:songofacandy@gmail.com" target="_blank">songofacandy@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>PyPI parses your README strictly.</div><div><br></div><div>$ rst2html.py --strict README.rst</div><div>README.rst:700: (INFO/1) Duplicate implicit target name: "fingerprint".</div><div>Exiting due to level-1 (INFO) system message.</div><div><br></div><div>But I don't know how to avoid this error when converting from markdown.</div></div><br><div class="gmail_quote"><div><div class="h5">On Mon, Mar 2, 2015 at 6:35 PM Leonardo Giordani <<a href="mailto:giordani.leonardo@gmail.com" target="_blank">giordani.leonardo@gmail.com</a>> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div>Hi all,<br><br></div>Some time ago I open sourced a package named postage (<a href="https://pypi.python.org/pypi/postage/" target="_blank">https://pypi.python.org/pypi/postage/</a>).<br><br></div>I am experiencing issues with documentation. The project is hosted on GitHub (<a href="https://github.com/lgiordani/postage" target="_blank">https://github.com/lgiordani/postage</a>), where the README.md is perfectly rendered. My issues are:<br><br>1. I use pandoc to convert README.md to README.rst. This latter is rendered by GitHUb as well, but when I upload the package to PyPI I get a messy result (look at the package page).<br><br></div>2. When I import the project into <a href="http://readthedocs.org" target="_blank">readthedocs.org</a> the build fails with no output. This is the only information I get<br><br>----------------------------- 8< -----------------------------<br><br>Build for postage<br><br>Built: Feb. 27, 2015. 10:41 a.m.<br><br>State: Finished<br><br>Outcome: Failed (Status Code: 0)<br><br>Version: latest<br><br>Type: html<br><br>Build Standard Output<br><div><div><div><div><div><br>----------------------------- 8< -----------------------------<br><br></div><div>May someone help me figuring out what's wrong in my code?<br>Thanks!<br></div><div><br></div><div>Leo<br></div><div><br><br clear="all"><div><div><div dir="ltr"><div>Leonardo Giordani<br><a href="http://twitter.com/tw_lgiordani" target="_blank">@tw_lgiordani</a> - <a href="http://lgiordani.com" target="_blank">lgiordani.com</a><br></div>My profile on <a href="http://about.me/leonardo.giordani" target="_blank">About.me</a> - My <a href="https://github.com/lgiordani" target="_blank">GitHub page</a><br></div></div></div>
</div></div></div></div></div></div></div></div><span class="HOEnZb"><font color="#888888">
--<br>
<a href="https://mail.python.org/mailman/listinfo/python-list" target="_blank">https://mail.python.org/<u></u>mailman/listinfo/python-list</a><br>
</font></span></blockquote></div>
</blockquote></div><br></div>