Andy Johnson
2007-Mar-28 06:37 UTC
[Ocfs2-users] error when running ocfs2console (ImportError: No module named ocfs2interface.about)
I had build ocfs2-tools-1.2.3 from sources on x86_64 machine (FC6). When I run: ocfs2console I get: Traceback (most recent call last): File "/usr/local/sbin/ocfs2console", line 3, in ? from ocfs2interface.about import process_args ImportError: No module named ocfs2interface.about When I try: locate ocfs2interface.about I get no result. Any ideas what went wrong ? Regards, Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20070328/3a0f2dfc/attachment.html
Marcos E. Matsunaga
2007-Mar-28 07:39 UTC
[Ocfs2-users] error when running ocfs2console (ImportError: No module named ocfs2interface.about)
Andy, # export PYTHONPATH=/usr/local/lib/python2.3/site-packages # /usr/local/bin/ocfs2console That works for me. Andy Johnson wrote:> I had build ocfs2-tools-1.2.3 from sources on x86_64 machine (FC6). > When I run: > ocfs2console > I get: > Traceback (most recent call last): > File "/usr/local/sbin/ocfs2console", line 3, in ? > from ocfs2interface.about import process_args > ImportError: No module named ocfs2interface.about > > When I try: locate ocfs2interface.about > I get no result. > > Any ideas what went wrong ? > Regards, > Andy > ------------------------------------------------------------------------ > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users-- Regards, Marcos Eduardo Matsunaga Oracle USA Linux Engineering -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20070328/f26fff7c/attachment.html
tlan
2007-Mar-28 19:34 UTC
[Ocfs2-users] error when running ocfs2console (ImportError: No module named ocfs2interface.about)
Hi andy: after i make install the ocfs2-tools-1.2.3 source , it will generate /usr/local/lib64/python2.4/site-packages/ocfs2interface/ please check you have these file like that ls /usr/local/lib64/python2.4/site-packages/ocfs2interface/ about.py console.py fstab.py gidlemodule.so ipwidget.py mount.py o2cbmodule.so plistmodule.so terminal.py bosa.py format.py fswidgets.py guiutil.py ls.py nodeconfig.py ocfs2module.so process.py toolbar.py classlabel.py fsck.py general.py __init__.py menu.py o2cb_ctl.py partitionview.py pushconfig.py tune.py thanks tianyue Andy Johnson wrote:> I had build ocfs2-tools-1.2.3 from sources on x86_64 machine (FC6). > When I run: > ocfs2console > I get: > Traceback (most recent call last): > File "/usr/local/sbin/ocfs2console", line 3, in ? > from ocfs2interface.about import process_args > ImportError: No module named ocfs2interface.about > > When I try: locate ocfs2interface.about > I get no result. > > Any ideas what went wrong ? > Regards, > Andy > ------------------------------------------------------------------------ > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users