Cannot open files in Komodo Edit (Linux / ElementaryOS)

So it means that this bug is very specific to some people.
You can apply the patch by toddw but I don’t know how to. (I never used and never applied patches in Linux)
And just to be sure: please follow these steps:

  1. Close Komodo
  2. Open a file in /home/www/ by double-click on it
  3. Run in the terminal: (ps -C komodo -o cmd=)
  4. Post output here

Steps apply the patch:

cd path_to_komodo_install/lib/mozilla/python/komodo

wget -O urilib.patch https://bugs.activestate.com/attachment.cgi?id=17926

patch -p3 < urilib.patch

# restart komodo
1 Like
defman@defman:~/Komodo-IDE-9/lib/mozilla/python/komodo$ patch -p3 < urilib.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/views/URIlib.p.py b/src/views/URIlib.p.py
|index 4cf96cd..ff353b6 100644
|--- a/src/views/URIlib.p.py
|+++ b/src/views/URIlib.p.py
--------------------------
File to patch: 

Or I should patch the installer? (not installed Komodo)

Rename URIlib.p.py to URIlib.py in the patch file.

The patch is meant to be ran on the Komodo source, not the build files. But in theory it should work by following Todd’s steps and renaming the filename in the patch file.

Patch also contains ‘/test/test_URIlib.py’ but this file not exist

Yes, you can ignore the test file (it’s not in the installed image).

I made a “quick fix” myself that currently works on my system until this has been fixed.

I made a symlink:

nick@nick-nb:/$ sudo ln -s /home/www/ /www

This symbolic link allows Komodo to function by doubleclicking on the files from the Pantheon browser.

Is this bug also affecting Komodo IDE? Reason I’m asking is because I just bought the IDE yesterday as I really enjoyed the Edit version and wanted to support (as well as getting hold of all extra features of the IDE).

Yes of course. But it’s solved.
https://bugs.activestate.com/show_bug.cgi?id=106180

Note this does not affect everyone, only a small percentage of users will be affected by this bug in very specific use-cases.