Looks like authors can be a list. Who knew?
Anyway, since you're trying to end up with a list, just wrap the offending line:
try:
authors=self.document.settings.author.split('\\')
except AttributeError:
pass
On Sun, May 19, 2013 at 5:41 AM, J Luis <
jmf...@gmail.com> wrote:
> Hi,
>
> I keep getting this error when trying to convert a sphinx project. Windows7
> + python2.7 here
>
> Any ideas why?
> Thanks
>
> Joaquim
>
> resolving references...
> done
> writing gmt5... [ERROR] pdfbuilder.py:130 'list' object has no attribute
> 'split'
> Traceback (most recent call last):
> File
> "C:\programs\WinPython2.7.3_32\python-2.7.3\lib\site-packages\rst2pdf-0.93.dev-py2.7.egg\rst2pdf\pdfbuilder.py",
> line 127, in write
> docwriter.write(doctree, destination)
> File
> "C:\programs\WinPython2.7.3_32\python-2.7.3\lib\site-packages\docutils\writers\__init__.py",
> line 80, in write
> self.translate()
> File
> "C:\programs\WinPython2.7.3_32\python-2.7.3\lib\site-packages\rst2pdf-0.93.dev-py2.7.egg\rst2pdf\pdfbuilder.py",
> line 582, in translate
> authors=self.document.settings.author.split('\\')
> AttributeError: 'list' object has no attribute 'split'
>
> --
> You received this message because you are subscribed to the Google Groups
> "rst2pdf-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
rst2pdf-discu...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>