Hi Alexandre,
I have found bug when I tried to deploy Smallwiki.
Here is the method I've changed:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
SmallWiki.SwazooServer>>start
swazoo port: self port.
swazoo ip: '*'.
swazoo start
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The idea was to change 'localhost' by '*'.
Having 'localhost' allows only __local__ connection. For instance, I
couldn't connect to the smallwiki from a web browser launched on a
different host.
I didn't know about that problem, but I think you are right. I could
reproduce the problem in my own network with laptop and pc. Your code
does fix it. Unfortunately it is quite hard to write a test case to
catch that kind of error.
I included your it into the latest distribution, but don't download it
right now: the design looks terrible and the new template stuff is not
working correctly yet (you only get exception traces).
I didn't check the documentation of Swazoo (is
there any?), so what I
just said is the result of my personnal experience.
There is very little documentation on Swazoo. Everything available
should be reachable from the homepage
http://swazoo.sourceforge.net.
Most of the Swazoo code I was writing while looking at the source of
the implementation and the examples.
Thanks for your help,
Lukas
--
Lukas Renggli
http://renggli.freezope.org