[ZWeb] Foundation Site

Andrew Sawyers andrew at sawdog.com
Sun Oct 15 21:10:10 EDT 2006


Fixing this required two changes.
First, I had to supply the full path to the .csv file.  That then resulted
in an AssertionError from docutils: a unicode error.

I fixed that by changing the following lines:
        settings_overrides = {
            'halt_level': 6,
            'input_encoding': 'unicode',
            'output_encoding': 'utf8',
            'initial_header_level': 3
        }

to 
        settings_overrides = {
            'halt_level': 6,
            'input_encoding': 'utf8',
            'output_encoding': 'utf8',
            'initial_header_level': 3
        }


I would check these changes in, but the account we're using does not have
write access.  I will get this dealt with tomorrow.

Andrew

On 10/13/06 12:24 AM, "Baiju M" <baiju.m.mail at gmail.com> wrote:

> On 10/13/06, Andrew Sawyers <andrew at sawdog.com> wrote:
>> See:  foundation.zope.org
> 
> Great work!
> 
> Do we have an issue tracker for reporting web issues?
> 
> There is a problem in
> http://foundation.zope.org/members/committer_members.html
> 
> The error is :
> 
>   System Message: SEVERE/4 (<string>, line 20)
> 
>   Problems with "csv-table" directive path: [Errno 2] No such file or
> directory: u'/committer_members.csv'.
> 
>   .. csv-table:: Zope Foundation Commiter Members
>     :header: "username", "first name", "last name"
>     :delim: tab
>     :file: committer_members.csv
> 
> But that file is there:
> http://foundation.zope.org/members/committer_members.csv
> 
> Is this a docutils version problem?
> 
> Or `file` sub-directive should be?:
> 
>    :file: ./committer_members.csv
> 
> Index: members/committer_members.txt
> ===================================================================
> --- members/committer_members.txt       (revision 70330)
> +++ members/committer_members.txt       (working copy)
> @@ -20,4 +20,4 @@
>  .. csv-table:: Zope Foundation Commiter Members
>    :header: "username", "first name", "last name"
>    :delim: tab
> -  :file: committer_members.csv
> +  :file: ./committer_members.csv
> 
> Regards,
> Baiju M
> _______________________________________________
> Zope-web maillist  -  Zope-web at zope.org
> http://mail.zope.org/mailman/listinfo/zope-web




More information about the Zope-web mailing list