Merge lp:~mgorven/ibid/oui into lp:~ibid-core/ibid/old-trunk-1.6
Proposed by
Michael Gorven
Status: | Merged |
---|---|
Approved by: | Stefano Rivera |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp:~mgorven/ibid/oui |
Merge into: | lp:~ibid-core/ibid/old-trunk-1.6 |
Diff against target: |
39 lines (+19/-1) 1 file modified
ibid/plugins/sysadmin.py (+19/-1) |
To merge this branch: | bzr merge lp:~mgorven/ibid/oui |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
marcog (community) | Approve | ||
Stefano Rivera | Approve | ||
Keegan Carruthers-Smith | Approve | ||
Review via email: mp+19259@code.launchpad.net |
To post a comment you must log in.
Query: reload sysadmin reloader: Loading Processor: sysadmin.AptFile reloader: Couldn' t instantiate AptFile processor of sysadmin plugin processors. append( klass(name) ) plugins/ __init_ _.py", line 80, in __init__ plugins/ sysadmin. py", line 118, in setup
DEBUG:core.
ERROR:core.
Traceback (most recent call last):
File "./ibid/core.py", line 235, in load_processor
ibid.
File "./ibid/
self.setup()
File "./ibid/
raise Exception("Cannot locate apt-file executable")
Exception: Cannot locate apt-file executable
Response: Couldn't reload sysadmin
Not sure if we usually implement workarounds for this, but this is failing because another feature in this plugin has a dependency that isn't installed.
+ @match( r'^(?:( ?:mac|oui| ether|ether( ?:net)? (?:\s*code) ?)\s+)? ((?:(?: [0-9a-f] {2}[:-] ?){3}){ 1,2})$' )
You can remove the "ether|" as it's caught by the one that follows.
Do you want to allow a trailing [:-]? (e.g. 11:22:33: matches)
Query: 112233
Response: I don't know who that belongs to
That is very unexpected if the user was not trying to lookup a mac address. I would require the 11:22:33 format (even disallowing 11-22-33 because that looks like an expression) if the leading word (mac, ether, etc.) is left out.