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.
www a symlink by any chance?
Can you post the output of
ls -ahl /home/www and
ls -ahl /home/www/test.php?
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.
ls -ahl of /home/
nick@nick-nb:/home$ ls -ahl
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
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.
What file manager do you use? And how did you set up the file association? I’ll try to reproduce the issue on my end.
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.
Should I file a bug? If yes - where do I do that?
Hmm I can’t get Pantheon-Files installed. @toddw can you give it a try?
I can. (I using Elementary OS too)
Could you try opening from another directory that is 2 levels deep (from root) ?
/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
No I said 2 levels deep from root, eg
ls -ahl for
drwxrwxr-x 2 defman defman 4.0K Jan 29 21:45 .
drwxrwxrwx 3 defman webdev 4.0K Jan 29 21:45 ..
-rw-rw-r-- 1 defman defman 0 Jan 29 21:45 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
Can I make a quick fix for now to symlink /www/ to /home/www perhaps? I need to try that when I am home and in front of my Elementary box.
- I opened PF (Pantheon-Files)
- Created a folder through terminal
- Created a file through PF in the folder
- Tried to open it (got the bug)
- Re-opened PF and did 4 again
- Works fine now
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
I tried the same thing as you proposed here (I think):
- Opened PF
- Went to /home/www/ and created a folder “test” then chown to my local user:usergroup
- Created a file in new folder named test.php.
- Doubleclicked the file. Komodo started and gave me the error message.
- Left Komodo open, closed the PF window.
- Opened another PF window and tried doubleclicking again. Same error as before.
Did I missunderstand you?