My guess is that Mac upgrade installed Python 2.6 and DenyHosts is 
installed for python2.5 (or earlier).  Denyhosts installs files relative 
to the python version's site-packages directory (eg.
/usr/lib/python2.5/site-packages).

If you installed from source, d/l the tarball again and re-install.  If 
you downloaded a binary package, see if you can find one for Python 2.6.

Regards,

Phil

On Fri, 28 Aug 2009, F650dude wrote:

> Hey Guys, i just upgraded to OS X 10.6 Snow Leopard and seems the
> something changed, because denyhosts is no longer wanting to start
> up.  Below is the error i'm getting.
>
>
> starting DenyHosts:    /usr/bin/env python /usr/local/bin/denyhosts.py
> --daemon --config=/usr/share/denyhosts/denyhosts.cfg
> Traceback (most recent call last):
>  File "/usr/local/bin/denyhosts.py", line 5, in <module>
>    import DenyHosts.python_version
> ImportError: No module named DenyHosts.python_version
>
>
> seems to be stopping at importing python_version
>
>
> python
> Python 2.6.1 (r261:67515, Jul  7 2009, 23:51:51)
> [GCC 4.2.1 (Apple Inc. build 5646)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Denyhosts-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/denyhosts-user
>

-- 
Regards,

Phil Schwartz
- http://www.phil-schwartz.com

Open Source Projects:
- DenyHosts: http://www.denyhosts.net
- Kodos: http://kodos.sourceforge.net
- ReleaseForge: http://releaseforge.sourceforge.net
- Scratchy: http://scratchy.sourceforge.net
- FAQtor: http://faqtor.sourceforge.net

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to