[egenix-users] mxBeeBase on WindowsXP with Python2.3

Michael Moum mmoum at woh.rr.com
Thu Sep 25 20:49:48 CEST 2003


Hello all,

I've just downloaded and installed mxBeeBase using the windows installer 
for Python2.3.  I've notice the following problems:

1) FileLock.py contains references to os.symlink, as in
Traceback (most recent call last):
   File "<interactive input>", line 1, in ?
   File "mx\BeeBase\BeeDict.py", line 641, in __init__
     recover=recover)
   File "mx\BeeBase\BeeStorage.py", line 976, in __init__
     apply(BeeStorage.__init__,(self,)+args,kws)
   File "mx\BeeBase\BeeStorage.py", line 180, in __init__
     filelock.lock()
   File "mx\BeeBase\FileLock.py", line 116, in lock
     makelink=os.symlink
AttributeError: 'module' object has no attribute 'symlink'

symlink appears to be for Linux, not for Windows.  Is there a known fix, 
or should I just hack my own?

2) Running BeeDict.py as a program, so the test cases get execute, and 
inserting the line d.commit() after the last entry and before the del 
d,s, I get the following error:
 >>> 2000 2003-09-25 19:46:12.71 [p6100] Committing all changes for 
"test-BeeDict"...
2000 2003-09-25 19:46:12.71 [p6100]  writing key "Thorsten":
-------------------------------------------------------------------------------
'Petra'
-------------------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\Python23\lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", 
line 310, in RunScript
     exec codeObject in __main__.__dict__
   File "C:\Python23\Lib\site-packages\mx\BeeBase\BeeDict.py", line 
1259, in ?
     d.commit()
   File "C:\Python23\Lib\site-packages\mx\BeeBase\BeeDict.py", line 764, 
in commit
     index[hashvalue] = address
TypeError: record address must be an integer

This also can be fixed by converting address to an integer.  Has anyone 
else run into this, and is there an "official" fix for this, or do I 
roll my own again?

Thanks in advance,
Mike
-- 
the Moum's (Mike, Dede, Suzanne, Jeff, Kristen)
Tipp City, Ohio, USA
Visit the Baha'i World web site at www.bahai.org
Visit the U.S. Baha'i web site at www.us.bahai.org




More information about the egenix-users mailing list