[Zope3-dev] Python 2.4 build problem

Bjorn Tillenius bjoti777 at student.liu.se
Thu Jan 20 08:31:16 EST 2005


On Thu, Jan 20, 2005 at 11:57:10AM +0100, Christian Wiese wrote:
> Hi,
> 
> On Wednesday 19 January 2005 17:21, Bjorn Tillenius wrote:
> > On Wed, Jan 19, 2005 at 11:02:24AM -0500, Tim Peters wrote:
> > > [Christian Wiese]
> > >
> > > > as I mentioned on the IRC I've problems building Zope3 with Python 2.4
> > > > on my Linux Box.
> > > >
> > > > If I run the tests, some fail:
> > >
> > > I haven't seen a report of this one failing before:
> > > > Failure in test testUmask (zdaemon.tests.testzdrun.ZDaemonTests)
> > > > Traceback (most recent call last):
> > > >  File "/usr/lib/python2.4/unittest.py", line 260, in run
> > > >    testMethod()
> > > >  File
> > > > "/usr/local/src/zope3/trunk/Zope3/src/zdaemon/tests/testzdrun.py", line
> > > > 251, in testUmask
> > > >    self.assert_(not os.access(path, os.W_OK))
> > > >  File "/usr/lib/python2.4/unittest.py", line 308, in failUnless
> > > >    if not expr: raise self.failureException, msg
> > > > AssertionError
> > >
> > > If it's something unique to your platform, I expect you'll have to
> > > track down the cause.
> >
> > It's most likely because the tests are being run as root, it shouldn't
> > have anything to do with using python 2.4.
> 
> I didn't run the tests as root! So this shouldn't be the problem.

OK, then it's something else. I just assumed you were running as root,
since this test passes for me as a regular user, but fails as root. Both
with python 2.4, and 2.3.

Regards,

Bjorn


More information about the Zope3-dev mailing list