OK this is erroring still due to
[Errno 2] No such file or directory: '/tmp/adt-run.XH20gO/tree/tests/autopilot/music_app/content/blank-mediascanner-2.0/songs/1.ogg'
[Errno 2] No such file or directory: '/tmp/adt-run.XH20gO/tree/tests/autopilot/music_app/content/blank-mediascanner-2.0/songs/2.ogg'
[Errno 2] No such file or directory: '/tmp/adt-run.XH20gO/tree/tests/autopilot/music_app/content/blank-mediascanner-2.0/songs/3.mp3'
However it was silently failing, so we didn't know it was unable to remove the files, full log with my extra debugging can be found here [0]
There are two inline comments (3 instances of each) to fix, which should resolve this
1) This should be
os.remove(os.path.join(musicpath, '1.ogg'))
2) As these were failing silently, can we change these to
except OSError as e:
logger.debug("Error removing" + str(e))
Once you have fixed those issues, the test passes for me :-) My diff looks like this [1]
OK this is erroring still due to run.XH20gO/ tree/tests/ autopilot/ music_app/ content/ blank-mediascan ner-2.0/ songs/1. ogg' run.XH20gO/ tree/tests/ autopilot/ music_app/ content/ blank-mediascan ner-2.0/ songs/2. ogg' run.XH20gO/ tree/tests/ autopilot/ music_app/ content/ blank-mediascan ner-2.0/ songs/3. mp3'
[Errno 2] No such file or directory: '/tmp/adt-
[Errno 2] No such file or directory: '/tmp/adt-
[Errno 2] No such file or directory: '/tmp/adt-
However it was silently failing, so we didn't know it was unable to remove the files, full log with my extra debugging can be found here [0]
There are two inline comments (3 instances of each) to fix, which should resolve this os.path. join(musicpath, '1.ogg')) debug(" Error removing" + str(e))
1) This should be
os.remove(
2) As these were failing silently, can we change these to
except OSError as e:
logger.
Once you have fixed those issues, the test passes for me :-) My diff looks like this [1]
0 - http:// pastebin. ubuntu. com/14404744/ pastebin. ubuntu. com/14404783/
1 - http://