[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Error: already an enum in scope with the same Python name
From:       Jim Bublitz <jbublitz () nwinternet ! com>
Date:       2006-08-01 16:38:44
Message-ID: 200608010938.45005.jbublitz () nwinternet ! com
[Download RAW message or body]

On Tuesday 01 August 2006 00:21, jeason wrote:


> Generating the C++ source for the kdecore module...
> sip: sip/kdecore/netwm_def.sip:410: There is already an enum in scope
> with the same Python name
> Error: Unable to create the C++ code.

In sip//kdecore/netwm_def.sip, beginning at line 305, delete or comment out 
(//) the entire enum Property2 (as shown here):

    enum Property2
    {
        WM2UserTime, 
        WM2StartupId, 
        WM2TransientFor, 
        WM2GroupLeader, 
        WM2AllowedActions, 
        WM2RestackWindow, 
        WM2MoveResizeWindow, 
        WM2ExtendedStrut, 
        WM2TakeActivity, 
        WM2KDETemporaryRules, 
        WM2WindowClass, 
        WM2WindowRole, 
        WM2ClientMachine, 
        WM2ShowingDesktop
    };

It's a mistake in versioning which only affects KDE 3.5.0

Jim

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic