Mindstorms: Installation of NXT2.0f3 patch for Mac OS X Lion 10.7.3 - osx-lion

Looking for installation help with NXT2.0f3 patch for mindstorms NXT 2.0 software on iMac w/ Lion 10.7.3. Base software installation from CD works fine (with some minor glitches once the NXT software is running that I can live with for now); however, applying the NXT2.0f3 patch (so-called Mac software fix downloaded from Lego) prevents NXT application startup. On application startup, I get an alert box with
"Error Code: 1003" stating that a required file is broken. The program then quits. No useful information (like a filename) there.
Mindstorms phone support wasn't helpful. Did reinstalls five times with different combinations of 32-bit and 64-bit mode OSX. Also tried installing driver package from CD to repair installation (after patch was applied), but no luck.
Has anyone got this working, or run into the same problem and have a solution?

Related

Mac OS Sierra install failure: The file couldn't be opened

While trying to perform a clean installation of MacOS Sierra on a Macbook Pro 2012 (8Gb ram, 250 SSD Crucial Driver and i5 processor) through the boot install option (cmd + r) from the web (Internet install, an this is needed as I just installed the new SSD) the operation always gets stuck at 2 minutes before finishing.
Left it the whole night and in the morning saw the message in the image of this post.
Booted in the new AFP2 filesystem format for the drive as required in the Sierra version. Created the partition and erased the disk without any problem.
Seems the installer is fail fast but not very descriptive, any help would be appreciated otherwise that Mac will likely be a deluxe "cup holder" :(
Thanks a million
sierra boot install failure picture
Solved it myself in the end, for anybody stuck on this in the future.
And the only way I found out to do it is to install the OS that came with the Macbook Pro (2010 Mountain Lion in my case) and then update but from the installed system rather than the boot repair util.
Restart the Macbook and right after you hear the sound hold the option key until you see the spinning globe icon.
Input the WiFi credentials to access the repair util (this is the original util that came with your mac not the one updated that only bounds to install High Sierra OS)
Now install your default OS.
After this, inside the default OS, go to app store and download the High Sierra installer and install from there. Installation seemed to go fine.
Loads of effort but at least does the trick,
Hope it helps.

cx_freeze on MAC 10.9 Python 2.7.6 (32/64 bit)

I have developed an app on a Window PC using Python and wxPython. For the several weeks I have been trying to migrate it to a MAC mini running 10.9, Python 2.7.6 (32/64 bit) using the Eclipse IDE with PyDev. I was NOT a MAC user prior to about three weeks ago when I purchased a used Mac mini and started working on it. Due to the fact that wxPython is a 32-bit library only I am running Python in 32-bit mode out of Eclipse - this has worked well until now I am ready to attempt and produce a stand alone app via cx_freeze and I am hitting a problem that cx_freeze is building the bundle using the 64-bit Python and it will not work with my 32-bit wx_Python library.
My question is what can I do at this point in time? Obviously, if I had been smart I would have installed the 32-bit ONLY version of Python 2.7.6 (hind sight you know), but I did not. I have gone through all the write to /Library/Preferences/com.apple.python.preference file and setting environment variables only to learn that that does not apply except to Apple installs. One solution would be to install the 32-bit ONLY Python - scared I will mess my current development environment up so that is why I am asking here for help. Also, there may be a setting in cx_freeze to accomplish this too. Any help to a "green horn" MAC person would be greatly appreciated.

CUDA Nsight Eclipse debugger error (Mac OS X)

I am running Nsight Eclipse edition on my MacBook PRO (OS X 10.8.2, mountain lion, CUDA 5.0, GT650M)
and I am getting a strange error each time I try to start the debugger in Nsight.
In the console I get: Coalescing of the CUDA commands output is off. and an error screen.
Here is a screenshot of the error:
I went through the Nsight documentation and found this line:
GPUs used to run X11 (on Linux) or Aqua (on Mac) cannot be used to
debug CUDA applications in Nsight Eclipse Edition. Consult cuda-gdb
documentation for details.
Does this mean I can't run the debugger form Nsight, but just from terminal?
The message you are seein means the debugger was not properly setup on your system (e.g. it will not even work from the console). Please follow the steps outlined in "Setting Up the Debugger Environment" of the cuda-gdb manual
You will need a two-GPU system to debug a CUDA code using visual debugger. Unfortunately, no Mac laptops qualify even though they have Intel graphics. The issue been the OS can start using NVIDIA GPU at any moment and may hang if the device is suspended on a breakpoint.
Your cuda-gdb is not properly code signed, which is required by the Darwin kernel to debug applications.
Follow this guideline to create a System code sign certificate
http://www.noktec.be/archives/1251
Then, code sign the following binaries (assuming the certificate you created is cuda_gdb)
sudo codesign -s cuda_gdb /usr/local/cuda/bin/cuda-gdb
sudo codesign -s cuda_gdb /usr/local/cuda/bin/cuda-binary-gdb
Also, in order to launch the application, you also need to make sure the DYLD_LIBRARY_PATH contains the cuda runtime library path
DYLB_LIBRARY_PATH /usr/local/cuda/lib

Eclipse Segfault (OSX)

I'm trying to start eclipse but it crashes after the splash screen and before workspace selection.
This is version: eclipse-java-indigo-SR2-macosx-cocoa-x86_64 on Mac OSX 10.6.8
Launching the eclipse application or executing the alias from a shell ./eclipse (or Eclipse.app/Contents/MacOS/eclipse) results in a segfault.
$ ./eclipse
Invalid memory access of location 0x10 rip=0x7fff84ea3164
Segmentation fault
However, it runs successfully as the super user
$ sudo ./eclipse
Password:
This is fine for now, but running eclipse under sudo does not seem like a good idea.
To make this stranger still, this installation of eclipse worked fine a few months ago and I can't remember changing anything relevant.
Any ideas?
Thanks
Before taking the more drastic step of re-installing Java on Mac OS X [not always so simple :( .. ], I just reinstalled Eclipse and ADT - and it worked fine after that.
In my case, I got this error trying to start Eclipse
Segmentation fault: 11
.. it appeared in my Eclipse ADT setup after I updated the Android SDK for Google Play Services, and then tried to run Installation of update from "Check For Updates". Restarting the computer did not help.
I would try re-installing Java. The Apple installer might thwart you, but this can help get past it.
I'd suggest getting the Java Developer package from Apple, as it includes Javadoc and source for the core libraries.

How to run legacy Mac code on a faster, remote machine?

We've inherited some legacy software that we need to run quite urgently. It was written in Lisp and we don't have the source code (developer is dead), only runs on Mac OS 9 (some bug seems to prevent it running on anything newer) and requires a license dongle to run.
We have an old machine that will run the software, but it is a dinosaur. Ideally, the solution would also provide for remote access as well.
My first thought was to use some kind of emulator on a newer machine, or even a VPS. But I have concerns about how these will work with the USB dongle. Can anyone suggest a solution better than accepting that working with old code sucks and getting on with it?
The most recent hardware I can think is a PowerPC Macintosh, with Mac OS X 10.4 (Tiger). It is the last version of Mac OS X to have the Classic Environment, that will let you run this legacy software.
Alternatively, if you don't have a PowerPC Mac in house, you can look into SheepShaver, a PowerPC emulator, however you'll need a Mac OS install CD.