bound method ViewRenderedController.update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
leo-editor |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Opened a leo file, select a node with reSttext, alt-x - vr command
Here is the logfile and traceback:
Leo Log Window
Leo 4.9.1 devel, build 4914, 2012-01-07 09:55:01 -0600
Python 3.2.2, qt version 4.8.0
Windows 6, 1, 7601, 2, Service Pack 1
reading: N:\leo\
IOError: [Errno 2] No such file or directory: '../../
Unable to open source file for reading ('../..
hook failed: idle, <bound method ViewRenderedCon
Traceback (most recent call last):
File "C:\Python32\
result = handler(
File "C:\Python32\
f(s,keywords)
File "C:\Python32\
s = publish_
File "C:\Python32\
enable_
File "C:\Python32\
output = pub.publish(
File "C:\Python32\
sys.
SystemExit: 1
Thanks
Lewis
Changed in leo-editor: | |
importance: | Undecided → Medium |
Changed in leo-editor: | |
status: | New → Confirmed |
milestone: | none → 4.11-b1 |
On Tue, Jan 10, 2012 at 5:34 AM, Lewis Neal <email address hidden> wrote:
> Public bug reported:
> s = publish_ string( s,writer_ name='html' ) lib\site- packages\ docutils\ core.py" , line 400, in publish_string exit_status= enable_ exit_status) lib\site- packages\ docutils\ core.py" , line 648, in publish_ programmaticall y enable_ exit_status= enable_ exit_status) lib\site- packages\ docutils\ core.py" , line 232, in publish exit_status)
> File "C:\Python32\
> enable_
> File "C:\Python32\
> output = pub.publish(
> File "C:\Python32\
> sys.exit(
> SystemExit: 1
Thanks for this report. Let's hope there is a way to dissuade
docutils from calling sys.exit on minor errors ;-) Looks like the
enable_exit_status flag might do the trick.
In the meantime, one workaround for you would be to hack the docutils
sources. I've resorted to that in the past...
Edward