textedit version control bug: there was a problem connecting to the server

Discussion in 'Mac OS X Lion (10.7)' started by playmakerx, Jun 11, 2011.

  1. playmakerx, Jun 11, 2011
    Last edited: Jun 11, 2011

    macrumors member

    Joined:
    Jun 11, 2011
    #1
    Ever since updating to lion, this error window (there was a problem connecting to the server, urls with the type "file" are not supported) will pop up occasionally, first appeared in dp1 and then disappeared in dp2 and dp3. Now in dp4, when I clicked the "revert to saved" option of text edit app, this window pops up again. Any idea? Thanks.[​IMG]
     
  2. macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #2
    Does not happen on mine. What does the system log show at the time? I'm curious what "server" it thinks it is connecting to. Report as a bug.
     
  3. thread starter macrumors member

    Joined:
    Jun 11, 2011
    #3
    Thanks for reply. I checked the log and found it as:
    13/06/2011 02:42:38.069 NetAuthAgent inErrorInfo = {
    AuthType = Server;
    ErrorNumber = 45;
    ErrorType = 4;
    Scheme = file;
    }
    13/06/2011 02:42:38.990 TextEdit kCGErrorFailure: CGSDisplayID: App trying to enumerate [0 to CGSGetNumberOfDisplays()] instead of using CGSGetDisplayList(). Compensating...
    13/06/2011 02:42:38.990 TextEdit kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    13/06/2011 02:42:40.414 sandboxd ([2435]) TextEdit(2435) deny file-write-data /.DocumentRevisions-V100/PerUID/501/5/com.apple.documentVersions/33C6FBAE-A460-46FE-8064-D08E31A9ABF8.rtf
    13/06/2011 02:42:40.484 sandboxd ([2435]) TextEdit(2435) deny file-write-data /.DocumentRevisions-V100/PerUID/501/5/com.apple.documentVersions/AED41C2F-1DD0-4ADB-8992-083AB4605FDE.rtf
    13/06/2011 02:42:40.585 sandboxd ([2435]) TextEdit(2435) deny file-write-data /.DocumentRevisions-V100/PerUID/501/5/com.apple.documentVersions/DDA48721-31FE-4A53-9481-1179452552C9.rtf
    13/06/2011 02:42:40.667 sandboxd ([2435]) TextEdit(2435) deny file-write-data /.DocumentRevisions-V100/PerUID/501/5/com.apple.documentVersions/994B48D8-EB53-4398-8FCD-DD09A2616043.rtf
    13/06/2011 02:42:40.763 sandboxd ([2435]) TextEdit(2435) deny file-write-data /.DocumentRevisions-V100/PerUID/501/5/com.apple.documentVersions/A7B664B1-94E9-4625-9562-C36C054CF296.rtf
     
  4. macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #4
    I don't know why your TextEdit is being denied permission to write to "deny file-write-data /.DocumentRevisions-V100", which is were the version information is stored.
     
  5. thread starter macrumors member

    Joined:
    Jun 11, 2011
    #5
    any idea to regain that permission?
     
  6. macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #6
    No , if you have no revisions you care about losing, copy the /.DocumentRevisions-V100 directory, and then delete it. Any program will recreate it once a revision is made. Maybe it is corrupt? You can always put it back.
     
  7. macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #7
    I'm still confused by the error message. NetAuthAgent is used to mount remote servers, so why the error. How are things installed? Any other users having the problem on this system?
     
  8. thread starter macrumors member

    Joined:
    Jun 11, 2011
    #8
    Thanks for the tip, will have a try.
     
  9. playmakerx, Jun 12, 2011
    Last edited: Jun 12, 2011

    thread starter macrumors member

    Joined:
    Jun 11, 2011
    #9
    found the file, copied it to desktop, deleted the original one, secure empty trash, then started textedit to edit a txt, and the error showed again...
     
  10. thread starter macrumors member

    Joined:
    Jun 11, 2011
    #10
    had another try, deleted both original and copied ones and secure empty trash, now there's no problem coz i can't even enter the version interface, now when i try to save a version, it says: the document "untitled.rtf" could not be saved. i remember i have disabled local snapshots back in dp1, is this the reason for all the mess here?
     
  11. macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #11
    Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5)

    They removed the function to disable it in DP4. So you deleted the directory and can't move it back?
    You can create the directory, I'm not at my computer but can get you the owner and permission settings or for now make them readable by everyone. Chmod 777 for now and set permissions later if that works.
     
  12. thread starter macrumors member

    Joined:
    Jun 11, 2011
    #12
    i already deleted that file, and don't know how to create one...
    one more thing i noticed, before deleting that, when i set the permissions in "get info", it shows this[​IMG]
    so does it has something to do with dropbox???
     
  13. thread starter macrumors member

    Joined:
    Jun 11, 2011
    #13
    alright, i found someone saying "sudo tmutil disable local" can disable local snapshots, so i typed that and also "sudo tmutil enable local" in terminal just to have a try... that folder appears again, then restarted computer, and now i'm back to the starting point, same error window...i also noticed, maybe it's because the local snapshots function is still disabled, even though i can enter the version control interface, after a restart, those versions will be lost.
     
  14. macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #14
    It's actually a directory.
    The permissions on it should be
    d--x--x--x 7 root wheel 238 Mar 30 21:03 .DocumentRevisions-V100

    It shows read write.
    What does it show in terminal when you run ls -la on your / ? Do you see those permissions?
     
  15. thread starter macrumors member

    Joined:
    Jun 11, 2011
    #15
    Yes, forgive my mistake, it's a directory. After I changed permission from "no access" to "read and write", it does show
    drwx--xrwx 7 root wheel 238 13 Jun 05:08 .DocumentRevisions-V100
    in the terminal. Yet the error remains...
     
  16. macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #16
    Hmm. I'm not really sure what else to try. Strange that the error acts like TextEdit is trying to access it using NetAuthAgent. Sorry, I have no more ideas, other than the crazy one of a new install. Overkill. Maybe someone else can offer a suggestion.
    Do other programs give the same message when they try to make a version? or is it just TextEdit?
     
  17. thread starter macrumors member

    Joined:
    Jun 11, 2011
    #17
    C'mon bro, u have already helped me so patiently, thanks so much. Yes, preview gives the same message. Is the server on the sidebar below "apple" (as shown in screenshot) related with this problem?[​IMG]
    This server there is really weird, it doesn't open upon clicks.
     
  18. macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #18
    I'm not sure. Is there an eject symbol next to it? Can you right click and disconnect? I'm assuming you don't recognize it?
     
  19. thread starter macrumors member

    Joined:
    Jun 11, 2011
    #19
    No idea where it came from. Right click and no response, so can't disconnect.
     
  20. macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #20
    Not sure. In the Finder you can't access it at all? In terminal does it show up as a mounted volume?
     
  21. thread starter macrumors member

    Joined:
    Jun 11, 2011
    #21
    Can't access it in the finder. Actually the case is, when I click it, it shows an empty folder, and the icon on the top of the window is a corrupt or "void" one. And within a blink less than a second, the finder window will jump back to the previous normal finder window. How to show it in terminal?
     
  22. macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #22
    Open terminal type cd /Volumes and see what it lists. It should show you what is mounted like that weird server.
     
  23. thread starter macrumors member

    Joined:
    Jun 11, 2011
    #23
    Tried in terminal but it doesn't show that server. I tried backup in time machine, and the same error message shows. The log is here:
    14/06/2011 03:05:24.913 bootpd DHCP REQUEST [en1]: 1,0:1c:b3:c4:22:90
    14/06/2011 03:05:24.917 bootpd ACK sent <no hostname> 10.0.2.23 pktsize 300
    14/06/2011 03:05:24.917 bootpd service time 0.003666 seconds
    14/06/2011 03:05:25.203 com.apple.backupd Starting standard backup
    14/06/2011 03:05:27.139 com.apple.backupd Error -35 while resolving alias to backup target
    14/06/2011 03:05:27.864 named client 10.0.2.23#55420: RFC 1918 response from Internet for 23.2.0.10.in-addr.arpa
    14/06/2011 03:05:37.216 com.apple.backupd Backup failed with error: 19
    14/06/2011 03:05:38.707 named client 10.0.2.23#5353: RFC 1918 response from Internet for 23.2.0.10.in-addr.arpa
    14/06/2011 03:06:05.062 com.apple.mtmd low priority thinning needed for volume Macintosh HD (/) with 12.0 <= 20.0 pct free space
     
  24. thread starter macrumors member

    Joined:
    Jun 11, 2011
    #24
    It seems to become more and more complicated... Maybe it's better to leave it for now. Thanks for all ur help.
     
  25. macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #25
    Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5)

    Or just reinstall.
     

Share This Page