Dre4m Shell
Server IP : 127.0.0.2  /  Your IP : 13.59.234.246
Web Server : Apache/2.4.18 (Ubuntu)
System :
User : www-data ( )
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/python-docutils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/share/doc/python-docutils/BUGS.html
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<title>Docutils Bugs</title>
<meta name="author" content="David Goodger; open to all Docutils developers" />
<meta name="date" content="2013-06-06" />
<meta name="copyright" content="This document has been placed in the public domain." />
<link rel="stylesheet" href="css/html4css1.css" type="text/css" />
</head>
<body>
<div class="document" id="docutils-bugs">
<h1 class="title"><a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> Bugs</h1>
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>David Goodger; open to all Docutils developers</td></tr>
<tr><th class="docinfo-name">Contact:</th>
<td><a class="first last reference external" href="mailto:goodger&#64;python.org">goodger&#64;python.org</a></td></tr>
<tr><th class="docinfo-name">Date:</th>
<td>2013-06-06</td></tr>
<tr><th class="docinfo-name">Revision:</th>
<td>7670</td></tr>
<tr><th class="docinfo-name">Copyright:</th>
<td>This document has been placed in the public domain.</td></tr>
</tbody>
</table>
<p>Bugs in Docutils?!?  Yes, we do have a few.  Some are old-timers that
tend to stay in the shadows and don't bother anybody.  Once in a while
new bugs are born.  From time to time some bugs (new and old) crawl
out into the light and must be dealt with.  Icky.</p>
<p>This document describes how to report a bug, and lists known bugs.</p>
<div class="contents topic" id="contents">
<p class="topic-title first">Contents</p>
<ul class="simple">
<li><a class="reference internal" href="#how-to-report-a-bug" id="id5">How To Report A Bug</a></li>
<li><a class="reference internal" href="#known-bugs" id="id6">Known Bugs</a></li>
</ul>
</div>
<div class="section" id="how-to-report-a-bug">
<h1><a class="toc-backref" href="#id5">How To Report A Bug</a></h1>
<p>If you think you've discovered a bug, please read through these
guidelines before reporting it.</p>
<p>First, make sure it's a new bug:</p>
<ul>
<li><p class="first">Please check the list of <a class="reference internal" href="#known-bugs">known bugs</a> below and the <a class="reference external" href="http://sourceforge.net/tracker/?group_id=38414&amp;atid=422030">SourceForge
Bug Tracker</a> to see if it has already been reported.</p>
</li>
<li><p class="first">Are you using the very latest version of Docutils?  The bug may have
already been fixed.  Please get the latest version of Docutils from
the <a class="reference external" href="docs/dev/repository.html">repository</a> or from the current <a class="reference external" href="http://docutils.sourceforge.net/#download">snapshot</a> and check again.  Even
if your bug has not been fixed, others probably have, and you're
better off with the most up-to-date code.</p>
<p>If you don't have time to check the latest snapshot, please report
the bug anyway.  We'd rather tell you that it's already fixed than
miss reports of unfixed bugs.</p>
</li>
<li><p class="first">If Docutils does not behave the way you expect, look in the
<a class="reference external" href="docs/">documentation</a> (don't forget the <a class="reference external" href="FAQ.html">FAQ</a>!) and <a class="reference external" href="http://docutils.sf.net/#mailing-lists">mailing list archives</a>
for evidence that it should behave the way you expect.</p>
</li>
</ul>
<p>If you're not sure, please ask on the <a class="reference external" href="docs/user/mailing-lists.html#docutils-users">Docutils-users</a> mailing list
first.</p>
<hr class="docutils" />
<p>If it's a new bug, the most important thing you can do is to write a
simple description and a recipe that reproduces the bug.  Try to
create a <a class="reference internal" href="#minimal-example">minimal example</a> that demonstrates the bug.  The easier you
make it to understand and track down the bug, the more likely a fix
will be.</p>
<div class="sidebar" id="minimal-example">
<p class="first sidebar-title">minimal example</p>
<p>A <cite>minimal working example</cite> is a complete example which is as as small and
simple as possible. It should be complete and working, so that</p>
<ul class="simple">
<li>you cannot accidentally omit information important to diagnosing
the problem and</li>
<li>the person responding can just copy-and-paste the code to try it out.</li>
</ul>
<p>To construct an example which is as small as possible, the rule
quite simple: <em>remove/leave out anything which is not necessary</em>.</p>
<p class="last">See also: <a class="reference external" href="http://www.minimalbeispiel.de/mini-en.html">What is a minimal working example?</a>, <a class="reference external" href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl">LaTeX FAQ</a></p>
</div>
<p>Now you're ready to write the bug report.  Please include:</p>
<ul class="simple">
<li>A clear description of the bug.  Describe how you expected Docutils
to behave, and contrast that with how it actually behaved.  While
the bug may seem obvious to you, it may not be so obvious to someone
else, so it's best to avoid a guessing game.</li>
<li>A complete description of the environment in which you reproduced
the bug:<ul>
<li>Your operating system &amp; version.</li>
<li>The version of Python (<tt class="docutils literal">python <span class="pre">-V</span></tt>).</li>
<li>The version of Docutils (use the &quot;-V&quot; option to most Docutils
front-end tools).</li>
<li>Any private modifications you made to Docutils.</li>
<li>Anything else that could possibly be relevant.  Err on the side
of too much information, rather than too little.</li>
</ul>
</li>
<li>A literal transcript of the <em>exact</em> command you ran, and the <em>exact</em>
output.  Use the &quot;--traceback&quot; option to get a complete picture.</li>
<li>The exact input and output files.  Create a <a class="reference internal" href="#minimal-example">minimal example</a>
of the failing behaviour — it is better to attach complete files
to your bug report than to include just a summary or excerpt.</li>
<li>If you also want to include speculation as to the cause, and even a
patch to fix the bug, that would be great!</li>
</ul>
<p>The best place to send your bug report is to the <a class="reference external" href="http://sourceforge.net/tracker/?group_id=38414&amp;atid=422030">SourceForge Bug
Tracker</a>.  That way, it won't be misplaced or forgotten.  In fact, an
open bug report on SourceForge is a constant irritant that begs to be
squashed.</p>
<p>Thank you!</p>
<p>(This section was inspired by the <a class="reference external" href="http://subversion.tigris.org/">Subversion project's</a> <a class="reference external" href="http://svn.collab.net/viewcvs/svn/trunk/BUGS?view=markup">BUGS</a>
file.)</p>
</div>
<div class="section" id="known-bugs">
<h1><a class="toc-backref" href="#id6">Known Bugs</a></h1>
<p>Also see the <a class="reference external" href="http://sourceforge.net/tracker/?group_id=38414&amp;atid=422030">SourceForge Bug Tracker</a>.</p>
<ul>
<li><p id="error-reporting">Calling rst2s5.py with a non-existent theme (<tt class="docutils literal"><span class="pre">--theme</span>
does_not_exist</tt>)
causes exceptions.  Such errors should be handled more gracefully.</p>
</li>
<li><p class="first">The &quot;stylesheet&quot; setting (a URL, to be used verbatim) should be
allowed to be combined with &quot;embed_stylesheet&quot;.  The stylesheet data
should be read in using urllib.  There was an assumption that a
stylesheet to be embedded should exist as a file on the local
system, and only the &quot;stylesheet_path&quot; setting should be used.</p>
</li>
<li><p class="first"><tt class="docutils literal">utils.relative_path()</tt> sometimes returns absolute <span class="target" id="paths-on-windows">paths on
Windows</span> (like <tt class="docutils literal"><span class="pre">C:/test/foo.css</span></tt>) where it could have chosen a
relative path.</p>
<p>Furthermore, absolute pathnames are inserted verbatim, like
<tt class="docutils literal"><span class="pre">href=&quot;C:/test/foo.css&quot;</span></tt> instead of
<tt class="docutils literal"><span class="pre">href=&quot;file:///C:/test/foo.css&quot;</span></tt>.</p>
<p>For details, see <a class="reference external" href="http://article.gmane.org/gmane.text.docutils.user/1569">this posting by Alan G. Isaac</a>.</p>
</li>
<li><p class="first">Footnote label &quot;5&quot; should be &quot;4&quot; when processing the following
input:</p>
<pre class="literal-block">
ref [#abc]_ [#]_ [1]_ [#4]_

.. [#abc] footnote
.. [#] two
.. [1] one
.. [#4] four
</pre>
<p>Output:</p>
<pre class="literal-block">
&lt;document source=&quot;&lt;stdin&gt;&quot;&gt;
    &lt;paragraph&gt;
        ref
        &lt;footnote_reference auto=&quot;1&quot; ids=&quot;id1&quot; refid=&quot;abc&quot;&gt;
            2

        &lt;footnote_reference auto=&quot;1&quot; ids=&quot;id2&quot; refid=&quot;id5&quot;&gt;
            3

        &lt;footnote_reference ids=&quot;id3&quot; refid=&quot;id6&quot;&gt;
            1

        &lt;footnote_reference auto=&quot;1&quot; ids=&quot;id4&quot; refid=&quot;id7&quot;&gt;
            5
    &lt;footnote auto=&quot;1&quot; backrefs=&quot;id1&quot; ids=&quot;abc&quot; names=&quot;abc&quot;&gt;
        &lt;label&gt;
            2
        &lt;paragraph&gt;
            footnote
    &lt;footnote auto=&quot;1&quot; backrefs=&quot;id2&quot; ids=&quot;id5&quot; names=&quot;3&quot;&gt;
        &lt;label&gt;
            3
        &lt;paragraph&gt;
            two
    &lt;footnote backrefs=&quot;id3&quot; ids=&quot;id6&quot; names=&quot;1&quot;&gt;
        &lt;label&gt;
            1
        &lt;paragraph&gt;
            one
    &lt;footnote auto=&quot;1&quot; backrefs=&quot;id4&quot; ids=&quot;id7&quot; names=&quot;4&quot;&gt;
        &lt;label&gt;
            5
        &lt;paragraph&gt;
            four
</pre>
</li>
<li><p class="first">IDs are based on names.  Explicit hyperlink targets have priority
over implicit targets.  But if an explicit target comes after an
implicit target with the same name, the ID of the first (implicit)
target remains based on the implicit name.  Since HTML fragment
identifiers based on the IDs, the first target keeps the name.  For
example:</p>
<pre class="literal-block">
.. contents::

Section
=======

.. _contents:

Subsection
----------

text with a reference to contents_ and section_

.. _section:

This paragraph is explicitly targeted with the name &quot;section&quot;.
</pre>
<p>When processed to HTML, the 2 internal hyperlinks (to &quot;contents&quot; &amp;
&quot;section&quot;) will work fine, but hyperlinks from outside the document
using <tt class="docutils literal"><span class="pre">href=&quot;...#contents&quot;</span></tt> and <tt class="docutils literal"><span class="pre">href=&quot;...#section&quot;</span></tt> won't work.
Such external links will connect to the implicit targets (table of
contents and &quot;Section&quot; title) instead of the explicit targets
(&quot;Subsection&quot; title and last paragraph).</p>
<p>Hyperlink targets with duplicate names should be assigned new IDs
unrelated to the target names (i.e., &quot;id&quot;-prefix serial IDs).</p>
</li>
<li><p class="first">The &quot;contents&quot; ID of the local table of contents in
<tt class="docutils literal">test/functional/expected/standalone_rst_pseudoxml.txt</tt> is lost in
the HTML output at
<tt class="docutils literal">test/functional/expected/standalone_rst_html4css1.html</tt>.</p>
</li>
<li><p class="first"><span class="target" id="blank-first-columns">Blank first columns</span> in simple tables with explicit row separators
silently swallow their input.  They should at least produce system
error messages.  But, with explicit row separators, the meaning is
unambiguous and ought to be supported:</p>
<pre class="literal-block">
==============  ==========
Table with row  separators
==============  ==========
                and blank
--------------  ----------
                entries
--------------  ----------
                in first
--------------  ----------
                columns.
==============  ==========
</pre>
<p>Added a commented-out test case to
test/test_parsers/test_rst/test_SimpleTableParser.py.</p>
</li>
<li><p class="first"><span class="target" id="footnote-references-with-hyperlink-targets">Footnote references with hyperlink targets</span> cause a possibly
invalid node tree and make the HTML writer crash:</p>
<pre class="literal-block">
$ rst2pseudoxml.py
[1]_

.. _1: URI
&lt;document source=&quot;&lt;stdin&gt;&quot;&gt;
    &lt;paragraph&gt;
        &lt;footnote_reference ids=&quot;id1&quot; refuri=&quot;URI&quot;&gt;
            1
    &lt;target ids=&quot;id2&quot; names=&quot;1&quot; refuri=&quot;URI&quot;&gt;
</pre>
</li>
<li><p class="first">Anonymous references have &quot;name&quot; attributes.  Should they?  Are they
used?  See <tt class="docutils literal">test/test_parsers/test_rst/test_inline_markup.py</tt>.</p>
</li>
<li><p class="first">&lt;reference&gt; elements have a &quot;name&quot; attribute, not &quot;names&quot;.  The
attribute should be &quot;names&quot;; this is an inconsistency.</p>
</li>
</ul>
<!-- Local Variables:
mode: indented-text
indent-tabs-mode: nil
sentence-end-double-space: t
fill-column: 70
End: -->
</div>
</div>
</body>
</html>

Anon7 - 2022
AnonSec Team