Cleaned everything out. Restarted…no errors. Redid the procedure…no errors. Restarted, no PySide API.
@nathanr - Just an update, one of the guys at the Foundry helped me get code completion to work by giving me core libraries used by modo dumped to a dummy package as stub files. I place those in a PySide directory into this directory:
C:\Program Files (x86)\ActiveState Komodo Edit 9\lib\python\Lib\
and then set that path as an additional import directory for Python in Komodo.
It worked beautifully…sometimes. It will randomly stop doing ANY autocompletion. and the only way to get it back is to restart. Not sure what is going on, but I wanted to update you on it.
Could you add that info to the github issue?
Note you should not be modifying any files inside the Komodo application directory. You can place those library files anywhere on your system and point Komodo to them, they do not need to be inside of the app directory.
For the cix file, could you see if it works with Komodo IDE?
Could you add that info to the github issue?
Is there an issue opened for this? I never opened one myself. If there is do you have a link?
Note you should not be modifying any files inside the Komodo application directory. You can place those library files anywhere on your system and point Komodo to them, they do not need to be inside of the app directory.
This was the place I was recommended to put it. I moved it to a custom location outside of the Komodo directory structure and it still working…intermittently. I can’t really tell what’s causing the auto-completion to stop working. After a while it just stops.
For the cix file, could you see if it works with Komodo IDE?
I downloaded IDE and tried it but it’s still not working.
I figured you did when I asked you to. Please file one. I’m asking you rather than doing it myself because when I do it myself you will not be receiving updates.
By who?
That’s odd, considering it worked for Mitchell. Are you following his steps to the letter or is there something different about your setup?
I figured you did when I asked you to. Please file one. I’m asking you rather than doing it myself because when I do it myself you will not be receiving updates.
Sorry about that, it did slip my mind. I went ahead and made one.
By who?
One of the developers from the Foundry who works on Modo. I was talking to them about code completion for Modo and brought up PySide. He’s the one who made the PySide file dump for me.
That’s odd, considering it worked for Mitchell. Are you following his steps to the letter or is there something different about your setup?
Yup, I followed the steps you posted above. The file gets placed in the apicatalog directory. But still nothing when I restart.
It’s very kind of him to help, but as he is not a Komodo developer and I am I think you should take my word over his …
Could it be that the Python version you use has something to do with it? Have you tried both Python and Python 3?
It’s very kind of him to help, but as he is not a Komodo developer and I am I think you should take my word over his … wink
Nathan, I’d be happy to take your word and help. But I’m in a production environment and I have to use every available resource that I can to get my work done in a timely manner. For now I have the Modo PySide dump in a custom location with Komodo pointing to it as an additional Python import directory. It does the trick but it is very unstable in that it seems to break autocompletion as a whole from time to time. If we can find a more official solution to this then I will definitely use that solution. But for the time being, I need to make use of this hack. But I’ll work with you as much as I can to get this resolved.
Could it be that the Python version you use has something to do with it? Have you tried both Python and Python 3?
I thought of this a while ago and did a full reinstall of Python on my machine. I can only use Python 2.7 due to it being standard in most CG software that we use. The only thing I can think of is to wipe all of my preference files and do a fresh install of Komodo. I’m kind of loath to do that though because I have a lot of customizations. But if we can’t get this solved I might take a shot at doing that.
You already said it works the same when putting it outside your app directory, so there is no reason to put it in your app directory and every reason not to. I don’t personally care whether you do so or not, it’s just a heads up. I will note that your trying to interpret what is being suggested to you and taking a spin on the suggestion does make room for human-error, and would suggest that at least for purposes of figuring out the problem you follow our suggestions to the letter, then once you know something works you can try to give it a spin of your own.
You can actually run Komodo with “temporary” settings, kinda like running your OS in safe mode. Try this: http://beta.docs.komodoide.com/Troubleshooting/How-do-I-Start-Komodo-with-Default-Settings
I actually just went and installed Komodo Edit 9.2 on one of my artists machine and tried installing the .cix file. I get the same result as on mine unfortunately. I actually have a whole render farm of machines I can try this on. So any suggestions you have I’d be happy to try in a fresh environment.
Try using a clean profile like explained in the link above.
Done. Same result as before.
I had no issue adding the cix file and getting completions for PySide. The only oddity was having to restart Komodo which @mitchell already mentioned is needed: PySide Code completion
I followed his steps exactly and it worked fine. This was on Windows 7.
- Carey
Well, as I mentioned to Mitchell in the bug I submitted I’m at a loss. I’ve tried half a dozen different machines (mac and windows) and I get the same result. The steps are pretty straightforward so I can’t imagine I’m missing anything. But if you guys are at a loss as well then I’m not sure what else can be done. It’s just that this is so weird that it’s working fine for you but not for us. There has to be something that is different, I just can’t think of what it would be.
Thanks for trying though, it’s appreciated.
This thread is really long and I gotta go to the dentist soon but I have a couple things just incase you haven’t tried the:
-
Follow the steps with a clean profile: http://beta.docs.komodoide.com/Troubleshooting/How-do-I-Start-Komodo-with-Default-Settings
-
Make sure that Komodo isn’t still scanning your code to build the database. You can check View > Tabs & Sidebars > Notifications and see if there is any mention of code intel scanning still. NO code intel will work if that’s the case. This is especially important if you do the above step of resetting your profile. Komodo has to rescan EVERYTHING, not just the one library. That can take a few minutes.
-
Re-install. Pretty sure I saw defman mention that already though.
-
Carey
Also, make sure you try the clean profile trick with the IDE version. It seems you did most of your tests on Edit and only once tried IDE.
Nope, I didn’t.
Yesterday I ran a bunch of tests on a handful of our farm machines. For the tests I was installing IDE.