Global Moderator
|
Did you install the Python 2 or the Python 3 version of the plugin? I'll have a look if I can reproduce this then.
I'm working on the KDevelop IDE.
|
Registered Member
|
Hi,
I have installed kdev-python version 1.6.1-py3. Kind regards, Michael |
Global Moderator
|
Thanks for the report, this was actually broken for python 3 -- it was still using the old print syntax. I fixed it now, you can either build the 1.6-py3 branch of kdev-python from sources or wait for the next bugfix release (1.6.2).
Greetings!
I'm working on the KDevelop IDE.
|
Registered Member
|
Hi,
I have tried it. Now it works like a charm;) Thank you Michael |
Registered Member
|
This plugin works perfectly for me!
After having tested different Python ide, it has made Kdevelop my principal IDE I've got a question about the plugin. Would it be possible to use like a Python interpreter (to quickly check some code like in IDLE)? I've tried some code like ( coding a Python interpreter inside a Python program) :
But apparently I can put no input. I've read about using the option of 'using an external Terminal' but I don't know which option put inside it https://stackoverflow.com/questions/121 ... n-kdevelop |
Global Moderator
|
The KDevelop output view is only an output view and does not support input. "Use external terminal" only works for the "Native application" (called "Compiled binary" in newer versions) launcher, which you can use as well for python if you want (just put python as the executable and your script path as the argument).
I personally would recommend using the terminal tool view for such purposes. It has a shortcut to focus/close/open it, and pressing that and up arrow + enter isn't really much worse than pressing your launch shortcut in this case. Greetings!
I'm working on the KDevelop IDE.
|
Registered Member
|
Thanks a lot for your reply!
Sorry to ask for precision but where is the "terminal tool view" in Kdevelop? |
Global Moderator
|
There should be a button in the bottom toolbar:
http://i.imgur.com/3E8VfuG.png Maybe you need to add it through the right-click menu. Since you're not using Plasma as your desktop, another possibility is that you don't have "konsole" installed, which is required for the toolview to work. Greetings!
I'm working on the KDevelop IDE.
|
Registered Member
|
Hello,
I compile the module but I can't seem to have it in the external module list. I work on Fedora 20 with Kdevelop 4.7 and I don't really remember which version of the plugin I installed and I can't find this information anywhere in the folder. When I try to run :
So I don't really know what to do. Any help on this would be appreciated =) |
Global Moderator
|
You have to do export KDEDIRS=$KDEDIRS:/usr/local, otherwise the change is just for the shell you're currently running, not its child-processes. Hope that helps.
I'm working on the KDevelop IDE.
|
Registered Member
|
Hello again,
Ok I did the export. Now when I start Kdevelop I have a huge crash .
I think it's the interesing part with the actual bug. I'm running Kdevelop 4.7. [EDIT] NEVERMIND, I just needed to restart the project ! =) Thanks a lot What would be the best way to have the export on every start of kdevelop ? :S |
Global Moderator
|
You can have a shell script, or put it in your .bashrc or so. To be honest, I'm not sure if there's an official, proper way -- if you find it, let us know
I'm working on the KDevelop IDE.
|
Administrator
|
There is no official way as such. The most reliable way is to place an executable *.sh file in $KDEHOME/env/ containing the export statement in question as startkde will always include that (assuming you use a Plasma Workspace).
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]