Skip to content
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

python: IDLE crashes when dragging files onto dock icon #12068

Closed
4 of 5 tasks
agentirons opened this issue Apr 4, 2017 · 4 comments
Closed
4 of 5 tasks

python: IDLE crashes when dragging files onto dock icon #12068

agentirons opened this issue Apr 4, 2017 · 4 comments
Labels
python Python use is a significant feature of the PR or issue stale No recent activity

Comments

@agentirons
Copy link

agentirons commented Apr 4, 2017

Please always follow these steps:

  • Confirmed this is a problem with only one, specific formula and not Homebrew/brew? If it's a general Homebrew/brew problem please file this issue at https://github.com/Homebrew/brew/issues/new
  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • Ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?
    https://gist.github.com/ec46d0b33a1cc6ccf07d968c367c2ce7
  • If brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?

To help us debug your issue please explain:

  • What you were trying to do (and why)
    When IDLE is already open, I would like to open a .py file by dragging it onto IDLE's dock icon.

  • What happened (include command output)
    IDLE crashes immediately. I can open as many files as I want using the File->Open... menu command, and if IDLE is not already open then I can open a single file by dragging it onto my dock icon, but any more files dragged on will crash IDLE. I am running OSX 10.11.6, and have reproduced this behavior on two different computers (one Hackintosh, one real). The same problem occurs with python3 and IDLE3.

I can confirm that after removing all brew packages, installing ActiveTcl8.5.18.0, and installing Python 2.7.13 from the official OS X installer package, this issue is not present - I can drag as many files onto the IDLE dock icon as I like, no trouble.

  • What you expected to happen
    I expected to be able to open any .py files by dragging them onto IDLE's dock icon.

  • Step-by-step reproduction instructions (by running brew install commands)
    (Starting from a completely fresh installation of brew)
    $ brew install tcl-tk
    $ brew install python --with-tcl-tk
    $ idle
    Attempt to drag a file onto IDLE's dock icon.

Please note we may immediately close your issue without comment if you do not fill out the issue template and provide ALL the requested information.

New Formulae

To get a new formula into Homebrew please file a Pull Request.

@dunn dunn added the python Python use is a significant feature of the PR or issue label Apr 11, 2017
@dunn
Copy link
Contributor

dunn commented Apr 11, 2017

cc @tdsmith

@tdsmith
Copy link
Contributor

tdsmith commented Apr 11, 2017

Thanks for the message; sorry you're having trouble. Can you get a traceback or a crash dump? I don't see an obvious way to troubleshoot this without knowing way more about IDLE; it's possible you could get a more helpful response on python-list.

@tdsmith tdsmith added the needs response Needs a response from the issue/PR author label Apr 11, 2017
@agentirons
Copy link
Author

agentirons commented Apr 13, 2017

Sorry for the delay, I had to get another computer up and running with this setup to get a crashlog, but it is attached.

I also noticed in the process that python installed by itself through homebrew, using Apple's tcl-tk, doesn't exhibit this behavior. It is in fact only a problem when the brewed python and tcl-tk are used together. I also found that it's not just the drag-and-drop operation that causes the crash, it will also crash from double-clicking files to open when .py files have IDLE as their default application.

idle_crashlog.txt

@BrewTestBot BrewTestBot removed the needs response Needs a response from the issue/PR author label Apr 13, 2017
@stale stale bot added the stale No recent activity label May 6, 2017
@stale
Copy link

stale bot commented May 6, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot closed this as completed May 13, 2017
@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
python Python use is a significant feature of the PR or issue stale No recent activity
Projects
None yet
Development

No branches or pull requests

4 participants