[Mnet-devel] MT FAQ
Arno Waschk
hamamatsu at gmx.de
Sat Sep 18 22:20:08 BST 2004
2004-09-18_04:34:31 () <=== <sd189>: receiving: (id: <pdg4w>, type: list
servers, msg: None), 1738 bytes uncomp
2004-09-18_04:34:31 () ---> <sd189>: sending: (id: <wnnh8>, type: list
servers response, ref: <pdg4w>, msg: []), 294 bytes uncomp
2004-09-18_04:34:31 () <=== <sd189>: receiving: (id: <6qe3c>, type: hello,
msg: {'connection strategies':[{'comm strat sequence num':1, 'comm
strategy type':'crypto', 'lowerstrategy':{'IP address':'4.12.29.42', 'comm
strat sequence num':1, 'comm strategy type':'TCP', 'port number':'45077'},
'pubkey':{'key header':{'cryptosystem':'RSA', 'type':'public',
'usage':'only for communication security'}, 'key values':{'public
exponent':'3', 'public
modulus':'uLvYQ1IBU-1xwj4584dL3jLEM0GCF8MZDC22_gvf6yuEizAlA2AGxwIME8yvju-kyAFTMdODR7r7WLhiY-8o1TjkxEZaeb2s8gdhH7xudLRouumepNUqk3oCoi5n6Rdt6UurhIO3wdltG8dHOCILBNJq-yME1EpwVVqoM5ATLj0'}}}],
'node version':'0.7a1-148-METATRACKERFORv06NET', 'platform':'linux2',
'pyver':'2.3.3 1, Apr 6 2004, 01:47:39 GCC 3.3.3 SuSE Linux', 'sequence
num':7, 'services':[{'type':'block server'}, {'type':'publishing block
server'}, {'type':'meta tracker'}], ...}), 1702 bytes uncomp
2004-09-18_04:34:31 (ERROR) DoQ caught an exception. Shutting down. The
stack trace from when this task was added to the DoQ is: None. exception:
<AssertionError: "self: <Peer <sd189>> <type 'instance'>, 'd':
{'connection strategies':[{'comm strat sequence num':1, 'comm strategy
type':'crypto', 'lowerstrategy':{'IP address':'4.12.29.42', 'comm strat
sequence num':1, 'comm strategy type':'TCP', 'port number':'45077'},
'pubkey':{'key header':{'cryptosystem':'RSA', 'type':'public',
'usage':'only for communication security'}, 'key values':{'public
exponent':'3', 'public
modulus':'uLvYQ1IBU-1xwj4584dL3jLEM0GCF8MZDC22_gvf6yuEizAlA2AGxwIME8yvju-kyAFTMdODR7r7WLhiY-8o1TjkxEZaeb2s8gdhH7xudLRouumepNUqk3oCoi5n6Rdt6UurhIO3wdltG8dHOCILBNJq-yME1EpwVVqoM5ATLj0'}}}],
'services':[{'type':'block server'}, {'type':'publishing block server'},
{'type':'meta tracker'}]} <type 'dict'>">
2004-09-18_04:34:31 () Traceback (most recent call last):
2004-09-18_04:34:31 () File
"/data/home/ed/devel/mnet/MNET/darcs-mnet_new_mt/pyutil/DoQ.py", line 302,
in _do_thing
2004-09-18_04:34:31 () result = func(*args, **kwargs)
2004-09-18_04:34:31 () File
"/data/home/ed/devel/mnet/MNET/darcs-mnet_new_mt/egtp/Conversation.py",
line 347, in handle_raw_message
2004-09-18_04:34:31 () result = self._process(inmsg, msgId,
counterparty_id, commstrat)
2004-09-18_04:34:31 () File
"/data/home/ed/devel/mnet/MNET/darcs-mnet_new_mt/egtp/Conversation.py",
line 266, in _process
2004-09-18_04:34:31 () result =
self._MTM.handle_initiating_message(counterparty_id, conversationtype,
MojoMessage.getBody(msg), firstmsgId=msgId, commstrat=commstrat)
2004-09-18_04:34:31 () File
"/data/home/ed/devel/mnet/MNET/darcs-mnet_new_mt/egtp/MojoTransaction.py",
line 649, in handle_initiating_message
2004-09-18_04:34:31 () result = serverfunc(widget, msgbody['mojo
message'])
2004-09-18_04:34:31 () File
"/data/home/ed/devel/mnet/MNET/darcs-mnet_new_mt/egtp/Node.py", line 110,
in translate
2004-09-18_04:34:31 ()
handler_func(self.peerset.new_peer(widget._commstrat), msgbody,
ReplyOpHandler(self, widget._firstmsgId))
2004-09-18_04:34:31 () File
"/data/home/ed/devel/mnet/MNET/darcs-mnet_new_mt/egtp/metatracker/MetaTracker.py",
line 87, in handle_hello
2004-09-18_04:34:31 () peer.set_services(msg.get('services', ()))
2004-09-18_04:34:31 () File
"/data/home/ed/devel/mnet/MNET/darcs-mnet_new_mt/egtp/peerset.py", line
121, in set_services
2004-09-18_04:34:31 () _assert((d['connection strategies'][0]['comm
strategy type'] == 'TCP') == d['connection strategies'][0].get('port
number') == d['connection strategies'][0].get('IP address'), self=self,
d=d)
2004-09-18_04:34:31 () File
"/data/home/ed/devel/mnet/MNET/darcs-mnet_new_mt/pyutil/assertutil.py",
line 33, in _assert
2004-09-18_04:34:31 () raise assertionfailureexception
2004-09-18_04:34:31 () AssertionError: self: <Peer <sd189>> <type
'instance'>, 'd': {'connection strategies':[{'comm strat sequence num':1,
'comm strategy type':'crypto', 'lowerstrategy':{'IP address':'4.12.29.42',
'comm strat sequence num':1, 'comm strategy type':'TCP', 'port
number':'45077'}, 'pubkey':{'key header':{'cryptosystem':'RSA',
'type':'public', 'usage':'only for communication security'}, 'key
values':{'public exponent':'3', 'public
modulus':'uLvYQ1IBU-1xwj4584dL3jLEM0GCF8MZDC22_gvf6yuEizAlA2AGxwIME8yvju-kyAFTMdODR7r7WLhiY-8o1TjkxEZaeb2s8gdhH7xudLRouumepNUqk3oCoi5n6Rdt6UurhIO3wdltG8dHOCILBNJq-yME1EpwVVqoM5ATLj0'}}}],
'services':[{'type':'block server'}, {'type':'publishing block server'},
{'type':'meta tracker'}]} <type 'dict'>
2004-09-18_04:34:31 () <=== <sd189>: receiving: (id: <wnnh8>, type: list
servers response, ref: <pdg4w>, msg: []), 294 bytes uncomp
On 18 Sep 2004 08:37:30 -0300, Zooko Wilcox-O'Hearn <zooko at zooko.com>
wrote:
> On 2004, Sep 18, , at 04:57, Arno Waschk wrote:
>
>> It should say that the source tree to run a MT is the darcs-mnet_new_mt
>> target in the CVS (and which other in darcs?), and that the thing
>> should be launched with 'python -OO', since it would otherwise die in
>> some assertation things which it does not need to die from.
>
> Could someone post a traceback from such an assertion failure? I
> haven't seen it myself.
>
> --Z
>
> _______________________________________________
> Mnet-devel mailing list
> Mnet-devel at lists.mnetproject.org
> http://lists.mnetproject.org/mailman/listinfo/mnet-devel
>
--
http://www.arnowaschk.de
More information about the Mnet-devel
mailing list