[Kde-bindings] Re: [Bug 261283] Python bindings does not build due to sip 4.12
Boyd Faulkner
faulkner93 at gmail.com
Mon Jan 3 17:35:27 UTC 2011
Gökcen Eraslan <gokcen <at> pardus.org.tr> writes:
>
> https://bugs.kde.org/show_bug.cgi?id=261283
>
> Gökcen Eraslan <gokcen <at> pardus.org.tr> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |gokcen <at> pardus.org.tr
>
> --- Comment #6 from Gökcen Eraslan <gokcen pardus org tr> 2010-12-27 15:40:37
---
> When I try to import KUniqueApplication, I got error below:
>
> In [1]: from PyKDE4.kdeui import KUniqueApplication
> ---------------------------------------------------------------------------
> ImportError Traceback (most recent call last)
>
> /home/user/≤ipython console> in <module>()
>
> ImportError: dynamic module does not define init function (initkdeui)
>
> Can anybody reproduce that?
>
I can reproduce in the import error everytime when I attempt to emerge calibre
on gentoo. This is with the latest QtPy4, sip, and qtkde4 with patch.
Compiling form /var/tmp/portage/app-
text/calibre-0.7.37/work/calibre/src/calibre/gui2/filename_pattern.ui
Traceback (most recent call last):
File "setup.py", line 99, in <module>
sys.exit(main())
File "setup.py", line 85, in main
command.run_all(opts)
File "/var/tmp/portage/app-
text/calibre-0.7.37/work/calibre/setup/__init__.py", line 159, in run_all
self.run_cmd(self, opts)
File "/var/tmp/portage/app-
text/calibre-0.7.37/work/calibre/setup/__init__.py", line 152, in run_cmd
self.run_cmd(scmd, opts)
File "/var/tmp/portage/app-
text/calibre-0.7.37/work/calibre/setup/__init__.py", line 155, in run_cmd
cmd.run(opts)
File "/var/tmp/portage/app-text/calibre-0.7.37/work/calibre/setup/gui.py",
line 36, in run
self.build_forms()
File "/var/tmp/portage/app-text/calibre-0.7.37/work/calibre/setup/gui.py",
line 60, in build_forms
build_forms(self.SRC, info=self.info)
File "/var/tmp/portage/app-
text/calibre-0.7.37/work/calibre/src/calibre/gui2/__init__.py", line 718, in
build_forms
compileUi(form, buf)
File "/usr/lib64/python2.7/site-packages/PyQt4/uic/__init__.py", line 134, in
compileUi
winfo = compiler.UICompiler().compileUi(uifile, pyfile, from_imports)
File "/usr/lib64/python2.7/site-packages/PyQt4/uic/Compiler/compiler.py", line
19, in __init__
CompilerCreatorPolicy())
File "/usr/lib64/python2.7/site-packages/PyQt4/uic/uiparser.py", line 91, in
__init__
self.factory = QObjectCreator(creatorPolicy)
File "/usr/lib64/python2.7/site-packages/PyQt4/uic/objcreator.py", line 61, in
__init__
self._cwFilters.append(plugin_locals["getFilter"]())
File "<string>", line 22, in getFilter
ImportError: dynamic module does not define init function (initkdeui)
More information about the Kde-bindings
mailing list