On Sun, Jun 29, 2008 at 10:28 PM, Edward K. Ream <[EMAIL PROTECTED]>
wrote:

>
>
> [snip]
>
> I'm guessing that the full traceback is something like:
>
>
> Traceback (most recent call last):
>   File "leo\core\runLeo.py", line 464, in <module>
>     run()
>   File "leo\core\runLeo.py", line 150, in run
>     c,frame = createFrame(fileName,relativeFileName)
>   File "leo\core\runLeo.py", line 224, in createFrame
>     ok, frame = g.openWithFileName(relativeFileName or fileName,None)
>   File "c:\leo.repo\trunk\leo\core\leoGlobals.py", line 2093, in
> openWithFileName
>     gui=gui)
>   File "c:\leo.repo\trunk\leo\core\leoApp.py", line 606, in
> newLeoCommanderAndFrame
>     c.finishCreate(initEditCommanders)
>   File "c:\leo.repo\trunk\leo\core\leoCommands.py", line 252, in
> finishCreate
>     k.finishCreate()
>   File "C:\leo.repo\trunk\leo\core\leoKeys.py", line 1708, in finishCreate
>     k.resetLabel()
>   File "C:\leo.repo\trunk\leo\core\leoKeys.py", line 3674, in resetLabel
>     k.setLabelGrey('')
>   File "C:\leo.repo\trunk\leo\core\leoKeys.py", line 3748, in setLabelGrey
>     w.setBackgroundColor('lightgrey')
> AttributeError: Label instance has no attribute 'setBackgroundColor'
>
> and that you have the following setting in effect:
>
> @bool useTextMinibuffer = False
>
> Are these guesses correct?
>
>
the full trackback is a little different from what you'd guessed:

Plugins disabled: use_plugins is 0 in a leoSettings.leo file.
Traceback (most recent call last):
  File "/usr/bin/leo", line 8, in <module>
    load_entry_point('leo-editor==0.1', 'gui_scripts', 'leo')()
  File "/usr/lib/python2.5/site-packages/leo/core/runLeo.py", line 150, in
run
    c,frame = createFrame(fileName,relativeFileName)
  File "/usr/lib/python2.5/site-packages/leo/core/runLeo.py", line 232, in
createFrame
    initEditCommanders=True)
  File "/usr/lib/python2.5/site-packages/leo/core/leoApp.py", line 606, in
newLeoCommanderAndFrame
    c.finishCreate(initEditCommanders)
  File "/usr/lib/python2.5/site-packages/leo/core/leoCommands.py", line 252,
in finishCreate
    k.finishCreate()
  File "/usr/lib/python2.5/site-packages/leo/core/leoKeys.py", line 1708, in
finishCreate
    k.resetLabel()
  File "/usr/lib/python2.5/site-packages/leo/core/leoKeys.py", line 3674, in
resetLabel
    k.setLabelGrey('')
  File "/usr/lib/python2.5/site-packages/leo/core/leoKeys.py", line 3747, in
setLabelGrey
    w.setBackgroundColor('lightgrey')
AttributeError: Label instance has no attribute 'setBackgroundColor'

But actually it's my fault, I didn't noticed that when using python setup.py
install,  it didn't copy config/Icons/extensions/etc. folders to python
site-packages/leo foldler
After I fixed this problem, Leo start normally :)


BTW:  all my tk application default palette is broken now, the window
background is black and I need to call tk_bisque somewhere to make it looks
better.
Any idea how can I fix this?

Thanks.


-- 
simple is good
http://brucewang.net
http://io.brucewang.net
http://twitter.com/number5
skype: number5

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to