marsfan / sketchyphysics

I exported the Sketchyphysics code from Google code. If DarthGak makes an official file, I will change this to be a redirect link.
0 stars 0 forks source link

Error when start up sketchup #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. extract zip file into the folder for plugins(C:\Program 
Files\Google\Google SketchUp 6\Plugins
2.start up sketchup  
3. error window pops up

What is the expected output? What do you see instead?
i would expect it to load properly bt when i load shetchup an error window 
pops up 

What version of the product are you using? On what operating system?
Version 6.4.112 on Windows Xp Service pack 2
Please provide any additional information below.
Error Loading File SketchyPhysics.rb
undefined method `file_loaded?' for main:Object
This is what the error window says

Original issue reported on code.google.com by ochoajor...@gmail.com on 8 Mar 2008 at 3:00

GoogleCodeExporter commented 8 years ago
I have the exact same problem. Any help would be appreciated.

Original comment by jonathan...@tesco.net on 24 Jul 2008 at 3:52

GoogleCodeExporter commented 8 years ago
I had a problem with it not loading sketchyphysics, threw an error.  went to 
START-
ALL PROGRAMS-GOOGLE SKETCHUP 6- UNINSTALL OR REPAIR.  It worked fine after I 
repaired sketchup

Original comment by dmsut...@midrivers.com on 10 Sep 2008 at 8:48

GoogleCodeExporter commented 8 years ago
i had same problem this morning: 

Error Loading File SketchyPhysics.rb
undefined method `file_loaded?' for main:Object

my configuration is:

sketchup 7
sketchyphysics 3
wine-1.1.31

i tried the "repair method" without luck, after that i tried this little hack:

* copy sketchup.rb from Tools folder to Plugins folder
* edit sketchyphysics.rb from Plugins folder and add this line at the begining 
of the
file: load "sketchup.rb"

now it works like a charm!!

sorry about my poor english skills!!!

Great job, i love your plugin!

Original comment by fernando...@gmail.com on 9 Dec 2009 at 1:14

GoogleCodeExporter commented 8 years ago
You are awesome, fernandogalin! You totally just solved my problem. Thank you 
so much. I am off to try making 
something with SketchyPhysics.

Original comment by rebekah....@gmail.com on 10 Dec 2009 at 9:42

GoogleCodeExporter commented 8 years ago
Another potential fix, if the above solutions don't work for you:

Edit sketchyphysics.rb in any plain text editor.

Move the line (~106):
SketchyPhysics.doLoad(SketchyPhysics.getLoadVersion())

to immediately above the line (~65):
 if(not file_loaded?("SketchyPhysics.rb") )

This seems to work fine with SketchUp 7.1 & SP3X on Mac OSX, though it's 
possible it introduces problems I have not noticed yet.

Original comment by grant.sk...@gmail.com on 28 Jun 2010 at 5:52

GoogleCodeExporter commented 8 years ago
Neither of the above fixes worked (OSX, Sketchup 8, Sketchyphysics 3). Still 
trying... My error message is: 

Error Loading File sketchyphysics.rb
dlopen(/Library/Application Support/Google SketchUp 
8/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib, 9): no suitable image 
found.  

Did find:
    /Library/Application Support/Google SketchUp 8/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib: unknown required load command 0x80000022

Original comment by pku...@gmail.com on 1 Feb 2011 at 4:15

GoogleCodeExporter commented 8 years ago
Same over here...

I have the exact same problem as pkuhns did (does).

Original comment by Addison1...@gmail.com on 4 May 2011 at 1:24

GoogleCodeExporter commented 8 years ago
Thank you ! its works very well !!!

Original comment by paulbria...@gmail.com on 8 Jun 2011 at 10:49

GoogleCodeExporter commented 8 years ago
I have the same issue as PKU... still trying to resolve, to no avail.

Original comment by benjamin...@gmail.com on 15 Sep 2011 at 11:17

GoogleCodeExporter commented 8 years ago
I believe I may have compiled the SDL special library in the released version 
of SketchPhysics for the mac requiring the 10.5 API so if you haven't upgraded 
to Snow Leopard then the SDL binary won't be recognized on your system. I think 
I sent a new compile to Chris that will work on 10.4 and up but it is getting 
harder and harder to get backwards compatibility so best bet is to get to Snow 
Leopard (minimum) for SP3 to work. As has been the case for awhile I don't 
build a binary that supports PPC anymore.
Lion changed the API for midi so on Lion you have to make an edit to the 
Midiator driver file "dls_synth.rb" to get SP3 to load at all. Add a dlload 
statement to the dls_synth file to load the AudioUnit framework and everything 
works fine. Just clone the line that loads AudioToolbox but substitute AudioUnit

Original comment by kwill...@gmail.com on 22 Feb 2012 at 2:12

GoogleCodeExporter commented 8 years ago
Still not working -- there was nu 'plugins' folder to find in the Library in 
Sketchup -- still getting the error window regardless ... ?

Original comment by Chainbla...@gmail.com on 7 Apr 2012 at 6:28

GoogleCodeExporter commented 8 years ago
Can someone please explain this to someone thats NOT A PROGRAMMER?!!!!!  Line 
106 of what program?  PLEASE HELPPPP!!!!!!!

Original comment by jessena...@gmail.com on 20 May 2013 at 12:39

GoogleCodeExporter commented 8 years ago
Agreed! We all need a solution for this to run in OSX Lion!  Please help! We 
beg you.

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

GoogleCodeExporter commented 8 years ago
Line 106 of the program "sketchphysics.rb". It should be located wherever you 
installed sketchyphysics. The default location for Windows is C:\Program Files 
(x86)\Google\Google Sketchup 8\plugins. If you can't find it, do a search of 
your computer for sketchyphysics.

Original comment by ian.hami...@gmail.com on 3 Nov 2013 at 2:06

GoogleCodeExporter commented 8 years ago
for fernandos solution how do i edit text because i can open notepad but it 
won't let me save

Original comment by Matthew....@gmail.com on 23 Nov 2013 at 11:36

GoogleCodeExporter commented 8 years ago
open a command prompt as administrator and edit the file that way.

It works however it seems to crash when I click play on Sketchup Make 2013

Original comment by pale...@gmail.com on 28 Nov 2013 at 4:52

GoogleCodeExporter commented 8 years ago
Ubuntu 14.04 - Wine 1.7.xx - SU8 - SketchyPhy3.2

Error at Start
Copied sketchup.rb form "tools" folder to "Plugins"
Open Sketchyphysics.rb with gedit
Add btween 2nd and 3rd line : require 'sketchup.rb'

workin like a charm. Next try in SU2013...

Original comment by jpabraha...@gmail.com on 26 Apr 2014 at 5:15

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
http://sketchucation.com/pluginstore?pln=SketchyPhysics ? No errors there. If 
so, can this be closed?

Original comment by Loonyb...@gmail.com on 13 Oct 2014 at 8:34