Missing dependency on python-central
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mic2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 11.10, mic2 is missing a dependency on the python-central package. In particular, pycentral is required for the function check_mic(
This is an example of the error message you would get if python-central is not installed:
--- Start of error message ---
Traceback (most recent call last):
File "/usr/bin/
ret = main()
File "/usr/bin/
utils.
File "/usr/lib/
stdout = subprocess.PIPE, stderr = dev_null)
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
raise child_exception
OSError: [Errno 2] No such file or directory
--- End of error message ---
After this is resolved, someone also needs to apply the following patch to that function:
--- /usr/share/
+++ /usr/share/
@@ -696,7 +696,6 @@
- bin_path = "/usr/local/bin"
elif dist == 'debian':
if os.path.
Otherwise, you get the following error message:
--- Start of error message ---
Traceback (most recent call last):
File "/usr/bin/
ret = main()
File "/usr/bin/
utils.
File "/usr/lib/
copy_
File "/usr/lib/
shutil.
File "/usr/lib/
copyfile(src, dst)
File "/usr/lib/
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/usr/local/
--- End of error message ---