[Solved] KE 10 Fedora 24 Xfce : error profile missing or inaccessible

Hi everyone !
I’m having some serious trouble trying to run Komodo as a normal user since I’ve upgraded to Fedora 24. I’ve tried running Komodo from /home, from /opt, and I’ve made sure the folders .activestate and .komodoedit have the correct permissions. As a normal user, komodo shows this error log :

Error: Access was denied while trying to open files in your profile directory.
[2016-09-09 19:46:00,761] [INFO] Startup: Welcome to Komodo Edit 10.1.1 build 17414 (platform linux-x86_64, running on Linux 4.7.2-201.fc24.x86_64 version #1 SMP Fri Aug 26 15:58:40 UTC 2016)
[2016-09-09 19:46:00,761] [INFO] Startup: /usr/bin/python built on Thu Sep 1 21:26:22 2016
[2016-09-09 19:46:00,762] [WARNING] koLess: Clearing local and file cache
[2016-09-09 19:46:00,764] [ERROR] console-logger: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://gre/modules/FileUtils.jsm :: FileUtils_getDir :: line 63"  data: no] (0) in file:///usr/local/src/komodo/lib/mozilla/components/koLessProtocolHandler.js:105
Traceback (most recent call last):
  File "file:///usr/local/src/komodo/lib/mozilla/components/koLessProtocolHandler.js", line 105, in 
[2016-09-09 19:46:00,764] [ERROR] console-logger: NS_ERROR_FAILURE: Failed to open stream (2) in file:///usr/local/src/komodo/lib/mozilla/components/koLessProtocolHandler.js:106
Traceback (most recent call last):
  File "file:///usr/local/src/komodo/lib/mozilla/components/koLessProtocolHandler.js", line 106, in 
[2016-09-09 19:46:00,769] [ERROR] console-logger: sheet is not defined (0) in chrome://komodo/content/library/less.js:70
Traceback (most recent call last):
  File "chrome://komodo/content/library/less.js", line 70, in 
[2016-09-09 19:46:00,769] [ERROR] console-logger: NS_ERROR_FAILURE: Failed to open async stream (2) in file:///usr/local/src/komodo/lib/mozilla/components/koLessProtocolHandler.js:134
Traceback (most recent call last):
  File "file:///usr/local/src/komodo/lib/mozilla/components/koLessProtocolHandler.js", line 134, in 
[2016-09-09 19:46:00,770] [ERROR] console-logger: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get] (2) in file:///usr/local/src/komodo/lib/mozilla/components/nsHandlerService.js:891
Traceback (most recent call last):
  File "file:///usr/local/src/komodo/lib/mozilla/components/nsHandlerService.js", line 891, in 
[2016-09-09 19:46:00,773] [ERROR] console-logger: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get] (2) in file:///usr/local/src/komodo/lib/mozilla/components/nsHandlerService.js:891
Traceback (most recent call last):
  File "file:///usr/local/src/komodo/lib/mozilla/components/nsHandlerService.js", line 891, in 
[2016-09-09 19:46:00,786] [ERROR] console-logger: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get] (2) in file:///usr/local/src/komodo/lib/mozilla/components/XULStore.js:66
Traceback (most recent call last):
  File "file:///usr/local/src/komodo/lib/mozilla/components/XULStore.js", line 66, in

I can still run Komodo from root, and with this, there is no such error log when doing so, which to me makes no sense at all apart for maybe one thing : I’m using both python2 and python3 on my Fedora machine, could it be related ?
Thanks in advance for your precious help !

It’s not clear to me exactly what might be going on but I suggest you simply re-install Komodo. Make sure you use the instructions in the docs: http://docs.komodoide.com/Manual/install#komodo-installation-guide_linux_installing-komodo-on-linux

Try to avoid using sudo or root to install. If you must, you need to chown the install directory so your user owns it and all of it’s contents.

  • Carey

Unbelievable : it has been almost a week I’m struggling with this and I’ve just solved this a few minutes ago as I post here in the komodo forums. It seems there’s a third folder to pay attention, here :
/home/USER/.cache/activestate
I had this one and another one in my root/.cache/activestate. As soon as I delete them (and reinstall komodo), problem solved. Grr … I’m a little pissed at myself and …
Sorry everyone for the useless post (might not be that useless if someones struggle with the same problem).

That’s odd. That’s not something we maintain and Komodo doesn’t put anything there. The only folder cares about is ~/.komodoide and ~./activestate. Maybe that’s a 3rd party tool making those dirs?

  • Carey

hmm … I’m using Komodo Edit since version 5 or 7 (can’t remember), and I’ve backup my home quite a few times (OS switch or upgrade). Maybe it’s a very old config residue ?
Still, since I’ve deleted these folders, everything’s fine and Komodo never worked better (version 10 is great). Just about time, since I’m gonna need it in a few days …