See I knew I was going to break something... anyway it should be fixed in 
Rev 9cc8e89, now the QVBoxLayout instance calls setContentsMargin instead 
of setMargin.

Just a note, the code was automatically by pyuic4. Just something to keep 
in mind for others using that utility. 

On Sunday, August 30, 2015 at 9:17:13 AM UTC-4, john lunzer wrote:
>
> I'll look into this. I think the issue may be related to this post: 
> http://srinikom.github.io/pyside-bz-archive/866.html
>
> On Sunday, August 30, 2015 at 7:18:37 AM UTC-4, lewis wrote:
>>
>> I get this traceback when latest commit opens:
>>
>> Leo Log Window
>> Leo 5.1-final, build 20150825225221, Tue Aug 25 22:52:21 CDT 2015
>> Git repo info: branch = master, commit = 2df11b463ff1
>> Python 3.4.3, PyQt version 5.5.0
>> Windows 7 AMD64 (build 6.1.7601) SP1
>> load dir: N:\git\leo-editor\leo\core
>> global config dir: N:\git\leo-editor\leo\config
>> home dir: c:\Users\lewis
>> reading settings in N:\git\leo-editor\leo\config\leoSettings.leo
>> reading settings in c:\Users\lewis\.leo\myLeoSettings.leo
>> http serving enabled at 127.0.0.1:8130
>> reading settings in c:\Users\lewis\.leo\workbook.leo
>> reading: c:\Users\lewis\.leo\workbook.leo
>> read outline in 0.75 seconds
>> hook failed: after-create-leo-frame, <function onCreate at 
>> 0x000000000671F620>, leo.plugins.quicksearch
>> Traceback (most recent call last):
>>   File "n:\git\leo-editor\leo\core\leoPlugins.py", line 322, in 
>> callTagHandler
>>     result = handler(tag, keywords)
>>   File "n:\git\leo-editor\leo\plugins\quicksearch.py", line 100, in 
>> onCreate
>>     install_qt_quicksearch_tab(c)
>>   File "n:\git\leo-editor\leo\plugins\quicksearch.py", line 135, in 
>> install_qt_quicksearch_tab
>>     wdg = LeoQuickSearchWidget(c, mode="nav")
>>   File "n:\git\leo-editor\leo\plugins\quicksearch.py", line 287, in 
>> __init__
>>     self.ui.setupUi(self)
>>   File "n:\git\leo-editor\leo\plugins\qt_quicksearch_sub.py", line 15, in 
>> setupUi
>>     self.verticalLayout_2.setMargin(1)
>> AttributeError: 'QVBoxLayout' object has no attribute 'setMargin'
>>
>> Regards
>> Lewis
>>
>

-- 
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/d/optout.

Reply via email to