On 16/03/12 16:53, lkcl luke wrote:
> On Fri, Mar 16, 2012 at 4:47 PM, Phil Charlesworth
> <[email protected]> wrote:
>
>> On 16/03/12 16:42, lkcl luke wrote:
>>
>>> On Fri, Mar 16, 2012 at 4:33 PM, Phil Charlesworth
>>> <[email protected]> wrote:
>>>
>>>
>>>> On 16/03/12 15:36, lkcl luke wrote:
>>>>
>>>>
>>>>> On Fri, Mar 16, 2012 at 3:24 PM, Phil Charlesworth
>>>>> <[email protected]> wrote:
>>>>>
>>>>>
>>>>>
>>>>>> I have just tried running an app in pyjd (MSHTML on Windows 7) using
>>>>>> what I think is the most recent commit b7cbeb10.....
>>>>>>
>>>>>> After import pyjd it fails on the next import statement. I tried the
>>>>>> KitchenSink example instead. Exactly the same result. Here is the
>>>>>> traceback from that:
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>> return getLoggerForHandler(AppendHandler(name), name, level, fmt)
>>>>>> File "C:\pyjamas\library\pyjamas\logging\handlers.py", line 26, in
>>>>>> __init__
>>>>>> super(AppendHandler, self).__init__()
>>>>>> TypeError: super() argument 1 must be type, not classobj
>>>>>>
>>>>>> I think this is a generic pyjd issue, not MSHTML. I don't want to be
>>>>>> censorious but please, guys, get a working pyjd implementation and use
>>>>>> it to test before you commit.
>>>>>>
>>>>>>
>>>>>>
>>>>> hmmm.... hint, hint, peter.
>>>>>
>>>>> hmmm... i'm using pyjd, and python 2.7 - i don't see this problem,
>>>>> phil.
>>>>>
>>>>> you wouldn't happen to be using python 2.6 would you?
>>>>>
>>>>> phil could you do a binary search, find which commit break things,
>>>>> i'll revert stuff within say... 18 hours unless peter comes up with a
>>>>> solution before then.
>>>>>
>>>>> l.
>>>>>
>>>>>
>>>> L, I had to go back to 8b766e... "allow panels floating" to get a
>>>> working version.
>>>> Everything from da3ef90... "Issue #701: completed implementation of new
>>>> Pyjamas logging module" gives essentially the problem I reported above.
>>>>
>>>>
>>> ok. python2.7-isms
>>>
>>> peter, you got a moment to sort that (using python2.6)?
>>>
>>> l.
>>>
>> L, Sorry, our emails crossed. I changed the super call to
>> Handler.__init__(self) and that fixed it, so I am running again on
>> b7cbe... with that minor mod.
>>
> superb.
>
> patch?
http://www.philsbpswbb.plus.com/pyjamas/handlers.diff