Bostjan1 / sketchyphysics

Automatically exported from code.google.com/p/sketchyphysics
0 stars 0 forks source link

Error when starting Sketchyphisics in OS Lion #90

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. start sketchup
2. start sketyphisics
3. sketchup crashes

What is the expected output? What do you see instead?

Error starting the simulation: : undefined method `midiInterface' for 
#<MSketchyPhysics3::SPSounds:0x13af1a00>  
/Library/Application Support/Google SketchUp 
8/SketchUp/Plugins/SketchyPhysics3/sound.rb:69:in `initialize'

What version of the product are you using? On what operating system?

Sketchup 8 Sketchyphisics 3.2

Please provide any additional information below.

It used to work before upgrade to lion

Original issue reported on code.google.com by a.pa...@fugro.com on 21 Oct 2011 at 8:13

GoogleCodeExporter commented 8 years ago
Wrong error message should have been

Error starting the simulation: : can't find the symbol `MusicDeviceMIDIEvent'  
/Library/Application Support/Google SketchUp 
8/SketchUp/plugins/SketchyPhysics3/dl/import.rb:126:in `symbol'

Original comment by a.pa...@fugro.com on 21 Oct 2011 at 8:16

GoogleCodeExporter commented 8 years ago
Actually this error message has nothing to do with it. SP just hags sketch up 
in OS Lion.

Original comment by a.pa...@fugro.com on 21 Oct 2011 at 9:54

GoogleCodeExporter commented 8 years ago
OK for all those having problems with lion its the midi and sound stuff that is 
giving grief. If you don't use the midi and sounds find all reference to it in 
the RB scripts and comment it out.

:)

Original comment by a.pa...@fugro.com on 24 Oct 2011 at 8:44

GoogleCodeExporter commented 8 years ago
HELP!!! I am running SP 3.2 on a Mac OSX 10.7 (Lion) with SU8.

I got the message "Error starting the simulation: : can't find the symbol 
`MusicDeviceMIDIEvent'  " so I commented out the midi and sound ref in 
sketchyphysics.rb and got the following:

"Error starting the simulation: : undefined method `parent' for nil:NilClass "

Is there a fix to this?  

PLEASE HELP!!!!

Original comment by ch...@chrisholme.com on 7 Feb 2012 at 9:19

GoogleCodeExporter commented 8 years ago
Hi everybody, I'm the guy that did the port of SketchyPhysics to the Mac. I 
hadn't run it in awhile and Apple made some significant changes to the audio 
APIs. Specifically they moved the MusicDeviceMidiEvent routine out of the 
AudioToolbox framework and into the AudioUnit framework.

The fix in SP3 is pretty straight forward. You need to edit the dls_synth.rb 
file (which is in the midiator/lib directory inside the SP3 installation. You 
need to add another dlload statement at the top where AudioToolbox is loaded. 
You should wind up with this:

dlload 
'/System/Library/Frameworks/AudioToolbox.framework/Versions/Current/AudioToolbox
'
dlload 
'/System/Library/Frameworks/AudioUnit.framework/Versions/Current/AudioUnit'

Original comment by kwill...@gmail.com on 21 Feb 2012 at 3:56

GoogleCodeExporter commented 8 years ago
I'm getting the Error!

Original comment by austinth...@gmail.com on 25 Apr 2012 at 10:45

Attachments:

GoogleCodeExporter commented 8 years ago
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I'm running sketchup 8 with sketchyphysics 3.2 on a Systemax computer on 
windows.
My picture is above.
(((((Im REALLY GETTING SIIICK OF THIS!)))))

Original comment by austinth...@gmail.com on 25 Apr 2012 at 10:47

GoogleCodeExporter commented 8 years ago
Hi,  I've just started using Sketchy Physics (OS X Lion).  I am stumped when it 
comes to naming a controller.  The name is lost once you're out of the UI box.  
I've tried using servo("newname") and just newname, but they both go away and 
leeve ablank.  Any suggestions would be welcome.  Thank you.

Original comment by pierre.s...@gmail.com on 22 Jun 2012 at 4:14

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Added
dlload 
'/System/Library/Frameworks/AudioUnit.framework/Versions/Current/AudioUnit' to 
dls_synth.rb

When I start simulation Sketchup quits.

Using Lion 10.7.5 Sketchup2013

Original comment by harryhar...@gmail.com on 5 Jun 2013 at 7:41

GoogleCodeExporter commented 8 years ago
Running Sketchyphysics on Sketchup8 with Mac OS 10.6. For the longest time the 
file wouldn't install correctly but I eventually figured it out. Now Sketchup 
shows all of the images but when i want to play and animation, it says: 

 Error starting the simulation: : undefined method `midiInterface' for #<MSketchyPhysics3::SPSounds:0x1d5be254>  
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/Sound.rb:69:in 
`initialize'

I'm not a programmer so you're going to have to be a little more specific with 
any instructions but I appreciate any help. 

Original comment by Charles....@gmail.com on 16 Jun 2013 at 8:03

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I did what kwill suggested in comment #5
Now sketchup crashes when I try to run the animation.
Any thoughts??

Original comment by bran...@thehoffmanzoo.com on 12 Jul 2013 at 3:18

GoogleCodeExporter commented 8 years ago
I have the same error!! Please help!!

Original comment by cstaylo...@gmail.com on 31 Jul 2013 at 2:20

GoogleCodeExporter commented 8 years ago
I haven't heard from Chris Phillips in awhile on SketchyPhysics. I downloaded 
SU2013 and SketchyPhysics for the Mac definitely doesn't work. I won't be able 
to fix the Mac port of Sketchy Physics until Chris and I hook up for a 
redesign. Sorry all...

Original comment by kwill...@gmail.com on 2 Sep 2013 at 4:39

GoogleCodeExporter commented 8 years ago
Any word yet on a solution to get SP working on Lion? We're dyin' here lol. SP 
is the ONLY solution to physics on Sketchup.

Original comment by Chardell...@gmail.com on 11 Oct 2013 at 8:47

Attachments: