New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDLE won't run #62064
Comments
I am installing Python 3.31 on a Mac running OS 10.8.2 and have already installed ActiveTCL 8.5.13. When I try and launch IDLE, the icon appears on the dock for a second and then disappears and the application doesn't run. I have already installed both Python and Active TCL in the same way on two other Macs and it has run just fine, so I don't know why it's not running on this one. Is there anything specific that would cause this to happen? Thanks, |
How are you trying to launch IDLE? Also, use the Console.app (in /Applications/Utilites) to examine system.log to see if there are any error messages produced there when you attempt to launch IDLE. |
Hi there, I'm launching IDLE from Applications in Finder (double clicking the application file). I've tried doing this while Console is open and the response is: 28/04/2013 21:17:19.271 Dock[167]: no information back from LS about running process Thanks, Ben
|
OK, assuming you are using a default install of Python 3.3.1, try opening a terminal window (Terminal.app) and launching IDLE from there by typing: /usr/local/bin/python3.3 -c 'import sys;print(sys.version)' and report what messages you see there. Also, are there any other messages with "com.apple.launchd.peruser" or "org.python.IDLE" immediately before that one? You can use Console.app to see if there are any relevant crash reports under User Diagnostic Reports. You could use Activity Monitor.app to see if there is already an IDLE or Python process running. If you can, try logging -out and -in and/or rebooting. And which Python 3.3.1 did you install: from the python.org 3.3.1 64-bit/32-bit installer, from the python.org 3.3.1 32-bit-only installer, or from somewhere else? |
In response to the first command: 3.3.1 (v3.3.1:d9893d13c628, Apr 6 2013, 11:07:11) …and the second command: Warning: unable to create user config directory I've checked console and activity monitor and cannot see any further reference to IDLE. The message I sent previously was the only one shown in 'All Messages' after a marker I added to know where to start from. I downloaded Python 3.31 from the official site and selected the 64bit version. I ran the ActiveTCL 8.5.13 download first. Thanks, Ben On 28 Apr 2013, at 21:59, Ned Deily <report@bugs.python.org> wrote:
|
That's really odd. It looks you have a permissions problem with your home directory. On startup, IDLE attempts to create the directory .idlerc in your home directory, /Users/ben, if it doesn't exist already. If for some reason the directory creation fails, IDLE aborts. Interestingly, if the directory exists but IDLE lacks write permission to create files in it, it does not abort but posts a warning message in a window. Perhaps it could be a little more consistent about that. But still, this appears to be avery unusual situation. I can't think of any reason why IDLE would be unable to create a directory unless you have some security system installed or some unusual access control list setting. The most likely reason is just a plain old permission problem on your home directory. Try this in a terminal session: cd ~ You should see something similar to this: if the permissions string is missing the "w" ("dr-xr-x"), that means you do not have write permission to your home directory and can't create new directories there. In that case, mkdir ~/.idlerc should fail. (This is essentially what IDLE is trying to do.) If you are missing write permission on your home directory, you *should* be able to fix it by doing: chmod u+w ~ |
I've tried this and it looks like write access is already enabled, but I entered the commands you listed all the same - here's the output: Bens-iMac:~ ben$ cd On 28 Apr 2013, at 23:43, Ned Deily <report@bugs.python.org> wrote:
|
The "ls" shows that, for some reason, your home directory is owned by user "temp", not by user "ben". That's not good. Try doing this: sudo chown ben /Users/ben/ But we're way past an IDLE or Python problem here. This is a basic Unix system administration issue. |
This looks like a duplicate of bpo-8231. |
Ah, yes, it is a duplicate, thanks. Let's move any further discussion to bpo-8231. |
Good news - ran the sudo command, entered the password but I could still not make the directory, but I could within Finder - this time without a password. Tried the IDLE application again and it now works. Thank you once again for your help in resolving this. Regards, Ben Begin forwarded message:
|
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: