Issue 61 in hntool: Problem with some modules

0 views
Skip to first unread message

hnt...@googlecode.com

unread,
Aug 19, 2010, 1:42:41 PM8/19/10
to hnt...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 61 by kalibslack: Problem with some modules
http://code.google.com/p/hntool/issues/detail?id=61

Using hntool 0.1.2 on Ubuntu Server with kernel 2.6.32 and python 2.6.

Got this erro:


root@devplatform:/srv/hntool-0.1.2# ./hntool
[ Starting HnTool checks... ]
Traceback (most recent call last):
File "./hntool", line 29, in <module>
hn.run_tests()
File "/srv/hntool-0.1.2/HnTool/core.py", line 221, in run_tests
'results': self.rule_modules[m].analyze(self.options)})
File "/srv/hntool-0.1.2/HnTool/modules/filesystems.py", line 57, in
analyze
datafile = locate_database[os_type]
UnboundLocalError: local variable 'os_type' referenced before assignment


hnt...@googlecode.com

unread,
Aug 19, 2010, 9:01:05 PM8/19/10
to hnt...@googlegroups.com

Comment #1 on issue 61 by italovalcy: Problem with some modules
http://code.google.com/p/hntool/issues/detail?id=61

Hi kalibslack,

Could please check if the package 'mlocate' is installed? If it isnot,
could you please install it and check again?

Thanks for the bug report.


Kind Regards, Italo.

hnt...@googlecode.com

unread,
Aug 20, 2010, 7:35:41 AM8/20/10
to hnt...@googlegroups.com

Comment #2 on issue 61 by kalibslack: Problem with some modules
http://code.google.com/p/hntool/issues/detail?id=61

Working now. ;] Thanks.

hnt...@googlecode.com

unread,
Aug 20, 2010, 7:39:47 AM8/20/10
to hnt...@googlegroups.com
Updates:
Status: Fixed

Comment #3 on issue 61 by hugodoria: Problem with some modules
http://code.google.com/p/hntool/issues/detail?id=61

I will add a better way to check if mlocate is installed.

Thanks for your report, kalibslack. ;-)

hnt...@googlecode.com

unread,
Aug 20, 2010, 7:43:48 AM8/20/10
to hnt...@googlegroups.com

Comment #4 on issue 61 by linux.rafa: Problem with some modules
http://code.google.com/p/hntool/issues/detail?id=61

Can we document this dependency information in source?


Reply all
Reply to author
Forward
0 new messages