• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Layout won't save

Scheduled Pinned Locked Moved LayOut Discussions
layout
9 Posts 4 Posters 2.4k Views
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.
  • Z Offline
    zain01
    last edited by 4 Jun 2015, 17:14

    Hi can anyone tell me why Layout has started to show an error message saying i cant save a document with punctuation marks in the name? I have taken the punctuation marks out and it still wont save so basically i cant save anything. Thanks in advance.


    Screen Shot 2015-06-04 at 18.13.15.png

    1 Reply Last reply Reply Quote 0
    • D Offline
      driven
      last edited by 4 Jun 2015, 17:30

      You can't normally use : in a filename on a mac, it's a path posix separator...

      Did you import the set of folders from a PC?

      I really can't make a folder named "Test:Folder" for example, but you have the one named SPYKER_2:06, which is possibly the cause for your issue...

      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
      • S Offline
        slbaumgartner
        last edited by 4 Jun 2015, 17:52

        This appears to be a Layout-specific catch. From the command line, I can create a folder with a : in the name (though Finder displays it as a / afterward). Layout refuses to save a file to that folder. However, SketchUp quite happily saves to the folder. So it is in the Layout code, not a generic issue!

        1 Reply Last reply Reply Quote 0
        • D Offline
          driven
          last edited by 4 Jun 2015, 18:52

          @steve, I can't even make them in 'Finder', so it's not Layout specific for me...

          if I attempt to use : from a 'Save' dialog in SU, it shows a dash, not a colon I'm trying to enter...

          and as you found mkdir converts it to a slash...

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

          1 Reply Last reply Reply Quote 0
          • S Offline
            slbaumgartner
            last edited by 5 Jun 2015, 13:09

            John, your experience seems to differ from mine...I wonder why? Having a ":" in a folder name is a very bad idea, bound to cause problems, so I am interested mainly from a technical point of view.

            Using the terminal command line, I can mkdir a folder with a ":" in its name. The "ls" command shows it with a ":". So Mac OS itself can deal with a ":". But Finder displays it as a "/" even though ":" is not a path separator (foo:bar is a single folder, not two nested ones as foo/bar), and when I save a SU file to that folder, the save dialog also shows "/" (and SU successfully saves the file). The save dialog in Layout also shows it as "/", but when I try to save there, I get that popup with the message that I can't save to a folder with punctuation in its name. So, I conclude that this is due to how the various apps were programmed, not a fundamental aspect of Mac OS X.

            1 Reply Last reply Reply Quote 0
            • D Offline
              driven
              last edited by 5 Jun 2015, 20:03

              just dug this up...

              @unknownuser said:

              The only illegal character for file and folder names in Mac OS X is the colon ":"

              File and folder names are not permitted to begin with a dot "."

              File and folder names may be up to 255 characters in length

              how apps handle it obviously differs, for me SU changes it to a dash, LO rejects it with a message, Terminal changes it to an escaped colon, as seen if you drag the folder in i.e. /private/tmp/new:tmp...

              Bottomline for the OP is in the quote The only illegal character for file and folder names in Mac OS X is the colon ":"

              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
              • Z Offline
                zain01
                last edited by 30 Jun 2015, 16:12

                Thanks all for the info
                I have been saving files in Layout with names like for example
                22.06.15_MBU_01
                for the past 2 years with no issues
                All of a sudden it wouldn't save it to the target folder so i saved it to the desktop and then moved it afterwards.
                And now i am having to re link the SU file every time i open the relevant Layout file.
                Can anyone tell me why i am having this re linking problem?
                The amount of time i am wasting navigating to the file to re link is ingratiating.
                Also dangerous if subtle changes in the model are not reflected in Layout as the joinery i am drafting is constantly changing.
                Regards

                1 Reply Last reply Reply Quote 0
                • D Offline
                  Dave R
                  last edited by 30 Jun 2015, 19:17

                  So evidently you didn't get this from the last post by John?

                  @unknownuser said:

                  Bottomline for the OP is in the quote The only illegal character for file and folder names in Mac OS X is the colon ":"

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    driven
                    last edited by 30 Jun 2015, 22:53

                    to clarify what I was pointing out...
                    any filename includes the path, and yours contains ../SPYKER_2:06/.., with the 2 and the 0 separated by a colon...

                    then Steve and I chat about how some apps cope with what is considered by Apple the only 'illegal' character.

                    Change the colon and all should work...
                    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
                    • 1 / 1
                    • First post
                      Last post
                    Buy SketchPlus
                    Buy SUbD
                    Buy WrapR
                    Buy eBook
                    Buy Modelur
                    Buy Vertex Tools
                    Buy SketchCuisine
                    Buy FormFonts

                    Advertisement