[Zope] strange issue with Zope HEAD (2.x) and python 2.2.2

antonio.meireles@epandemic.com antonio.meireles@epandemic.com
28 Jan 2003 18:51:05 +0000


Hi all, 

after several weeks away from zopeland (sickness) i fetched the latest
sources from CVS. 

AFAIK the soon to be 2.7 should had worked rigth out of the box with
python 2.2.x. 

Anyway with python 2.2.2 (and with both gcc3.2.1 and 2.95) i *allways*
get this build error, at build time of zope sources: 


        (...)
        Creating stop script, stop
        ------------------------------------------------------------------------------
        creating default inituser file
        Traceback (most recent call last):
          File "wo_pcgi.py", line 48, in ?
            if __name__=='__main__': main(sys.argv[0])
          File "wo_pcgi.py", line 42, in main
            import zpasswd; zpasswd.write_inituser(home, user, group)
          File "/opt/zope/Zop/Zope/zpasswd.py", line 109, in
        write_inituser
            pw = write_generated_password(home, ac_path, 'admin')
          File "/opt/zope/Zop/Zope/zpasswd.py", line 80, in
        write_generated_password
            pw = pw + random.choice(pw_choices)
          File "/usr/lib/python2.2/random.py", line 355, in choice
            return seq[int(self.random() * len(seq))]
        OverflowError: float too large to convert
        make: *** [all] Error 1



Any idea/hint ? (platform is Gentoo/x86)

thanxs in advance
 
-- 
António Meireles <antonio.meireles@epandemic.com>
epandemic.com