|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Help needed for using IDLE under Ubuntu 8.04Hi,
I'm totally a beginner of python. I met some strange problem on using IDLE. Python version is 2.5.2 IDLE version is 1.2.2 Ubuntu version: 8.04 All works fine except function invoking. Say, the basic help() function, if I type in help(dir) and hit RETURN, nothing happens, and the keyboard seems to be locked inside IDLE. I mean no matter what I type afterwards, it looks like I typed nothing. The pointer keeps flickering and IDLE just refuses to accept any further keyboard input. The keyboard still functions well outside IDLE. To see the feedback of help(dir), I have to invoke File->Print Window (Yes the mouse still works fine inside IDLE), then I see the pointer moves to the beginning of the next line, and now if I hit RETURN again, it prints out the help info for "dir", and then my keyboard seems alive inside IDLE again! Python interactive session works OK as expected. It seems that only IDLE doesn't like RETURN to be hit after the tailing "()" of functions. I've tried several different function calls, same issue happens every time I hit RETURN after typing in the function call (like "somefunction(whatever)"). I've tried IDLE under Windows too, works fine. Ubuntu is main OS for me to work on, and I don't want to switch to Windows for such a reason. I've tried reinstalling IDLE with no luck. I also tried asking for help in Ubuntu community like ubuntuforums.org, but all I get is suggestions of trying out other python compatible IDEs insted of how to solve the problem. And I get no confirm about the issue. So I don't even know if it is some problem happens to me only. Really strange, isn't it? Or am I missing something? Please help. I'd really like to use IDLE as python IDE as I thought it should be more native to python! -- Sincerely, 叶 峰|Crow Yeh(Ye Feng) _______________________________________________ IDLE-dev mailing list IDLE-dev@... http://mail.python.org/mailman/listinfo/idle-dev |
|
|
Re: Help needed for using IDLE under Ubuntu 8.04I'm also running Ubuntu 8 with Python 2.5, and I don't see any of the
misbehavior that you see. However, it's possible that I don't understand your comment, "Python interactive session works OK as expected. It seems that only IDLE doesn't like RETURN to be hit after the tailing "()" of functions." First you say it works OK, then you say it doesn't work OK. I have no idea what's wrong on your machine, but in the IDLE shell window I can definitely execute the function calls that you are unable to execute. Bruce Sherwood 叶 峰|Crow Yeh(Ye Feng) wrote: > Hi, > > I'm totally a beginner of python. I met some strange problem on using IDLE. > > Python version is 2.5.2 > IDLE version is 1.2.2 > Ubuntu version: 8.04 > > All works fine except function invoking. > Say, the basic help() function, if I type in help(dir) and hit RETURN, > nothing happens, and the keyboard seems to be locked inside IDLE. I mean > no matter what I type afterwards, it looks like I typed nothing. The > pointer keeps flickering and IDLE just refuses to accept any further > keyboard input. The keyboard still functions well outside IDLE. > To see the feedback of help(dir), I have to invoke File->Print Window > (Yes the mouse still works fine inside IDLE), then I see the pointer > moves to the beginning of the next line, and now if I hit RETURN again, > it prints out the help info for "dir", and then my keyboard seems alive > inside IDLE again! > > Python interactive session works OK as expected. It seems that only IDLE > doesn't like RETURN to be hit after the tailing "()" of functions. I've > tried several different function calls, same issue happens every time I > hit RETURN after typing in the function call (like > "somefunction(whatever)"). > > I've tried IDLE under Windows too, works fine. Ubuntu is main OS for me > to work on, and I don't want to switch to Windows for such a reason. > I've tried reinstalling IDLE with no luck. I also tried asking for help > in Ubuntu community like ubuntuforums.org, but all I get is suggestions > of trying out other python compatible IDEs insted of how to solve the > problem. And I get no confirm about the issue. So I don't even know if > it is some problem happens to me only. > > Really strange, isn't it? Or am I missing something? > > Please help. I'd really like to use IDLE as python IDE as I thought it > should be more native to python! > > IDLE-dev mailing list IDLE-dev@... http://mail.python.org/mailman/listinfo/idle-dev |
|
|
Re: Help needed for using IDLE under Ubuntu 8.04Let me explain that a little more. By "interactive session", I mean the session I get when I execute 'python' in a gnome shell. That works OK. I did not mean the one comes with IDLE, which is not OK. Some days later after the last email I reported this, I found that there is nothing to do with hitting RETURN after ")" in a function call and it was not the 'File->Print Window' gets my keyboard back. Actually, it seems that every time I finish typing the ")" of 'somefunction(whatever)', I mean in IDLE shell, I lose focus to the IDLE shell window. The window does looks like it is on focus, but keyboard seems focusing on something else (the indicator still blanking). Then all I have to do is to click anywhere on the IDLE menu bar or to just simply switch windows back and forth with ALT+TAB to re-focus on the IDLE window, and boom, I get the keyboard back. One more RETURN afterwards gets the 'somefunction(whatever)' finally called. And later on, if I type 'anotherfunction(with_or_without_arg)', as soon as I finish typing the ")", I lose my keyboard reaction from IDLE again! Really strange, isn't it?! Could it be a gnome problem? I've tried several other editors, and this is only happening to IDLE. I asked this strange question on some forums like ubuntuforums.org, by far I get no answer/solution but suggestions to use other python editors like Geany. As I said, I'm a beginner of Python and I think there must be some reason that IDLE comes with python on MS Windows. I'd really like to stick on IDLE to make it more 'native' way. So please, can some one help on this? If any other details are needed to help to address this problem, please drop me an email. Thanks! Sincerely, 叶 峰|Crow Yeh(Ye Feng) Bruce Sherwood wrote: I'm also running Ubuntu 8 with Python 2.5, and I don't see any of the misbehavior that you see. However, it's possible that I don't understand your comment, "Python interactive session works OK as expected. It seems that only IDLE doesn't like RETURN to be hit after the tailing "()" of functions." First you say it works OK, then you say it doesn't work OK. I have no idea what's wrong on your machine, but in the IDLE shell window I can definitely execute the function calls that you are unable to execute. Bruce Sherwood 叶 峰|Crow Yeh(Ye Feng) wrote: _______________________________________________ IDLE-dev mailing list IDLE-dev@... http://mail.python.org/mailman/listinfo/idle-dev |
|
|
Re: Help needed for using IDLE under Ubuntu 8.04got any clue yet? I encountered the same problem under Ubuntu 8.10, I think the problem is with the call tip, that is the small box poped up giving you a tip with regarding to the arguments expected when you type a function. The problem occur not only when you type the closing parenthesis, in fact, whatever you type, once the call tip box disappear, the problem arise.
Ubuntu: 8.10 Chinese Mainland Python: 2.6 IDLE: 2.6 TK:8.4 |
|
|
Re: Help needed for using IDLE under Ubuntu 8.04finally track down the problem, IDLE and scim-pinyin(A Input Method) coexist problem, still don't know how to deal with it..
|
|
|
Re: Help needed for using IDLE under Ubuntu 8.04I have exactly the same problem here. Isn't there any solution? (I'm running Ubuntu 8.10 x64 and Python 2.5.2) kay2008 wrote: > > got any clue yet? I encountered the same problem under Ubuntu 8.10, I > think the problem is with the call tip, that is the small box poped up > giving you a tip with regarding to the arguments expected when you type a > function. The problem occur not only when you type the closing > parenthesis, in fact, whatever you type, once the call tip box disappear, > the problem arise. > Ubuntu: 8.10 Chinese Mainland > Python: 2.6 > IDLE: 2.6 > TK:8.4 > -- View this message in context: http://www.nabble.com/Help-needed-for-using-IDLE-under-Ubuntu-8.04-tp17903673p22594675.html Sent from the Python - idle-dev mailing list archive at Nabble.com. _______________________________________________ IDLE-dev mailing list IDLE-dev@... http://mail.python.org/mailman/listinfo/idle-dev |
|
|
Re: Help needed for using IDLE under Ubuntu 8.04Same exact situation.
Ubuntu: 9.04 Python: 3.0.1 (also 2.6 installed) IDLE: 3.0.1 TK: 8.5
|
| Free embeddable forum powered by Nabble | Forum Help |