[Mnet-devel] private Mnet -- newbie

Lenny G Arbage alengarbage at yahoo.com
Fri Jul 30 05:33:57 BST 2004


  Hi all.  I've been pouring over the docs and code
for the past few days, hoping to get a setup on a
private cluster of ~30 nodes up.  Once that occurs, I
would like to take some performance measurements for
store/retrieve/etc. (sharing the results here, of
course), and do some hacking.

  I'm having a bit of trouble getting this working. 
Following the instructions in the FAQ, step 7 resulted
in an error in peerman.py:

2004-07-30_02:48:50 ()   File
"/home/peacock/mnet/repos/mnet_new_mt.tracker/egtp/peerman.py",
line 616, in _handle_result_of_bootpage_load
2004-07-30_02:48:50 ()     if not mtdicts:
2004-07-30_02:48:50 () UnboundLocalError: local
variable 'mtdicts' referenced before assignment

  I think I "fixed" this by rearranging the code in
_handle_result_of_bootpage_load, moving everything
following the "except" block to be nested inside the
"try:" block.  This seems to remove the mtdicts
unbound problem, but I'm not sure this is right --
comments?

  After applying that fix, I now get to:
2004-07-30_03:07:17 (commstrats) Our actual hello body
is: {'node
sources':['http://mnetproject.org/repos/mnet_new_mt'],
'node version':'0.7a1-147-METATRACKERFORv06NET',
'platform':'linux2', 'pyver':'2.3.4 2, Jul  5 2004,
09:15:05 GCC 3.3.4 Debian 1:3.3.4-2', 'sequence
num':8, 'services':[{'type':'block server'},
{'type':'publishing block server'}, {'type':'meta
tracker'}]}
2004-07-30_03:07:18 (peerman)
<egtp.peerman.BootPagePollLoop instance at
0x40a83c4c>.event(); loading
'http://webmachine/~len/bootpage.txt'
2004-07-30_03:07:19 (peerman) failure from bootpage
(parse error 'http://webmachine/~len/bootpage.txt')
<KeyError: 'connection strategies'>

  Any hints as to what I should look at to try to
start to fix this?  Is the MULTI_ROOT_ID_TRACKER
spitting out the complete info needed?  Which
components (and .py files) should I be looking at to
determine what this error is about?

  Thanks in advance for helping an Mnet newbie.

  Lenny


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


More information about the Mnet-devel mailing list