[Zope3-dev] Re: #316 : Looking for windows users

Derrick Hudson dman at dman13.dyndns.org
Mon Jul 25 11:10:38 EDT 2005


On Mon, Jul 25, 2005 at 02:06:27PM +0200, Julien Anguenot wrote:
| Dominik Huber wrote:
| > Julien Anguenot wrote:
| > 
| > Hi,
| > 
| > Could someone try to launch the tests with a Zope3 checkout under
| > Windows this way ? :
| > 
| > $ python bin/test -vpu --dir src\\zope\\
[...]

| >> E:\dev\zope3_trunk>python test -vpu --dir src\\zope\\
[...]
| >> ValueError: src\\zope\\ does not exist!
| > 
| >> but...
| > 
| >> E:\dev\zope3_trunk>python test -vpu --dir src\zope\
[...]
| >> Ran 5574 tests in 106.754s
| >> OK
| 
| Is it supposed to work with the double \ ('\\') on windows ?

I wouldn't expect it to.  cmd.exe doesn't treat \ as an escape
character because CP/M chose to use \ as the path separator.

However, if the user is using bash (cygwin), then they would need to
escape the backslashes since bash does interpret it as an escape
character.

Windows C library does accept '/' as a path separator (eg fopen())
so perhaps using / with cmd.exe would work, and probably using / with
cygwin's python.exe would work.

| The error reported was different on this issue but seems to be related
| though.
| 
| http://www.zope.org/Collectors/Zope3-dev/316/

Hmm, the original report there looks like the user is using
bash and the win32 python.exe.

I think some more testing with those various combinations is needed to
verify that the original issue is really resolved.

-D

-- 
One OS to rule them all, one OS to find them,
One OS to bring them all and in the darkness bind them,
In the Land of Redmond, where the Shadows lie.
 
www: http://dman13.dyndns.org/~dman/            jabber: dman at dman13.dyndns.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20050725/a2b240d2/attachment.bin


More information about the Zope3-dev mailing list