launchLeo.py under qt does not work
This bug report was converted into a question: question #75970: Qt UI does not work in Ubuntu Hardy..
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
leo-editor |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I was trying to use 4.6 without installing it, as per the instructions for Linux. (I want to keep my 4.4 installed for the moment.) I got this error:
=======
File "/home/
w.setHeader
AttributeError: setHeaderHidden
=======
I added the path to the unzipped files and ran launchLeo.py. These are the instructions I followed:
=======
You now have two choices:
1. You can run Leo from your home directory.
Just add ~/leo-4-5 to your path.
....
Another way to run Leo is as follows::
cd <path-to-
python launchLeo.py %1
=======
I'm under Ubuntu (8.04), python 2.5, qt 4. Here is the full error message.
bill@bill-
bill@bill-
reading settings in /home/bill/
Using menus from leoSettings.leo
reading /home/bill/
loaded plugin: qtGui doPlugins,
Traceback (most recent call last):
File "launchLeo.py", line 8, in <module>
leo.
File "/home/
ok = doPostPluginsIn
File "/home/
c,frame = createFrame(
File "/home/
initEditCom
File "/home/
frame.
File "/home/
f.top = DynamicWindow(c)
File "/home/
self.
File "/home/
self.
File "/home/
treeWidget = self.createTree
File "/home/
w.setHeader
AttributeError: setHeaderHidden
bill@bill-
I just discovered this discussion at http:// groups. google. com/group/ leo-editor/ browse_ thread/ thread/ 707cc66feee3570 5
============
I'm also using 8.04 at work and got thes same problem.
I have now pushed alternative qt_main_ hardyheron. ui to trunk. Copy it over qt_main.ui if you get this error.
==================
will see if I can resolve this through the source file.