[Zope-Checkins] CVS: Packages/Signals - WinSignalHandler.py:1.1.2.2

2005-06-05 Thread Mark Hammond
Update of /cvs-repository/Packages/Signals In directory cvs.zope.org:/tmp/cvs-serv23505 Modified Files: Tag: Zope-2_7-branch WinSignalHandler.py Log Message: As at pywin32-204, we must ensure pywintypes is the first win32 module imported in our process, otherwise we can end up with

[Zope-Checkins] SVN: Zope/tags/Zope-2-8-0-b2/lib/python/Signals/WinSignalHandler.py Port critical Windows fix from the 2.7 branch.

2005-06-05 Thread Tim Peters
Log message for revision 30651: Port critical Windows fix from the 2.7 branch. I hate checking into a tag, but 2.8's Windows release process has been dying from neglect, and I don't see a saner way to proceed. The 2.8b2 Windows installer on zope.org was effectively built from this

[Zope-Checkins] SVN: Zope/trunk/lib/python/Signals/WinSignalHandler.py Merge critical Windows fix from Zope/tags/Zope-2-8-0-b2, rev 30651.

2005-06-05 Thread Tim Peters
Log message for revision 30652: Merge critical Windows fix from Zope/tags/Zope-2-8-0-b2, rev 30651. Mark Hammond's original checkin comment: As at pywin32-204, we must ensure pywintypes is the first win32 module imported in our process, otherwise we can end up with 2 pywintypesxx.dll

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/Signals/WinSignalHandler.py Merge critical Windows fix from Zope/tags/Zope-2-8-0-b2, rev 30651.

2005-06-05 Thread Tim Peters
Log message for revision 30653: Merge critical Windows fix from Zope/tags/Zope-2-8-0-b2, rev 30651. Mark Hammond's original checkin comment: As at pywin32-204, we must ensure pywintypes is the first win32 module imported in our process, otherwise we can end up with 2 pywintypesxx.dll

RE: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow

2005-06-05 Thread Mark Hammond
[Tim Peters, having trouble with 2.8b2 on Windows, ending with Files\Zope-2.8.0-b2\lib\python\Signals\WinSignalHandler.py, line 203, in registerHandler hevent = win32event.CreateEvent(sa, 0, 0, event_name) TypeError: The object is not a PySECURITY_ATTRIBUTES object That sounds alot

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow

2005-06-05 Thread Tim Peters
There's a (another) new Zope-2.8.0-b2-win32.exe available for download at http://www.zope.org/Products/Zope/2.8.0b2/ and all Windows users are urged to try it. I don't know whether it will help with error popups if you happen to have an older (than build 204) version of pywin32/win32all

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow

2005-06-05 Thread Andreas Jung
--On 5. Juni 2005 12:59:12 -0400 Tim Peters [EMAIL PROTECTED] wrote: There's a (another) new Zope-2.8.0-b2-win32.exe available for download at http://www.zope.org/Products/Zope/2.8.0b2/ and all Windows users are urged to try it. I don't know whether it will help with error popups if

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow

2005-06-05 Thread Andreas Jung
--On 5. Juni 2005 19:14:52 +0200 Andreas Jung [EMAIL PROTECTED] wrote: Run Zope in console fails for me with application has failed to start because pywintypes23.dll was not found... After copying PyWintypes32.dll to $INSTANCE_HOME/bin I now get this PySECURITY_ATTRIBUTES error :-/

[Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow

2005-06-05 Thread Michael Haubenwallner
Andreas Jung wrote: --On 5. Juni 2005 19:14:52 +0200 Andreas Jung [EMAIL PROTECTED] wrote: Run Zope in console fails for me with application has failed to start because pywintypes23.dll was not found... After copying PyWintypes32.dll to $INSTANCE_HOME/bin I now get this

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow

2005-06-05 Thread Andreas Jung
--On 5. Juni 2005 19:27:08 +0200 Michael Haubenwallner [EMAIL PROTECTED] wrote: Zope starts fine now (although there are no messages in the console window anymore). hm...I retried again...with the same error? What is the md5sum of the .exe file? I have fb9...b798df6. -aj

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow

2005-06-05 Thread Tim Peters
[Tim Peters] There's a (another) new Zope-2.8.0-b2-win32.exe available for download at http://www.zope.org/Products/Zope/2.8.0b2/ and all Windows users are urged to try it. I don't know whether it will help with error popups if you happen to have an older (than build 204) version of

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow

2005-06-05 Thread Andreas Jung
--On 5. Juni 2005 13:43:39 -0400 Tim Peters [EMAIL PROTECTED] wrote: [Tim Peters] There's a (another) new Zope-2.8.0-b2-win32.exe available for download at http://www.zope.org/Products/Zope/2.8.0b2/ and all Windows users are urged to try it. I don't know whether it will help with

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow

2005-06-05 Thread Tim Peters
[Michael Haubenwallner, to Andreas Jung] Must be yesterdays version then (i had just that error message, after removing an ancient pywintypes23.dll from C:\WINNT\system32). There are 2 pywintypes23.dlls now: $ZOPE_HOME\bin\PyWinTypes23.dll

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow

2005-06-05 Thread Tim Peters
[Tim Peters] Please check the md5 on the installer you used, to make sure it's the _current_ installer. It should be $ md5sum Z* fb9aec9e3a0e5b3487752d5b7b798df6 *Zope-2.8.0-b2-win32.exe [Andreas Jung] That's what I have. My box (vmware) is pretty much a new XP installation with no old

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow

2005-06-05 Thread Andreas Jung
--On 5. Juni 2005 14:07:52 -0400 Tim Peters [EMAIL PROTECTED] wrote: [Tim Peters] Please check the md5 on the installer you used, to make sure it's the _current_ installer. It should be $ md5sum Z* fb9aec9e3a0e5b3487752d5b7b798df6 *Zope-2.8.0-b2-win32.exe [Andreas Jung] That's what I

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow

2005-06-05 Thread Tim Peters
[Andreas Jung] That's what I have. My box (vmware) is pretty much a new XP installation with no old Python installation except a local Zope installation which its own Python (but not registered anywhere in the registry). [Tim Peters] I'm not sure what local Zope installation (LZI) means.

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow

2005-06-05 Thread Andreas Jung
--On 5. Juni 2005 14:30:53 -0400 Tim Peters [EMAIL PROTECTED] wrote: I don't know -- I'm still not even sure what LZI means to you. Resolution probably depends on some detail I wouldn't be able to guess, and I have no experience trying to run more than one installed Zope on a Windows box.

RE: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ preparing 2.8.0 release for tomorrow

2005-06-05 Thread Mark Hammond
Run Zope in console fails for me with application has failed to start because pywintypes23.dll was not found... That is surprising :) The reason it *should* work is that pythonservice.exe, pythonw.exe and pywintypes23.dll are all in the same directory. One thing I ran into last night: I

[Zope] Print a web page using dtml

2005-06-05 Thread Allen Huang
How do I use dtml or python script to print a page through a printer?? Discover Yahoo! Stay in touch with email, IM, photo sharing & more. Check it out!___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] Print a web page using dtml

2005-06-05 Thread Andreas Jung
--On 5. Juni 2005 01:40:26 -0700 Allen Huang [EMAIL PROTECTED] wrote: How do I use dtml or python script to print a page through a printer?? Printing has nothing to do with Zope or DTML. DTML produces HTML and your browser is in charge for printing it but not Zope. You want to trigger

[Zope] How to overlay one column of a page

2005-06-05 Thread John Poltorak
I need some advice on how to format a page and am not sure how to explain what I want to do but hope someone will figure out what I want to do... Basically I have a home page consisting of a standard header and footer, and three columns - the left and right ones also being standard, with only

Re: [Zope] How to overlay one column of a page

2005-06-05 Thread Andreas Jung
--On 5. Juni 2005 11:33:42 +0100 John Poltorak [EMAIL PROTECTED] wrote: I need some advice on how to format a page and am not sure how to explain what I want to do but hope someone will figure out what I want to do... Basically I have a home page consisting of a standard header and footer,

Re: [Zope] Error Value: domains

2005-06-05 Thread Stefan H. Holek
The traceback says there is a PythonScript involved, and I am pretty sure there shouldn't. I assume you have created a script with a reserved name which is now interfering with user retrieval. Welcome to implicit acquisition. Stefan On 4. Jun 2005, at 19:15, Know-iT - Christian Steinhauer

Re: [Zope] How to overlay one column of a page

2005-06-05 Thread David H
Andreas Jung wrote: --On 5. Juni 2005 11:33:42 +0100 John Poltorak [EMAIL PROTECTED] wrote: I need some advice on how to format a page and am not sure how to explain what I want to do but hope someone will figure out what I want to do... Basically I have a home page consisting of a

Re: [Zope] Modifying a Dictionaries in an Extenal Method

2005-06-05 Thread Tino Wildenhain
Am Sonntag, den 05.06.2005, 00:05 -0500 schrieb Edward Huixquic: Thanks Dieter for your kind reply, Here is a complete (a bit long, sorry for that) example of what is happening, here are some code pieces that shows this behavior: DTML:

Re: [Zope] How to overlay one column of a page

2005-06-05 Thread John Poltorak
Andreas, All you ever say is RTFZB! Which Zope Book are you referring to? Zope changes so quickly, that I have learned not to trust any documentation which refers to a version older than the one I am using. -- John On Sun, Jun 05, 2005 at 12:53:29PM +0200, Andreas Jung wrote: --On

Re: [Zope] How to overlay one column of a page

2005-06-05 Thread Andreas Jung
--On 5. Juni 2005 12:11:50 +0100 John Poltorak [EMAIL PROTECTED] wrote: Andreas, All you ever say is RTFZB! Which Zope Book are you referring to? There is only one official documentation to which almost people refer as The Zope Book:

Re: [Zope] How to overlay one column of a page

2005-06-05 Thread John Poltorak
On Sun, Jun 05, 2005 at 08:05:10PM +0200, Andreas Jung wrote: --On 5. Juni 2005 12:11:50 +0100 John Poltorak [EMAIL PROTECTED] wrote: Andreas, All you ever say is RTFZB! Which Zope Book are you referring to? There is only one official documentation to which almost people

Re: [Zope] How to overlay one column of a page

2005-06-05 Thread Andreas Jung
--On 5. Juni 2005 19:53:05 +0100 John Poltorak [EMAIL PROTECTED] wrote: I thought you may have meant this... http://www.plope.com/Books/2_7Edition If look at my link carefully you can read that your link refers to a work-in-progress revision of the *same* book but for Zope 2.7. -aj

Re: [Zope] Error Value: domains

2005-06-05 Thread Dieter Maurer
Know-iT - Christian Steinhauer wrote at 2005-6-4 19:15 +0200: i have an zope server with 5 instances. Now on 1 instance there is an error on the acl_users folder. Everytime i click on a user in the folder to edit him there occureres this error: Module DocumentTemplate.DT_Util, line 201, in

Re: [Zope] Modifying a Dictionaries in an Extenal Method

2005-06-05 Thread Dieter Maurer
Edward Huixquic wrote at 2005-6-5 00:05 -0500: ... dtml-if process dtml-in fields mapping dtml-call pyUpdate(REQUEST) Why do you call pyUpdate in a loop? ... Name: input type=text name=fields.name:records value=Mickeybr Thus fields becomes a list of ZPublisher.HTTPRequest.record

Re: [Zope] Error Value: domains

2005-06-05 Thread Dieter Maurer
Stefan H. Holek wrote at 2005-6-5 16:07 +0200: The traceback says there is a PythonScript involved, and I am pretty sure there shouldn't. The Scripts.Bindings reference confuses you. In fact, there is not PythonScript involved but a DTMLFile object which also derives from Bindings. --

[Zope] Accesing python module

2005-06-05 Thread Leticia Larrosa
Hi: I installed the "PyXml" package, and appear in the "c:\Python24\Lib\site-packages" folder and i want to import a module of that library from an external method:"import xml.dom.ext" But i can't import from an external method any of the modules that are in the "Lib\site-packages" folder

Re: [Zope] Accesing python module

2005-06-05 Thread Tino Wildenhain
Am Sonntag, den 05.06.2005, 16:39 -0400 schrieb Leticia Larrosa: Hi: I installed the PyXml package, and appear in the c:\Python24\Lib \site-packages folder and i want to import a module of that library from an external method: import xml.dom.ext But i can't import from an external method

Re: [Zope] Accesing python module

2005-06-05 Thread Leticia Larrosa
Thanks to Tino Wildenhain.Tino Wildenhain wrote: Zope on windows is packaged with own and right version of python, which is 2.3 for all current Zopes.Zope on Debian (for example) too? -Original Message-From: Tino Wildenhain [EMAIL PROTECTED]To: Leticia Larrosa [EMAIL PROTECTED]Cc:

Re: [Zope] Accesing python module

2005-06-05 Thread Andreas Pakulat
On 05.Jun 2005 - 17:33:49, Leticia Larrosa wrote: Thanks to Tino Wildenhain. Tino Wildenhain wrote: Zope on windows is packaged with own and right version of python, which is 2.3 for all current Zopes. Zope on Debian (for example) too? Yes, Debian packages for zope27 depend on

Re: [Zope] Modifying a Dictionaries in an Extenal Method

2005-06-05 Thread Edward Huixquic
Dieter: Thanks again for your time and your excellent help. Below are some comments of my own to yours message, (hope the post doesn't become too mangled and hard to read). On 6/5/05, Dieter Maurer [EMAIL PROTECTED] wrote: Edward Huixquic wrote at 2005-6-5 00:05 -0500: ... dtml-if process

Re: [Zope] How to overlay one column of a page

2005-06-05 Thread John Poltorak
On Sun, Jun 05, 2005 at 09:12:58AM -0700, David H wrote: Andreas Jung wrote: --On 5. Juni 2005 11:33:42 +0100 John Poltorak [EMAIL PROTECTED] wrote: I need some advice on how to format a page and am not sure how to explain what I want to do but hope someone will figure out what

Re: [Zope] Zope 2.7.2 with Ape 1.0 installed in root, fails to restart, without any usefull logging, after adding a local role

2005-06-05 Thread Tim Connor
I also get this error a lot when trying to add an object through the ZMI in an Apeified folder: * Module ZPublisher.Publish, line 92, in publish * Module ZPublisher.BaseRequest, line 302, in traverse * Module App.FactoryDispatcher, line 29, in __bobo_traverse__ * Module App.Product,

Re: [Zope] How to overlay one column of a page

2005-06-05 Thread Andreas Jung
My dear John, --On 6. Juni 2005 01:22:05 +0100 John Poltorak [EMAIL PROTECTED] wrote: I have major problems trying to make any sense out of many parts of the Zope Book. Here is a typical section introducing ZPTs:- There is no problem if you read *carefully* Now, with your editor,

Re: [Zope] Accesing python module

2005-06-05 Thread Tino Wildenhain
Am Sonntag, den 05.06.2005, 17:33 -0400 schrieb Leticia Larrosa: Thanks to Tino Wildenhain. Tino Wildenhain wrote: Zope on windows is packaged with own and right version of python, which is 2.3 for all current Zopes. Zope on Debian (for example) too? of course :-) Also on netbsd,