[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#481790: marked as done (python-kde4: pykdeuic4 exits due to unknown base class in .ui)

Your message dated Mon, 13 Jul 2009 00:39:53 +0200
with message-id <200907130039.56501.debian@pusling.com>
and subject line Re: Bug#481790: python-kde4: pykdeuic4 exits due to unknown base class in .ui
has caused the Debian Bug report #481790,
regarding python-kde4: pykdeuic4 exits due to unknown base class in .ui
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

481790: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481790
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-kde4
Version: 4.0.2-1-1
Severity: normal

Custom classes inserted by Qt Designer 4 yield a base class from which they
are derived. If pykdeuic4 doesn't know about the base class it will exit
raising an error:

Traceback (most recent call last):
  File "/usr/bin/pykdeuic4", line 128, in <module>
  File "/usr/bin/pykdeuic4", line 125, in main
    processUI(args[0], output_filename, exe)
  File "/usr/bin/pykdeuic4", line 54, in processUI
    winfo = compiler.UICompiler().compileUi(uifile, output)
  File "/usr/lib/python2.5/site-packages/PyQt4/uic/Compiler/compiler.py",
line 71, in compileUi
    w = self.parse(input_stream)
  File "/usr/lib/python2.5/site-packages/PyQt4/uic/uiparser.py", line 569,
in parse
  File "/usr/lib/python2.5/site-packages/PyQt4/uic/uiparser.py", line 428,
in createUserInterface
  File "/usr/lib/python2.5/site-packages/PyQt4/uic/uiparser.py", line 406,
in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python2.5/site-packages/PyQt4/uic/uiparser.py", line 153,
in createWidget
    self.stack.push(self.setupObject(widgetClass(elem), parent, elem))
  File "/usr/lib/python2.5/site-packages/PyQt4/uic/uiparser.py", line 128,
in setupObject
    obj =  self.factory.createQObject(clsname, name, args, is_attribute)
  File "/usr/lib/python2.5/site-packages/PyQt4/uic/objcreator.py", line 59,
in createQObject
    classType = self.findQObjectType(classname)
  File "/usr/lib/python2.5/site-packages/PyQt4/uic/objcreator.py", line 67,
in findQObjectType
    w = module.search(classname)
line 74, in search
    baseClass = self._resolveBaseclass(self._widgets[cls][0])
line 68, in _resolveBaseclass
    raise ValueError, "unknown baseclass %s" % (baseClass,)
ValueError: unknown baseclass KComboBox

The class generating this error is the KHistoryComboBox.

I'll attach the corresponding .ui file.

See #475403 for an similar bug in handling of custom classes of pykdeuic4.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22 (PREEMPT)
Locale: LANG=de_DE@euro, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-kde4 depends on:
ii  kdebase-runtime             4:4.0.2-1+b1 runtime components from the offici
ii  kdelibs5                    4:4.0.2-1+b1 core libraries for all KDE 4 appli
ii  libc6                       2.7-11       GNU C Library: Shared libraries
ii  libgcc1                     1:4.3.0-4    GCC support library
ii  libqt4-core                 4.4.0-2      transitional package for Qt 4 core
ii  libqt4-gui                  4.4.0-2      transitional package for Qt 4 GUI 
ii  libstdc++6                  4.3.0-4      The GNU Standard C++ Library v3
ii  python                      2.5.2-1      An interactive high-level object-o
ii  python-central              0.6.6        register and build utility for Pyt
ii  python-qt4                  4.3.3-3      Python bindings for Qt4

python-kde4 recommends no packages.

-- no debconf information
<ui version="4.0" >
 <widget class="QWidget" name="Form" >
  <property name="geometry" >
  <property name="windowTitle" >
  <widget class="KHistoryComboBox" name="khistorycombobox" >
   <property name="geometry" >

--- End Message ---
--- Begin Message ---
On Sunday 12 July 2009 15:19:51 Christoph Burgmer wrote:
> Am Sonntag, 12. Juli 2009 schrieb Sune Vuorela:
> > Hi
> >
> > Long ago, you reported this bug
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481790
> >
> > Many things has happened since then. Does this bug still apply ?
> pykdeuic4 still fails on the given example. The problem is that the custom
> widget KHistoryComboBox itself is derived from a custom widget KComboBox,
> which pykdeuic4 doesn't know about.
> But Qt4 Designer now stores both custom widget definitions, so that the
> cause of this error doesn't exist anymore. It seems that this was never a
> bug of pykdeuic4 but of Qt4 Designer.
> In short: this report can be closed.

Okay. Thanks for telling.

Do you know how to debug a fan from iMac?

You neither have to telnet to the shell of a analogic processor on the 
analogic SCSI forward, nor must turn off the coaxial gadget for disabling a 3D 
forward to a software.

--- End Message ---

Reply to: