Getting "unable to create file "/private/tmbc..."

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BillT
    Expert
    • Mar 2013
    • 84

    Getting "unable to create file "/private/tmbc..."

    When I double-click on files in folder compare I get "Unable to create file "/private/tmpbc..." on both sides of the file compare window.

    Ran repair permissions from Disk Utility - still no joy.
  • Aaron
    Team Scooter
    • Oct 2007
    • 15997

    #2
    What type of files are you double clicking on in the Folder Compare? Is it attempting to launch any of our File Sessions in a new tab, or is the error happening earlier than that?
    Aaron P Scooter Software

    Comment

    • BillT
      Expert
      • Mar 2013
      • 84

      #3
      Looks like its trying to launch a file session.

      Is there a way to upload a screen shot?

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 15997

        #4
        As a file attachment on the forum, using the "Go Advanced" button. Or you can email us at [email protected], include the picture as a file attachment, and please also include a link to this forum thread for our reference.
        Aaron P Scooter Software

        Comment

        • BillT
          Expert
          • Mar 2013
          • 84

          #5
          screenshot

          Here's the screenshot that illustrates the problem...

          Comment

          • Zoë
            Team Scooter
            • Oct 2007
            • 2666

            #6
            It looks like the way we're retrieving the temp directory is assuming there's a trailing / and yours doesn't provide it. It's normally read from the $TMPDIR environmental variable. You can manually set it in your environment.plist file by following the directions here. We'll fix that in the next release too.

            ETA: From your screenshot, it looks like the expected value should be /private/tmp/
            Zoë P Scooter Software

            Comment

            • BillT
              Expert
              • Mar 2013
              • 84

              #7
              Doesn't seem to work, at least on Mountain Lion. I created environment.plist as per post, but it doesn't seem to "take" (even after reboot).

              I'm trying to find other places where TMPDIR might be set, but so far haven't found any. Will keep looking

              bash-3.2$ cat ~/.MacOSX/environment.plist
              <?xml version="1.0" encoding="UTF-8"?>
              <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
              <plist version="1.0">
              <dict>
              <key>TMPDIR</key>
              <string>/private/tmp/</string>
              </dict>
              </plist>
              bash-3.2$ set | grep TMP
              TMPDIR=/private/tmp
              bash-3.2$

              Comment

              • Zoë
                Team Scooter
                • Oct 2007
                • 2666

                #8
                It might work to set it in Beyond Compare's .plist instead. Right click on Beyond Compare.app and select "Show Package Contents". Open Contents/Info.plist and look for an item labeled either "Environment variables" or "LSEnvironment", and add it under there.
                Zoë P Scooter Software

                Comment

                • BillT
                  Expert
                  • Mar 2013
                  • 84

                  #9
                  Setting it in BC's Info.plist didn't work (although I didn't try changing the "Environment variables" entry to "LSEnvironment", which *may* be needed w/ML).

                  What did work was changing /etc/launchd.conf. (Turns out that I had earlier updated launchd.conf to set TMPDIR to a ramdisk, which turned out not to be a good idea in any case).

                  Anyway, all is good now and I'm looking forward to playing with the Mac version a bit.

                  Thanks!

                  FWIW, here's some links re: env vars in ML:

                  http://apple.stackexchange.com/quest...-mountain-lion

                  http://stackoverflow.com/questions/1...-mountain-lion

                  Comment

                  Working...