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

2005-07-25 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Could someone try to launch the tests with a Zope3 checkout under
Windows this way ? :

$ python bin/test -vpu --dir src\\zope\\

Just to check if this bug still exists with the trunk or not.

J.
- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFC5MFTGhoG8MxZ/pIRAvB5AJ9u0S1aOfPOlV0lXarASLLq4yKAZQCfVI4v
ZVkmoi258tjqHN7wKtlFJv0=
=n4yT
-END PGP SIGNATURE-
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



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

2005-07-25 Thread Dominik Huber

Julien Anguenot wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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\\

Configuration file found.
Running UNIT tests at level 1
Running UNIT tests from E:\dev\zope3_trunk
Traceback (most recent call last):
 File "test.py", line 27, in ?
   zope.app.testing.test.process_args()
 File "E:\dev\zope3_trunk\src\zope\app\testing\test.py", line 1170, in 
process

args
   bad = main(MODULE_FILTERS, TEST_FILTERS, LIBDIR)
 File "E:\dev\zope3_trunk\src\zope\app\testing\test.py", line 799, in main
   files = find_tests(module_filter)
 File "E:\dev\zope3_trunk\src\zope\app\testing\test.py", line 584, in 
find_tes

s
   d = find_test_dir(d)
 File "E:\dev\zope3_trunk\src\zope\app\testing\test.py", line 576, in 
find_tes

_dir
   raise ValueError("%s does not exist!" % dir)
ValueError: src\\zope\\ does not exist!

but...

E:\dev\zope3_trunk>python test -vpu --dir src\zope\

Configuration file found.
Running UNIT tests at level 1
Running UNIT tests from E:\dev\zope3_trunk
3904/5574 ( 70.0%): test_merge_conflict 
(...c.tests.test_fsmerger.TestFSMerger)

diff3 doesn't work, diff3 tests disabled
5572/5574 (100.0%): toxml 
(zope.xmlpickle.xmlpickle)   -

-
Ran 5574 tests in 106.754s

OK


Just to check if this bug still exists with the trunk or not.

J.
- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFC5MFTGhoG8MxZ/pIRAvB5AJ9u0S1aOfPOlV0lXarASLLq4yKAZQCfVI4v
ZVkmoi258tjqHN7wKtlFJv0=
=n4yT
-END PGP SIGNATURE-
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/dominik.huber%40perse.ch
 




___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Zope 3 Bug Day on Friday

2005-07-25 Thread Stephan Richter
Hi everyone,

as discussed on IRC last week, we are planning to have a bug day this Friday, 
July 29, 2005. 

The goal of this bug day is to resolve or downrate all outstanding bugs, so 
that we can make a Zope 3.1 RC1 release soon thereafter.

It would be really great, if you could join us! The more people we have, the 
faster it should be all done! :-)

Note: I will lift the feature freeze on the trunk after the bug day and create 
a 3.1 branch!

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] Zope 3 Bug Day on Friday

2005-07-25 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stephan Richter wrote:
> Hi everyone,
> 
> as discussed on IRC last week, we are planning to have a bug day this Friday, 
> July 29, 2005. 
> 
> The goal of this bug day is to resolve or downrate all outstanding bugs, so 
> that we can make a Zope 3.1 RC1 release soon thereafter.
> 
> It would be really great, if you could join us! The more people we have, the 
> faster it should be all done! :-)
> 

I'll definitely join.

> Note: I will lift the feature freeze on the trunk after the bug day and 
> create 
> a 3.1 branch!
> 

That's great news !! :-)

J.

- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFC5NT+GhoG8MxZ/pIRAs6QAJsEuCz4UHMPY48aNgn/OcDCoqPCHQCdEJP8
7VNAHV34W171W3NAELuN/iE=
=usbs
-END PGP SIGNATURE-
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



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

2005-07-25 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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\\
> 
>> Configuration file found.
>> Running UNIT tests at level 1
>> Running UNIT tests from E:\dev\zope3_trunk
>> Traceback (most recent call last):
>>  File "test.py", line 27, in ?
>>zope.app.testing.test.process_args()
>>  File "E:\dev\zope3_trunk\src\zope\app\testing\test.py", line 1170, in
>> process
>> args
>>bad = main(MODULE_FILTERS, TEST_FILTERS, LIBDIR)
>>  File "E:\dev\zope3_trunk\src\zope\app\testing\test.py", line 799, in main
>>files = find_tests(module_filter)
>>  File "E:\dev\zope3_trunk\src\zope\app\testing\test.py", line 584, in
>> find_tes
>> s
>>d = find_test_dir(d)
>>  File "E:\dev\zope3_trunk\src\zope\app\testing\test.py", line 576, in
>> find_tes
>> _dir
>>raise ValueError("%s does not exist!" % dir)
>> ValueError: src\\zope\\ does not exist!
> 
>> but...
> 
>> E:\dev\zope3_trunk>python test -vpu --dir src\zope\
> 
>> Configuration file found.
>> Running UNIT tests at level 1
>> Running UNIT tests from E:\dev\zope3_trunk
>> 3904/5574 ( 70.0%): test_merge_conflict
>> (...c.tests.test_fsmerger.TestFSMerger)
>> diff3 doesn't work, diff3 tests disabled
>> 5572/5574 (100.0%): toxml
>> (zope.xmlpickle.xmlpickle)   -
>> -
>> Ran 5574 tests in 106.754s
> 
>> OK

Is it supposed to work with the double \ ('\\') on windows ?
The error reported was different on this issue but seems to be related
though.

http://www.zope.org/Collectors/Zope3-dev/316/

J.


- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFC5NXDGhoG8MxZ/pIRApOdAJ9ZJQRr2PkmZNHVLncn+nx7ZrRt3gCdEJCQ
Cinr+V7INM2pIhbmR4K8HBc=
=00Kf
-END PGP SIGNATURE-
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



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

2005-07-25 Thread Dominik Huber

Julien Anguenot wrote:


Is it supposed to work with the double \ ('\\') on windows ?

The error reported was different on this issue but seems to be related
though.
 


I don't know. I never used it with double '\' before.

Dominik

___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



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

2005-07-25 Thread Benji York

Julien Anguenot wrote:

Is it supposed to work with the double \ ('\\') on windows ?


I don't see why it would:

C:\>dir \\
The filename, directory name, or volume label syntax is incorrect.

Double backslashes have a special meaning on Windows:

C:\>net view \\benji-desktop
Shared resources at \\benji-desktop



Share name   Type Used as  Comment

-
CDisk
public   Disk
The command completed successfully.



The error reported was different on this issue but seems to be related
though.

http://www.zope.org/Collectors/Zope3-dev/316/


I don't know if they're related, but the command line in the issue does 
use doubled backslashes, which definitely won't work.

--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



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

2005-07-25 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ok cool. The behavior is correct and we can close the bug then.

Thanks.

J.

Benji York wrote:
> Julien Anguenot wrote:
> 
>> Is it supposed to work with the double \ ('\\') on windows ?
> 
> 
> I don't see why it would:
> 
> C:\>dir \\
> The filename, directory name, or volume label syntax is incorrect.
> 
> Double backslashes have a special meaning on Windows:
> 
> C:\>net view \\benji-desktop
> Shared resources at \\benji-desktop
> 
> 
> 
> Share name   Type Used as  Comment
> 
> -
> CDisk
> public   Disk
> The command completed successfully.
> 
> 
>> The error reported was different on this issue but seems to be related
>> though.
>>
>> http://www.zope.org/Collectors/Zope3-dev/316/
> 
> 
> I don't know if they're related, but the command line in the issue does
> use doubled backslashes, which definitely won't work.


- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFC5OXIGhoG8MxZ/pIRAjPQAJ0djUXHuQL9ua6yxstUwSh1ZTSRbwCfQ75m
9VRCxrolZyM5uEgvBACyJ6U=
=1kUI
-END PGP SIGNATURE-
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



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

2005-07-25 Thread Derrick Hudson
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: [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



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

2005-07-25 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Derrick Hudson wrote:
> 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.
> 

ok. Waiting for a cygwin tester now then. Bug reopend.

J.

- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFC5QOVGhoG8MxZ/pIRAk6XAJ4nQkzYU4hjiYef6cjp0oIFQ3veTwCcCSiJ
oCClKBBG2Hqc+Al7lnfJL/A=
=yqSZ
-END PGP SIGNATURE-
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



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

2005-07-25 Thread Benji York

Derrick Hudson wrote:

Windows C library does accept '/' as a path separator (eg fopen())


Yep.


so perhaps using / with cmd.exe would work


Not unless you quote it (it thinks you're passing an option):

C:\>dir buildout/src
Parameter format not correct - "src".

C:\>dir "buildout/src"
 Volume in drive C has no label.
 Volume Serial Number is 5035-3E7B

 Directory of C:\buildout\src
...
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] Debugging deadlocks in Zope3

2005-07-25 Thread Dieter Maurer
Garrett Smith wrote at 2005-7-24 17:36 -0500:
>Is there any info published on debugging Zope3 deadlocks? I'd like to see 
>tracebacks of a couple threads. Has anyone done this w/Zope3?

"threadframe" might help a bit.

Florent used it to debug deadlocks for Zope2 (--> see its "DeadlockDebugger").
It builds on ZServer. But probably, it will not be too difficult to
make something equivalent for Zope3.

Beside this, I debug deadlocks with GDB: attach to the process,
use "info threads" to learn about all threads, use "thread t" to
switch threads and "bt" to analyse the call stack of a thread.

In "eval_frame" call frames, I use "pfr" (defined as follows) to
determine the corresponding Python code.

def ps
x/s ({PyStringObject}$arg0)->ob_sval
end

def pfr
ps f->f_code->co_filename
ps f->f_code->co_name
#p f->f_lineno
lineno
end

define lineno
set $__co = f->f_code
set $__lasti = f->f_lasti
set $__sz = ((PyStringObject *)$__co->co_lnotab)->ob_size/2
set $__p = (unsigned char *)((PyStringObject *)$__co->co_lnotab)->ob_sval
set $__li = $__co->co_firstlineno
set $__ad = 0
while ($__sz-1 >= 0)
  set $__sz = $__sz - 1
  set $__ad = $__ad + *$__p
  set $__p = $__p + 1
  if ($__ad > $__lasti)
# break -- interpreted as "breakpoint"
set $__sz = -1
  end
  if ($__sz >= 0)
set $__li = $__li + *$__p
set $__p = $__p + 1
  end
end
printf "%d\n", $__li
end


-- 
Dieter
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com