osx-mavericks

Install Calabash-cucumber error on OS X Mavericks

删除回忆录丶 提交于 2019-12-08 08:24:37
问题 I am trying to install calabash on OS-x mavericks for automation by refering to the link: (https://github.com/calabash/calabash-ios) I have installed latest version of ruby, homebrew, rbenv. Please note that command homebrew doctor is giving me one warning only: Warning: Xcode is installed to a directory with a space in the name. This will cause some formulae to fail to build. I was not able to remove this warning. Also some forum suggested that this may be harmless. after struggling with

mavericks intellij scala not configuring properly

百般思念 提交于 2019-12-08 04:30:23
问题 I followed this link http://austindw.com/blog/programming/running-intellij-jdk-1-7-scala-2-10-mac-os-x-10-9-mavericks to configure scala in intellij but it says docs are not found. any ideas why? UPDATE: I have checked the directory structure looks like the scala docs is inside doc folder, here is the pic but still it cant find it. UPDATE: I copied the files and folders from another api directory but still the same result, intellij couldnt find it. Here is the image: 回答1: When this happened

Can't install a ruby version with rbenv on new Macbook Air mac osx 10.9.4

笑着哭i 提交于 2019-12-08 04:18:06
问题 I bought a new Macbook Air (July 2014) and I'm trying to restore some projects builts with Rails. The only actual Ruby is the System one. My config: OSX 10.9.4 Cxode installed : xcode-select version 2333. Homebrew 0.9.5 rbenv 0.4.0 ruby-build 20140702 The errors: My Stack trace when I try to install the last ruby (2.1.2): rbenv install 2.1.2 Downloading ruby-2.1.2.tar.gz... -> http://dqw8nmjcqpjn7.cloudfront.net/f22a6447811a81f3c808d1c2a5ce3b5f5f0955c68c9a749182feb425589e6635 Installing ruby

mavericks intellij scala not configuring properly

十年热恋 提交于 2019-12-08 03:59:29
I followed this link http://austindw.com/blog/programming/running-intellij-jdk-1-7-scala-2-10-mac-os-x-10-9-mavericks to configure scala in intellij but it says docs are not found. any ideas why? UPDATE: I have checked the directory structure looks like the scala docs is inside doc folder, here is the pic but still it cant find it. UPDATE: I copied the files and folders from another api directory but still the same result, intellij couldnt find it. Here is the image: When this happened to me it was because the docs were indeed missing. Look inside /usr/local/opt/scala/idea/doc -- is there a

How to paste programmatically on OS X?

穿精又带淫゛_ 提交于 2019-12-08 03:32:50
问题 I have access to the general NSPasteboard . I wrote to the pasteboard my NSData . NSPasteboard *pboard = [NSPasteboard generalPasteboard]; [pboard clearContents]; [pboard setData:newContent forType:type]; Now I want to paste programmatically . The text cursor is blinking on the correct position in another app . Hitting ⌘ + V works. Somebody know how? Maybe how to paste with calling the shortcut programmatically? 回答1: If you want to perform the paste action in your own app, then you can use

Java Applet sandboxed in Safari?

倖福魔咒の 提交于 2019-12-07 20:15:05
问题 Ever since upgrading to Mavericks an Applet we have at work has stopped being able to browse for files if used from Safari, still works on Firefox. The Applet handles upload of files so you can imagine how that might be a problem. When using it from Safari I see the following messages on the OSX console. 11/5/13 10:27:46.000 AM kernel[0]: Sandbox: java(87926) deny file-read-data /Users/username Is there some way to fix this or will Applets just not be able to browse the file system on Safari

Solving a difficult compilation issue

六月ゝ 毕业季﹏ 提交于 2019-12-07 18:33:41
问题 Good day, First up, I have a mac running Mavericks, and I am attempting to build PCL (Point Cloud Library) as part of ROS. This is the command that fails: cd /Users/X/ros_catkin_ws/build_isolated/pcl_ros && /Users/X/ros_catkin_ws/install_isolated/env.sh cmake -vd /Users/X/ros_catkin_ws/src/perception_pcl/pcl_ros -DCATKIN_DEVEL_PREFIX=/Users/X/ros_catkin_ws/devel_isolated/pcl_ros -DCMAKE_INSTALL_PREFIX=/Users/X/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release With: CMake Error at /usr

PNG display in PIL broken on OS X Mavericks?

别等时光非礼了梦想. 提交于 2019-12-07 15:53:34
问题 I've noticed that PNG images aren't displaying in Tkinter apps using ImageTk.PhotoImage in OS X Mavericks. But, GIFs and JPEGs display fine. There's no error printed or exception thrown and debugging the code shows the image is read and has the correct height & width. Here's a simplified example: import Tkinter from PIL import Image, ImageTk logo_file = 'test.png' #logo_file = 'test.gif' class Application(Tkinter.Frame): def __init__(self, master): Tkinter.Frame.__init__(self, master) self

_tkinter.TclError: no display name and no $DISPLAY environment variable for new OS X Mavericks

青春壹個敷衍的年華 提交于 2019-12-07 13:04:48
问题 This is my first post so please be forgiving. I am trying to create an animation using matplotlib, and I could do this perfectly well until a few days ago, until I upgraded to OS X Mavericks, upon which all hell broke loose. Note, the below code worked in OS X Lion. Suddenly I was getting an error message whilst trying to run this code in Mavericks: import numpy as np import matplotlib matplotlib.use('TkAgg') import matplotlib.pyplot as plt import matplotlib.animation as animation import

library not found for -lbundle1.o when installing python packages (ffnet, spacepy) on my mac

青春壹個敷衍的年華 提交于 2019-12-07 07:00:02
问题 I have the anaconda python distribution installed on my mac (10.9). I'm trying to install the ffnet package and the SpacePy package, but having trouble in doing so. Here is the error I get when doing sudo easy_install ffnet : ld: library not found for -lbundle1.o collect2: erreur: ld a retourné 1 code d'état d'exécution ld: library not found for -lbundle1.o collect2: erreur: ld a retourné 1 code d'état d'exécution error: Setup script exited with error: Command "/usr/local/bin/gfortran -Wall