I've installed ZMYSQLDA already and extract it and then there is an error : Traceback (innermost last): File "/usr/share/zope/lib/python/OFS/Application.py", line 393, in import_products product=__import__(pname, global_dict, global_dict, silly) File "lib/python/Products/ZMySQLDA/__init__.py", line 106, in ? File "lib/python/Products/ZMySQLDA/DA.py", line 108, in ? File "lib/python/Products/ZMySQLDA/db.py", line 106, in ? ImportError: No module named MySQL what is that mean..? Thanks zope-admin@zope.org wrote:
Send Zope maillist submissions to zope@zope.org
To subscribe or unsubscribe via the web, visit http://lists.zope.org/mailman/listinfo/zope or, via email, send a message with subject or body 'help' to zope-request@zope.org You can reach the person managing the list at zope-admin@zope.org
(When replying, please edit your Subject line so it is more specific than "Re: Contents of Zope digest...")
Today's Topics:
1. Re: Cheap LINUX Zope host? (Scott Boyd) 2. Re: Zope Startup Questions II (Son of Zope) (Itamar Shtull-Trauring) 3. Re: Apache + Zope + Authentication (Barry A. Warsaw) 4. catalog/site search error (Mark K. Smith) 5. RE: security question (Chris McDonough) 6. Example in Technical Introduction to Object Publishing wi... (Chandu Patil) 7. Re: Zope Init script? (Jochen Haeberle) 8. RE: catalog/site search error (Michel Pelletier) 9. Re: Zope Startup Questions II (Son of Zope) (Ian Willis) 10. acl_users from Zope.org [Q] (Bruno Mattarollo) 11. Re: Zope Init script? (Pavlos Christoforou) 12. Re: Zope Startup Questions II (Son of Zope) (Bill Anderson) 13. ZSQL and batch processing (Ulrich Wisser) 14. Re: Zope Init script? (Jochen Haeberle) 15. Re: ZSQL and batch processing (Jim Sanford) 16. Re: Zope Init script? (Pavlos Christoforou) 17. Zope Content Manager's Guide: Creating a product (Eron Lloyd) 18. Re: Example in Technical Introduction to Object Publishing wi... (Pavlos Christoforou) 19. Re: ZSQL and batch processing (Bill Anderson) 20. Mailing list to web archive? (Ray Thompson) 21. Re: Example in Technical Introduction to Object Publishing wi... (Pavlos Christoforou) 22. Folder Properties (Adrian Esteban Madrid) 23. including the contents of another page in a document? (Sean McGerty) 24. Can't get ZDConfera to send notification email. (Ewald Wasscher) 25. Help with Z Search Interface and ranges (Willie Peloquin) 26. Re: Apache + Zope + Authentication (thomas@hentschel.net) 27. Re: Help with Z Search Interface and ranges (Jeff Rush) 28. Re: Announce: Where's the zope? => new version SwiftGenerator (Itai Tavor) 29. Re: Mailing list to web archive? (Nitin Borwankar) 30. Returned mail: Too many hops 27 (25 max): from <phd@phd.russ.ru> via orion.science-computing.de, to <micha@m.science-computing.de> (fwd) (Oleg Broytmann) 31. Re: usage of load_site.py (Oleg Broytmann) 32. OpenSale released OpenMerchant under GPL (Oleg Broytmann) 33. Re: page break (Was Re: [Zope] [ANN] ZpdfDocument-0-0-1) (Hannu Krosing) 34. Basic SQL question (Milos Prudek) 35. Re: [ANN] ZpdfDocument-0-0-1 (Hannu Krosing) 36. Adding a document using a form (Lalo Martins) 37. ANNOUNCE: ZCache Product v0.2 (Itamar Shtull-Trauring) 38. Re: Basic SQL question (Arpad Kiss) 39. Help! (Itamar Shtull-Trauring) 40. HOw to Connect MySQl database to Zope (hamdi mulya) 41. Re: Help! (Oleg Broytmann) 42. DTML-IN batch processing broken? (Ulrich Wisser) 43. Moving Zope Installation (Jochen Haeberle) 44. Re: DTML-IN batch processing broken? (Oleg Broytmann) 45. downloading files to the client (Robin Becker) 46. Re: downloading files to the client (Oleg Broytmann) 47. Re: downloading files to the client (Anthony Baxter) 48. can't delete version from root folder (Milos Prudek) 49. RE: HOw to Connect MySQl database to Zope (Chris McDonough) 50. RE: acl_users from Zope.org [Q] (Michel Pelletier) 51. Re: downloading files to the client (Robin Becker) 52. Adding a document using a form (Mike Pelletier) 53. Transparent powered by Zope button ? (Gregor Hoffleit) 54. Logout question (Daniel G. Rusch) 55. Getting user roles (Daniel G. Rusch) 56. RE: Logout question (Michel Pelletier) 57. RE: Getting user roles (Michel Pelletier) 58. Re: Logout question (Oleg Broytmann) 59. Re: Logout question (Kevin Dangoor) 60. Re: Getting user roles (Daniel G. Rusch) 61. Re: Logout question (Daniel G. Rusch) 62. ODBC - 1 step forward - woops I tripped (rgines@purina.com) 63. restricted access to ZClass instances (Timothy Wilson) 64. Re: ODBC - 1 step forward - woops I tripped (Thomas B. Passin) 65. Startup problems - Help (RICHARD PAUL COOPER) 66. Re: ODBC - 1 step forward - woops I tripped (rgines@purina.com) 67. Zope 2.1.0 beta 2 has been released (Brian Lloyd)
--__--__--
Message: 1 Date: Mon, 15 Nov 1999 12:03:41 -0800 (PST) From: Scott Boyd <sboyd@futures.com> To: Sam Gendler <sgendler@teknolojix.com> cc: tommy_b@my-deja.com, zope@zope.org, zope-dev@zope.org Subject: Re: [Zope] Cheap LINUX Zope host?
The SCSI TekRAM cards work great. I've been using them quite a bit over the last few months. Linux supports them very well, they support tagged queueing, and are very reliable.
You can get better performance out of single DB storage systems like Zope, by striping the DB across multiple drives. You are basically limited to only 2 drives on IDE, because of the master/slave limitations. Redundancy, can also be added by mirroring across the striped drives.
You can stripe across SCSI disks more efficiently.
I've done some simple IDE RAID 1+0 mirrors and they do help the read performance, if the drives are on seperate IDE interfaces (both masters), but you pay on the writes, since you need to write to two drives instead of one.
Scott Boyd
On Mon, 15 Nov 1999, Sam Gendler wrote:
The biggest issue with SCSI is not so much performance any longer, but reliability. IDE drives have been traditionally targeted at the consumer market, while SCSI drives are aimed at the professional/server market. If you look at the Mean Time Between Failures numbers for the two types, SCSI tends to have been designed for higher reliability. That said, however, I have only ever had 2 IDE drives go south on me, with 0 scsi over the course of about 10 years. Those numbers are close enough for me, usually. Drive throughput tends to not be a huge issue with webservers, since servers spend most of their time seeking from one small object to another, not streaming enormous files to a network socket. With seek times anywhere between 8-14ms, and average object size somewhere around 8-15KB, if every object requires only one seek and one read from the disk, you can still only get about 70 transactions/second (assuming the read is instantaneous, which it isn't), which is only about 1 MB/second throughput. Therefore, it is much better to use multiple, slower drives, and distribute objects across multiple machines. Unfortunately, the data in zope is all stored in a single file, so this cannot be done. RAID is not much of a win, either, since raid increases throughput, but does nothing to improve seek time (it might even make it worse). You will be MUCH better off with more memory for buffering objects, to prevent disk access at all, rather than a fast drive.
On a zope-dev note, I have a variety of solutions that would allow zope to distribute objects across multiple physical hard drives, that should not be too difficult to implement, if anyone is interested. I don't have time to play with such concepts myself until next year.
--sam
tommy_b@my-deja.com wrote:
Oops, I'm going to use LINUX as the host OS.
I've done a bit of research on using SCSI. IWill & Tekram put out SCSI3 cards under $70 (according to http://www.pricewatch.com). Anyone use these guys? However, I'm not sure a cheap/close-out SCSI drive will match the performance-to-value ratio to a new ATA-66. http://www.storagereview.com has lots of drive tests that leads me to this thought. If I was spending more than $1000 for a new system, I'd go SCSI for sure. I need to keep below $700, but SCSI is one of my first planned upgrades. Is SCSI worth me getting a old used system with 64MB of RAM & slapping a SCSI card into it, or should I go for a new (dual) Celeron with 128MB?
Has anyone actually done performce tests with Zope & SQL to compare what component has the most impact for a _cheap_ system: CPU, memory, or HD throughput (ATA vs SCSI)?
Thanks for Stephan, Jim, & Nitin for the replies! --
On Sun, 14 Nov 1999 18:28:56 Nitin Borwankar wrote in "Re: [Zope] What to buy for cheap Zope host?":
tommy_b@my-deja.com wrote:
I'm building a computer to train & test Zope. I hope to use PostgreSQL or MySQL for storing a good-sized database. Zope would be used for allowing users to enter data & for output of formated querries. I wish to spend no more than $700 on this new computer I'm building (not including sound & video card + monitor). What should I spend the most money on, CPU, memory, HD, or a balance? I'm leaning towards a PPGA Celeron 366 (possibly overclocked), buying a 128MB stick of P100 RAM, and the fastest ATA drive $120 can buy. Is this the right direction? Ram's rather expencive now, or else I'd get 256MB right away.
In either case spending some money and getting a SCSI controller and drive gives a measurable contribution to performance. However this may take you into the next price point segment ~1000$. I have found there are good bargains on SCSI drives to be had on eBay and ONSALE auctions - go for new and 7200RPM or more.
--== Sent via Deja.com http://www.deja.com/ ==-- Share what you know. Learn what you don't.
--------- End Forwarded Message ---------
--== Sent via Deja.com http://www.deja.com/ ==-- Share what you know. Learn what you don't.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
--__--__--
Message: 2 Date: Mon, 15 Nov 1999 22:05:06 +0200 From: Itamar Shtull-Trauring <itamars@ibm.net> Reply-To: itamars@ibm.net Organization: @Table To: zope@zope.org Subject: Re: [Zope] Zope Startup Questions II (Son of Zope)
Bill Anderson wrote:
This is incorrect. XFS has yet to see the light of day for Linux. Much more probable (since it is _useable_ ) would be ext3 and/or ReiserFS, which both have alpha-level journalling support. Currently ext3 journals _all_ of the data, as opposed to meta-data only.
And the 2GB limit is in the Linux VFS - XFS will (assuming it comes out) change it so it supports more than 2GB, but from what I understood neither ext3 nor reiserfs will support >2GB files on 32-bit Linux.
-- Itamar - itamars@ibm.net
--__--__--
Message: 3 From: "Barry A. Warsaw" <bwarsaw@cnri.reston.va.us> Date: Mon, 15 Nov 1999 15:19:02 -0500 (EST) To: Erick Mechler <emechler@rescomp.berkeley.edu> Cc: zope@zope.org Subject: Re: [Zope] Apache + Zope + Authentication Reply-To: bwarsaw@cnri.reston.va.us (Barry A. Warsaw)
"EM" == Erick Mechler <emechler@rescomp.berkeley.edu> writes:
EM> I am trying to configure mod_rewrite to pass authentication EM> information to Zope. Here is the current state of things:
I think a better approach is to use mod_proxy. I don't remember who originally suggested this, but it seems to work very well for us, especially because my Zope server is on a different machine than my primary web server. The main problem is "tricking" Zope to use a different URL base, but 4am's SiteAccess is supposed to handle this (haven't tried it yet).
Here are my Apache directives:
ProxyPass /Zope/ "http://othermachine.python.org:8080/" ProxyPassReverse /Zope/ "http://othermachine.python.org:8080/"
Makes it simple to just run ZServer using the standard configuration.
Enjoy, -Barry
--__--__--
Message: 4 Reply-To: <mark@sourcegear.com> From: "Mark K. Smith" <mark@sourcegear.com> To: <Zope@zope.org> Subject: [Zope] catalog/site search error Date: Mon, 15 Nov 1999 14:20:46 -0600 charset="iso-8859-1"
I set up a site search using zcatalog. It works fine sometimes, but other times for certain words it returns the error message below. Each time I type new word that causes the error, the Error Value changes.
Any help or guidance would be appreciated.
Thanks,
Mark
Mark K. Smith SourceGear Corporation www.sourcegear.com 217/356-0105 x234
------------------------------------
Error Type: KeyError Error Value: 133
Traceback (innermost last): File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/local/Zope/lib/python/Zope/__init__.py, line 201, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: report) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: report) File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 145, in __call__ (Object: report) File /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: report) File /usr/local/Zope/lib/python/DocumentTemplate/DT_In.py, line 592, in renderwb (Object: catalog) File /usr/local/Zope/lib/python/Products/ZCatalog/Lazy.py, line 190, in __getitem__ File /usr/local/Zope/lib/python/Products/ZCatalog/Catalog.py, line 159, in __getitem__ KeyError: (see above)
--__--__--
Message: 5 From: Chris McDonough <chrism@digicool.com> To: "'Sam Gendler'" <sgendler@teknolojix.com>, zope@zope.org Subject: RE: [Zope] security question Date: Mon, 15 Nov 1999 15:45:01 -0500
Sam,
The index_html in the subfolder may be referencing DTML methods in the root object through acquisition (e.g. standard_html_header and standard_html_footer).... try a "dummy" index_html within the subfolder that doesn't reference any other methods.
-----Original Message----- From: Sam Gendler [mailto:sgendler@teknolojix.com] Sent: Monday, November 15, 1999 2:14 PM To: zope@zope.org Subject: [Zope] security question
I have a zope site that has anonymous access completely disabled in the root directory. If I create a folder underneath the root, and attempt to give anonymous access to that folder, zope still gives me a login dialog box when accessing that folder. This occurs whether I have 'acquire permissions' on or off in the sub-folder. Is this correct behaviour or a bug, or am I overlooking something.
--sam
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
--__--__--
Message: 6 Date: Mon, 15 Nov 1999 12:57:54 -0800 From: "Chandu Patil"<cpatil@nanogen.com> To: <zope@zope.org> Subject: [Zope] Example in Technical Introduction to Object Publishing wi...
Subject: Example in Technical Introduction to Object Publishing with Zope
Hi -
This is a rather elementary question - but having struggled with this for a couple of days - I will ask anyway! I am learning Zope and one of the articles that impressed me is the one listed in the subject - by Brian Lloyd and Amos Latteier. For my learning system I am using Windows 95 laptop with Zope 2.01. I have the example code (dtml and python) in \program files\zope\lib\python\products\jobboard directory.
What is the mechanism by which I can test and run this product?
I can get the DTML files in Zope with the management screen. Using the same to get all the python functions seems like a lot of work. Is there another way?
Thanks for your help.
Chandu Patil
--__--__--
Message: 7 Date: Mon, 15 Nov 1999 22:02:24 +0100 To: Adrian Esteban Madrid <am246@email.byu.edu>, Zope List <zope@zope.org> From: Jochen Haeberle <listen@MIDRAS.de> Subject: Re: [Zope] Zope Init script?
At 14:22 Uhr -0700 12.11.1999, Adrian Esteban Madrid wrote:
Does anybody have an init script that will work with Zope.2.0.1.src? I'm a Linux starter and for the light of my heart I can't get Zope to start automatically.
Hi,
I have the same problem. Although the "start" script is there and works all right, it is by no mean a way for the Sys V Init...
Did you get a solution to your problem, yet?
Anyone else out there who could help us???
Jochen
--__--__--
Message: 8 From: Michel Pelletier <michel@digicool.com> To: "'mark@sourcegear.com'" <mark@sourcegear.com>, Zope@zope.org Subject: RE: [Zope] catalog/site search error Date: Mon, 15 Nov 1999 16:35:27 -0500
-----Original Message----- From: Mark K. Smith [mailto:mark@sourcegear.com] Sent: Monday, November 15, 1999 3:21 PM To: Zope@zope.org Subject: [Zope] catalog/site search error
I set up a site search using zcatalog. It works fine sometimes, but other times for certain words it returns the error message below. Each time I type new word that causes the error, the Error Value changes.
First, you can remove the error by updating your catalog.
Second, I *really* want to be able to reproduce this. So...
Update your catalog, and reproduce it just once. Once it happens, update the catalog again and keep reproducing it until you have an exact sequence of steps that cause the problem. I'm very interested in finding out that sequence.
Third, are you using CatalogAware ZClasses?
-Michel
Any help or guidance would be appreciated.
Thanks,
Mark
Mark K. Smith SourceGear Corporation www.sourcegear.com 217/356-0105 x234
------------------------------------
Error Type: KeyError Error Value: 133
Traceback (innermost last): File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/local/Zope/lib/python/Zope/__init__.py, line 201, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: report) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: report) File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 145, in __call__ (Object: report) File /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: report) File /usr/local/Zope/lib/python/DocumentTemplate/DT_In.py, line 592, in renderwb (Object: catalog) File /usr/local/Zope/lib/python/Products/ZCatalog/Lazy.py, line 190, in __getitem__ File /usr/local/Zope/lib/python/Products/ZCatalog/Catalog.py, line 159, in __getitem__ KeyError: (see above)
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
--__--__--
Message: 9 Date: Tue, 16 Nov 1999 08:47:07 +1100 From: Ian Willis <Ian.Willis@kfpw.com.au> To: Ethan Fremen <mindlace@majordomo.net>, "zope@zope.org" <zope@zope.org> Subject: Re: [Zope] Zope Startup Questions II (Son of Zope)
It is more a limitation of the 32 bit chipset rather than a limitation of the filesystem. 64 bit systems don't have this problem and a journaling filesystem won't fix the problem. It was a design choice when the filesystem was designed, disks were small and 64 bit systems were on the horizon. I think thatIntel has done some fancy design work on the Xeons so that that have 36 bit registers that are used for addressing but it is basically a kludge( needs a nonstandard approach for just that platform ). The software kludge is to create an extra layer in the filesystem ( read slower ) design. There are patches round that do fix this problem but the reason why it has not been incorporated into the mainstream kernel is that it is bad (read nonstandard ) design. If you are addressing files of this size I would look very seriously at a 64 bit system simply for performance reasons. Ethan Fremen wrote:
Pavlos Christoforou wrote:
On Sat, 13 Nov 1999, Alexander Limi wrote:
Does anybody know if this is a limitation of the kernel or the FS? And is it going to be fixed in the foreseeable future?
It is a limitation of the FS, and it will be fixed but I do not know when.
The next edition of Red Hat Linux will include a journaling filesystem- i believe this is the one from SGI- which allows files in the petabytes...
-- Ethan "mindlace" Fremen you cannot abdicate responsibility for your ideology.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
--__--__--
Message: 10 From: "Bruno Mattarollo" <brunomadv@ciudad.com.ar> To: <zope@zope.org> Subject: [Zope] acl_users from Zope.org [Q] Date: Mon, 15 Nov 1999 19:19:48 -0300 boundary="----=_NextPart_000_005C_01BF2F9E.620FBCC0"
This is a multi-part message in MIME format.
------=_NextPart_000_005C_01BF2F9E.620FBCC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello...
May I ask what is Zope.org using as acl_users? UserDB? or the = standard acl_users from the Zope-2.0.1 dist.?
TIA
/B
Bruno Mattarollo <brunomadv@ciudad.com.ar> --- Python Powered <http://www.python.org/psa/>
------=_NextPart_000_005C_01BF2F9E.620FBCC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV>Hello...</DIV> <DIV> </DIV> <DIV> May I ask what is Zope.org using as acl_users? = UserDB?=20 or the standard acl_users from the Zope-2.0.1 dist.?</DIV> <DIV> </DIV> <DIV> TIA</DIV> <DIV><BR>/B</DIV> <DIV> </DIV> <DIV>Bruno Mattarollo <brunomadv@ciudad.com.ar><BR>--- Python = Powered=20 <<A=20 href=3D"http://www.python.org/psa/">http://www.python.org/psa/</A>></D= IV> <DIV> </DIV></BODY></HTML>
------=_NextPart_000_005C_01BF2F9E.620FBCC0--
--__--__--
Message: 11 Date: Mon, 15 Nov 1999 17:20:46 -0500 (EST) From: Pavlos Christoforou <pavlos@gaaros.msrc.sunysb.edu> To: Jochen Haeberle <listen@midras.de> cc: Adrian Esteban Madrid <am246@email.byu.edu>, Zope List <zope@zope.org> Subject: Re: [Zope] Zope Init script?
On Mon, 15 Nov 1999, Jochen Haeberle wrote:
Anyone else out there who could help us???
Jochen
This is the one I use which was posted on the list some time ago, by ... oh boy I forgot.
#!/bin/sh # # description: Runs Zope # chkconfig: 345 80 45 # Source function library. . /etc/rc.d/init.d/functions
# See how we were called. case "$1" in start) echo -n "Starting Zope: " touch /var/lock/subsys/zope daemon /usr/local/bin/start_zope echo
;; stop) echo -n "Shutting down Zope: " /usr/local/Zope/stop rm -f /var/lock/subsys/zope echo ;; status) status zope ;; restart) $0 stop $0 start ;; *) echo "Usage: zope {start|stop|status|restart}" exit 1 esac
exit 0
and start_zope is basically: #! /bin/sh PYTHONHOME=/usr/local/Zopec export PYTHONHOME exec /usr/local/bin/python \ /usr/local/Zope/z2.py \ -a <ip add> \ -d <ip add> \ -u nobody \ -w 8080 \ -f 8021 \ -m 8033 \ -l /usr/local/Zope/var/ZServer.log
Pavlos
--__--__--
Message: 12 Date: Mon, 15 Nov 1999 15:32:49 -0700 From: Bill Anderson <bill.anderson@libc.org> To: zope@zope.org Subject: Re: [Zope] Zope Startup Questions II (Son of Zope)
Itamar Shtull-Trauring wrote:
Bill Anderson wrote:
This is incorrect. XFS has yet to see the light of day for Linux. Much more probable (since it is _useable_ ) would be ext3 and/or ReiserFS, which both have alpha-level journalling support. Currently ext3 journals _all_ of the data, as opposed to meta-data only.
And the 2GB limit is in the Linux VFS - XFS will (assuming it comes out) change it so it supports more than 2GB, but from what I understood neither ext3 nor reiserfs will support >2GB files on 32-bit Linux.
It is possible to break the 2GB limit on Linux-X86, it requires teh Large File Summit patch, wich can be found via kernelnotes.org. Have not yet trie dit myself, but it is on the list for this month. :-)
It has been indicated that if the LFS patch works out well enough, without introducing too many new bugs, it may go into ext3. Only time will tell.
Bill
-- "They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown." -- Carl Sagan
--__--__--
Message: 13 Date: Mon, 15 Nov 1999 23:49:03 +0100 From: Ulrich Wisser <u.wisser@luna-park.de> Organization: luna-park Bravo Sanchez, Vollmert, Wisser GbR To: zope@zope.org Subject: [Zope] ZSQL and batch processing
Hello,
I try to make a batched output from an ZSQL result. I got the previous link working. But whatever I do no next page link will be shown. Did anybody already make this thing work? I have 23 objects returned and only five will be in one batch. That part works fine (easy going, out of the box). When I give different qs parameter it works. Only the "next page" link doesn't show up. Any suggestions?
Please find my code below.
Thanks
Ulli
<dtml-in sqlListDirectories size=5 start=qs> <dtml-if sequence-start> <TR><TD COLSPAN=2 CLASS="contenttitle">Verzeichnisse <dtml-var sequence-step-start-number> - <dtml-var sequence-step-end-number> (total: <dtml-var count-name>) </TD></TR> </dtml-if> </dtml-in>
<dtml-comment> <!-- This code didn't work at all, although it is a sample from DTML Reference --> <dtml-in sqlListDirectories previous size=5 start=start> <TR><TD ALIGN=LEFT ><A HREF="<dtml-var document_id><dtml-var sequence-query>start=<dtml-var previous-sequence-start-index>">Vorherige Seite</A></TD></TR> </dtml-in>
<dtml-in sqlListDirectories next size=5 start=start> <TR><TD ALIGN=RIGHT><A HREF="<dtml-var document_id><dtml-var sequence-query>start=<dtml-var next-sequende-start-index>">Nächste Seite</A></TD></TR> </dtml-in> </dtml-comment>
<dtml-in sqlListDirectories size=5 start=qs> <dtml-if sequence-start> <TR> <TD ALIGN=LEFT> <dtml-if previous-sequence> <!-- This code works --> <A HREF="<dtml-var document_id><dtml-var sequence-query>qs=<dtml-var previous-sequence-start-index>">Vorherige Seite</A> <dtml-else> </dtml-if> </TD> <TD ALIGN=RIGHT> <!-- This code always displays --> <dtml-if next-sequence> <A HREF="<dtml-var document_id><dtml-var sequence-query>qs=<dtml-var next-sequence-start-index>">Nächste Seite</A> <dtml-else> </dtml-if> </TD> </TR> </dtml-if> <TR> <TD><A HREF="dtEditDirectory?dirid=<dtml-var id>"><dtml-var name></A></TD> <TD><A HREF="<dtml-var url>"><dtml-var url></A></TD> </TR> </dtml-in>
-- ----------------- Die Website Effizienzer ------------------ luna-park Bravo Sanchez, Vollmert, Wisser GbR Ulrich Wisser mailto:u.wisser@luna-park.de Alter Schlachthof, Immenburgstr. 20 Tel +49-228-9654055 D-53121 Bonn Fax +49-228-9654057 ------------------http://www.luna-park.de ------------------
--__--__--
Message: 14 <Pine.LNX.4.04.9911151716430.19841-100000@gaaros.msrc.sunysb.edu> <Pine.LNX.4.04.9911151716430.19841-100000@gaaros.msrc.sunysb.edu> Date: Tue, 16 Nov 1999 00:21:02 +0100 To: Pavlos Christoforou <pavlos@gaaros.msrc.sunysb.edu> From: Jochen Haeberle <listen@MIDRAS.de> Subject: Re: [Zope] Zope Init script? Cc: Zope List <zope@zope.org>, Adrian Esteban Madrid <am246@email.byu.edu>
Hi Pavlos,
thanks for sending your script!
It seems to me that you have a script etc/rc.d/init.d/functions (path from whereever your zope script is located) that carris such interesting functions like deamon or status... at least my system does not offer those commands.
What system are you using this on? Linux? What distribution?
From your script, the start script and z2.py I learned that it is the line starting with "-D" that prevents Zope from forking. If you issue a python z2.py -h you get the help text and it tells you that -D starts Zope in a debug-mode preventing it from forking from the terminal. If you delete the -D line in the start script and the trailing "\" in the line before, you can use start from your scripts. Just issuing start will use the built in config-values. You can overwrite them like shown in the mail from Pavlos (copied below) in the start_zope script. Again, python z2.py -h tells you more about the options.
Regards
Jochen
At 17:20 Uhr -0500 15.11.1999, Pavlos Christoforou wrote:
On Mon, 15 Nov 1999, Jochen Haeberle wrote:
Anyone else out there who could help us???
Jochen
This is the one I use which was posted on the list some time ago, by ... oh boy I forgot.
#!/bin/sh # # description: Runs Zope # chkconfig: 345 80 45 # Source function library. . /etc/rc.d/init.d/functions
# See how we were called. case "$1" in start) echo -n "Starting Zope: " touch /var/lock/subsys/zope daemon /usr/local/bin/start_zope echo
;; stop) echo -n "Shutting down Zope: " /usr/local/Zope/stop rm -f /var/lock/subsys/zope echo ;; status) status zope ;; restart) $0 stop $0 start ;; *) echo "Usage: zope {start|stop|status|restart}" exit 1 esac
exit 0
and start_zope is basically: #! /bin/sh PYTHONHOME=/usr/local/Zopec export PYTHONHOME exec /usr/local/bin/python \ /usr/local/Zope/z2.py \ -a <ip add> \ -d <ip add> \ -u nobody \ -w 8080 \ -f 8021 \ -m 8033 \ -l /usr/local/Zope/var/ZServer.log
Pavlos
--__--__--
Message: 15 From: "Jim Sanford" <jsanford@atinucleus.com> To: "Ulrich Wisser" <u.wisser@luna-park.de> Cc: <zope@zope.org> Subject: Re: [Zope] ZSQL and batch processing Date: Mon, 15 Nov 1999 17:31:03 -0600 charset="iso-8859-1"
I cheat. I use the Z Search wizard to create a basic query and more importantly output page. Then I use that as my basis. Works everytime.
Jim Sanford Database Engineer
334-661-5770 jsanford@atinucleus.com http://www.atinucleus.com
Accelerated Technology, Inc. 720 Oak Circle Drive East Mobile, AL 36609 **Source Code, No Royalties, Any CPU ... It just makes sense. ----- Original Message ----- From: Ulrich Wisser <u.wisser@luna-park.de> To: <zope@zope.org> Sent: Monday, November 15, 1999 4:49 PM Subject: [Zope] ZSQL and batch processing
Hello,
I try to make a batched output from an ZSQL result. I got the previous link working. But whatever I do no next page link will be shown. Did anybody already make this thing work? I have 23 objects returned and only five will be in one batch. That part works fine (easy going, out of the box). When I give different qs parameter it works. Only the "next page" link doesn't show up. Any suggestions?
Please find my code below.
Thanks
Ulli
<dtml-in sqlListDirectories size=5 start=qs> <dtml-if sequence-start> <TR><TD COLSPAN=2 CLASS="contenttitle">Verzeichnisse <dtml-var sequence-step-start-number> - <dtml-var sequence-step-end-number> (total: <dtml-var count-name>) </TD></TR> </dtml-if> </dtml-in>
<dtml-comment> <!-- This code didn't work at all, although it is a sample from DTML Reference --> <dtml-in sqlListDirectories previous size=5 start=start> <TR><TD ALIGN=LEFT ><A HREF="<dtml-var document_id><dtml-var sequence-query>start=<dtml-var previous-sequence-start-index>">Vorherige Seite</A></TD></TR> </dtml-in>
<dtml-in sqlListDirectories next size=5 start=start> <TR><TD ALIGN=RIGHT><A HREF="<dtml-var document_id><dtml-var sequence-query>start=<dtml-var next-sequende-start-index>">Nächste Seite</A></TD></TR> </dtml-in> </dtml-comment>
<dtml-in sqlListDirectories size=5 start=qs> <dtml-if sequence-start> <TR> <TD ALIGN=LEFT> <dtml-if previous-sequence> <!-- This code works --> <A HREF="<dtml-var document_id><dtml-var sequence-query>qs=<dtml-var previous-sequence-start-index>">Vorherige Seite</A> <dtml-else> </dtml-if> </TD> <TD ALIGN=RIGHT> <!-- This code always displays --> <dtml-if next-sequence> <A HREF="<dtml-var document_id><dtml-var sequence-query>qs=<dtml-var next-sequence-start-index>">Nächste Seite</A> <dtml-else> </dtml-if> </TD> </TR> </dtml-if> <TR> <TD><A HREF="dtEditDirectory?dirid=<dtml-var id>"><dtml-var name></A></TD> <TD><A HREF="<dtml-var url>"><dtml-var url></A></TD> </TR> </dtml-in>
-- ----------------- Die Website Effizienzer ------------------ luna-park Bravo Sanchez, Vollmert, Wisser GbR Ulrich Wisser mailto:u.wisser@luna-park.de Alter Schlachthof, Immenburgstr. 20 Tel +49-228-9654055 D-53121 Bonn Fax +49-228-9654057 ------------------http://www.luna-park.de ------------------
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
--__--__--
Message: 16 Date: Mon, 15 Nov 1999 18:44:12 -0500 (EST) From: Pavlos Christoforou <pavlos@gaaros.msrc.sunysb.edu> To: Jochen Haeberle <listen@midras.de> cc: Zope List <zope@zope.org>, Adrian Esteban Madrid <am246@email.byu.edu> Subject: Re: [Zope] Zope Init script?
On Tue, 16 Nov 1999, Jochen Haeberle wrote:
It seems to me that you have a script etc/rc.d/init.d/functions (path from whereever your zope script is located) that carris such interesting functions like deamon or status... at least my system does not offer those commands.
What system are you using this on? Linux? What distribution?
I am running Linux 6.0 but these functions were available from earlier distributions (5.2).
Nevertheless you don't really need the deamon function as z2.py takes care of that. Just run it without the -D option so it will detach from the controlling terminal.
I generally prefer to leave z2.py unmodified and create starting scripts, for different configurations, Zope versions etc.
Pavlos
--__--__--
Message: 17 Date: Mon, 15 Nov 1999 18:41:15 -0500 From: Eron Lloyd <woodsage@op.net> To: zope@zope.org Subject: [Zope] Zope Content Manager's Guide: Creating a product
I'm having trouble with creating the "HomeSite" configuration interface example in the ZCMG, specifically when trying to add an "Instant Site" object to a page. Specifically, I get a traceback that states the following:
Zope Error
Zope has encountered an error while publishing this resource.
Unauthorized
You are not authorized to access manage_changeProperties.
Traceback (innermost last): File /home/aquarius/Zope2/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /home/aquarius/Zope2/lib/python/ZPublisher/Publish.py, line 179, in publish File /home/aquarius/Zope2/lib/python/ZPublisher/Publish.py, line 165, in publish File /home/aquarius/Zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: Builder) File /home/aquarius/Zope2/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: Builder) File /home/aquarius/Zope2/lib/python/OFS/DTMLMethod.py, line 145, in __call__ (Object: Builder) File /home/aquarius/Zope2/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: Builder) File /home/aquarius/Zope2/lib/python/DocumentTemplate/DT_With.py, line 148, in render (Object: manage_clone(Home,REQUEST['new_id'],REQUEST)) File /home/aquarius/Zope2/lib/python/DocumentTemplate/DT_Util.py, line 315, in eval (Object: manage_changeProperties( title=REQUEST['new_name'], company_name=REQUEST['new_name'], message=REQUEST['new_message'], contact_phone=REQUEST['new_phone'], )) Unauthorized: (see above)
I know that for some reason I'm unauthorized to change properties...yet I am doing this as a authorized user for that folder. I did everything step by step in the guide. Did I catch a common newbie "gotcha"?
Eron.
--__--__--
Message: 18 Date: Mon, 15 Nov 1999 18:52:55 -0500 (EST) From: Pavlos Christoforou <pavlos@gaaros.msrc.sunysb.edu> To: Chandu Patil <cpatil@nanogen.com> cc: zope@zope.org Subject: Re: [Zope] Example in Technical Introduction to Object Publishing wi...
On Mon, 15 Nov 1999, Chandu Patil wrote:
This is a rather elementary question - but having struggled with this for a couple of days - I will ask anyway! I am learning Zope and one of the articles that impressed me is the one listed in the subject - by Brian Lloyd and Amos Latteier. For my learning system I am using Windows 95 laptop with Zope 2.01. I have the example code (dtml and python) in \program files\zope\lib\python\products\jobboard directory.
What is the mechanism by which I can test and run this product?
The product that you mentioned is not a Zope product but a straight ZPublisher product. You do not need Zope to run it. It is just a demo to show how to use ZPublisher as a python web object publ;isher. I ahve a complete demo including ZServer etc at: starship.python.net/crew/pavlos
but it seems that you want a zope product. Zope products are harder to write but as rewarding in the end :-)
Pavlos
--__--__--
Message: 19 Date: Mon, 15 Nov 1999 17:01:30 -0700 From: Bill Anderson <bill.anderson@libc.org> To: zope@zope.org Subject: Re: [Zope] ZSQL and batch processing
Jim Sanford wrote:
I cheat. I use the Z Search wizard to create a basic query and more importantly output page. Then I use that as my basis. Works everytime.
heheh, glad to know I am not the only one :-)
-- "They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown." -- Carl Sagan
--__--__--
Message: 20 Date: Mon, 15 Nov 1999 16:02:40 -0800 To: zope@zope.org From: Ray Thompson <rayd@90068.com> Subject: [Zope] Mailing list to web archive?
I'm trying to find a means for creating a web-based archive from a mailing list. I'm using Confera and am wondering if there's anything out there that's akin to something like Hypermail.
Thanks, Ray Thompson
--__--__--
Message: 21 Date: Mon, 15 Nov 1999 19:17:09 -0500 (EST) From: Pavlos Christoforou <pavlos@gaaros.msrc.sunysb.edu> To: Chandu Patil <cpatil@nanogen.com> cc: zope@zope.org Subject: Re: [Zope] Example in Technical Introduction to Object Publishing wi...
On Mon, 15 Nov 1999, Chandu Patil wrote:
Hi again :-)
I forgot to mention (in case you do not already know) that there is a wealth of products on www.zope.org a few of them like 'boring product' intented as simple example products.
Pavlos
--__--__--
Message: 22 Date: Mon, 15 Nov 1999 17:21:42 -0700 From: Adrian Esteban Madrid <am246@email.byu.edu> Subject: [Zope] Folder Properties To: Zope List <zope@zope.org>
How can I access a folder's properties from other documents? Example, the Home directory has properties like bg (#FFFFFF), fg (#000000), etc. that I want to use sitewide. I tried it and it works in that folder (/index_html works fine) but in other folders doesn't work /Hardware/index_html). How can I make it work? Do I need to use <dtml-in Home> each time I need to use it? It would be cumbersome and complicated when I'm using other INs for menues and stuff. Any ideas would be apreciated.
-- Adrian Esteban Madrid Network Support, ATS Brigham Young University
--__--__--
Message: 23 Date: Tue, 16 Nov 1999 12:13:59 -0500 To: zope@zope.org From: Sean McGerty <DrBob@baseballmail.com> Subject: [Zope] including the contents of another page in a document?
I'm building an intranet site with Zope and the reviews from the users are great - but I've hit a snag. I've got a squishdot site in /news/, and a number of business group pages in for example /ops/ /bus/ /dev/.
The problem occurs when I try to include the squishdot contents inside the group pages. It sees objects with respect to the / directory - not the group directory I'm in.
For example / has standard_header, and /dev/ has a modified version. a call to /dev/news sees the version in / not /dev/ - am I missing something obvious here?
As well I believe it's been discussed before but I'm having trouble finding it - is it possible to include the contents of another URL in your present DTML document?
Thanks in advance,
Sean.
--__--__--
Message: 24 Date: Tue, 16 Nov 1999 04:33:03 +0100 From: Ewald Wasscher <ewas@dds.nl> Subject: [Zope] Can't get ZDConfera to send notification email. To: zope@zope.org
Hello,
I just installed ZDConfera to try it out, and it works fine, except for that it won't send any reply-notification-emails. I do have a mailhost configured, and I've allowed all roles to "Use Mailhost Services". Has anyone experienced this too, or does anyone have an idea what causes my problems? Sending mail with <dtml-sendmail mailhost="localhost"> works.
Ewald Wasscher
--__--__--
Message: 25 From: "Willie Peloquin" <wpeloqui@ismi.net> To: <zope@zope.org> Subject: [Zope] Help with Z Search Interface and ranges Date: Mon, 15 Nov 1999 21:44:16 -0600 charset="iso-8859-1"
Hi,
Could someone point me to an example of a Z Search Interface that will allow me to search for instances with less than or greater than type values: ie.
price between 10000 and 15000 price >= 10000 and price <= 15000
I really don't understand how these pages are working.
Thanks in advance, Willie
Willie Peloquin Senior Software Engineer - Contract http://www.ismi.net/~wpeloqui
"It is unwise to stray from the obvious and simple."
--__--__--
Message: 26 Date: Mon, 15 Nov 1999 20:16:24 -0800 (PST) From: thomas@hentschel.net Subject: Re: [Zope] Apache + Zope + Authentication To: Erick Mechler <emechler@rescomp.berkeley.edu> cc: zope@zope.org
On 15 Nov, Erick Mechler wrote:
:: not sure if the '+' is the right thing, but I meant that you need a :: Options ExecCGI on your cgi-bin directory. Sorry if that wasn't all :: clear
Yeah, the "+" syntax is correct (apache.org/docs/mod/core.html#options)
:: next time you try, paste the relevant part of your rewrite log. That :: normally gives some clues....
Here is the output to the rewrite log (level 9) as a result of me going to http://hal.rescomp.berkeley.edu/cgi-bin/Zope.cgi, and clicking on the
that looks like a SSL server to me, not sure if auth info gets properly passed w/ SSL.
Also, try http://hal.rescomp.berkeley.edu/Zope/ and http://hal.rescomp.berkeley.edu/Zope/manage, and then look at the rewrite log to see how it matches things up. It should (depending on the apache version) look like :
192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (2) init re write engine with requested uri /Zope/ 192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (3) applyin g pattern '^/Zope(.*)' to uri '/Zope/' 192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (4) Rewrite Cond: input='' pattern='^(.*)' => matched 192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (2) rewrite /Zope/ -> /usr/local/www/cgi-bin/Zope.cgi/ 192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (5) setting env variable 'HTTP_CGI_AUTHORIZATION' to '' 192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (2) remembe r /usr/local/www/cgi-bin/Zope.cgi/ to have MIME-type 'application/x-httpd-cgi' 192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (2) local p ath result: /usr/local/www/cgi-bin/Zope.cgi/ 192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (1) go-ahea d with /usr/local/www/cgi-bin/Zope.cgi/ [OK]
mod_rewrite is in there.
ok, just making sure :)
-Th
--__--__--
Message: 27 From: "Jeff Rush" <jrush@timecastle.net> To: "Willie Peloquin" <wpeloqui@ismi.net>, "zope@zope.org" <zope@zope.org> Date: Mon, 15 Nov 99 22:23:32 -0500 Reply-To: "Jeff Rush" <jrush@timecastle.net> Subject: Re: [Zope] Help with Z Search Interface and ranges
Take a look at: http://www.zope.org/SiteIndex/newitems.html/view_source
where zope.org uses a lower-range on the date field to show all items new within a recent interval of time. The key is to append a '_usage' string to the name of the field you wish to bracket.
<!--#call "REQUEST.set('date_usage','range:min')"--> <!--#call "REQUEST.set('date', ZopeTime().earliestTime()-1)"-->
In your case, you'd use both a min and a max:
<!--#call "REQUEST.set('price_usage','range:min:max')"--> <!--#call "REQUEST.set('price', [10000, 15000])"-->
I can't remember whether the range is inclusive or not i.e. whether it represents >= or just >.
-Jeff Rush
On Mon, 15 Nov 1999 21:44:16 -0600, Willie Peloquin wrote:
Could someone point me to an example of a Z Search Interface that will allow me to search for instances with less than or greater than type values: ie.
price between 10000 and 15000 price >= 10000 and price <= 15000
--__--__--
Message: 28 Date: Tue, 16 Nov 1999 16:00:43 +1100 To: zope@zope.org From: Itai Tavor <itavor@bigpond.net.au> Subject: Re: [Zope] Announce: Where's the zope? => new version SwiftGenerator
Jason Cunliffe Wrote:
Hello
I hope you do not consider this off-topic. This post is intended as food for thought and not advocacy.
Zope is notable for its flexible handling of web object structures. But the web (and especially the commercial web) is notable for its hunger for graphics and multimedia.
One of the few systems even attempting to create a dynamic platform for this is the combination of Macromedias 'Flash Generator'
http://www.macromedia.com/software/generator/ which is often combined with Allaire's ColdFusion...
So where does Zope fit in??
1. SERVER-SIDE MEULTIMEDIA The intrepid Olivier Debon has posted his latest version of SwiftGenerator
It is an obvious candidate tool for use with Zope. Unfortunately, like Macromdedia's own Generator, SwiftGenerator does not generate vector garphics from nothing. It is rather a programable editing tool for prepared garghics and interactive vector graphics. Text can be generated and atrributes and relationships likewise. Both 'Generators' need Macrodmedia Flash as an authoring tool to prepare content. SwiftGenerator has a huge price advantage.[free download]
<...snip swift-generator spec list...>
This is probably not quite what you're after, Jason, since you seem to focus on generating original Flash graphics PIL style, but I am using swift-generator with Zope to generate dynamic Flash movies. I start with a Flash template, and use DTML to create the dynamic content and a python product calling swift-generator to build the Flash movie. In fact, Zope should be included on swift-generator's success stories list, as Olivier knows about my site.
Itai -- Itai Tavor -- "Je sautille, donc je suis." -- itavor@vic.bigpond.net.au -- - Kermit the Frog -- -- "What he needs now is understanding... and a confederate victory" -- -- Dr. Jacobi, Twin Peaks --
--__--__--
Message: 29 Date: Mon, 15 Nov 1999 23:41:05 -0800 From: Nitin Borwankar <nitin@borwankar.com> Reply-To: nitin@borwankar.com Organization: Borwankar Research Inc To: Ray Thompson <rayd@90068.com> CC: zope@zope.org Subject: Re: [Zope] Mailing list to web archive?
Ray Thompson wrote:
I'm trying to find a means for creating a web-based archive from a mailing list. I'm using Confera and am wondering if there's anything out there that's akin to something like Hypermail.
I am assuming you have taken a look at Mailman at www.list.org and the pipermail package therein, which is a (simplified?) Python implementation of Hypermail, I believe. Mailman is extremely simple to setup and to administer over the web.
Nitin Borwankar, nitin@borwankar.com
Thanks, Ray Thompson
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
--__--__--
Message: 30 Date: Tue, 16 Nov 1999 08:03:49 +0000 (GMT) From: Oleg Broytmann <phd@phd.russ.ru> Reply-To: phd@phd.russ.ru To: Zope Mailing List <zope@zope.org> Subject: [Zope] Returned mail: Too many hops 27 (25 max): from <phd@phd.russ.ru> via orion.science-computing.de, to <micha@m.science-computing.de> (fwd) via orion.science-computing.de, to <micha@m.science-computing.de> (fwd)
ATTN: Michael Arndt <M.Arndt@science-computing.de>
Michael, I've sent you detaled message, but the message bounces. Do you have other email address?
Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
---------- Forwarded message ---------- Date: Tue, 16 Nov 1999 08:56:21 +0100 From: Mail Delivery Subsystem <MAILER-DAEMON@science-computing.de> To: phd@phd.russ.ru, postmaster@science-computing.de Subject: Returned mail: Too many hops 27 (25 max): from <phd@phd.russ.ru> via orion.science-computing.de, to <micha@m.science-computing.de>
The original message was received at Tue, 16 Nov 1999 08:56:16 +0100 from root@orion.science-computing.de [193.197.16.2]
----- The following addresses had permanent fatal errors ----- micha@reissaufnix (expanded from: <micha@m.science-computing.de>)
----- Transcript of session follows ----- 554 Too many hops 27 (25 max): from <phd@phd.russ.ru> via orion.science-computing.de, to <micha@m.science-computing.de>
--__--__--
Message: 31 Date: Tue, 16 Nov 1999 08:18:29 +0000 (GMT) From: Oleg Broytmann <phd@phd.russ.ru> Reply-To: phd@phd.russ.ru To: Jens Vagelpohl <tommymi@concentric.net> cc: "Zope@Zope. Org" <zope@zope.org> Subject: Re: [Zope] usage of load_site.py
On Mon, 15 Nov 1999, Jens Vagelpohl wrote:
python load_site.py -v -u superuser:xxxxxxx -p /soft/swtest.rw.root/zope/rel201/Zope-2.0.1-src/lib/python/ZPublisher /usr1/tmp/www/index.html
You loose an URL part:
python load_site.py -v -u superuser:xxxxxxx -p /soft/swtest.rw.root/zope/rel201/Zope-2.0.1-src/lib/python/ZPublisher http://my.site/Zope/created_folder_for_the_site /usr1/tmp/www/index.html
Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
--__--__--
Message: 32 Date: Tue, 16 Nov 1999 08:26:39 +0000 (GMT) From: Oleg Broytmann <phd@phd.russ.ru> Reply-To: phd@phd.russ.ru To: Zope Mailing List <zope@zope.org> Subject: [Zope] OpenSale released OpenMerchant under GPL
Hello!
There is a special Zope e-commerce list, but I am not subscriber, so I am sending it here. Subject said it all. If you already saw it - my beg pardon.
http://www.opensales.com/news/19991115.release.html
Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
--__--__--
Message: 33 Date: Tue, 16 Nov 1999 10:28:26 +0200 From: Hannu Krosing <hannu@tm.ee> Organization: Trust-O-Matic =?iso-8859-1?Q?O=DC?= To: Ethan Fremen <mindlace@majordomo.net> Cc: Pavlos Christoforou <pavlos@gaaros.msrc.sunysb.edu>, zope@zope.org Subject: Re: [Zope] page break (Was Re: [Zope] [ANN] ZpdfDocument-0-0-1)
Ethan Fremen wrote:
Hannu Krosing wrote:
I have written an additional (non-html btw) tag <PAGE> that implements a page break.
Is this the right approach ?
Or should this be a (configurable) attribute of some headers or an attribute to HR or whatever.
I might suggest using the @page rule from css2- section 13 of the Recommendation. That way any standards-compliant content will work with this method.
How would it look like in plain HTML ?
AFAIK the ZpdfDocument is a very simple layer knowing only as much HTML as is needed for rendering StructuredText.
Any pointers to the "Recommendation" ?
----------- Hannu
--__--__--
Message: 34 Date: Tue, 16 Nov 1999 09:47:58 +0100 From: Milos Prudek <prudek@nembv.cz> To: zope <zope@zope.org> Subject: [Zope] Basic SQL question
Hi,
I'm trying to follow Zope ZSQL tutorial with Gadfly examples. Does 'demo' database contain any tables? I thought it does not contain any tables, so I created Z SQL Method with this line: create table PEOPLE (name char(30), surname char (40)) ... but Gadfly does not accept this. Where can I learn about SQL syntax for Gadfly?
-- Milos Prudek
--__--__--
Message: 35 Date: Tue, 16 Nov 1999 10:54:27 +0200 From: Hannu Krosing <hannu@tm.ee> Organization: Trust-O-Matic =?iso-8859-1?Q?O=DC?= To: Pavlos Christoforou <pavlos@gaaros.msrc.sunysb.edu> Cc: zope@zope.org Subject: Re: [Zope] [ANN] ZpdfDocument-0-0-1
Pavlos Christoforou wrote:
Hi Hannu -
On Sat, 13 Nov 1999, Hannu Krosing wrote:
I have written an additional (non-html btw) tag <PAGE> that implements a page break.
Is this the right approach ?
My intention was not to implement yet another document generation language, but I understand that HTML is not enough for nicely formated docs. A pagebreak tag is essential for good formating.
Or should this be a (configurable) attribute of some headers or an attribute to HR or whatever.
I am not sure. If the number of 'extra' attributes required for decent formating is not large then we can add them as extra tags (definetely pagebreak is one of them. Even TeX with its advanced layout algorithms still gets pagebreaks wrong occasionally.
What I meant was adding something like an attribute page_break_before to either <Hn> or <P> or even making it a mandatory for some styles by specifying it on the properysheet - H1_page_break_before
What do you think? I need to get some feedback and then I will add them in the next release.
The _right_ (tm) approach would be to implement support for CSS2 (and test it on something really complex like MSWord2000 MS-XML-(X)HTML docs ;)
The one that actually can be done in reasonable amount of time would be a minimal set of additional tags (maybe only <page>) an some attributes for some tags - page_break_before, page_break_after with their counterparts no_ page_break_xxx to override style defaults. And a possibility to set such style defaults.
And maybe a few pages of explanations of how the thigs work and what one has to do to add stuff.
The code seems quite well structured, but even after actually adding the <page> tag I'm not sure I did it the best way (or that I understand how it does what it does ;).
I suspect most of my not fully understanding it comes from my lazyness in reading the PDF spec.
I will also need to disable page headers and footers (my current need is printing exactly positioned addresses on postcards) and next I will add a feature to make them optional (unless this already exists ?)
and yes *please* send your patches to me:
Done.
-------------- Hannu
--__--__--
Message: 36 Date: Tue, 16 Nov 1999 06:47:43 -0200 From: Lalo Martins <lalo@webcom.com> To: zope@zope.org Subject: [Zope] Adding a document using a form
I have a form where the user can add a DTML Document to a folder with very special tweaked permissions. Works like a charm. Zope is amazing. :-)
However, I'd prefer to be able to give users my homepage after they submit the document, instead of Incoming/manage_main. Is that possible?
The contents of the form are roughly those from manage_addProduct/OFSP/documentAdd but:
<FORM ACTION="Incoming/manage_addProduct/OFSP/addDTMLDocument"
(and I stripped off ``Send and Edit'' because anonymous has no permission for that... plus most of the displayed text is translated to Portuguese)
Replies to my personal address please... I belong to zope-dev, this one isn't one of the 2137127631 lists I'm subscribed to ;-)
[]s, |alo +---- -- I am Lalo of deB-org. You will be freed. Resistance is futile.
http://www.webcom.com/lalo mailto:lalo@webcom.com pgp key in the web page
Debian GNU/Linux --- http://www.debian.org Brazil of Darkness - http://www.webcom.com/lalo/BroDar
--__--__--
Message: 37 Date: Tue, 16 Nov 1999 11:08:45 +0200 From: Itamar Shtull-Trauring <itamars@ibm.net> Reply-To: itamars@ibm.net Organization: @Table To: zope@zope.org Subject: [Zope] ANNOUNCE: ZCache Product v0.2
ZCache 0.2 now generates 'Last-Modified' headers - I liberated the code from the new Image.py. So ZCaches should now be cached in browsers and proxies. If it's called from <dtml-var> it doesn't generate the headers, so it should work correctly when embedded in other documents.
This version also does basic permission checking.
Get it at: http://www.zope.org/Members/itamar/ZCache
-- Itamar - itamars@ibm.net
--__--__--
Message: 38 From: "Arpad Kiss" <sekter@mail.matav.hu> To: "Milos Prudek" <prudek@nembv.cz>, "zope" <zope@zope.org> Subject: Re: [Zope] Basic SQL question Date: Tue, 16 Nov 1999 10:39:43 +0100 charset="ISO-8859-1"
----- Original Message ----- From: Milos Prudek <prudek@nembv.cz> To: zope <zope@zope.org> Sent: Tuesday, November 16, 1999 9:47 AM Subject: [Zope] Basic SQL question
Hi,
I'm trying to follow Zope ZSQL tutorial with Gadfly examples. Does 'demo' database contain any tables? I thought it does not contain any tables, so I created Z SQL Method with this line: create table PEOPLE (name char(30), surname char (40)) ... but Gadfly does not accept this. Where can I learn about SQL syntax for Gadfly?
Th ZGadflyDA product folder contains some docs in the gadfly subfolder. The suported datatypes are: integer, float, and varchar. Arpad Kiss
--__--__--
Message: 39 Date: Tue, 16 Nov 1999 12:22:15 +0200 From: Itamar Shtull-Trauring <itamars@ibm.net> Reply-To: itamars@ibm.net Organization: @Table To: zope@zope.org Subject: [Zope] Help!
Zope won't start up:
Traceback (innermost last): File "/home/zope/z2.py", line 436, in ? exec "import "+MODULE in {} File "<string>", line 1, in ? File "/home/zope/lib/python/Zope/__init__.py", line 130, in ? OFS.Application.initialize(c) File "/home/zope/lib/python/OFS/Application.py", line 306, in initialize app.Control_Panel.initialize_cache() File "/home/zope/lib/python/ZODB/Connection.py", line 396, in setstate state = unpickler.load() ImportError: No module named *5imovKZn6trBy2xCM8ycbg==
It's possible that I stupidly managed to trash my database cause of the bug in 2.1b1. Is there anything I can do?
-- Itamar S.T. itamars@ibm.net
--__--__--
Message: 40 Date: Tue, 16 Nov 1999 06:42:39 +0000 From: hamdi mulya <hamdi@cybermedia.com.bn> Reply-To: hamdimulya@danggerek.com.bn Organization: Esuria Mentari Systems To: zope@zope.org CC: wongikmg@esuria.com.bn Subject: [Zope] HOw to Connect MySQl database to Zope
Hello,
I new in mysql database and zope , but i interesting about that.
I've followed the instructions as described in http://www.zope.org/Members/alanpog/zmysqlda_steps and I get the MySQLdb-0.1.1.
The system is a Linux Mandrake 6.1 Kernel 2.2.13-7mdk and I have installed MySQL 3.22.27, Python 1.5.2-1mdk from source, Zope 2.01 from source.
I confuse to use the Z ODBC data base connection, what i should do to make mysql database connect..?
--__--__--
Message: 41 Date: Tue, 16 Nov 1999 10:41:44 +0000 (GMT) From: Oleg Broytmann <phd@phd.russ.ru> Reply-To: phd@phd.russ.ru To: Itamar Shtull-Trauring <itamars@ibm.net> cc: zope@zope.org Subject: Re: [Zope] Help!
On Tue, 16 Nov 1999, Itamar Shtull-Trauring wrote:
It's possible that I stupidly managed to trash my database cause of the bug in 2.1b1. Is there anything I can do?
Restore from backup, of course. You did backups, did you? Try Data.fs.old, at least...
Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
--__--__--
Message: 42 Date: Tue, 16 Nov 1999 12:04:08 +0100 From: Ulrich Wisser <u.wisser@luna-park.de> Organization: luna-park Bravo Sanchez, Vollmert, Wisser GbR To: zope@zope.org Subject: [Zope] DTML-IN batch processing broken?
Hi folks,
is there a known error in DTML for batch processing? I can't get it to work with ZSQL. Although I copied all demo code from DTML Reference. Is it my fault? Or is dtml-in broken?
Whatever I do the next-sequence property will never be true.
Thanks
Ulli
Here is what I use:
<dtml-in sqlListDirectories size=5 start=qs> <dtml-if sequence-start> <TR><TD COLSPAN=2 CLASS="contenttitle">Verzeichnisse <dtml-var sequence-step-start-number> - <dtml-var sequence-step-end-number> (total: <dtml-var count-name>) </TD></TR> <TR> <TD ALIGN=LEFT> <dtml-if previous-sequence> <A HREF="<dtml-var document_id><dtml-var sequence-query>qs=<dtml-var previous-sequence-start-number>">Vorherige Seite</A> <dtml-else> </dtml-if> </TD> <TD ALIGN=RIGHT> <dtml-if next-sequence> <A HREF="<dtml-var document_id><dtml-var sequence-query>qs=<dtml-var next-sequence-start-index>">Nächste Seite</A> <dtml-else> </dtml-if> </TD> </TR> </dtml-if> <TR> <TD><A HREF="dtEditDirectory?dirid=<dtml-var id>"><dtml-var name></A></TD> <TD><A HREF="<dtml-var url>"><dtml-var url></A></TD> </TR> <dtml-else> <TR><TD CLASS="contenttitle">Verzeichnisse</TD></TR> <TR><TD><H2>Keine Verzeichnisse vorhanden</H2></TD></TR> </dtml-in> -- ----------------- Die Website Effizienzer ------------------ luna-park Bravo Sanchez, Vollmert, Wisser GbR Ulrich Wisser mailto:u.wisser@luna-park.de Alter Schlachthof, Immenburgstr. 20 Tel +49-228-9654055 D-53121 Bonn Fax +49-228-9654057 ------------------http://www.luna-park.de ------------------
--__--__--
Message: 43 Date: Tue, 16 Nov 1999 12:08:34 +0100 To: zope@zope.org From: Jochen Haeberle <listen@MIDRAS.de> Subject: [Zope] Moving Zope Installation
Hi,
I guess I have some problems after moving moving my Installation of Zope 2.0.1. I unpacked Zope to /usr/src and got it up and running. Messed around a bit etc. Now I would like to have it at /usr/local. I copied the directory and run 'cd /usr/local/Zop; python w_pcgi.py' again. This worked fine.
Zope starts from this location and all the things I set up are still there. But sometimes I get errors about missing files, where the files are searched in the old, no longer existing, location. Most notably when there is a problem with the lock-file, for example if Zope is already running.
Is this a severe problem? Can I do anything about this? Is there something like a 'make clean' that would take care?
Regards
Jochen
--__--__--
Message: 44 Date: Tue, 16 Nov 1999 11:36:01 +0000 (GMT) From: Oleg Broytmann <phd@phd.russ.ru> Reply-To: phd@phd.russ.ru To: Ulrich Wisser <u.wisser@luna-park.de> cc: zope@zope.org Subject: Re: [Zope] DTML-IN batch processing broken?
On Tue, 16 Nov 1999, Ulrich Wisser wrote:
is there a known error in DTML for batch processing? I can't get it to work with ZSQL.
I have no problems with ZSQL and batches: http://sun.med.ru/cgi-bin/Zope.cgi/phd01 DB - Postgres, Zope 2.1b1 (but i wrote the demo for 1.10.2 and did upgrade it many time - Zope 1.10.3, 2.0, 2.0.1, 2.1b1).
Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
--__--__--
Message: 45 Date: Tue, 16 Nov 1999 11:21:56 +0000 To: zope@zope.org From: Robin Becker <robin@jessikat.demon.co.uk> Subject: [Zope] downloading files to the client
Is there any obvious way to force information to be saved as a client file?
In the absence of a browser independent way to copy tables to the clipboard I will create an external method for dumping the information directly to the browser as a 'file'.
How should I guarantee that the user gets a file save as dialog? -- Robin Becker
--__--__--
Message: 46 Date: Tue, 16 Nov 1999 12:05:37 +0000 (GMT) From: Oleg Broytmann <phd@phd.russ.ru> Reply-To: phd@phd.russ.ru To: Robin Becker <robin@jessikat.demon.co.uk> cc: zope@zope.org Subject: Re: [Zope] downloading files to the client
On Tue, 16 Nov 1999, Robin Becker wrote:
How should I guarantee that the user gets a file save as dialog?
I am afraid there is at least on buggy browser that try to determine content type, and if it thinks the data is text or html - just shows it. It is M$IE.
Try to set headers:
Content-Type: application/octet-stream Content-Disposition: inline; filename='thefile_inbrowser.dat'
Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
--__--__--
Message: 47 To: Robin Becker <robin@jessikat.demon.co.uk> cc: zope@zope.org From: Anthony Baxter <anthony@interlink.com.au> Reply-to: Anthony Baxter <anthony@interlink.com.au> Subject: Re: [Zope] downloading files to the client Date: Tue, 16 Nov 1999 23:21:25 +1100
Robin Becker wrote In the absence of a browser independent way to copy tables to the clipboard I will create an external method for dumping the information directly to the browser as a 'file'.
How should I guarantee that the user gets a file save as dialog?
Set the content-type to something that the user's browser recognises as 'something to download'. Try 'application/octet-stream'.
Anthony
--__--__--
Message: 48 Date: Tue, 16 Nov 1999 14:24:49 +0100 From: Milos Prudek <prudek@nembv.cz> To: zope <zope@zope.org> Subject: [Zope] can't delete version from root folder
Hi,
I can't detete version object item that I created in Zope root folder. When I try to delete it, I get:
Zope has encountered an error while publishing this resource.
Error Type: TypeError Error Value: call of non-function (type string)
-- Milos Prudek
--__--__--
Message: 49 From: Chris McDonough <chrism@digicool.com> To: "'hamdimulya@danggerek.com.bn'" <hamdimulya@danggerek.com.bn>, zope@zope.org Cc: wongikmg@esuria.com.bn Subject: RE: [Zope] HOw to Connect MySQl database to Zope Date: Tue, 16 Nov 1999 09:39:00 -0500
Hamdi,
You don't use a ZODBC database connector to access a MySQL database... instead use a ZMySQL database connection. You select this from the Add Item dropdown menu within Zope. If "Z MySQL Database Connection" isn't an option within this dropdown box, then ZMySQLDA isn't installed properly (note that after installing ZMySQLDA, for the change to "take", you need to restart Zope).
Once you've gotten MySQLDA working, when you add a ZMySQL Database Connection, the Add dialog will ask you for a database connection string. This string has the syntax:
database[@host] user passwd
So for a database named "zopetestdb" on a host named "sparky.digicool.com" where a MySQL login exists named "root" with a password of "goodstuff", the database connection string would be:
zopetestdb@sparky.digicool.com root goodstuff
Chris McDonough Digital Creations, Inc. Zope - http://www.zope.org
-----Original Message----- From: hamdi mulya [mailto:hamdi@cybermedia.com.bn] Sent: Tuesday, November 16, 1999 1:43 AM To: zope@zope.org Cc: wongikmg@esuria.com.bn Subject: [Zope] HOw to Connect MySQl database to Zope
Hello,
I new in mysql database and zope , but i interesting about that.
I've followed the instructions as described in http://www.zope.org/Members/alanpog/zmysqlda_steps and I get the MySQLdb-0.1.1.
The system is a Linux Mandrake 6.1 Kernel 2.2.13-7mdk and I have installed MySQL 3.22.27, Python 1.5.2-1mdk from source, Zope 2.01 from source.
I confuse to use the Z ODBC data base connection, what i should do to make mysql database connect..?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
--__--__--
Message: 50 From: Michel Pelletier <michel@digicool.com> To: "'Bruno Mattarollo'" <brunomadv@ciudad.com.ar>, zope@zope.org Subject: RE: [Zope] acl_users from Zope.org [Q] Date: Tue, 16 Nov 1999 10:18:10 -0500
We rolled our own 'Member Folder' which is a modified version of the stock acl_users. It will be included in the PTK.
BTW, please don't send HTML formatted mail to the zope lists.
-Michel
-----Original Message----- From: Bruno Mattarollo [mailto:brunomadv@ciudad.com.ar] Sent: Monday, November 15, 1999 5:20 PM To: zope@zope.org Subject: [Zope] acl_users from Zope.org [Q]
Hello...
May I ask what is Zope.org using as acl_users? UserDB? or the standard acl_users from the Zope-2.0.1 dist.?
TIA
/B
Bruno Mattarollo <brunomadv@ciudad.com.ar> --- Python Powered <http://www.python.org/psa/>
--__--__--
Message: 51 Date: Tue, 16 Nov 1999 13:35:47 +0000 To: zope@zope.org From: Robin Becker <robin@jessikat.demon.co.uk> Subject: Re: [Zope] downloading files to the client <199911161221.XAA06699@mbuna.arbhome.com.au>
In article <199911161221.XAA06699@mbuna.arbhome.com.au>, Anthony Baxter <anthony@interlink.com.au> writes
Robin Becker wrote In the absence of a browser independent way to copy tables to the clipboard I will create an external method for dumping the information directly to the browser as a 'file'.
How should I guarantee that the user gets a file save as dialog?
Set the content-type to something that the user's browser recognises as 'something to download'. Try 'application/octet-stream'.
Anthony yep that was my reasoning. -- Robin Becker
--__--__--
Message: 52 From: "Mike Pelletier" <mike@digicool.com> To: <zope@zope.org> Subject: [Zope] Adding a document using a form Date: Tue, 16 Nov 1999 10:52:51 -0500 charset="iso-8859-1"
Lalo Martins <lalo@webcom.com> asks:
I have a form where the user can add a DTML Document to a folder with very special tweaked permissions. Works like a charm. Zope is amazing. :-)
However, I'd prefer to be able to give users my homepage after they submit the document, instead of Incoming/manage_main. Is that possible?
Umm, here's something to try. Remove the special permissions from the form page, and set the form's action to a DTML Method that you create. Give _that_ new method proxy roles to create pages. Do your request validation there, too. From within the new page, use a DTML tag like...
<dtml-call "manage_addProduct['OFSP'].addDTMLDocument(id, title)">
I _think_ manage_addProduct is a mapping type and needs to be used in that manner, but you might have to experiment. At any rate, this will create the document, and since there is no REQUEST being passed to addDTMLDocument it won't redirect the browser. Then you can redirect them yourself, or display whatever message or form you might like from this page itself.
Mike.
--__--__--
Message: 53 Date: Tue, 16 Nov 1999 17:26:10 +0100 From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de> To: zope@zope.org Subject: [Zope] Transparent powered by Zope button ?
Hi,
the "Powered by Zope" button is quite nice, but it doesn't fit too well on pages with a coloured background. I'd like to have a version with a transparent background. If someone from DC is reading this: Would it be possible to make available a transparent GIF (and preferably also PNG) of the button ?
Gregor
--__--__--
Message: 54 Date: Tue, 16 Nov 1999 10:29:43 -0600 From: "Daniel G. Rusch" <drusch@globalcrossing.com> To: zope@zope.org Subject: [Zope] Logout question
Hey all,
I went to the Zope site at http://www.zope.org/logout.html/view_source and this is the source that the Zope site uses to log members out:
<!--#call "REQUEST['RESPONSE'].expireCookie('__ac', path='/')"--> <!--#call "REQUEST['RESPONSE'].redirect('logged_out')"-->
When I execute the same source on my site, I don't get any errors and the user is redirected to the the logged_out page, but they are not "de-authenticated". In other words, unlike the Zope site, they can hit the back button and continue on their merry way.
Any thoughts?
Dan
--__--__--
Message: 55 Date: Tue, 16 Nov 1999 10:38:06 -0600 From: "Daniel G. Rusch" <drusch@globalcrossing.com> To: zope@zope.org Subject: [Zope] Getting user roles
We are trying to get all the user roles for a given user (someone).
we tried this:
<dtml-var "acl_users.get_local_roles_for_userid('someone')">
all it does is returns an empty set.
P.S. Someone does exist and someone does have roles.
Any thoughts,
Dan
--__--__--
Message: 56 From: Michel Pelletier <michel@digicool.com> To: "'Daniel G. Rusch'" <drusch@globalcrossing.com>, zope@zope.org Subject: RE: [Zope] Logout question Date: Tue, 16 Nov 1999 11:51:03 -0500
-----Original Message----- From: Daniel G. Rusch [mailto:drusch@globalcrossing.com] Sent: Tuesday, November 16, 1999 11:30 AM To: zope@zope.org Subject: [Zope] Logout question
Hey all,
I went to the Zope site at http://www.zope.org/logout.html/view_source and this is the source that the Zope site uses to log members out:
<!--#call "REQUEST['RESPONSE'].expireCookie('__ac', path='/')"--> <!--#call "REQUEST['RESPONSE'].redirect('logged_out')"-->
When I execute the same source on my site, I don't get any errors and the user is redirected to the the logged_out page, but they are not "de-authenticated". In other words, unlike the Zope site, they can hit the back button and continue on their merry way.
Any thoughts?
I suspect you're not using cookie auth, which the zope site does. If you're using straight up HTTP basic auth, you can log your users out with:
<dtml-raise Unauthorized> Go away! </dtml-raise>
-Michel
--__--__--
Message: 57 From: Michel Pelletier <michel@digicool.com> To: "'Daniel G. Rusch'" <drusch@globalcrossing.com>, zope@zope.org Subject: RE: [Zope] Getting user roles Date: Tue, 16 Nov 1999 11:52:33 -0500
-----Original Message----- From: Daniel G. Rusch [mailto:drusch@globalcrossing.com] Sent: Tuesday, November 16, 1999 11:38 AM To: zope@zope.org Subject: [Zope] Getting user roles
We are trying to get all the user roles for a given user (someone).
we tried this:
<dtml-var "acl_users.get_local_roles_for_userid('someone')">
all it does is returns an empty set.
P.S. Someone does exist and someone does have roles.
Any thoughts,
<dtml-var "AUTHENTICATED_USER.getRoles()">
-Michel
--__--__--
Message: 58 Date: Tue, 16 Nov 1999 16:42:04 +0000 (GMT) From: Oleg Broytmann <phd@phd.russ.ru> Reply-To: phd@phd.russ.ru To: "Daniel G. Rusch" <drusch@globalcrossing.com> cc: zope@zope.org Subject: Re: [Zope] Logout question
On Tue, 16 Nov 1999, Daniel G. Rusch wrote:
<!--#call "REQUEST['RESPONSE'].expireCookie('__ac', path='/')"-->
When I execute the same source on my site, I don't get any errors and the user is redirected to the the logged_out page, but they are not "de-authenticated". In other words, unlike the Zope site, they can hit the back button and continue on their merry way.
Logout, of course, is pretty tough coupled with login. Which login mechanism do you use? What is the anme of the cookie (if it is cookie-based)?
Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
--__--__--
Message: 59 From: "Kevin Dangoor" <kid@kendermedia.com> To: "Daniel G. Rusch" <drusch@globalcrossing.com>, <zope@zope.org> Subject: Re: [Zope] Logout question Date: Tue, 16 Nov 1999 11:45:15 -0500 charset="iso-8859-1"
----- Original Message ----- From: Daniel G. Rusch <drusch@globalcrossing.com> To: <zope@zope.org> Sent: Tuesday, November 16, 1999 11:29 AM Subject: [Zope] Logout question
I went to the Zope site at http://www.zope.org/logout.html/view_source and this is the source that the Zope site uses to log members out:
<!--#call "REQUEST['RESPONSE'].expireCookie('__ac', path='/')"--> <!--#call "REQUEST['RESPONSE'].redirect('logged_out')"-->
When I execute the same source on my site, I don't get any errors and the user is redirected to the the logged_out page, but they are not "de-authenticated". In other words, unlike the Zope site, they can hit the back button and continue on their merry way.
Zope.org does not use the standard UserFolder. It uses a portion of the not-yet-released Portal Toolkit. If you look through the mail list archives, you will find some logout solutions, but they are not quite as clean and nice as the above.
Note: if you use UserDB instead of the UserFolder for authentication, you can use cookies instead of Basic authentication... which means that you can make a logout function such as the one above.
Kevin
--__--__--
Message: 60 Date: Tue, 16 Nov 1999 11:05:52 -0600 From: "Daniel G. Rusch" <drusch@globalcrossing.com> To: Michel Pelletier <michel@digicool.com> CC: zope@zope.org Subject: Re: [Zope] Getting user roles
The problem with the code below is that you must be logged in as the person you want to get the roles of. If for example an administrator needed to get the roles of a specific user or group of users the the code below would not work.
<dtml-var "AUTHENTICATED_USER.getRoles()">
Dan
--__--__--
Message: 61 Date: Tue, 16 Nov 1999 11:10:09 -0600 From: "Daniel G. Rusch" <drusch@globalcrossing.com> To: Michel Pelletier <michel@digicool.com> CC: zope@zope.org Subject: Re: [Zope] Logout question
<dtml-raise Unauthorized> <!--#call "RESPONSE.redirect('logged_out')"--> </dtml-raise>
There are actually two problems with the above:
1. It doesn't actually log you out, hit the back button and you're in. 2. You don't get to the redirect statement.
Any thoughts?
DR
--__--__--
Message: 62 From: rgines@purina.com To: zope@zope.org Date: Tue, 16 Nov 1999 11:49:53 -0600 Subject: [Zope] ODBC - 1 step forward - woops I tripped
My client runs IBMs' UDB 5 database engine on OS/2 Servers with NT clients (their choice not mine). I'm a newbie with Zope and wanted to understand the ODBC very well before trying to tie into UDB5 (since my guess is that I am the first one stupid enough to try this).
So I started with something real simple. A text file with four columns and three records.
I can create an ODBC connection through Zope with no problem. Going to the browse tab in the management screen actually shows me the table with the column definitions ... so I am getting from Zope, through the ODBC connector, through the WinNT ODBC drivers to the text file. Cool!
=======
Now to do real work, I create a DTML Method with the following
<!--#var standard_html_header-->
....
<dtml-in ZopeODBCTest> <dtml-var LAST_NAME> </dtml-in>
<!--#var standard_html_footer-->
Running the 'View' returns the following result
Zope has encountered an error while publishing this resource.
Error Type: AttributeError Error Value: __len__
So I ran grep on all the *.py files thinking that this might be a rare name ... woops. I'm still trying to figure out DTML and haven't dove into Python yet. Debugging the python code (or searching for my erroneous ways is still a week or so off .... if not more).
======
Assuming that my incredibly complicated code is buggy (proof reading three lines of code is tough), I decided to create a Z SQL Method with the following SQL.
select * from ZopeTest
Well I did and I get this result when running it.
Error, sql.error: ('S1000', -1032, "[Microsoft][ODBC Text Driver] The Microsoft Jet database engine cannot open the file 'ZopeTest.txt'. It is already opened exclusively by another user, or you need permission to view its data.")
Hmmm. Access issues? I'm logged on as a local Admin
Already openned? The ODBC Connector gets there fine to read the tables (or is it just reading the schema.ini? ... not sure yet). Nothing else that I know of has it openned. ... no network locks, this is all done on a local system at this point.
=======
So much for connecting to a real database, I can't even get to a text file. @>:-{
=======
Any pointers (pointing out my stupidity) or assistance would be greatly appreciated. Gracias.
--__--__--
Message: 63 Date: Tue, 16 Nov 1999 12:25:11 -0600 (CST) From: Timothy Wilson <wilson@visi.com> To: zope@zope.org Subject: [Zope] restricted access to ZClass instances
Hi everyone,
A student and I are working on a ZClass for displaying school news on our school district Web site. There will be a number of categories such as sports, academics, arts, etc. We plan to have someone in charge of submitting news item for each category. We'd also like to arrange it so that whoever is responsible for sports (for example), can only add sports news. What would be the most efficient, logical, and aesthetically pleasing way to do this? :-)
-Tim
-- Timothy Wilson | "The faster you | Check out: Henry Sibley H.S. | go, the shorter | http://slashdot.org/ W. St. Paul, MN, USA | you are." | http://linux.com/ wilson@visi.com | -Einstein | http://www.mn-linux.org/
--__--__--
Message: 64 From: "Thomas B. Passin" <tpassin@mitretek.org> To: <zope@zope.org> Subject: Re: [Zope] ODBC - 1 step forward - woops I tripped Date: Tue, 16 Nov 1999 13:45:31 -0500 charset="iso-8859-1"
From: rgines@purina.com <rgines@purina.com>
<dtml-excerpt>
My client runs IBMs' UDB 5 database engine on OS/2 Servers with NT clients (their choice not mine). I'm a newbie with Zope and wanted to understand the ODBC very well before trying to tie into UDB5 (since my guess is that I am the first one stupid enough to try this).
So I started with something real simple. A text file with four columns and three records.
I can create an ODBC connection through Zope with no problem. Going to the browse tab in the management screen actually shows me the table with the column definitions ... so I am getting from Zope, through the ODBC connector, through the WinNT ODBC drivers to the text file. Cool!
=======
Now to do real work, I create a DTML Method with the following
<!--#var standard_html_header-->
....
<dtml-in ZopeODBCTest> <dtml-var LAST_NAME> </dtml-in>
<!--#var standard_html_footer-->
I tested this exact syntax on my system and it worked perfectly. I'm running Zope 2.01 on Windows95. My database is SQLAnywhere version 5. I am running a 4-user server database engine. The query returned the column requested by my select statement.
Forgive me for asking, but did you create a ZSQL method in addition to the connection? The "ZopeODBCTest" in your example must be the ZSQL method, not the ZODBC Connection. The method contains your select statement.
Tom Passin
Running the 'View' returns the following result
Zope has encountered an error while publishing this resource.
Error Type: AttributeError Error Value: __len__
</dtml-excerpt>
--__--__--
Message: 65 Date: Tue, 16 Nov 1999 18:47:23 +0000 To: zope@zope.org From: RICHARD PAUL COOPER <rpc7@aber.ac.uk> Subject: [Zope] Startup problems - Help
First off the first problem that I had was that when I tried to start the zope server nothing at all would happen, after looking at the /etc/rc.d/init.d/zope file I found that it was using the deamon command to load the server, I don't have such a command installed for some reason (Mandrake-Linux 6) so I removed the daemon command and simply started the server plainly. Does this make any sense at all?
Now when trying to start the zope server I get the following error:
File "z2.py", line 376, in ? exec "import "+MODULE in {} File "<string>", line 1, in ? File "/usr/share/zope/lib/python/Zope/__init__.py", line 95, in ? import Globals, OFS.Application, sys File "/usr/share/zope/lib/python/Globals.py", line 91, in ? import TreeDisplay, string File "/usr/share/zope/lib/python/TreeDisplay/__init__.py", line 86, in ? import TreeTag File "/usr/share/zope/lib/python/TreeDisplay/TreeTag.py", line 95, in ? from zlib import compress, decompress ImportError: No module named zlib
This seems to tell me that I have the Python module zlib missing, however I have Python-1.5.2-2 installed so everything should work, right? I would appreciate any help.
Thanks in advance.
Paul Cooper - rpc7@aber.ac.uk "I can't think of a clever, intelligent or humorous sig - guess that means I'll just have to steal one."
--__--__--
Message: 66 From: rgines@purina.com To: zope@zope.org Date: Tue, 16 Nov 1999 13:19:30 -0600 Subject: Re: [Zope] ODBC - 1 step forward - woops I tripped
I tested this exact syntax on my system and it worked perfectly. I'm running Zope 2.01 on Windows95. My database is SQLAnywhere version 5. I am running a 4-user server database engine. The query returned the column requested by my select statement.
That's good to know. Thenks for checking my syntax.
Forgive me for asking, but did you create a ZSQL method in addition to the connection? The "ZopeODBCTest" in your example must be the ZSQL method, not the ZODBC Connection. The method contains your select statement.
Well that was stupid used trip number one. For some reason I was thinking that I needed to go directly to the connection. When I pointed to the ZSQL Method the '__len__' error disappeared but I am back to the error
Error Type: sql.error Error Value: ('S1000', -1032, "[Microsoft][ODBC Text Driver] The Microsoft Jet database engine cannot open the file 'ZopeTest.txt'. It is already opened exclusively by another user, or you need permission to view its data.")
It is possible that the MS ODBC code is buggy .... naw I'm sure that could never be the problem ... must be me.
I had hoped that trying to 'learn' the ODBC issues in Zope/Python would be simplest with a txt file. I may just jump in feet first and try to connect to the DB2 databases anyway.
Thanks for setting me straight on where to point my Method.
--__--__--
Message: 67 From: Brian Lloyd <Brian@digicool.com> To: "'zope@zope.org'" <zope@zope.org>, "'zope-dev@zope.org'" <zope-dev@zope.org>, "'zope-announce@zope.org'" <zope-announce@zope.org>, "'python-announce@python.org'" <python-announce@python.org> Subject: [Zope] Zope 2.1.0 beta 2 has been released Date: Tue, 16 Nov 1999 14:46:21 -0500
Hi all,
Zope 2.1.0 beta 2 has been released. This release includes fixes for issues found in beta 1, an updated load_site.py script and Martijn Pieters' patches to implement try/except/else and try/finally constructs in DTML. Unless something major comes up, this will be the final beta before 2.1.0 final.
You can download binary and source distribution of Zope 2.1.0 beta 2 from the Zope.org website:
http://www.zope.org/Products/Zope/2.1.0b2/
Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com
--__--__--
_______________________________________________ Zope maillist - Zope@zope.org
--__--__----
End of Zope Digest
1. could you please refrain from including 200kb worth of text in your message that doesn't have much to do with your original question? 2. as the README.txt in <zope directory>/lib/python/Products/ZMySQLDA explains very nicely you need to compile the actual MySQL module. please consult this file for instructions. of course you'll only find this README.txt if you have uncompressed the gzipped tar archive in your zope installation's root directory. jens
-----Original Message----- From: root@danggerek.com.bn [mailto:root@danggerek.com.bn]On Behalf Of hamdi Sent: Tuesday, November 16, 1999 19:40 To: zope@zope.org Cc: wongikmg@esuria.com.bn Subject: [Zope] ZMySQLDA Problems
I've installed ZMYSQLDA already and extract it and then there is an error :
Traceback (innermost last): File "/usr/share/zope/lib/python/OFS/Application.py", line 393, in import_products product=__import__(pname, global_dict, global_dict, silly) File "lib/python/Products/ZMySQLDA/__init__.py", line 106, in ? File "lib/python/Products/ZMySQLDA/DA.py", line 108, in ? File "lib/python/Products/ZMySQLDA/db.py", line 106, in ? ImportError: No module named MySQL
what is that mean..?
Thanks
participants (2)
-
hamdi -
Jens Vagelpohl