Autocomplete not working under KDE

Hi to all, I’m having a bit of different problem, I’m using Ubuntu 14.04, and I use Komodo for perl programming mostly.
In Unity everything is working fine.
In KDE autocomplete is not working even for the most simplest program perl.
Is there some log file or some way to launch the application in debug mode, I find it weird that it works in Unity but doesn’t work in KDE.

-* edit *-
It seems its hanging somewhere. I just checked the comments above, i’m not even using the script where it is failing on, created a new simple project with some hello world and some variables I don’t get it:

[2014-07-13 21:55:18,213] [WARNING] koSkin: Detected GTK theme via libgtk: Radiance
[2014-07-13 21:55:21,842] [DEBUG] places_js: waiting for document complete
[2014-07-13 21:55:21,926] [WARNING] root: ko.findresults was already loaded, re-creating it.

[2014-07-13 21:55:23,006] [WARNING] codeintel.db: database corruption during ‘LangZone.get_buf_data’: could not read dbfile for ‘pm_truncate_tables_from_schema’ blob: [Errno 2] No such file or directory: ‘/home/reiso/.komodoide/8.5/codeintel/db/perl/51ebf7c2306a745c7c22870f73b99c5a/72c38875fa0f80acf87332221fb8343c.blob’ (resolution: recover)
[2014-07-13 22:03:57,822] [WARNING] koDocument: setting koDocument.codePage is DEPRECATED, hardwired to 65001 (unicode mode): 65001 ignored
ERROR:xpcom:Unhandled exception calling ‘int8 * getPref(in unicode &, out retval nsISomething);’
Traceback (most recent call last):
File “/home/reiso/progs/Komodo-IDE-8/lib/mozilla/python/xpcom/server/policy.py”, line 300, in CallMethod
return 0, func(*params)
File “/home/reiso/progs/Komodo-IDE-8/lib/mozilla/components/koPrefs.py”, line 364, in getPref
return self._getPref(prefName, ‘getPref’, “object”)
File “/home/reiso/progs/Komodo-IDE-8/lib/mozilla/components/koPrefs.py”, line 349, in _getPref
return self.parent._getPref(prefName, parentMethodName, expectedPrefType, defaultPref=defaultPref)
File “/home/reiso/progs/Komodo-IDE-8/lib/mozilla/components/koPrefs.py”, line 349, in _getPref
return self.parent._getPref(prefName, parentMethodName, expectedPrefType, defaultPref=defaultPref)
File “/home/reiso/progs/Komodo-IDE-8/lib/mozilla/components/koPrefs.py”, line 358, in _getPref
raise COMException(nsError.NS_ERROR_UNEXPECTED, “The preference ‘%s’ does not exist in ‘%r’.” % (prefName, self))
Exception: 2147549183 (The preference ‘Invocations’ does not exist in ‘<PrefSet: id=default type= idref=>’.)
ERROR:xpcom:Unhandled exception calling ‘int8 * getPref(in unicode &, out retval nsISomething);’
Traceback (most recent call last):
File “/home/reiso/progs/Komodo-IDE-8/lib/mozilla/python/xpcom/server/policy.py”, line 300, in CallMethod
return 0, func(*params)
File “/home/reiso/progs/Komodo-IDE-8/lib/mozilla/components/koPrefs.py”, line 364, in getPref
return self._getPref(prefName, ‘getPref’, “object”)
File “/home/reiso/progs/Komodo-IDE-8/lib/mozilla/components/koPrefs.py”, line 349, in _getPref
return self.parent._getPref(prefName, parentMethodName, expectedPrefType, defaultPref=defaultPref)
File “/home/reiso/progs/Komodo-IDE-8/lib/mozilla/components/koPrefs.py”, line 349, in _getPref
return self.parent._getPref(prefName, parentMethodName, expectedPrefType, defaultPref=defaultPref)
File “/home/reiso/progs/Komodo-IDE-8/lib/mozilla/components/koPrefs.py”, line 358, in _getPref
raise COMException(nsError.NS_ERROR_UNEXPECTED, “The preference ‘%s’ does not exist in ‘%r’.” % (prefName, self))
Exception: 2147549183 (The preference ‘Invocations’ does not exist in ‘<PrefSet: id=default type= idref=>’.)

Br
Reis

I’m curious whether KDE is correlation or causation here, have you tried moving back and forth between Unity and KDE and have consistently reproduced the issue ONLY on KDE?

Hi Yes, always the same behaviour.

Works in unity fails in kde.
I tried a couple of times.

This is not a real error if one of them works, I use the working one.

Br
Reis

@toddw any ideas?

Try shutting down Komodo and resetting the codeintel database:
http://community.activestate.com/faq/codeintel-database-fix

After restarting Komodo, is it fixed?

Hi,

Done that a couple of times.
Also remove the directory completely.

reiso@aeminium:~$ rm -rf .komodoide/8.5

reiso@aeminium:~$ cd .komodoide/
reiso@aeminium:~/.komodoide$ ll
total 20
drwxrwxr-x 3 reiso reiso 4096 Jul 17 08:43 ./
drwxr-xr-x 95 reiso reiso 12288 Jul 17 08:43 …/
drwxrwxr-x 10 reiso reiso 4096 Jul 17 08:43 8.5/
reiso@aeminium:~/.komodoide$ cd 8.5/
reiso@aeminium:~/.komodoide/8.5$ cat codeintel.log

Comes out empty.

I will continue using Unity which is still working.