Help with understanding error message.
-
Bump, Any guesses?
-
So I deduce it's a MAC and the weird 'plist' errors seem to relate to a missing ';' ?
When you use Sketchup.read/write_defaults() these keys/values go into the PC's Registry or the MAC's 'plist'.
So I suspect that somehow one of your tool's entries is/was corrupted.
If it were a PC you could manually edit the Registry with 'regedit' and delete the entry - then the next time the tool runs a new entry will get added. Assuming there's no 'string' in the entry that's causing the corruption all should then work...
I assume the equivalent MAC tool is something like 'PlistEdit' ???
It may well be that the user needs to reinstall SUp on his MAC as the error might point to a deeper problem than something your tool does to the plist -
TIG, Thanks. Yes, it is a Mac. My plugin uses the registry to store the plugin's user's options. Is there any reasonable chance that my plugin is causing the problems?
His problem has never happened on my PC, but because I do not have access to a Mac, I am unable to test my plugin on one. No other Mac user has reported this problem. It's happened on his machine at least two times with clean SU installs.
What about the first error message line that has a reference to another application
Intrinsic Alchemy v3.3 Beta-0702
. Google indicates that this is a game graphics development platform. Any guess why that is showing up in SketchUp's ruby console?Could my plugin's register name be the same as one in Intrinsic Alchemy?
-
There's clearly something adrift in the MAC's plist.
Presumably your section name/keys are relatively sensible and unique - it goes into the Sketchup section as a section/key/value - so it shouldn't clash with other Apps. I guess there's nothing weird in your section-name or the key/values that might somehow corrupt the plist's text ?
It may well be that another app is messing with the plist and it's only being manifest in your tool...
Have you tried making another section/key set for him to try and see if that ameliorates the issue ?
I hope whatever you're writing to the plist has no ';' in it... it if did and these were somehow exposed to the other entries it could cause a miscount and errors ??
I suspect it's this 'Alchemy' tool breaking the plist and thereby your tool rather than your breaking it...
Your tool will be writing relatively simple entries, the 'Alchemy' thing might write much more complex stuff that then makes this error........ -
My section_name is honoluludesktop, I assumed very unique, and there is no ";" in the data string. I do use ":" however, to seperate the data. I have not tried making another section/key yet. Thanks for the advice. I will post my progress as it unfolds.
-
@honoluludesktop said:
What about the first error message line that has a reference to another application
Intrinsic Alchemy v3.3 Beta-0702
. Google indicates that this is a game graphics development platform. Any guess why that is showing up in SketchUp's ruby console?Could my plugin's register name be the same as one in Intrinsic Alchemy?
this is part of SU Mac... possibly to do with 3D warehouse or PhotoTexture or license checking, it's always there, as is the pointer being freed not allocated.
if I run audit with and without yours this is the only error that shows.
08/06/2011 12:15:45 [0x0-0x18f18f.com.google.sketchupfree8[6416] /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/Dxf_In_v2.2.rb:823: warning: don't put space before argument parentheses]
which is minor...I don't get any messages about CFPropertyListCreateFromXMLData(): : Old-style plist parser: missing semicolon in dictionary. it may be a OSX 10.6 using a new style Plist parser, but it has actually skipped past that and continued loading so I doubt that's causing a crash.
if someone else with 10.6 could run console starts with and without your plugin and compare those results, it will show if it's yours...
I can't find you in my plist, maybe that's why it sort of works...
john
-
Thanks, driven, I have asked the plugin user to attempt your suggestion. If it sort of works.....any suggestions how to handle my code so that it works?
-
by sort of works I mean that on some files I get the error messages, but it still outputs the 3d model correctly, on others it I get no errors or model.
a small set of 'known to work files' would be useful to try and debug, I've only had a 'play' so far, and don't often need dxf...
john -
Could this possibly only happen if the model has errors?
Perhaps run a Validity Check on the model before running the plugin? (Disregard if it's a import plugin.)
Could be his plist is corrupted. The user may need to delete it, and let Sketchup rebuild it.
Alchemy is also on the PC, but in the form of a DLL.
I would suggest sending your first post to Google thru the contact webform... or post to the Google Sketchup Technical Problems forum. A Googler Team member is likely to be the best help for this issue.
-
Thanks Dan, will follow up here with progress.
-
@honoluludesktop said:
Thanks Dan, will follow up here with progress.
Hi all. I'm the user in question. So, I literally just discovered that the crashing seems occur only when I push the escape key to dismiss the splash screen. I have not had any problems in the past few minutes, so this may not be an issue at all with the plugin. It seems to happen even if I don't have the plugin installed. The reason I wasn't getting this after reinstalling is that SU required me to pick a template, so the escape key didn't work. How about that?
Advertisement