After update to KDE 4.13, the project overview does not list the files of the project. Reproducible: Always Steps to Reproduce: 1. Open a Lokalize project from the command line or use the related menu options to load an existing project. Actual Results: No files in the project overview tab. Expected Results: Show the files of the loaded project. No hints from the command line output. Maybe an issue related to the change from Nepomuk to Baloo? Strigi?
I have the same issue. Downgrade to a previous (KDE 4.11/.12) version doesn't help either.
Just a few lines from xsession-errors (appeared on opening Lokalize with existing project), hopefully to shed some light on the issue: loadProjectScripts() 1111 "/home/minton/Translations/opensuse-i18n/lokalize/trunk-ru" loadProjectScripts() 333 lokalize(24112) ProjectScriptingPlugin::~ProjectScriptingPlugin: ("scripts.rc") loadProjectScripts() 444 loadProjectScripts() 555 loadProjectScripts() 666 Kross: "Loading the interpreter library for qtscript" Kross: "Successfully loaded Interpreter instance from library." Kross: "Loading the interpreter library for python" Kross: "Successfully loaded Interpreter instance from library." Kross: "PythonScript::Constructor." Kross: "PythonScript::execute" Kross: "Error error=Invalid scripting code for script 'opensrc' lineno=-1 trace= " Kross: "PythonScript::Destructor." So, probably Kross or Python issue.
can you show output of 'xmlindexer somepofile.po'
xmlindexer works OK. For example, executing xmlindexer kcalc.po: <?xml version='1.0' encoding='UTF-8'?> <metadata> <file uri='kcalc.po' mtime='1396724034'> <value name='http://www.semanticdesktop.org/ontologies/2007/01/19/nie#url'>kcalc.po</value> <value name='http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#wordCount'>5803</value> <value name='translation.translation_date'>2014-04-04 19:43+0200</value> <value name='translation.last_translator'>Eloy Cuadra <ecuadra@eloihr.net></value> <value name='http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#lineCount'>1723</value> <value name='translation.source_date'>2014-04-02 01:52+0000</value> <value name='http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#characterCount'>42263</value> <value name='translation.untranslated'>0</value> <value name='translation.total'>325</value> <value name='translation.translated'>325</value> <value name='translation.fuzzy'>0</value> <value name='http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileName'>kcalc.po</value> <value name='http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#hasHash'>:nwlrb</value> <value name='http://www.semanticdesktop.org/ontologies/2007/01/19/nie#contentSize'>43986</value> <value name='http://www.w3.org/1999/02/22-rdf-syntax-ns#type'>http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#TextDocument</value> <value name='http://www.w3.org/1999/02/22-rdf-syntax-ns#type'>http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject</value> <value name='http://www.semanticdesktop.org/ontologies/2007/01/19/nie#lastModified'>1396724034</value> <value name='http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf'></value> <value name='http://strigi.sf.net/ontologies/0.9#depth'>0</value> <text># translation of kcalc.po to Spanish [...] </text> </file> </metadata>
Hope this info can throw some light... Building Lokalize from source code and making some debug test, I've found that KFileMetaInfo in projectmodel.cpp shows 0 keys for every item leading to no stats for them. Browsing the KFileMetaInfo source code I've seen that it heavily depends on Strigi and Nepomuk stuff. As I suspected, this issue can be related to the transition from Nepomuk/Strigi to Baloo. My distro (openSUSE) doesn't run Nepomuk/Strigi in KDE 13.0. So, should we consider this problem a bug in KFileMetaInfo (kdelibs), or a bug in Lokalize? Or just a bug in openSUSE packages?
As I suspected, it was a bug in openSUSE packages for KDE. The last update of some base packages fixed this issue. I'm closing this bug today. Sorry for making noise at the wrong place! :-)