osx-yosemite

Homebrew “brew install mysql” giving “…Error while setting value '127.0.0.1' to 'server_id'”

橙三吉。 提交于 2019-12-24 11:49:14
问题 I recently upgraded my system to OS X Yosemite and started encountering some issues to connect locally to my Database via MySQL Workbench. It was mainly classic ones about the PID files and socket, that I managed to find solutions for looking over the web. However one was remaining : "Can't connect to MySQL server on '127.0.0.1' (61) (2003)", and none of the solutions I found on the MySQL website, stackoverflow and other forums were working. I therefore decided to reinstall MySQL using the

ImportError: No module named _scproxy

本秂侑毒 提交于 2019-12-24 11:27:42
问题 I tried to make Sage from the source but I failed. It seems that the library _scproxy is missing on Yosemite. I haven't found a very helpful aid here on SO and everywhere on the net. If someone can help me. Here is the log : Found local metadata for setuptools-12.4 Found local sources at /Users/sam/Downloads/sage-6.7/upstream/setuptools-12.4.tar.gz Checksum: 427e916ad99a704af54b7aa3124bd52d4ebf04d3 vs 427e916ad99a704af54b7aa3124bd52d4ebf04d3 setuptools-12.4 ===================================

Textured NSWindow with setBackgroundColor has a tinged grey background

五迷三道 提交于 2019-12-24 08:22:41
问题 Basically I want to make a simple about window that has a unified title bar and window (i.e textured) and a white background, like Xcode's about window: So I have a textured window in IB and I have it connected to my app delegate via bindings. I then add this line of code to the app delegate: [about setBackgroundColor:[NSColor whiteColor]]; Whilst for other colours like red and blue the window seems to change colour fine, but whenever I use [NSColor whiteColor] the window looks nowhere near

Python: How Can I Render HTML Code And Show The Result To The User?

余生长醉 提交于 2019-12-24 03:14:23
问题 I'm building a python app that should get a certain HTML code, render it and display the result to the user in a tkinter gui. How can I do that? I would prefer having some built-in module, or some module which I can use easy_install to get. Thanks for any advance. (I'm using OSX Yosemite with python 2.7) 回答1: I've managed to render simple html tags using tkhtml just pip3 install tkinterhtml and, from the package example: from tkinterhtml import HtmlFrame frame = HtmlFrame(root, horizontal

Install JDK 1.5 in OSX 10.10

淺唱寂寞╮ 提交于 2019-12-24 02:18:57
问题 I'm using Mac OS X 10.10 (Yosemite), i have to use JDK 1.5 for legacy application development. I'm having troubles when installing JDK 1.5. I'm able to find the 1.5.dmg (http://support.apple.com/downloads/DL1359/en_US/JavaForMacOSX10.5Update10.dmg), unfortunately this can't be installed in Yosemite. Does anyone know how should i install JDK 1.5 in OS X 10.10 (Yosemite)? 回答1: I would recommend using Homebrew. After installing it do the following: brew tap caskroom/versions See which versions

can't install or-tools on mac 10.10

走远了吗. 提交于 2019-12-24 01:53:35
问题 I'm trying to install Google's or-tools on mac 10.10 - https://code.google.com/p/or-tools/wiki/OrToolsWithPyPi . I install using python2.7 setup.py install --user (tried also with sudo and without --user) but get the following when it goes to pypi to download the package: .. Some other output .. Installed /Users/Zach/Library/Python/2.7/lib/python/site-packages/ortools_examples-1.3549-py2.7.egg Processing dependencies for ortools-examples==1.3549 Searching for ortools Reading https://pypi

Issue when importing matplotlib

半腔热情 提交于 2019-12-24 01:47:14
问题 I've setted up a virtual enviroment for playing around with machine learning using pyenv . When i run import matplotlib.pyplot as plt this i what i get: ImportError Traceback (most recent call last) <ipython-input-1-eff513f636fd> in <module>() ----> 1 import matplotlib.pyplot as plt /usr/local/var/pyenv/versions/2.7.11/envs/machine_learning/lib/python2.7/site-packages/matplotlib/pyplot.py in <module>() 27 from cycler import cycler 28 import matplotlib ---> 29 import matplotlib.colorbar 30

How to force Mail to use Mail Drop on attachment smaller than 20MB [closed]

∥☆過路亽.° 提交于 2019-12-23 22:27:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . The recipient of an email message I composed has a maximum message size of 10MB. I am trying to send an attachment that is 15MB. Mail on Yosemite does not use Mail Drop unless the message is about 20MB or more. The message is being returned by the receiver's mail system because the message is 15MB and it exceeds

Swift NSUserNotification doesn't show while app is active

我是研究僧i 提交于 2019-12-23 20:42:00
问题 I am new to OSX development and I am making an app which fires a notification when something happens. But it isn't showing the notification when the app is the key app, as it is the default behavior. I want to show them even when the app IS the key app. However I only found solutions to this matter that were written in objective-c but right now I am working with Swift. I was wondering how I could I implement it with Swift. 回答1: To ensure the notifications are always shown you'll need to set a

Unity 5 crashes under Mac OSX Yosemite

Deadly 提交于 2019-12-23 20:14:41
问题 Did someone have this problem for Mac OSX Yosemite. Project size is over 250Mb after build. Computer params: MacBook 13 i7 CPU, 16Gb RAM, 1,5GB GPU EDIT: The full crash log from Mac OSX Screenshot of some crash log: The full crash log from Mac OSX 来源: https://stackoverflow.com/questions/30145042/unity-5-crashes-under-mac-osx-yosemite