Bug 343286 - kate does not initialize pate engine on load : ImportError: dynamic module does not define init function (initkate)
Summary: kate does not initialize pate engine on load : ImportError: dynamic module do...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kate
Classification: Applications
Component: application (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2015-01-25 16:53 UTC by KlepperKW
Modified: 2018-09-19 14:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description KlepperKW 2015-01-25 16:53:45 UTC
paste from terminal:

QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kate(9255)/kate-filetree KateFileTreePluginView::KateFileTreePluginView: BEGIN: mw: Kate::MainWindow(0x8c1adb8)
kate(9255)/kate-filetree ProxyItem::ProxyItem: ProxyItem(0x8cbe5e0,0x0,-1,QObject(0x0) ,"m_root")
kate(9255)/kate-filetree ProxyItem::ProxyItem: ProxyItem(0x8cbfe90,0x0,-1,QObject(0x0) ,"Untitled")
kate(9255)/kate-filetree KateFileTreeModel::documentOpened: before add: ProxyItem(0x8cbfe90,0x0,-1,KateDocument(0x8785800) , "Untitled" )
kate(9255)/kate-filetree KateFileTreeModel::setupIcon: BEGIN!
kate(9255)/kate-filetree KateFileTreeModel::setupIcon: END!
kate(9255)/kate-filetree KateFileTreeModel::handleInsert: BEGIN!
kate(9255)/kate-filetree KateFileTreeModel::handleInsert: empty item
kate(9255)/kate-filetree ProxyItem::addChild: added ProxyItem(0x8cbfe90,0x8cbe5e0,0,KateDocument(0x8785800) , "Untitled" )   to ProxyItemDir(0x8cbe5e0,0x0,-1,"m_root", children:1)
kate(9255)/kate-filetree KateFileTreeModel::documentOpened: after add: ProxyItem(0x8cbfe90,0x8cbe5e0,0,KateDocument(0x8785800) , "Untitled" )
kate(9255)/kate-filetree KateFileTreeProxyModel::KateFileTreeProxyModel: BEGIN!
kate(9255)/kate-filetree KateFileTreePluginView::setListMode: BEGIN
kate(9255)/kate-filetree KateFileTreePluginView::setListMode: treeMode
kate(9255)/kate-filetree KateFileTreePluginView::setListMode: END
kate(9255)/Kate (Plugins): "ImportError: dynamic module does not define init function (initkate)
Could not import kate" 
kate(9255)/kate-filetree KateFileTreePluginView::viewChanged: BEGIN!
kate(9255)/kate-filetree KateFileTreePluginView::viewChanged: BEGIN!
kate(9255)/kate-filetree KateFileTreeProxyModel::docIndex: !
kate(9255)/kate-filetree KateFileTreeModel::docIndex: BEGIN!
kate(9255)/kate-filetree KateFileTreeModel::docIndex: END!
kate(9255)/kate-filetree KateFileTreePluginView::viewChanged: selected doc= KateDocument(0x8785800) QModelIndex(0,0,0x8cfac70,KateFileTreeProxyModel(0x8cc7428) )
kate(9255)/kate-filetree KateFileTreePluginView::viewChanged: display= "Untitled"
kate(9255)/kate-filetree KateFileTreeModel::documentActivated: BEGIN!
kate(9255)/kate-filetree KateFileTreeModel::documentActivated: adding viewHistory ProxyItem(0x8cbfe90,0x8cbe5e0,0,KateDocument(0x8785800) , "Untitled" )
kate(9255)/kate-filetree KateFileTreeModel::updateBackgrounds: BEGIN!
kate(9255)/kate-filetree KateFileTreeModel::updateBackgrounds: m_editHistory contains  0  elements
kate(9255)/kate-filetree KateFileTreeModel::updateBackgrounds: END!
kate(9255)/kate-filetree KateFileTreeModel::documentActivated: END!
kate(9255)/kate-filetree KateFileTree::slotCurrentChanged: current: QModelIndex(0,0,0x8cfac70,KateFileTreeProxyModel(0x8cc7428) )  previous: QModelIndex(-1,-1,0x0,QObject(0x0) )
kate(9255)/kate-filetree KateFileTree::slotCurrentChanged: got doc, setting prev: QModelIndex(0,0,0x8cfac70,KateFileTreeProxyModel(0x8cc7428) )
kate(9255)/kate-filetree KateFileTreePluginView::viewChanged: END!
kate(9255)/kate-filetree KateFileTreePluginView::viewChanged: BEGIN!
kate(9255)/kate-filetree KateFileTreeProxyModel::docIndex: !
kate(9255)/kate-filetree KateFileTreeModel::docIndex: BEGIN!
kate(9255)/kate-filetree KateFileTreeModel::docIndex: END!
kate(9255)/kate-filetree KateFileTreePluginView::viewChanged: selected doc= KateDocument(0x8785800) QModelIndex(0,0,0x8cfac70,KateFileTreeProxyModel(0x8cc7428) )
kate(9255)/kate-filetree KateFileTreePluginView::viewChanged: display= "Untitled"
kate(9255)/kate-filetree KateFileTreeModel::documentActivated: BEGIN!
kate(9255)/kate-filetree KateFileTreeModel::documentActivated: adding viewHistory ProxyItem(0x8cbfe90,0x8cbe5e0,0,KateDocument(0x8785800) , "Untitled" )
kate(9255)/kate-filetree KateFileTreeModel::updateBackgrounds: BEGIN!
kate(9255)/kate-filetree KateFileTreeModel::updateBackgrounds: m_editHistory contains  0  elements
kate(9255)/kate-filetree KateFileTreeModel::updateBackgrounds: END!
kate(9255)/kate-filetree KateFileTreeModel::documentActivated: END!
kate(9255)/kate-filetree KateFileTreePluginView::viewChanged: END!
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu 
kate(9255)/kate-filetree KateFileTreePluginSettings::save: save config!
kate(9255)/Kate (Plugins): Could not get item string pate _pateUnloading 
kate(9255)/Kate (Plugins): Failed to resolve pate _pateUnloading 



Reproducible: Always

Steps to Reproduce:
1.start kate from gui or terminal
2.
3.

Actual Results:  
kate starts, but gives message: Pate engine could not be initialised, cannot load kate module

Expected Results:  
pate to load

Don't know if this helps:

$ python
Python 2.7.8 (default, Oct 20 2014, 15:05:29) 
[GCC 4.9.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import kate
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named kate
>>> import PyKDE4
>>> import PyKDE4.kate
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named kate
>>>
Comment 1 Christoph Cullmann 2015-10-04 11:53:54 UTC
The KDE 4.x based version is no longer under active development and for KF5 we even have no Pate available due to nobody stepping up to do the necessary Python bindings for KF5. Therefore Pate bugs are no longer relevant here, if we get a new Pate version for KF5 up and running, it won't resemble the old variant anyway.
Comment 2 Andrew Crouthamel 2018-09-19 14:43:04 UTC
This bug has had its resolution changed, but accidentally has been left in NEEDSINFO status. I am thus closing this bug and setting the status as RESOLVED to reflect the resolution change.