bugCompact Disc Input and Control Library - Bugs: bug #36913, doesn't report devices if it gets...

 
 

bug #36913: doesn't report devices if it gets permission denied on any other device

Submitted by:  None
Submitted on:  Sat 21 Jul 2012 03:30:09 PM UTC  
 
Category: PythonSeverity: 5 - Average
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: Rocky Bernstein <rocky>
Originator Email: -unavailable-Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 16 Feb 2013 08:48:38 AM UTC, comment #2:

Haven't heard from you in a while.

If you want to pursue this, refile as a libcdio bug doing what was suggested and give a test case.

Thanks.

Rocky Bernstein <rocky>
Project AdministratorIn charge of this item.
Sat 21 Jul 2012 04:54:42 PM UTC, comment #1:

First, it have a feeling the behavior is that processing stops after the first permission denied problem. So if there were a problem on the last drive tried, you would still have the list found before that.

Also, I suspect this is a libcdio problem rather than a pycdio problem. To confirm or deny, please run cd-info to see if has the same behavior.

Rocky Bernstein <rocky>
Project AdministratorIn charge of this item.
Sat 21 Jul 2012 03:30:09 PM UTC, original submission:

In [1]: import pycdio

In [2]: import cdio

In [3]: cdio.get_devices_with_cap(pycdio.FS_MATCH_ALL, False)
++ WARN: open (/dev/loop0): Permission denied
Out[3]: []

In [4]: cdio.get_devices_with_cap(pycdio.FS_MATCH_ALL, False)
Out[4]: ['/dev/scd0', '/dev/sr0']

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

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 rocky (Posted a comment)
  •  

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 16 Feb 2013 08:48:38 AM UTCrockyStatusNone=>Need Info
      Assigned toNone=>rocky
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup