Re: [Zope-dev] Zope 2.7 broken on Windows

2004-01-06 Thread Andy McKay
Tim Peters wrote:
[Andrew Veitch]

http://collector.zope.org/Zope/1128

Not being able to use the calendar module on Zope 2.7 breaks our
MailManager and more importantly the CMF!
I think the ClearWind Windows Installer works just fine, its built in a 
totally different manner from Zope Corps., Plone built from the same 
base works fine anyway. Its a beta installer, havent got much feedback, 
so be warned :)

http://www.clearwind.ca/zope
--
  Andy McKay
  ClearWind Consulting
  http://www.clearwind.ca
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Weird traceback on zopectl start (2.7b3, Python 2.3.2)

2004-01-06 Thread sean . upton
Got this traceback (below) on Zope 2.7b3 using Debian Python 2.3.2 running
under Debian Sarge.  Zope starts fine using bin/runzope, and even starts
fine with zopectl - it just displays this traceback.  Thoughts?

[EMAIL PROTECTED]:~/z2/zope$ bin/zopectl start
Traceback (most recent call last):
  File "/home/intranet/z2/Zope-2.7.0-b3/lib/python/Zope/Startup/zopectl.py",
line 215, in ?
main()
  File "/home/intranet/z2/Zope-2.7.0-b3/lib/python/Zope/Startup/zopectl.py",
line 198, in main
c.onecmd(" ".join(options.args))
  File "/usr/lib/python2.3/cmd.py", line 210, in onecmd
return func(arg)
  File "/home/intranet/z2/Zope-2.7.0-b3/lib/python/Zope/Startup/zopectl.py",
line 134, in do_start
ZDCmd.do_start(self, arg)
  File "/home/intranet/z2/zope/lib/python/zdaemon/zdctl.py", line 214, in
do_start
os.spawnvp(flag, args[0], args)
  File "/usr/lib/python2.3/os.py", line 543, in spawnvp
return _spawnvef(mode, file, args, None, execvp)
  File "/usr/lib/python2.3/os.py", line 504, in _spawnvef
wpid, sts = waitpid(pid, 0)
OSError: [Errno 10] No child processes

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope 2.7 broken on Windows

2004-01-06 Thread Michael Long
> Better would be to install Python 2.3.3 and use that to run zope.  This
> also gives the advantage of allowing easier installation of third party
> extensions to Python.

That does make sense. I guess it is time to rtfm to learn how :)

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


RE: [Zope-dev] Zope 2.7 broken on Windows

2004-01-06 Thread Tim Peters
[Andrew Veitch]
>> http://collector.zope.org/Zope/1128
>>
>> Not being able to use the calendar module on Zope 2.7 breaks our
>> MailManager and more importantly the CMF!

...

> Looking at this a bit more I'm guessing that Python's new datetime
> module was removed to avoid conflict with Zope's DateTime on Window's
> case insensitive file system.

I believe it's just a symptom of a more pervasive problem:  if you look at
Control Panel in your 2.7b3 Windows installation, you'll see that it
identifies the Zope version as 2.7b2.  Something went wrong with the Windows
installer build process, packaging an odd mix of new and old code.  I'm sure
this will be fixed in the next Zope 2.7 Windows beta.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope 2.7 broken on Windows

2004-01-06 Thread Phil Harris
Better would be to install Python 2.3.3 and use that to run zope.  This 
also gives the advantage of allowing easier installation of third party 
extensions to Python.

Michael Long wrote:

Has there been any progress on this? Or is there a sensible work-around I
can give to our users - other than to switch to Linux!


The workaround is to install python 2.3.2 onto a windows machine and copy the
datetime.pyd from the python installion to the appropriate location in your zope
installation. I don't have my windows box in front of me but IIRC it goes in the
Zope-2.7.0-b3/bin folder.
hth,
Mike
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope 2.7 broken on Windows

2004-01-06 Thread Michael Long
> Has there been any progress on this? Or is there a sensible work-around I
> can give to our users - other than to switch to Linux!

The workaround is to install python 2.3.2 onto a windows machine and copy the
datetime.pyd from the python installion to the appropriate location in your zope
installation. I don't have my windows box in front of me but IIRC it goes in the
Zope-2.7.0-b3/bin folder.

hth,
Mike

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope 2.7 broken on Windows

2004-01-06 Thread Andrew Veitch
> http://collector.zope.org/Zope/1128
> 
> Not being able to use the calendar module on Zope 2.7 breaks our MailManager
> and more importantly the CMF!

Looking at this a bit more I'm guessing that Python's new datetime module
was removed to avoid conflict with Zope's DateTime on Window's case
insensitive file system.

Checking out http://www.python.org/peps/pep-0235.html and followed up by
some quick testing it looks like it works fine so datetime could be added
back to the installer without causing any problems.

I think work-around for us will be just to supply the missing file with
advice on were to put it.

Is this sensible or have I missed something?

A


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Zope 2.7 broken on Windows

2004-01-06 Thread Andrew Veitch
http://collector.zope.org/Zope/1128

Not being able to use the calendar module on Zope 2.7 breaks our MailManager
and more importantly the CMF!

Has there been any progress on this? Or is there a sensible work-around I
can give to our users - other than to switch to Linux!

A


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] New-style classes and ClassSecurityInfo, fixed already?

2004-01-06 Thread Mike C. Fletcher
Leonardo Rochael Almeida wrote:

On Mon, 2004-01-05 at 00:06, Mike C. Fletcher wrote:
 

   http://zope.org/Collectors/Zope/1055

Is a bug report I filed a while ago for a fairly trivial breakage of the 
ClassSecurityInfo class due to the use of assignment to the class 
dictionary during the apply method. [...]

The InitializeClass function also needs to have the same transformation 
applied to it.

If desired I can pull the CVS tree and produce a diff if the problem 
isn't already solved.
   

If you do that, and attach the patch to the bug report, people with CVS
access will have even less excuses not to fix it :-)
 

Okay, this appears to have been fixed in CVS by Jim back in November.

Revision : 1.15
Date : 2003/11/28 16:45:22
Author : 'jim'
State : 'Exp'
Lines : +7 -5
Description :
New-style class dictionaries are immutable. Changed some class-update
code to use setattr rather thah class-dictionary modifications.
If someone wants to close the issue out, that'd be cool.

Enjoy yourselves,
Mike
___
 Mike C. Fletcher
 Designer, VR Plumber, Coder
 http://members.rogers.com/mcfletch/


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )