bugmonotone - Bugs: bug #16895, Better error reporting in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16895: Better error reporting in permission-denied scenarios

Submitted by:  Jack Lloyd <randombit>
Submitted on:  Tue 20 Jun 2006 04:28:25 PM UTC  
 
Category: error handlingSeverity: 3 - Normal
Item Group: feature requestStatus: Fixed
Privacy: PublicAssigned to: Timothy Brownawell <tbrownaw>
Open/Closed: Closed
mtn version --full: 

monotone 0.27 (base revision: 341e4a18c594cec49896fa97bd4e74de7bee5827)
Running on : Linux 2.6.16-1.2111_FC4 #1 Sat May 20 19:59:40 EDT 2006 i686
C++ compiler : GNU C++ version 4.0.2 20051125 (Red Hat 4.0.2-8)
C++ standard library: GNU libstdc++ version 20051125
Boost version : 1_32
Changes since base revision:
format_version "1"

new_manifest [8e9ac81ef37aa9c0334b97d46467a8ee61450078]

old_revision [341e4a18c594cec49896fa97bd4e74de7bee5827]

Generated from data cached in the distribution;
further changes may have been made.

 Spam posted by an anonymous
Mon 17 Jul 2006 03:53:03 AM UTC, comment #1:

This is "fixed" in mainline. It does give a proper error message now, but not a very good one.

(Note, it's the server that needs to be upgraded for this to work.)

Timothy Brownawell <tbrownaw>
Project MemberIn charge of this item.
Tue 20 Jun 2006 04:28:25 PM UTC, original submission:

(washu ~/projects/monotone)$ mtn sync
mtn: connecting to venge.net
mtn: finding items to synchronize:
mtn: certificates | keys | revisions
mtn: 19,445 | 30 | 6,437
mtn: bytes in | bytes out | revs in | revs out
mtn: 0 | 346 | 0 | 0
mtn: error: I/O failure while talking to peer venge.net, disconnecting

I don't know if netsync is sending across any information which would allow for a more informative error message, but "I/O failure" is a kind of poor way of telling the user "write access denied".

I was running ethereal trying to debug my network connection when I finally realized I wanted "mtn pull". :/

Jack Lloyd <randombit>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tbrownaw (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 11 May 2010 12:49:56 PM UTCtbrownawOpen/ClosedIn Test=>Closed
    Sat 08 May 2010 10:11:23 PM UTCtbrownawStatusNone=>Fixed
      Assigned toNone=>tbrownaw
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1