Ticket #24 (closed defect: fixed)
nasty exception when cdrdao is missing
| Reported by: | https://thomasvs.myopenid.com/ | Owned by: | https://thomasvs.myopenid.com/ |
|---|---|---|---|
| Priority: | major | Milestone: | 0.1.2 |
| Component: | morituri | Version: | master |
| Keywords: | Cc: |
Description
thomas@macbook:~/dev/own/morituri/trunk$ RIP_DEBUG=5 rip offset find
DEBUG [11935] "rip" rip Mar 15 16:21:38 parse_args called (morituri/extern/command/command.py:259)
DEBUG [11935] "offset" offset Mar 15 16:21:38 parse_args called (morituri/extern/command/command.py:259)
DEBUG [11935] "find" find Mar 15 16:21:38 parse_args called (morituri/extern/command/command.py:259)
DEBUG [11935] "find" find Mar 15 16:21:38 Trying with offsets [6, 48, 102, 667, 12, 30, 618, 594, 738, -472, 98, 116, 96, 733, 120, 691, 685, 97, 600, 690, 1292, 99, 676, 686, 1182, -24, 704, 572, 688, 91, 696, 103, -491, 689, 145, 708, 697, 564, 86, 679, 355, -496, -1164, 1160, 694, 0, -436, 79, 94, 684, 681, 106, 692, 943, 1194, 92, 117, 680, 682, 1268, 678, -582, 1473, 1279, -54, 1508, 740, 1272, 534, 976, 687, 675, 1303, 674, 1263, 108, 974, 122, 111, -489, 772, 732, -495, -494, 975, 935, 87, 668, 1776, 1364, 1336, 1127] (morituri/rip/offset.py:74)
INFO [11935] drive Mar 15 16:21:38 Cannot import pycdio (morituri/common/drive.py:31)
DEBUG [11935] "find" find Mar 15 16:21:38 no args or no subcommands, doing (morituri/extern/command/command.py:298)
DEBUG [11935] TaskRunner Mar 15 16:21:38 run task <morituri.program.cdrdao.ReadTOCTask object at 0x20be690> (morituri/common/task.py:335)
DEBUG [11935] default Mar 15 16:21:38 MultiSeparateTask.start() (morituri/common/task.py:263)
LOG [11935] default Mar 15 16:21:38 notifying progress: 0.0 (morituri/common/task.py:90)
DEBUG [11935] default Mar 15 16:21:38 MultiSeparateTask.next() (morituri/common/task.py:267)
DEBUG [11935] default Mar 15 16:21:38 BaseMultiTask.next(): starting task <morituri.program.cdrdao.DiscInfoTask object at 0x20be190> (morituri/common/task.py:211)
LOG [11935] default Mar 15 16:21:38 notifying progress: 0.0 (morituri/common/task.py:90)
LOG [11935] default Mar 15 16:21:38 notifying progress: 0.0 (morituri/common/task.py:90)
DEBUG [11935] default Mar 15 16:21:38 Got exception during next (morituri/common/task.py:218)
DEBUG [11935] default Mar 15 16:21:38 >>> morituri/common/task.py:215: next() (morituri/common/task.py:220)
DEBUG [11935] default Mar 15 16:21:38 >>> morituri/program/cdrdao.py:256: start() (morituri/common/task.py:220)
DEBUG [11935] default Mar 15 16:21:38 >>> /usr/lib/python2.6/subprocess.py:621: __init__() (morituri/common/task.py:220)
DEBUG [11935] default Mar 15 16:21:38 >>> /usr/lib/python2.6/subprocess.py:1126: _execute_child() (morituri/common/task.py:220)
DEBUG [11935] default Mar 15 16:21:38 >>> exception OSError at /usr/lib/python2.6/subprocess.py:1126: _execute_child(): [Errno 2] No such file or directory (morituri/common/task.py:220)
DEBUG [11935] default Mar 15 16:21:38 stopping (morituri/common/task.py:76)
DEBUG [11935] TaskRunner Mar 15 16:21:38 stopped task <morituri.program.cdrdao.ReadTOCTask object at 0x20be690> (morituri/common/task.py:408)
DEBUG [11935] TaskRunner Mar 15 16:21:38 done running task <morituri.program.cdrdao.ReadTOCTask object at 0x20be690> (morituri/common/task.py:349)
DEBUG [11935] TaskRunner Mar 15 16:21:38 raising exception, 'morituri/common/task.py:215: next()\nmorituri/program/cdrdao.py:256: start()\n/usr/lib/python2.6/subprocess.py:621: __init__()\n/usr/lib/python2.6/subprocess.py:1126: _execute_child()\nexception OSError at /usr/lib/python2.6/subprocess.py:1126: _execute_child(): [Errno 2] No such file or directory' (morituri/common/task.py:352)
Traceback (most recent call last):
File "/usr/local/bin/rip", line 35, in <module>
sys.exit(main.main(sys.argv[1:]))
File "/usr/local/lib/python2.6/site-packages/morituri/rip/main.py", line 12, in main
ret = c.parse(argv)
File "/usr/local/lib/python2.6/site-packages/morituri/extern/command/command.py", line 329, in parse
return self.subCommands[command].parse(args[1:])
File "/usr/local/lib/python2.6/site-packages/morituri/extern/command/command.py", line 329, in parse
return self.subCommands[command].parse(args[1:])
File "/usr/local/lib/python2.6/site-packages/morituri/extern/command/command.py", line 300, in parse
ret = self.do(args)
File "/usr/local/lib/python2.6/site-packages/morituri/rip/offset.py", line 95, in do
runner.run(t)
File "/usr/local/lib/python2.6/site-packages/morituri/common/task.py", line 353, in run
raise task.exception
OSError: [Errno 2] No such file or directory
Change History
Note: See
TracTickets for help on using
tickets.
