make text fails in the current trunk code of Py2.7. Here is the
Report.
Is this a bug in Python??  I am posting it here first, because the
make text adviced to do so. If its a Python bug, I shall open an issue
at bugs.python.org.

-------------------------------------------

pickling environment... done
checking consistency... done
preparing documents... done
writing output... about Exception occurred:
  File "/usr/local/lib/python2.7/re.py", line 236, in _compile
    raise ValueError('Cannot process flags argument with a compiled
pattern')
ValueError: Cannot process flags argument with a compiled pattern
The full traceback has been saved in /tmp/sphinx-err-T0p1Zx.log, if
you want to report the issue to the author.
Please also report this if it was a user error, so that a better error
message can be provided next time.
Send reports to [email protected]. Thanks!
make: *** [build] Error 1
o--------------------------------------------------------------------------------------------------------------------

Traceback (most recent call last):
  File "/home/ors/python/trunk/Doc/tools/sphinx/cmdline.py", line 151,
in main
    app.build(all_files, filenames)
  File "/home/ors/python/trunk/Doc/tools/sphinx/application.py", line
138, in build
    self.builder.build_update()
  File "/home/ors/python/trunk/Doc/tools/sphinx/builder.py", line 250,
in build_update
    'out of date' % len(to_build))
  File "/home/ors/python/trunk/Doc/tools/sphinx/builder.py", line 290,
in build
    self.write(docnames, updated_docnames, method)
  File "/home/ors/python/trunk/Doc/tools/sphinx/builder.py", line 327,
in write
    self.write_doc(docname, doctree)
  File "/home/ors/python/trunk/Doc/tools/sphinx/builder.py", line
1238, in write_doc
    self.writer.write(doctree, destination)
  File "/home/ors/python/trunk/Doc/tools/docutils/writers/
__init__.py", line 76, in write
    self.translate()
  File "/home/ors/python/trunk/Doc/tools/sphinx/textwriter.py", line
34, in translate
    self.document.walkabout(visitor)
  File "/home/ors/python/trunk/Doc/tools/docutils/nodes.py", line 176,
in walkabout
    if child.walkabout(visitor):
  File "/home/ors/python/trunk/Doc/tools/docutils/nodes.py", line 176,
in walkabout
    if child.walkabout(visitor):
  File "/home/ors/python/trunk/Doc/tools/docutils/nodes.py", line 189,
in walkabout
    visitor.dispatch_departure(self)
  File "/home/ors/python/trunk/Doc/tools/docutils/nodes.py", line
1548, in dispatch_departure
    return method(node)
  File "/home/ors/python/trunk/Doc/tools/sphinx/textwriter.py", line
591, in depart_paragraph
    self.end_state()
  File "/home/ors/python/trunk/Doc/tools/sphinx/textwriter.py", line
88, in end_state
    do_format()
  File "/home/ors/python/trunk/Doc/tools/sphinx/textwriter.py", line
75, in do_format
    res = textwrap.wrap(''.join(toformat), width=MAXWIDTH-maxindent)
  File "/usr/local/lib/python2.7/textwrap.py", line 334, in wrap
    return w.wrap(text)
  File "/usr/local/lib/python2.7/textwrap.py", line 306, in wrap
    chunks = self._split(text)
  File "/usr/local/lib/python2.7/textwrap.py", line 168, in _split
    chunks = re.compile(pat, flags).split(text)
  File "/usr/local/lib/python2.7/re.py", line 188, in compile
    return _compile(pattern, flags)
  File "/usr/local/lib/python2.7/re.py", line 236, in _compile
    raise ValueError('Cannot process flags argument with a compiled
pattern')
ValueError: Cannot process flags argument with a compiled pattern

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to