Menu

#71 Error in Developer Checkout

9.0b1
closed
nobody
None
Bug
major
2017-04-09
2016-11-29
Vittorio
No

The procedure seem to work fine, at the end I get the message:
Message: "error deleting "/private/var/folders/.../AlphaCocoa.app/Contents/Resources/Libraries/AlphaTcl": read-only file system"

Related

Tickets: #71

Discussion

  • Bernard Desgraupes

    It works for me. Are you logged with admin rights ? Do you have write permission on this /private/var/ location ?

     
    • Vittorio

      Vittorio - 2016-11-29

      What do you mean with “logged with admin rights?” I am working from within AlphaCocoa, and I do a UpdateAlphaTcl->DeveloperCheckout using the Alpha menu.
      In the OSX Users preferences panel I am listed as an Administrator. I do not know if this is enough.
      The permissions of the folder are

      drwxr-xr-x@ 3 vitt admin 102 23 Nov 16:00 Cache
      drwxr-xr-x@ 114 vitt admin 3876 23 Nov 16:00 Examples
      drwxr-xr-x@ 120 vitt admin 4080 23 Nov 16:00 Help
      drwxr-xr-x@ 13 vitt admin 442 23 Nov 16:00 Tcl
      drwxr-xr-x@ 4 vitt admin 136 23 Nov 16:00 Tools

      If I try a UpdateAlphaTcl->UserUpdate a get the error “Can’t create temporary file from template ‘/private/var/folders…AlphaCocoa.app/Contents/Resources/Libraries/AlphaTcl/Tools/svn-XXXXXX'”

      best regards

      Vittorio

      Il giorno 29 nov 2016, alle ore 20:42, Bernard Desgraupes bdesgraupes@users.sf.net ha scritto:

      It works for me. Are you logged with admin rights ? Do you have write permission on this /private/var/ location ?

      [tickets:#71] Error in Developer Checkout

      Status: open
      Created: Tue Nov 29, 2016 11:24 AM UTC by Vittorio
      Last Updated: Tue Nov 29, 2016 11:24 AM UTC
      Owner: nobody

      The procedure seem to work fine, at the end I get the message:
      Message: "error deleting "/private/var/folders/.../AlphaCocoa.app/Contents/Resources/Libraries/AlphaTcl": read-only file system"

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/alphacocoa/tickets/71/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #71

  • Bernard Desgraupes

    Where did you install AlphaCocoa ? Are you running it from a mounted disk image or any special location ?
    I just tried again a Developer Checkout and it works for me: the svn console in Alpha first preforms the checkout in a temporary location which is in Alpha's $PREFS folder (~/Library/Preferences/AlphaCocoa-v9.0/tmp/svn/) and then copies it to the application bundle.

     
    • Vittorio

      Vittorio - 2016-11-30

      Alpha is installed in /Applications/alphaCocoa, no special location
      Also for me the Developer Checkout preforms the checkout in the Alpha’s $PREFS folder (~/Library/Preferences/AlphaCocoa-v9.0/tmp/svn/)
      It seems to die when it tries to delete the copy in /private/var/folder..

      Vittorio

      Il giorno 30 nov 2016, alle ore 09:46, Bernard Desgraupes bdesgraupes@users.sf.net ha scritto:

      Where did you install AlphaCocoa ? Are you running it from a mounted disk image or any special location ?
      I just tried again a Developer Checkout and it works for me: the svn console in Alpha first preforms the checkout in a temporary location which is in Alpha's $PREFS folder (~/Library/Preferences/AlphaCocoa-v9.0/tmp/svn/) and then copies it to the application bundle.

      [tickets:#71] Error in Developer Checkout

      Status: open
      Created: Tue Nov 29, 2016 11:24 AM UTC by Vittorio
      Last Updated: Tue Nov 29, 2016 07:42 PM UTC
      Owner: nobody

      The procedure seem to work fine, at the end I get the message:
      Message: "error deleting "/private/var/folders/.../AlphaCocoa.app/Contents/Resources/Libraries/AlphaTcl": read-only file system"

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/alphacocoa/tickets/71/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #71

  • Bernard Desgraupes

    Weird, /private/var/folder.. is not something coming from Alpha.
    Alpha does its job in $PREFS/tmp/svn and deletes the temporary folder only when it quits (this is done in the quitHook).

    Could it be an issue with your svn ? You could try a checkout from a Terminal window (in your Documents folder for instance):

    svn co https://svn.code.sf.net/p/alphacocoa/code/Current/Libraries/AlphaTcl
    
     
    • Vittorio

      Vittorio - 2016-11-30

      the svn works, no problem with that.
      In the attachment the complete error message

      Vittorio

       
  • Bernard Desgraupes

    Aha, thank you for the attachment. Now I have something concrete to work with because it designates the Tcl trace attached to the svnRun(done) variable.

     
  • Bernard Desgraupes

    Is this error still present ? It may have been fixed along with the fix of Ticket #87.

     
    • Vittorio

      Vittorio - 2017-01-26

      No, I keep getting always the same error.

      Vittorio

      Il giorno 26 gen 2017, alle ore 16:13, Bernard Desgraupes bdesgraupes@users.sf.net ha scritto:

      Is this error still present ? It may have been fixed along with the fix of Ticket #87.

      [tickets:#71] Error in Developer Checkout

      Status: open
      Created: Tue Nov 29, 2016 11:24 AM UTC by Vittorio
      Last Updated: Wed Nov 30, 2016 09:36 AM UTC
      Owner: nobody

      The procedure seem to work fine, at the end I get the message:
      Message: "error deleting "/private/var/folders/.../AlphaCocoa.app/Contents/Resources/Libraries/AlphaTcl": read-only file system"

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/alphacocoa/tickets/71/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #71

  • Bernard Desgraupes

    After looking at your attachment, I think I have a vague idea of what is going wrong. Your error log mentions a path which looks like /private/var/folders/....../AppTranslocation/..... (I have added intermediate dots for clarity). This has to do with a new feature introduced in Sierra (Mac OS X 10.12) and known as AppTranslocation. Here are the release notes:
    << Starting in OS X v10.12, you can no longer provide external code or data alongside your code-signed app in a zip archive or unsigned disk image. An app distributed outside the Mac App Store runs from a randomized path when it is launched and so cannot access such external resources.>>

    I don't really understand all the implications at the moment but I have to look in that direction.

     
    • Vittorio

      Vittorio - 2017-03-30

      the problem has disappeared with Alpha 9.0b1, thanks for looking into this

      Vittorio

      Il giorno 30 mar 2017, alle ore 18:48, Bernard Desgraupes bdesgraupes@users.sf.net ha scritto:

      After looking at your attachment, I think I have a vague idea of what is going wrong. Your error log mentions a path which looks like /private/var/folders/....../AppTranslocation/..... (I have added intermediate dots for clarity). This has to do with a new feature introduced in Sierra (Mac OS X 10.12) and known as AppTranslocation. Here are the release notes:
      << Starting in OS X v10.12, you can no longer provide external code or data alongside your code-signed app in a zip archive or unsigned disk image. An app distributed outside the Mac App Store runs from a randomized path when it is launched and so cannot access such external resources.>>

      I don't really understand all the implications at the moment but I have to look in that direction.

      [tickets:#71] Error in Developer Checkout

      Status: open
      Created: Tue Nov 29, 2016 11:24 AM UTC by Vittorio
      Last Updated: Thu Jan 26, 2017 03:13 PM UTC
      Owner: nobody

      The procedure seem to work fine, at the end I get the message:
      Message: "error deleting "/private/var/folders/.../AlphaCocoa.app/Contents/Resources/Libraries/AlphaTcl": read-only file system"

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/alphacocoa/tickets/71/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • Bernard Desgraupes

    Can we close this ticket ?

     
    • Vittorio

      Vittorio - 2017-03-31

      yes, for me

      Vittorio

      Il giorno 31 mar 2017, alle ore 06:47, Bernard Desgraupes bdesgraupes@users.sf.net ha scritto:

      Can we close this ticket ?

      [tickets:#71] Error in Developer Checkout

      Status: open
      Created: Tue Nov 29, 2016 11:24 AM UTC by Vittorio
      Last Updated: Thu Mar 30, 2017 04:48 PM UTC
      Owner: nobody

      The procedure seem to work fine, at the end I get the message:
      Message: "error deleting "/private/var/folders/.../AlphaCocoa.app/Contents/Resources/Libraries/AlphaTcl": read-only file system"

      Sent from sourceforge.net because alphacocoa-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/alphacocoa/tickets/

      To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


      Check out the vibrant tech community on one of the world's most
      engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______
      AlphaCocoa-devel mailing list
      AlphaCocoa-devel@lists.sourceforge.net
      https://lists.sourceforge.net/lists/listinfo/alphacocoa-devel

       

      Related

      Tickets: #71

  • Bernard Desgraupes

    • status: open --> closed
    • Version: 9.0a10 --> 9.0b1
     
  • Vittorio

    Vittorio - 2017-04-09

    The problem is still there, sorry for claiming it was over. (Alpha 9.0b2 OSX Sierra 10.12.4)

    I think it is related to the global variable $HOME.
    In the tcl shell I get

    «» puts $HOME
    /private/var/folders/../AppTranslocation/../Alpha.app/Contents/Resources/Libraries/AlphaTcl

    Vittorio

     

Log in to post a comment.