Lojic Technologies

Beware of LEGO Mindstorms NXT on Mac OSX

with 10 comments

I recently installed the software that came with a LEGO Mindstorms NXT kit onto a Mac Mini running OSX 10.4. I was somewhat concerned when the install program prompted me for an admin password, so I attempted to install the software into a directory in my home directory instead of the main Applications directory, but it still prompted for an admin password. Since LEGO is a large reputable company, I gave them the benefit of the doubt and figured the admin password may have been necessary to install Bluetooth drivers or some other feature. I should’ve learned a lesson from the Sony root kit debacle with respect to blindly trusting large corporations. In the Sony case, maliciousness was involved, in the LEGO Mindstorms case, I think only incompetence is to blame.

After installing the LEGO Mindstorms NXT software, I noticed that the OSX Activity Monitor failed to start which was puzzling. I also noticed that my Missing Sync program (used to synchronize data on my Treo 650 with the Mac) was failing as well – probably related to Bluetooth misconfiguration. I discovered later that, independently of the software issue, the LEGO Mindstorms NXT kit was malfunctioning (some attachments worked, but the motors couldn’t be activated), so we sent it back for an exchange.

I thought that uninstalling the LEGO Mindstorms NXT software might return my Mac OSX system to normal, so I found the uninstall shell script in the Applications directory. With many OSX applications, it’s sufficient to simply delete the directory associated with the particular application from the Applications directory, but since Bluetooth drivers (and possibly other stuff) was installed, I figured the uninstall script would remove anything that was installed. I viewed the contents of the script briefly, but I was in a particular hurry at the time, so I double-clicked the icon for the uninstall script before I thoroughly reviewed it. It took longer to execute than I expected, and to my great dismay I shortly discovered why.

The LEGO Mindstorms NXT uninstall script removed the entire Applications directory from my Mac OSX system!

I’ve contacted technical support at LEGO Mindstorms mainly to try and determine how this happened. One of the reps did admit that this has happened before. I’m not sure what they could do to resolve this to my satisfaction other than pay me for the time I’ve lost in trying to get the Mac back to normal. I’ve been able to get the bundled applications reinstalled with some effort, but I still have a fair amount of work to do to reinstall many open source apps.

If LEGO Mindstorms comes up with a creative solution to resolve this to my satisfaction, I’ll be elated to post an update, but I expect that to be unlikely to say the least. Hopefully this blog post can save at least one person from losing an entire day to a similar problem.

When the replacement LEGO Mindstorms NXT kit arrives I’m either going to install the software on an old Windows PC, or create a new virtual machine for that purpose, but I don’t think I can trust LEGO Mindstorms enough to install it on an important computer at this point. Regardless, I’m going to be much more careful (paranoid?) when installing software that requires root access in the future.

Update 1/18/2008: It’s been ten days since I originally called LEGO Mindstorms NXT technical support, and I haven’t received a call from a supervisor or level 2 person as was promised. I just called them again and talked to the same person who opened the ticket originally. He still refuses to allow me to talk with his supervisor (actually, he states he doesn’t have a supervisor, and that level 2 is his “supervisor”) and simply repeats the same mantra about how my issue has “been escalated several levels”. I can’t recall a tech support experience that has been quite this bad.

Update 1/18/2008 13:00: I just received the following email response a few minutes ago (probably because I communicated the situation to LEGO corporate headquarters).

Hello,

Your issue has been escalated to the developers in Denmark.
They will get back to you, but we have no control over when that will happen.

In the meantime the only solutions we can offer to you are to repair user permissions and to do an archive reinstall of your Operating System.

Update 1/24/2008 14:10: Just spoke with David C. from LEGO Mindstorms NXT QA (he was referred to me by a LEGO consumer specialist I had spoken to a couple days ago), and he explained the situation to me. This was a known issue (deleting all your apps on Mac OSX) that has apparently been fixed in the current release of the software. He apologized and will send me a free LEGO Mindstorms NXT kit. It doesn’t match the monetary loss in time, but it’s a nice gesture and I appreciate it. I expect it’s more than many companies would do to remedy the situation.

As to the communication issues with the first line technical support, out of respect for David I won’t go into detail, but suffice it to say that they are aware of issues with their front line support and are endeavoring to correct them.

Written by Brian Adkins

January 8, 2008 at 6:19 pm

Posted in programming, technology

Tagged with , ,

10 Responses

Subscribe to comments with RSS.

  1. As far as I know this issue only occours in MINDSTORMS NXT 1.0 for Mac OS X if you install in a non default location. Cheers, Ronny S

    Ronny S

    January 29, 2008 at 2:21 pm

  2. @Ronny thanks for the note. I believe the non default location was a factor. When I initially installed the software I didn’t want to give it the admin password, so I thought by installing it in my personal Applications directory it wouldn’t require the admin privileges. That didn’t work (it still wanted the admin pswd), and apparently in the process the uninstall got confused. How hard is it for them to check the uninstall from a non-default location? 😦

    The only reason I ran the uninstall (instead of just dragging files to the trash) was to uninstall the bluetooth drivers, but apparently the uninstall doesn’t even do that.

    Bottom line is I think I’ll use an old unimportant machine or Windows in a virtual machine to install the software next time.

    Brian Adkins

    January 29, 2008 at 6:49 pm

  3. I have had the exact same problem with my mac mini…same setup but I called lego several times and they have done nothing for me

    David Herlein

    March 21, 2008 at 8:01 am

  4. So it was your screwing around and not letting the installer do what it was meant to do. Every program I ever installed on my MAc asks for an admin pass.

    david

    September 28, 2008 at 4:34 am

  5. @david: Lego has acknowledged the problem. Under no circumstances should an uninstall script delete all of a user’s applications!

    Brian Adkins

    October 7, 2008 at 11:15 am

  6. Hi Brian / all;

    This issue has been resolved on versions of NXT software after 1.0.

    BR,

    David

    David C

    December 2, 2008 at 7:47 am

  7. I’ve just had this exact affliction happen to me 😦

    It wasn’t until I took my computer in to have the Apps recovered that I discovered this blog. The worrying thing is Vibeke M at the Mindstorms dept. at Lego still claims that she had never heard of any similar problems.

    I’m really disappointed with the way my case was handled not to mention the £70 it cost to have my Mac looked at and the inconvenience of having permanently lost files.

    Piers

    December 9, 2008 at 9:59 am

  8. HEY BRO, THANK YOU SO MUCH FOR THE ADVERTISMENT, I WAS ABOUT TO INSTAL THAT [STUFF] ON (IN) MY MAC. GRACIAS

    ERICK

    August 10, 2009 at 11:15 pm

  9. Hi
    Sorry I didn’t catch up with you guys earlier – spent a very frustrating Christmas 2009 with lego support and they still (still Vibeke) have not solved for OSX10.6
    I have had to regress to my father’s windows laptop so that my son can use his Christmas present – I’m not smart enough to set up a virtualised machine !!
    Stuck waiting for Lego support to issue a fix…

    Phil Watson

    February 14, 2010 at 11:50 am

  10. @david, so choosing a different installation folder is “screwing around”? You idiot.

    Nello

    December 25, 2011 at 4:28 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: