Hello Edward,
Am Samstag, 12. Oktober 2013 13:34:21 UTC+2 schrieb Edward K. Ream:
>
>
> On Thu, Oct 10, 2013 at 7:59 AM, Viktor Ransmayr
> <[email protected]<javascript:>
> > wrote:
>
>> Hello everyone,
>>
>> I encountered a strange problem, when creating the HTML file from a rST
>> file via the rst3 command.
>>
>> Here is the log:
>>
>
> [ snip]
>
>
>>
>> ### VR: First invocation of 'rst3'
>>
>> stylesheet not found
>> ...
>> Traceback (most recent call last):
>> File "C:\Repositories\bzr\leo-editor\leo\core\leoRst.py", line 1899, in
>> writeToDocutils
>> result = docutils.core.publish_string(source=s,
>> AttributeError: 'module' object has no attribute 'core'
>> done
>>
>> ### VR: Second invocation of 'rst3'
>>
>> stylesheet not found
>>
>
> ...
>
>
> >
> The only thing that I did between the *first* and *second* invocation of
> the 'rst3' command was that I hit the F1 key to show the Leo help system ...
>
> >
> Any ideas what is going on here and how to resolve it?
>
> No, I don't docutils has a few glitches. Recently, it crashed when I
> mistakenly removed the toc file referenced in conf.py.
>
> One idea: remove the stylesheet not found message if you can.
>
I did, however the problem is *still* there with *identical* behaviour. -
That is: The rst3 command is *not* working as long as the 'Leo Help System'
(F1) has not been activated. As soon as the 'Leo Help System' pane is open
the rst3 command works in this outline as well.
Below is another log showing the described behaviour:
<log>
Leo Log Window
Leo 4.11a3, build 6140, 2013-10-13 21:05:37
Python 3.3.2, qt version 4.8.5
Windows 6, 2, 9200, 2,
leoID=VR20130923 (in C:\Users\Viktor\.leo)
load dir: C:\Repositories\bzr\leo-editor\leo\core
global config dir: C:\Repositories\bzr\leo-editor\leo\config
home dir: C:\Users\Viktor
reading settings in
C:\Repositories\bzr\leo-editor\leo\config\leoSettings.leo
docutils loaded
reading settings in C:\Users\Viktor\.leo\myLeoSettings.leo
reading settings in C:\Users\Viktor\Worklogs\WL2013.leo
Abbreviations off
reading: C:\Users\Viktor\Worklogs\WL2013.leo
### VR: Entered 'rst3' command a first time.
SilverCity not present so no syntax highlighting
Unexpected docutils exception
Traceback (most recent call last):
File "C:\Repositories\bzr\leo-editor\leo\core\leoRst.py", line 1899, in
writeToDocutils
result = docutils.core.publish_string(source=s,
AttributeError: 'module' object has no attribute 'core'
done
### VR: Entered 'rst3' command a second time
Unexpected docutils exception
Traceback (most recent call last):
File "C:\Repositories\bzr\leo-editor\leo\core\leoRst.py", line 1899, in
writeToDocutils
result = docutils.core.publish_string(source=s,
AttributeError: 'module' object has no attribute 'core'
done
### VR: Entered F1 to activate Leo Help System
### VR: Execute 'rst3' command a third time
wrote: C:\Users\Viktor\Worklogs\Logs\2013\10\CW41\LE-2013-10-13.html
done
</log>
Do you have any other idea what I could try to resolve this issue?
With kind regards,
Viktor
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.