Leo Log Window
Leo 4.9.1 devel, build 5016, 2012-02-25 18:01:01
Python 2.7.2, qt version 4.7.3
linux2

When running my 'session' script which opens a list of leo files::

exception executing script
Traceback (most recent call last):

Traceback (most recent call last):
  File "/usr/fetching/leo-editor/leo/core/leoCommands.py", line 2351,
in executeScript
    execfile(scriptFile,d)

  File "/usr/fetching/leo-editor/leo/core/leoCommands.py", line 2351,
in executeScript
    execfile(scriptFile,d)
  File "/usr/fetching/leo-editor/leo/test/scriptFile.py", line 7, in <module>
    leotools.load_session(c, UNLs)

  File "/usr/fetching/leo-editor/leo/test/scriptFile.py", line 7, in <module>
    leotools.load_session(c, UNLs)
  File "/home/ktenney/work/lib/leotools.py", line 93, in load_session
    this_c = g.openWithFileName(fname, c)

  File "/home/ktenney/work/lib/leotools.py", line 93, in load_session
    this_c = g.openWithFileName(fname, c)
  File "/usr/fetching/leo-editor/leo/core/leoGlobals.py", line 1925,
in openWithFileName
    return g.app.loadManager.loadLocalFile(fileName,gui,old_c)

  File "/usr/fetching/leo-editor/leo/core/leoGlobals.py", line 1925,
in openWithFileName
    return g.app.loadManager.loadLocalFile(fileName,gui,old_c)
  File "/usr/fetching/leo-editor/leo/core/leoApp.py", line 2081, in
loadLocalFile
    c = lm.openFileByName(fn,gui,old_c,previousSettings)

  File "/usr/fetching/leo-editor/leo/core/leoApp.py", line 2081, in
loadLocalFile
    c = lm.openFileByName(fn,gui,old_c,previousSettings)
  File "/usr/fetching/leo-editor/leo/core/leoApp.py", line 2109, in
openFileByName
    previousSettings=previousSettings)

  File "/usr/fetching/leo-editor/leo/core/leoApp.py", line 2109, in
openFileByName
    previousSettings=previousSettings)
  File "/usr/fetching/leo-editor/leo/core/leoApp.py", line 630, in newCommander
    return leoCommands.Commands(fileName,relativeFileName,gui,previousSettings)

  File "/usr/fetching/leo-editor/leo/core/leoApp.py", line 630, in newCommander
    return leoCommands.Commands(fileName,relativeFileName,gui,previousSettings)
  File "/usr/fetching/leo-editor/leo/core/leoCommands.py", line 101, in __init__
    c.initObjects(self.gui)

  File "/usr/fetching/leo-editor/leo/core/leoCommands.py", line 101, in __init__
    c.initObjects(self.gui)
  File "/usr/fetching/leo-editor/leo/core/leoCommands.py", line 295,
in initObjects
    self.frame = gui.createLeoFrame(c,title)

  File "/usr/fetching/leo-editor/leo/core/leoCommands.py", line 295,
in initObjects
    self.frame = gui.createLeoFrame(c,title)
AttributeError: 'Commands' object has no attribute 'createLeoFrame'

AttributeError: 'Commands' object has no attribute 'createLeoFrame'
--------------------
--------------------
  line 294:
* line 295:         self.frame = gui.createLeoFrame(c,title)
  line 296:         assert self.frame
  line 297:         assert self.frame.c == c

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to