[Bug 651746] New: PyQt4 - error in PyQt4/uic/properties.py - split complains about not enough arguments
https://bugzilla.novell.com/show_bug.cgi?id=651746 https://bugzilla.novell.com/show_bug.cgi?id=651746#c0 Summary: PyQt4 - error in PyQt4/uic/properties.py - split complains about not enough arguments Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: KDE4 Applications AssignedTo: kde-maintainers@suse.de ReportedBy: gassauer@kde.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/4.5; Linux) KHTML/4.5.3 (like Gecko) SUSE had to replace ****************** NEW *********** def _pyEnumMember(self, cpp_name): try: prefix, membername = cpp_name.split("::") DEBUG(membername) if prefix == "Qt": return getattr(QtCore.Qt, membername) else: return getattr(getattr(QtGui, prefix), membername) except ValueError: pass try: return getattr(QtCore.Qt, cpp_name) except AttributeError: # There seems to be a bug where this can succeed when it shouldn't. # If so it will be picked up when the generated code is run. return getattr(getattr(QtGui, self.wclass), cpp_name) ****************** DISTRIBUTED *********** def _pyEnumMember(self, cpp_name): prefix, membername = cpp_name.split("::") if prefix == "Qt": return getattr(QtCore.Qt, membername) scope = self.factory.findQObjectType(prefix) if scope is None: raise AttributeError("unknown enum %s" % cpp_name) return getattr(scope, membername) Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=651746 https://bugzilla.novell.com/show_bug.cgi?id=651746#c1 Christian Trippe <ctrippe@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |ctrippe@opensuse.org InfoProvider| |gassauer@kde.org --- Comment #1 from Christian Trippe <ctrippe@opensuse.org> 2012-01-31 19:43:13 UTC --- openSUSE 11.3 is out of maintenance. Is this bug still valid with openSUSE 12.1? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=651746 https://bugzilla.novell.com/show_bug.cgi?id=651746#c2 Christian Trippe <ctrippe@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|gassauer@kde.org | Resolution| |NORESPONSE --- Comment #2 from Christian Trippe <ctrippe@opensuse.org> 2012-03-19 20:08:26 UTC --- No reply in more than 4 weeks. Please reopen if you are able to provide the requested information. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com