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 Jul 21 15:30:09 2012  
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 Feb 16 08:48:38 2013, 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.


Rocky Bernstein <rocky>
Project AdministratorIn charge of this item.
Sat Jul 21 16:54:42 2012, 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 Jul 21 15:30:09 2012, 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']



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

Attach File(s):

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 Feb 16 08:48:38 2013rockyStatusNone=>Need Info
      Assigned toNone=>rocky

    Back to the top

    Powered by Savane 3.1-cleanup1