i am trying to run Komodo Edit 9 on Ubuntu 14.04 LTS and after successfully installing i can’t make it run. i have read this post Komodo Installation not working in Ubuntu and tried most of the stuff suggested in there but to no avail. i came to a conclusion that i am also having permission issues.
my log file has a lot of warnings and a single error entry:
[2016-04-11 17:25:55,452] [ERROR] codeintel.komodo.js:
-- EXCEPTION START --
TypeError: this.view is null
+ stack
this.CompletionUIHandler.prototype._setAutoCompleteInfo@chrome://komodo/content/codeintel/codeintel.js:729:17
this.CompletionUIHandler.prototype.setAutoCompleteInfo/<@chrome://komodo/content/codeintel/codeintel.js:1064:34
-- EXCEPTION END --
trying to sudo execute Komodo gives me this:
ng414@mdpc244:~$ sudo Komodo-Edit-9/bin/komodo
sudo: unable to execute Komodo-Edit-9/bin/komodo: Permission denied
trying to change permissions on the bin file gives the same error:
Could you try removing your install folder and your profile folder (make a backup of this one to be safe), then reinstalling Komodo and ensuring that you launch it as a regular user (not sudo, not root).
what’s the name of the profile folder? the only thing that lives inside ~/.komodoedit is the 9.3 folder, which in turn doesn’t contain anything that automatically strikes me as my profile folder. apologies for dumb questions – i am really new to linux.
okay, so it seems to be working now, thank you both. however, i remember last time it opened once initially and then, after being closed, refused to start again. hopefully this won’t happen again this time. i closed and opened it a couple of times and it was fine.
i got this warning message during the installation:
install: warning: It appears that either your system does not have gtk-2.0 installed, or your system's version of gtk-2.0 is not up to date.
Komodo requires version 2.24 or greater. Please update gtk-2.0. While Komodo will still install correctly, it may not run.
This diagnostic is not fool-proof. If you are sure the package is installed and up to date, you may safely ignore this warning.
which i ignored because i am pretty much sure i have the right version of the gtk.
more disturbingly the first time i run it from the console i got this message:
None of these errors will impact Komodo. Don’t know what’s “Glib-CRITICAL” is for, but I’m always getting it and my Komodo installations works for me for 2 years without any crashes.
That’s ok, it’s just an automatic check, it could be incorrect, if you’re sure then don’t worry about it
@careyh thank you, yes, i see now. R extension wasn’t automatically recognised but, when manually chosen, the correct highlighting was applied!
i’ve also installed sciviews-k but it claims that it can’t find my default R installation (which is obviously not true). so it seems l’ll have to fiddle with it some more to make the console work in Komodo.
If it’s not working correctly make sure you reach out to the developer of the add-on. If you’re able to fix it they will likely appreciate a pull request
cheers, Carey!
i’ve now reported a problem i had encountered with the sciviews-k to the developers. hopefully i’ll get a response soon – Komodo seems like a really nice editor (and more) and it’ll be great to get it running with R.