El dom, 25-04-2010 a las 23:13 +0100, Juan J. Martínez escribió:
> [...]
> > Where did it fail?
>
> I'm looking at it, but...
>
> Traceback (most recent call last):
> File "./run-tests.py", line 279, in ?
> obj = m.Test()
> File "203-secdownload1.py", line 27, in __init__
> req = '/%s%s' %(DIR, secure_download('/%s'%(FILE), SECRET))
> File "203-secdownload1.py", line 19, in secure_download
> import time, hashlib
> ImportError: No module named hashlib
>
Yes, seems that hashlib is new in Python 2.5; so we got a problem here
if we want to keep 2.4 support.
There's a standalone version for Python 2.4:
http://code.krypto.org/python/hashlib/
So, at least we have to clarify the requirements to run Cherokee in
Python 2.4 systems, and check the availability of those packages (if
possible) in them.
After that, syntax error:
Traceback (most recent call last):
File "/usr/local/share/cherokee/admin/server.py", line 185, in ?
import PageVServers
File "/usr/local/share/cherokee/admin/PageVServers.py", line 209
disclass = 'vserver-inactive' if is_disabled else ''
^
SyntaxError: invalid syntax
I've added that info to:
http://code.google.com/p/cherokee/issues/detail?id=816
Regards,
Juanjo
--
jjm's home: http://www.usebox.net/jjm/
blackshell: http://blackshell.usebox.net/
ramble on: http://rambleon.usebox.net/
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee