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

Submitter:  None
Submitted:  Sat 21 Jul 2012 03:30:09 PM UTC
   
 
Category:  Python Severity:  5 - Average
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  rocky
Originator Email:  -email is unavailable- Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group administrator
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rocky (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-02-16 rocky StatusNone Need Info
        Assigned toNone rocky
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code