Katrina Ellison | 5 Jul 2009 09:55
Picon

Test suite failure

Hi,

I just tried establishing Docutils on my Mac (running OS 10.5.6) and  
experienced this failure when I ran the test suite:

> Testing Docutils 0.6 [snapshot 2009-07-04, r6008] with Python 2.5.1  
> on 2009-07-05 at 03:44:34
> Working directory: /Users/katrina/Documents/Software/docutils/test
> Docutils package: /Users/katrina/Documents/Software/docutils/docutils
> ...................................................................... 
> ..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
 .........................................................................................................................................................................................
> test_parsers/test_rst/test_directives/test_tables.py: totest['csv- 
> table'][20]; test_parser (DocutilsTestSupport.ParserTestCase)
> input:
> .. csv-table:: bad encoding
>    :file: test_parsers/test_rst/test_directives/utf-16.csv
>    :encoding: latin-1
>
> (7- and 8-bit text encoded as UTF-16 has lots of null/zero bytes.)
>
> -: expected
> +: output
>   <document source="test data">
>       <system_message level="3" line="1" source="test data"  
> type="ERROR">
>           <paragraph>
>               Error with CSV data in "csv-table" directive:
> -             'ascii' codec can't encode characters in position 0-1:  
> ordinal not in range(128)
(Continue reading)

David Goodger | 5 Jul 2009 17:52
Favicon

Re: Test suite failure

On Sun, Jul 5, 2009 at 03:55, Katrina
Ellison<katrina.m.ellison <at> gmail.com> wrote:
> I just tried establishing Docutils on my Mac (running OS 10.5.6) and
> experienced this failure when I ran the test suite:

Thanks for the bug report. The latest snapshot (or current SVN) has
fixed the problem, which was only a deficiency in the test suite; the
Docutils code itself was fine.

> I am running Docutils 0.6 with Python 2.5.1. Is there anything missing
> from my machine that I can install to correct this?

No, the problem wasn't on your end.

--

-- 
David Goodger <http://python.net/~goodger>

------------------------------------------------------------------------------
Roberto Alsina | 7 Jul 2009 18:54
Picon
Gravatar

Creating presenttions using restructured text and rst2pdf

A short intro/tutorial:

http://lateral.netmanagers.com.ar/stories/BBS52.html

Hope you enjoy i!

-- 
 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  KDE Developer (MFCH)
 (_Y_.)' ._   ) `._`.  " -.-'  http://lateral.netmanagers.com.ar 
  _..`-'_..-_/ /-'_.'     The 6,855th most popular site of Slovenia   
(l)-'' ((i).' ((!.'       according to alexa.com (27/5/2007) 
"Our opponent is an alien starship packed with atomic bombs, I said. 
We have a protractor. Okay, I’ll go home and see if I can scrounge up a 
ruler and a piece of string."  — Neal Stephenson

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Docutils-users mailing list
Docutils-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
Alan G Isaac | 8 Jul 2009 17:15
Picon
Favicon

Re: Creating presenttions using restructured text and rst2pdf

Roberto Alsina wrote:
> A short intro/tutorial:
> http://lateral.netmanagers.com.ar/stories/BBS52.html

That is quite nifty!

How are you handling the math?

Alan Isaac

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
Roberto Alsina | 8 Jul 2009 17:41
Picon
Gravatar

Re: Creating presenttions using restructured text and rst2pdf

On Wednesday 08 July 2009 12:15:41 Alan G Isaac wrote:
> Roberto Alsina wrote:
> > A short intro/tutorial:
> > http://lateral.netmanagers.com.ar/stories/BBS52.html
>
> That is quite nifty!
>
> How are you handling the math?

A matplotlib-based custom directive.

--

-- 
 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  KDE Developer (MFCH)
 (_Y_.)' ._   ) `._`.  " -.-'  http://lateral.netmanagers.com.ar 
  _..`-'_..-_/ /-'_.'     The 6,855th most popular site of Slovenia   
(l)-'' ((i).' ((!.'       according to alexa.com (27/5/2007) 
"Our opponent is an alien starship packed with atomic bombs, I said. 
We have a protractor. Okay, I’ll go home and see if I can scrounge up a 
ruler and a piece of string."  — Neal Stephenson

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Docutils-users mailing list
Docutils-users <at> lists.sourceforge.net
(Continue reading)

Alan G Isaac | 8 Jul 2009 23:40
Picon
Favicon

Re: Creating presenttions using restructured text and rst2pdf

> On Wednesday 08 July 2009 12:15:41 Alan G Isaac wrote:
>> How are you handling the math? 

On 7/8/2009 11:41 AM Roberto Alsina wrote:
> A matplotlib-based custom directive. 

Cool. If you have not already, keep an
eye on:
http://socghop.appspot.com/student_project/show/google/gsoc2009/python/t124024631352

Cheers,
Alan

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
Roberto Alsina | 9 Jul 2009 00:18
Picon
Gravatar

Re: Creating presenttions using restructured text and rst2pdf

On Wednesday 08 July 2009 18:40:01 Alan G Isaac wrote:
> > On Wednesday 08 July 2009 12:15:41 Alan G Isaac wrote:
> >> How are you handling the math?
>
> On 7/8/2009 11:41 AM Roberto Alsina wrote:
> > A matplotlib-based custom directive.
>
> Cool. If you have not already, keep an
> eye on:
> http://socghop.appspot.com/student_project/show/google/gsoc2009/python/t124
>024631352

Didn't know it. Sounds nice.

--

-- 
 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  KDE Developer (MFCH)
 (_Y_.)' ._   ) `._`.  " -.-'  http://lateral.netmanagers.com.ar 
  _..`-'_..-_/ /-'_.'     The 6,855th most popular site of Slovenia   
(l)-'' ((i).' ((!.'       according to alexa.com (27/5/2007) 
"Our opponent is an alien starship packed with atomic bombs, I said. 
We have a protractor. Okay, I’ll go home and see if I can scrounge up a 
ruler and a piece of string."  — Neal Stephenson

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
(Continue reading)

Christian Siefkes | 9 Jul 2009 12:09

Re: include directive doesn't find standard includes

Christian Siefkes wrote (2009-06-30):
> in order to create S5 files with incremental text, I tried to add an "..
> include:: <s5defs.txt>" directive to my document, following
> http://docutils.sourceforge.net/docs/user/slide-shows.html.
> 
> However, that triggers this error:
> 
> /usr/lib/python2.6/dist-packages/docutils/parsers/rst/__init__.py:178:
> DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
>   self.message = message
> /usr/lib/python2.6/dist-packages/docutils/parsers/rst/states.py:2046:
> DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
>   directive_error.message)
> <stdin>:: (SEVERE/4) Problems with "include" directive path:
> IOError: (2, 'No such file or directory').
> Exiting due to level-4 (SEVERE) system message.

No ideas, anybody? It's clearly a bug, though of course it may be an
Ubuntu-specific issue. I would be grateful for any hints...

Best regards
	Christian

> The error message doesn't tell *which* file the parser cannot read. However,
> /usr/lib/python2.6/dist-packages/docutils/parsers/rst/include/s5defs.txt
> exists and is readable and seems to be the file which the parser *should* read.
> 
> I'm on Ubuntu (Xubuntu, actually) Jaunty and have installed both Python and
> Docutils from the standard package repository. Current Python version is 2.6.2.
> 
(Continue reading)

Alan G Isaac | 9 Jul 2009 13:55
Picon
Favicon

Re: include directive doesn't find standard includes

On 7/9/2009 6:09 AM Christian Siefkes apparently wrote:
>> <stdin>:: (SEVERE/4) Problems with "include" directive path:
>> IOError: (2, 'No such file or directory').
>> Exiting due to level-4 (SEVERE) system message.
> 
> No ideas, anybody? It's clearly a bug, though of course it may be an
> Ubuntu-specific issue. I would be grateful for any hints...

1. I have seen this msg, have reported
that it does not give the filename when raised.
(David, is this adequate documentation of the problem?)

2. Try giving a fully qualified path to the file
and see what happens.

Alan Isaac

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
Alan G Isaac | 9 Jul 2009 18:12
Picon
Favicon

glossary

I would like to have certain terms link
to their definition in a glossary,
which is just a definition list.

But I cannot put a target in front of
each term in a definition list.

Is there a way to accomplish this?

Thanks,
Alan Isaac

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge

Gmane