Closed GoogleCodeExporter closed 9 years ago
I have Debian sid, Python 2.5.2.
Original comment by ondrej.c...@gmail.com
on 19 May 2008 at 9:52
This was reported by another user (see issue 99) and, as far as I know, it was a
problem with the user's installation of docutils. Please see the suggestion
made on
issue 99 and let us know if there is still a problem.
Original comment by andre.ro...@gmail.com
on 19 May 2008 at 11:51
>>> from docutils.parsers import rst
>>> dir(rst)
['Parser', '__builtins__', '__doc__', '__docformat__', '__file__', '__name__',
'__path__', 'directives', 'docutils', 'frontend', 'languages', 'roles',
'states',
'tableparser']
>>> rst.__path__
['/usr/lib/python2.5/site-packages/docutils/parsers/rst']
$ ls -l /usr/lib/python2.5/site-packages/docutils/parsers/rst/__init__.py
lrwxrwxrwx 1 root root 52 2008-03-25 15:13
/usr/lib/python2.5/site-packages/docutils/parsers/rst/__init__.py ->
/usr/share/pyshared/docutils/parsers/rst/__init__.py
$ wajig find-file /usr/share/pyshared/docutils/parsers/rst/__init__.py
python-docutils: /usr/share/pyshared/docutils/parsers/rst/__init__.py
$ wajig list python-docutils
ii python-docutils 0.4-6
Utilities for the documentation of Python mo
so indeed, there is no Directive in rst and as you can see, I am using
python-docutils 0.4-6 package. I also reinstalled the package just to be sure,
no
change. Which docutils version do you need?
Original comment by ondrej.c...@gmail.com
on 20 May 2008 at 7:07
docutils version 0.5 is needed. It might be a snapshot of the sandbox...
We'll modify the code to make sure the plugin is simply disabled if a problem is
encountered.
>>> import docutils
>>> dir(docutils)
>>> print docutils.__version__
0.5
>>> from docutils.parsers import rst
>>> dir(rst)
['Directive', 'DirectiveError', 'Parser', '__builtins__', '__doc__',
'__docformat__',
'__file__', '__name__', '__path__', 'convert_directive_function', 'directives',
'docutils', 'frontend', 'languages', 'nodes', 'roles', 'states', 'tableparser']
Original comment by andre.ro...@gmail.com
on 20 May 2008 at 8:42
Please depend only on released versions of software. From
http://docutils.sourceforge.net/ :
The latest release package is docutils-0.4.tgz
Original comment by ondrej.c...@gmail.com
on 20 May 2008 at 8:51
Workaround in svn (in the trunk, revision 657). Plugin disabled unless the
appropriate docutils methods are found.
The plugin should be changed so that it works with the released version of the
software (even if we have to provide our own version of the required method).
Keeping the issue open until then.
Original comment by andre.ro...@gmail.com
on 20 May 2008 at 8:58
Excellent, thanks for the fix.
Original comment by ondrej.c...@gmail.com
on 20 May 2008 at 9:32
I am marking this as release 1.0 because it needs to be fixed before we can
release version 1.0
Original comment by johannes...@gmail.com
on 27 May 2008 at 10:17
Made the Summary a bit more explicit.
Original comment by andre.ro...@gmail.com
on 30 May 2008 at 11:17
From the official docutils site (http://docutils.sourceforge.net/):
We recommend that you use the latest snapshot, docutils-snapshot.tgz. The
snapshots
usually contain more features and fewer bugs than the "official"
releases—they're not
only for developers!
The latest release package is docutils-0.4.tgz. It was released on 2006-01-09
and is
mostly intended for distributors.
====
Given the developers' recommendation (and the age of the last official
release), I
think that we can assume that most "serious docutils users" will have the latest
snapshots. Given that the ability of parsing reStructuredText files is not
crucial
to make use of Crunchy, I propose, for release 1.0, to not require adapting
Crunchy
so that it can make use of the last docutils release.
Changing the status to beyond 1.0.
Original comment by andre.ro...@gmail.com
on 8 Jun 2008 at 9:02
As I said, please make sure crunchy works with the released docutils in
Debian/Ubuntu.
Original comment by ondrej.c...@gmail.com
on 9 Jun 2008 at 12:35
Ondrej:
How critical is the use of reStructuredText files for you?
We are keeping this issue open. I simply moved it to be fixed beyond 1.0. In
the
"last release", directives were implemented through the use of a function. I
the
"latest snapshot" they are implemented via (sub-)classes. The two are
completely
incompatible. However, if it is "essential", we will make sure that support
for the
"old way" is included in release 1.0.
Original comment by andre.ro...@gmail.com
on 9 Jun 2008 at 12:51
> How critical is the use of reStructuredText files for you?
I don't need them at all. All I am asking is that Crunchy runs with the
docutils in
Debian. Sorry if I made myself not clear. So if Crunchy runs, then all is fine.
Original comment by ondrej.c...@gmail.com
on 9 Jun 2008 at 8:56
A new official version of docutils has been released; we should make sure it
works
with Crunchy and, if so, we can close this issue.
Original comment by andre.ro...@gmail.com
on 26 Jun 2008 at 12:16
Verified.
Original comment by andre.ro...@gmail.com
on 25 Jul 2008 at 3:20
Original issue reported on code.google.com by
ondrej.c...@gmail.com
on 19 May 2008 at 9:51