On Thu, 10 Mar 2011 04:04:37 +0100 (CET) rk4k royke4k@cbn.net.id wrote:
I can see the frontpage Welcome Page. But when I click on login link , it generated error like this :
Exception Type: ImportError Exception Value:
No module named oid
Exception Location: /usr/local/nav/lib/python/nav/Snmp/pysnmp_se.py in <module>, line 22 Python Executable: /usr/bin/python
[snip]
Maybe I missed something here about OID, but can't figure it out where ... Any help/hint is much appreciated.
Try "aptitude remove python-pysnmp4".
Ubuntu has a bug in its pysnmp packages. You've likely installed the package python-pysnmp-se, which depends on python-pysnmp-common, which recommends python-pysnmp4, so all of these get installed.
The python-pysnmp4 Ubuntu package conflicts with the other pysnmp packages, causing it to overwrite parts of python-pysnmp-se, rendering it unavailable for use.
Let me know how it goes :-)