sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Help with understanding error message.

    Scheduled Pinned Locked Moved Developers' Forum
    12 Posts 5 Posters 3.7k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TIGT Offline
      TIG Moderator
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • honoluludesktopH Offline
        honoluludesktop
        last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          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........

          TIG

          1 Reply Last reply Reply Quote 0
          • honoluludesktopH Offline
            honoluludesktop
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • D Offline
              driven
              last edited by

              @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

              learn from the mistakes of others, you may not live long enough to make them all yourself...

              1 Reply Last reply Reply Quote 0
              • honoluludesktopH Offline
                honoluludesktop
                last edited by

                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?

                1 Reply Last reply Reply Quote 0
                • D Offline
                  driven
                  last edited by

                  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

                  learn from the mistakes of others, you may not live long enough to make them all yourself...

                  1 Reply Last reply Reply Quote 0
                  • Dan RathbunD Offline
                    Dan Rathbun
                    last edited by

                    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.

                    I'm not here much anymore.

                    1 Reply Last reply Reply Quote 0
                    • honoluludesktopH Offline
                      honoluludesktop
                      last edited by

                      Thanks Dan, will follow up here with progress.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        mysterd429
                        last edited by

                        @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?

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement