[Mixminion-it] Compilazione Mixminion
Luigi Messina
lord.sauron a gmail.com
Gio 4 Nov 2010 11:05:07 CET
Ciao,
pensavo a qualcosa del genere per la mail:
Dear Nick,
we are trying to fix "make test" on mixminion 0.0.8alpha3. After
fixing a reserved word used as a variable in test.py and
ServerQueue.py we have been able
to go a step further.
We now have a different error, you can see the output here:
http://pastebin.com/MnJRmjKj
This error seems to be related to the non existing method _empty in
the ClearableQueue class, inside ThreadUtils.py:
try:
if self._empty(): return
self._clear()
self.not_full.notify()
finally:
self.not_empty.release()
We thought it might be a simple typo and renamed _empty to empty.
This leads to a different behavior
python -tt setup.py run --subcommand=unittests
Searching for platform OpenSSL.
Looking in /usr/local/ssl ...
Looking in /usr/contrib/ssl ...
Looking in /usr/lib/ssl ...
Looking in /usr/ssl ...
Looking in /usr/pkg ...
Looking in /usr/local ...
Looking in /usr ...
Using version of OpenSSL in /usr
Host is little-endian
/usr/lib/python2.6/config/Makefile
running run
running build
running build_py
running build_ext
running build_scripts
copying and adjusting build/mixminion -> build/scripts-2.6
copying and adjusting build/mixminiond -> build/scripts-2.6
....
the test seems to enter some kind of infinite loop and just hangs
there, it doesn't
exit with ctrl+c and it needs to be explicitly killed.
We are thinking how to debug or profile this code to see where its
looping and why,
but can you suggest if we are going the right direction? Maybe the _empty method
was not a typo and it had to be left alone, maybe its completely unrelated.
I hope we aren't bothering you with these questions, thanks for any
advice you may give us.
Luigi
More information about the Mixminion-it
mailing list