Menu

#4 Report libusb error to user

closed-accepted
nobody
None
5
2007-06-06
2007-06-06
No

Hi

I'm not really comfortable commiting things into lprof as I've been away for so long. Here's a trivial patch that might be useful; it enables reporting of the error message from libusb to the user if something goes wrong when talking to the colour meter.

Well, in one place anyway.

Maybe once I'm done with exams I'll have a chance to play some more, do some slightly less trivial error handling work (gracefully exit rather than just die on error, etc).

Discussion

  • Craig Ringer

    Craig Ringer - 2007-06-06

    Report libusb error to user

     
  • Hal Engel

    Hal Engel - 2007-06-06

    Logged In: YES
    user_id=1052244
    Originator: NO

    Craig,

    This is a in the argyll library. I will pass this on to Graeme so that he can include it in the library. I will also apply it to lprof since anything that gives better feed back to users is a good thing.

    Hal

     
  • Hal Engel

    Hal Engel - 2007-06-06

    Logged In: YES
    user_id=1052244
    Originator: NO

    This is now in CVS.

     
  • Hal Engel

    Hal Engel - 2007-06-06
    • status: open --> closed-accepted
     

Log in to post a comment.