Wanderernk / cutlist

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

Script Error using Sketchup Make v-13.0.6389 #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run plugin w/default settings
2.
3.

What is the expected output? What do you see instead?
Script Error
line 106 char 3
The value of property 'drawLayout' is null or undefined.

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

Please provide any additional information below.
SketchUp Make 13.0.3689

Original issue reported on code.google.com by char...@watsonsupply.com on 27 May 2013 at 9:38

GoogleCodeExporter commented 9 years ago
Cheers, mate! I was recently made aware of this issue by a few others and I am 
working on reproducing it so I can find a solution asap.

Original comment by daltx...@gmail.com on 28 May 2013 at 2:39

GoogleCodeExporter commented 9 years ago
Until I release a new version, this is the solution I have come up with:

The quick and dirty solution to get rid of the error is to change the first 
line of cutlistresult.html from this ( this is found in the cutlist folder 
within the plugins folder)

<!DOCTYPE HTML PUBLIC ”-//W3C//DTD HTML 4.01 Transitional//EN” 
“http://www.w3.org/TR/html4/loose.dtd”>

to simply this:

<!DOCTYPE HTML >

SKU2013 has changed the minimum requirements of the browser and so the HTML 
code must not indicate that it is written in HTML5 instead of HTML4 ( no actual 
change required  to the HTML itself).

If you have installed SKU2013 and you still have SKU8 installed, the issue will 
now also occur in SKU8! So the same change above will have to made in both 
places.

Original comment by daltx...@gmail.com on 31 May 2013 at 7:05

GoogleCodeExporter commented 9 years ago
Hi, daltx-
I've tried your work around for this error- editing the HTML code- but it 
didn't work for me. I can avoid the error by having nothing checked in the 
"Layout Output" on the Cutlist Tab.

Windows 7.1, Sketchup Make, Cutlist 4.1.9

Original comment by LewisKau...@gmail.com on 28 Dec 2013 at 5:32

GoogleCodeExporter commented 9 years ago
Hello LewisKaufmann,

Did you a do a fresh install of v4.1.9? Might you have an older version of 
CutList still installed? I can only imagine this issue still existing if you 
have an older version of the plugin still running. The problem has been fixed 
(and has not been reported) since v4.1.6 released in June, 2013.

Original comment by daltx...@gmail.com on 28 Dec 2013 at 6:03

GoogleCodeExporter commented 9 years ago
Thank! That was it! I had 2 versions installed. Removed both, reinstalled 
4.1.9. Works flawlessly!

Original comment by LewisKau...@gmail.com on 28 Dec 2013 at 7:42

GoogleCodeExporter commented 9 years ago
Excellent! Glad it's working for you now! Thanks for the followup.

Original comment by daltx...@gmail.com on 28 Dec 2013 at 7:57