Author Topic: Mountain Lion "Digispark Ready - Arduino 1.03" is damaged and can't be opened.  (Read 51552 times)

maudette01432

  • Newbie
  • *
  • Posts: 16
I downloaded the "latest" Digispark package onto my Mountain Lion iMac and when I unzip it and attempt to start it the OS claims it's broken.   My regular Arduino package starts just fine as well as processing and other processing based apps (like ReplicatorG)....but this will not start.

Anyone else having this problem.  I attempted the download twice with the same results?
« Last Edit: December 31, 2012, 12:28:31 pm by maudette01432 »

maudette01432

  • Newbie
  • *
  • Posts: 16
I removed the JavaApplicationStub from the Contents/MacOS and copied in the one from  my Arduino package and it starts now.  I\'m guessing the IDE got packaged up wrong or with a broken/incompatible version of the Java App launcher.  I\'ve seen several other Java based packages cause this issue on MountainLion.

willscott

  • Newbie
  • *
  • Posts: 10
You can also open a terminal, navigate to Contents/Resources/Java within the app, and run

JAVA_ARCH=i386 java -cp core.jar:ecj.jar:jna.jar:pde.jar:quaqua.jar:RXTXcomm.jar processing.app.Base


digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Thanks guys I will apply this to the download version the next chance I get

caskey

  • Newbie
  • *
  • Posts: 5
I am experiencing the same problem, copying in the JavaApplicationStub did not help.  However the command given by @willscott allows me to run and use my digisparks while waiting for a fix.

(Platform: OSX 10.8.2, MBP 17\")

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
I apologize if this was answered or brought up already - but have you guys tried going to System Preferences -> Security and Privacy -> and set it to allow code from anywhere not just from the App store and known developers?

maudette01432

  • Newbie
  • *
  • Posts: 16
Yes - gatekeeper is set appropriately.  I have it setup so newly downloaded programs like Arduino need to be right-clicked and opened for gate keeper to allow them.  The latest 1/4/13 version still has the startup issue for me and once again replacing the JavaApplicationStub from a working version of ReplicatorG did the trick.

The .zip also seems to have some __MACOSX directory under it with another \"Arduino\" binary (marked as broken before even clicking it).  

caskey

  • Newbie
  • *
  • Posts: 5
I too can confirm that my gatekeeper setting is /not/ the problem.  The error message is \'\"Arduino-Digispark.app\" is damaged an can\'t be opened.  You should move it to the Trash.\'

caskey

  • Newbie
  • *
  • Posts: 5
I\'ve checked and the new 2013-01-04 version shows the same error message.

maudette01432

  • Newbie
  • *
  • Posts: 16
caskey - I agree.  I\'ve done some Java app packaging on OSX and the \"app\" creation is usually the culprit...

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Uploading a new copy now

caskey

  • Newbie
  • *
  • Posts: 5
Great!  I\'ll try it out as soon as it shows up.  Thanks so much.

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
It is up - please unzip it to a new location not over the old version - let me know how it goes!

maudette01432

  • Newbie
  • *
  • Posts: 16
Still getting the damaged message here.  Replacing the \"stub\" and clicking gives the gatekeeper message....right clicking open with the replaced stub works as expected and adds it to the gatekeeper list.

caskey

  • Newbie
  • *
  • Posts: 5
Tried again too, same problem.