Komodo is driving me nuts! I am running ElementaryOS (Ubuntu based disto).
I have a file named /home/www/test.php and I can open it with any other editor on the system, but Komodo tells me:
The file ‘/www/test.php’ does not exist. Do you want to create it?
(Please notice that /home/ is missing in the error message).
Does anyone have any ideas? I am very close to give up on Komodo and change to a paid version of PhpStorm instead.
I really started to like Komodo so I hope it is a fix that can be done here.
As I can see - /home/www is a folder for your web-site. In most cases you can simply run chown -R <your_account_name>:www-data /home/www/ and it’s should solve the problem. But first you should follow Nathan’s tips and run commands which he asked to run and post output.
nick@nick-nb:/home$ ls -ahl
total 32K
drwxr-xr-x 5 root root 4.0K Jan 27 19:55 .
drwxr-xr-x 28 root root 4.0K Jan 27 21:57 ..
drwx------ 2 root root 16K Dec 21 2013 lost+found
drwxr-xr-x 46 nick nick 4.0K Jan 28 07:26 nick
drwxrwxr-x 3 nick www-data 4.0K Jan 28 07:27 www
ls -ahl of /home/www/
nick@nick-nb:/home/www$ ls -ahl
total 16K
drwxrwxr-x 3 nick www-data 4.0K Jan 28 07:27 .
drwxr-xr-x 5 root root 4.0K Jan 27 19:55 ..
drwxrwxr-x 3 nick www-data 4.0K Jan 27 20:24 minpt.net
-rwxrwxr-x 1 nick nick 558 Jan 27 17:37 test.php
If I open Komodo Edit and “Open / Fast Open” and then enter the path manually then it all works.
But if I open by doubleclicking in my file manager it does not.
I use Pantheon Files that is included in Elementary OS. I set up the file association by right clicking on a PHP file then “Open with…” and then choose Komodo Edit in “Show more applications…” (or similar).
Anyone that has any idea to why this is happening? There is no obvious reason for it to do so. Any other text editor works so it must be directly related to Komodo Edit.
Just double-click on any PHP file in my home folder - works fine.
Opening by Right click - Open With - Other Application - Komodo IDE 9 - works fine.
Opening ANY FILE in /home/www/ - same bug! (to be clarify: it’s can’t be a symlinked folder because I created it manually through terminal). So it looks like a bug with Pantheon file manager (because I can open any files from the terminal in /home/www/ folder via k <filename> (k is a symlink to the binary file of Komodo and placed in /usr/bin/)). Or maybe something with Komodo.
Opened /test.php (which placed in root folder as you asked) from Pantheon - works fine. ls -ahl /test.php output: -rwxrwxrwx 1 defman webdev 0 Jan 29 21:39 test.php
I am “glad” to see that you +Defman gets the same issue. This means it is not an “issue behind the buttons”.
I hope the Komodo team will resolve the issue at the soonest. While I am able to open the files by using the quick open, and once I have opened them once I can reopen files from last opened ones, so I will survive for now. But it’s rather annoying though
Some things I do to get the bug and solve it.
Whatever, the Komodo devs probably knows how to fix it. Check out our IRC channel: #komodo and the IRC log