Mailing List Archive

ZConfig changes: please try on Windows
Hi,

thanks to Fred for doing the latest ZConfig changes.

@Fred: this should resolve the binding problems on Windows? I assume
there is nothing else to be done in the Zope 2.8 core?! Could someone
from the Windows world check asap if this really resolves the issue?
If everything is ok I will release 2.8b2 on Sunday.

Andreas
RE: ZConfig changes: please try on Windows [ In reply to ]
> @Fred: this should resolve the binding problems on Windows? I assume
> there is nothing else to be done in the Zope 2.8 core?! Could someone
> from the Windows world check asap if this really resolves the issue?
> If everything is ok I will release 2.8b2 on Sunday.

The test suite still fails with a number of errors similar to:

Traceback (most recent call last):
File "c:\Zope-2.8\lib\python\ZServer\tests\test_config.py", line 243, in
test_monitor_factory_without_emergency_user
self.assert_(self.create() is None)
File "c:\Zope-2.8\lib\python\ZServer\tests\test_config.py", line 236, in
create
self.assertEqual(factory.host, DEFAULT_HOSTNAME)
File "e:\src\python-2.3-cvs\lib\unittest.py", line 302, in failUnlessEqual
raise self.failureException, \
AssertionError: '' != 'localhost'

I'll try and look a little deeper...

Mark.

_______________________________________________
Zope-Coders mailing list
Zope-Coders@zope.org
http://mail.zope.org/mailman/listinfo/zope-coders
Re: ZConfig changes: please try on Windows [ In reply to ]
On 5/19/05, Mark Hammond <mhammond@skippinet.com.au> wrote:
> The test suite still fails with a number of errors similar to:

I think I've got it now. Those tests didn't fail on Linux since the
default inet-address and inet-binding-address default hostname values
match on Unix-alikes. The tests should do the right thing now.


-Fred

--
Fred L. Drake, Jr. <fdrake at gmail.com>
Zope Corporation
_______________________________________________
Zope-Coders mailing list
Zope-Coders@zope.org
http://mail.zope.org/mailman/listinfo/zope-coders
Re: ZConfig changes: please try on Windows [ In reply to ]
On 5/18/05, Andreas Jung <lists@andreas-jung.com> wrote:
> @Fred: this should resolve the binding problems on Windows? I assume

Now that I've fixed the issue Mark pointed out in
ZServer/tests/test_config.py, I hope so, but I'm not running tests on
Windows since I don't normally have a Windows development environment
set up.

So if the Windows Zope users are happy with it, then I guess we're
done with this issue, which exhausts what I know needs to be done.


-Fred

--
Fred L. Drake, Jr. <fdrake at gmail.com>
Zope Corporation
_______________________________________________
Zope-Coders mailing list
Zope-Coders@zope.org
http://mail.zope.org/mailman/listinfo/zope-coders
Re: ZConfig changes: please try on Windows [ In reply to ]
Fred Drake wrote:
> On 5/18/05, Andreas Jung <lists@andreas-jung.com> wrote:
>
>>@Fred: this should resolve the binding problems on Windows? I assume
>
>
> Now that I've fixed the issue Mark pointed out in
> ZServer/tests/test_config.py, I hope so, but I'm not running tests on
> Windows since I don't normally have a Windows development environment
> set up.
>
> So if the Windows Zope users are happy with it, then I guess we're
> done with this issue, which exhausts what I know needs to be done.

Thanks! But one test still fails:

======================================================================
FAIL: test_fcgi_factory (__main__.ZServerConfigurationTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_config.py", line 157, in test_fcgi_factory
self.assertEqual(factory.host, "")
File "c:\zope\build_28\build\bin\lib\unittest.py", line 302, in
failUnlessEqual
raise self.failureException, \
AssertionError: 'localhost' != ''

----------------------------------------------------------------------


I never used fcgi and don't know what the right behavior would be.

Either something is wrong with socket-address or the test should expect
ZConfig.datatypes.DEFAULT_HOST.


Cheers, Yuppie

_______________________________________________
Zope-Coders mailing list
Zope-Coders@zope.org
http://mail.zope.org/mailman/listinfo/zope-coders
Re: ZConfig changes: please try on Windows [ In reply to ]
yuppie wrote:
> Fred Drake wrote:
>
>> So if the Windows Zope users are happy with it, then I guess we're
>> done with this issue, which exhausts what I know needs to be done.
>
>
> Thanks! But one test still fails:
>
[...]
>
> Either something is wrong with socket-address or the test should expect
> ZConfig.datatypes.DEFAULT_HOST.

Fixed now. component.xml still used the old socket-address datatype, but
the new socket-binding-address works.

Cheers, Yuppie

_______________________________________________
Zope-Coders mailing list
Zope-Coders@zope.org
http://mail.zope.org/mailman/listinfo/zope-coders
RE: Re: ZConfig changes: please try on Windows [ In reply to ]
> Fixed now. component.xml still used the old socket-address
> datatype, but
> the new socket-binding-address works.

Yep - no more ZServer test failures for me either.

Mark

_______________________________________________
Zope-Coders mailing list
Zope-Coders@zope.org
http://mail.zope.org/mailman/listinfo/zope-coders
Re: Re: ZConfig changes: please try on Windows [ In reply to ]
Thanks guys!

--On Donnerstag, 19. Mai 2005 9:00 Uhr +0200 yuppie
<y.2005-@wcm-solutions.de> wrote:

> yuppie wrote:
>> Fred Drake wrote:
>>
>>> So if the Windows Zope users are happy with it, then I guess we're
>>> done with this issue, which exhausts what I know needs to be done.
>>
>>
>> Thanks! But one test still fails:
>>
> [...]
>>
>> Either something is wrong with socket-address or the test should expect
>> ZConfig.datatypes.DEFAULT_HOST.
>
> Fixed now. component.xml still used the old socket-address datatype, but
> the new socket-binding-address works.
>
> Cheers, Yuppie
>
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders@zope.org
> http://mail.zope.org/mailman/listinfo/zope-coders