Open PencilNotPen opened 3 years ago
Same here, tried to switch between Light/Dark mode but nothing happened.
I just pushed a note to the FAQ about this:
It appears the default tk implementation that ships with macOS Monterey doesn't display correctly. A workaround is to download and install python from python.org (which has a compatible tk bundled), then use the
buildapp-select.command
located in ProperTree'sScripts
directory to build an application bundle targeting the installed python's path.
Seems Apple borked tk (again - it was also borked in the first few versions of Big Sur) - and the most straightforward workaround is to install python and build the ProperTree.app targeting that version.
-CorpNewt
Cheers, this works. Is it possible to remove the installed Python after building the app, or does ProperTree still rely on it once built?
I got the same thing when doing the MacOS Beta 12. Black Screen. Cannot toggle to light mode. I cannot seems to get it to run ProperTree. It indicates that the tk is deprecated. As stated here.
MBDisplay: creating data for display 0x43000001 (main) with bounds o=[0.000000, 0.000000], s=[1920.000000, 1080.000000] DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning. MBInstance: setting bounds for user menubar on display 0x43000001 (main) with bounds o=[0.000000, 0.000000], s=[1920.000000, 24.000000]
solutions
91
solutions
It works 12.0 Beta (21A5294g) (beta 4). Python 3.9.6 installed from site. Thanks
Go the same thing here again. And the same Black screen. With Monterey 12 Beta 5. The Developer need to update this python issues. With these Monterey Release. It says here ...
Python Deprecations If an app uses Python 2.7, macOS now triggers an alert indicating that the developer must update the app to ensure it will work in future versions of macOS. (80221011)
As mentioned in the FAQ, ProperTree works fine in Monterey with the python.org release of python 3 (direct link to 3.9.6 here - which comes bundled with tk). Do not use the experimental universal version - just the standard version. You then build the .app bundle using buildapp-select.command
within ProperTree's Scripts folder, and ensure you target the python.org installation. This has worked for myself, and many others through all of the Monterey betas, including the latest beta 5.
Relevant FAQ snippet:
ProperTree opens a black window on macOS Monterey (12.x)
It appears the default tk implementation that ships with macOS Monterey doesn't display correctly. A workaround is to download and install python from python.org (which has a compatible tk bundled), then use the
buildapp-select.command
located in ProperTree'sScripts
directory to build an application bundle targeting the installed python's path.
ProperTree's codebase works with both python 2 (including back-ported support for binary plists, unicode, ordered dicts, etc) and python 3, so there should be nothing that needs updating on that end. Many of these issues seem to be with local python environments, package managers, and Apple's broken tk implementation.
Below - you can see what I would need to select in my buildapp-select.command
after having installed Python 3.9.6 (the highlighted option is the python.org installation):
The results of selecting that option are pasted below (again with the proper python version highlighted):
This yields a ProperTree.app bundle in the same directory as ProperTree.command as shown:
Which can be double-clicked to run:
This process has worked for me through all of the Big Sur and Monterey betas:
At this point, I don't intend to go wildly out of my way to support package managers and non-standard python installations, but I'll leave issues open for those that have them and if tidy solutions are found, I'll update the FAQ as needed, but for the general user who does not require a specific (and conflicting) python env, the information already listed should be enough to get things working.
-CorpNewt
I'd like to add that Python with TK can be installed using brew
:
brew install python-tk
Thank you @corpnewt. Using the python3.9 installer linked above worked for me. Unfortunately attempting to install python using Homebrew did not - as Is suspect this install the universal version of python instead of the standard version.
I am having the same problem with git gui installed with MacPorts. I get the warning DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. I have not been able to figure out how to get git gui to use the MacPorts tk.
I'd like to add that Python with TK can be installed using
brew
:brew install python-tk
Thank you so much. With that, the script works fine again.
guys help plz im on arm MacBook with latest macOS update but I get this every time I run the code
This looks like your own code/script and has nothing to do with ProperTree. Please refrain from off topic conversation in the issue threads.
-CorpNewt
guys help plz im on arm MacBook with latest macOS update but I get this every time I run the code
This looks like your own code/script and has nothing to do with ProperTree. Please refrain from off topic conversation in the issue threads.
-CorpNewt
sorry but I was viewing another page and it redirected me to here but I see u have the same problem could u help please
Hi, I've installed macOS Monterey 12.0b1 on my hackintosh. Launching ProperTree to maintain my OpenCore installation on Monterey gives a black window, with no config.plist contents visible. The Preferences pane of ProperTree shows some options, but most are also black. Something seems to be wrong with displaying the ProperTree on this new OS.
Thanks!