Re: [Zope] Running Zope

2000-12-03 Thread Phil Harris
Norm, Calm down, take a deep breath, right that's better. The behaviour you see is again quite normal. The decision has been made that the superuser cannot own anything, apart from user objects and user folder type objects. So the first thing you need to do is to create another user that has

[Zope] Link counter

2000-12-03 Thread Brendon Grunewald
I have recently been asked by a partner site to provide them with a count of how many times someone links from my site to theirs. Since there are many ways they could hyperlink to that site (Squishdot articles, normal links, banner ads etc), is there a way in zope to keep track or to

Re: [Zope] trouble: products created inside Zope, updating from 2.1 to 2.2

2000-12-03 Thread Dieter Maurer
Thies =?ISO-8859-1?Q?B=E4hr?= writes: authorization problems for TTW products after 2.1 -- 2.2 transition The reason is simple that you do not find upgrade documentation for TTW products: there should be nothing to worry about. Thus, you have a case, that should not be. Let the

Re: [Zope] Intercepting NotFoundError with standard_error_message

2000-12-03 Thread Dieter Maurer
Philipp Auersperg writes: missing control over stack trace I agree with you: you should have control over this stack trace. However, I fear, you will need to change the Zope source to get this. It should be easy to implement: Bind the traceback to a variable in the

Re: [Zope] Making lots of external data searchable?

2000-12-03 Thread Dieter Maurer
Anselm Lingnau writes: indexing big mail archives from Zope You can use the Zope product "LocalFS" (maybe also "ExternalFile") to wrap external files into Zope objects (without storing then in the ZODB). Newer versions of "LocalFS" allow you the catalog its contents with ZCatalog.

Re: [Zope] Custom tpValues for dtml-tree

2000-12-03 Thread Dieter Maurer
Randall Kern writes: Error Type: AttributeError Error Value: 'tuple' object has no attribute 'append' File /usr/src/Zope-2.2.2-src/lib/python/TreeDisplay/TreeTag.py, line 566, in apply_diff (Info: ([None, ([140975456, []],)], [140974880, 140974088]))

Re: [Zope] Help - cannot import zexp

2000-12-03 Thread Dieter Maurer
Oleg Broytmann writes: functions as default parameters to external method functions cause import problems "Cannot import default_render from module __main__". Oops! What's that? The default_render isn't in __main__, sure. I tried to create External Method before

[Zope] IMAP and WorldPilot?

2000-12-03 Thread Cymen Vig
I'm trying to setup WorldPilot on one server with IMAP running on another. The documentation for the install says simply: "Set your corresponding IMAP and SMTP servers, if they are not on localhost." I went ahead and added a MailHost (SMTP) server but how do I add an IMAP one? Do I need to

Re: [Zope] VHost logs.

2000-12-03 Thread seb bacon
mod_rewrite is your friend. You just make a Rule that redirects anyone accessing your site on port 80 to port 443, something like this: VirtualHost 123.123.123.123 ServerName www.foobar.com RewriteEngine on RewriteRule ^/(.*)https://www.foobar.com/ /VirtualHost

[Zope] What is Formatted Document

2000-12-03 Thread administrator
Hi, where can I find the "Formatted Document" product? I can find documents of meta type "Formatted Document, but how can I create one. Arno [EMAIL PROTECTED]

Re: [Zope] Link counter

2000-12-03 Thread Chris Gray
You want something like this in your linking page: form action="count_and_pass" input type="hidden" name="target_url" value="http://www.zope.org/" input type="submit" value="Go to Zope.org" OR a href="count_and_pass?target_url=http%3a//www.zope.org/"Go to Zope.org/a Then you need a

Re: [Zope] Running Zope == ZopeVirgins

2000-12-03 Thread Jason Cunliffe
I hope Norm LaDuke does take a breath and follow the advise others have given. But his post does in fact seem to be a common first-time experience. So I would like to suggest a sensible super-newbie-oriented adjustment to _all_ future Zope installations: At installation Zope system should

Re: [Zope] database query

2000-12-03 Thread Dieter Maurer
Lee writes: ERROR: The call can not be completed as dialed. Error Type: IOError Error Value: [Errno 13] Permission denied: '/usr/local/Zope-2.1.6-src/var/gadfly/demo/demo.gfl' This is a file permission problem with "/usr/local/Zope-2.1.6-src/var/gadfly/demo/demo.gfl" Check that the

Re: [Zope] weird bug?

2000-12-03 Thread Dieter Maurer
michael angelo ruberto writes: one of the DTML methods i've created recently has started to create problems. the method adds properties to documents as people browse zope. it worked fine for a while but now it's causing zope to prompt for a password. i gave the method manager proxy which

Re: [Zope] ZopeBook ZCatalog Question

2000-12-03 Thread Dieter Maurer
Chris Gray writes: Zope Book - Chapter 9 - 2nd sentence: "You can also use it to search external data such as relational data, files, and remote web pages." Can anyone point me to further information on how to do these things? ZCatalog uses the method "objectItems" to find the

Re: [Zope] Passing lists in a get request (ZCatalog Search)

2000-12-03 Thread Dieter Maurer
Darin Lee writes: ... but when I try to sort the column (with a ?sort_on=index "get" request), the selected criteria are forgotten and the entire result set is returned sorted. You add also the search criteria to your URL? I.e. you use your_method?sort_on=themetheme=xxxtheme=yyy If

Re: [Zope] Help! Accessing product constructors methods programmatically

2000-12-03 Thread Dieter Maurer
[EMAIL PROTECTED] writes: Can anyone suggest an approach to this problem? Any relevant documents I need to read? I like to repeat my general remark (you find it several time in the (searchable) list archiv ;-)): Whenever, you can do something with the Zope management interface, you

[Zope] Wampum generator on Zope 2.2.4 fails / _isBeingUsedAsAMethod

2000-12-03 Thread Brad Clements
Selecting the Security Tab on a Wampum Generator produces this output: Error Type: AttributeError Error Value: _isBeingUsedAsAMethod Traceback (innermost last): File /usr/holmes/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File

[Zope] It's NOT a Zope error

2000-12-03 Thread Didier Georgieff
On 3 Dec 2000, at 12:00, Jason Cunliffe" [EMAIL PROTECTED] wrote: But his post does in fact seem to be a common first-time experience. So I would like to suggest a sensible super-newbie-oriented adjustment to _all_ future Zope installations: While i really agree to that (always in term of

[Zope] News article.

2000-12-03 Thread J. Michael Mc Kay
If anyone has a copy of a recent news article in the Fredericksburg Free Lance Star about DC, would they please send me a copy to [EMAIL PROTECTED]. Thanks...

[Zope] ZMySQL Database Connection

2000-12-03 Thread corey
Greetings! I'm at the point where I could really use some help... Specifically, I cannot for the life of me get a ZMySQL instance to work - on two different machines, using about 4 different combinations of Zope, Python, ZMySQLDA and MySQLdb versions... What occurs ( depending on which

Re: [Zope] weird bug?

2000-12-03 Thread Randall Kern
- Original Message - From: "Dieter Maurer" [EMAIL PROTECTED] of the method. Moreover, proxy roles are no longer inherited to called methods. This has confused me several times, could anyone shed some light as to why proxy roles are not inherited? Thanks, -Randy

[Zope] Public CVS Zope won't compile (fwd)

2000-12-03 Thread Chris Gray
Did a fresh checkout but "python w_pcgi.py" chokes at: Writing the pcgi resource file (ie cgi script), /home/cpgray/zope_cvs_run/Zope2/Zope.cgi chmod 0755 /home/cpgray/zope_cvs_run/Zope2/Zope.cgi Traceback (innermost last): File "w_pcgi.py", line 111, in ? if __name__=='__main__':

Re: [Zope] ZMySQL Database Connection

2000-12-03 Thread corey
Of course... after two complete days and nights of trying to get this to work, and finally throwing up my hands in despair and asking for help here on the list -- I made one last attempt while awaiting a response... and behold! Viola! I finally got everything to work correctly! ( and there was

[Zope] Monitoring Zope.

2000-12-03 Thread Jason C. Leach
hi, A while ago someone was asking about monitoring zope. This is a simple python script I use to keep an eye on the server. It's run in cron, every so often it fetches the last known zope PID, and makes sure zope is still running on it. If it's not, it runs the Zope startup script. I'll

[Zope] Fragments of html in IE (Was: Why Not Zope? ...)

2000-12-03 Thread seb bacon
* Riku Voipio [EMAIL PROTECTED] [001201 10:46]: Besides, the zserver on 2.1.6 seems to have bugs that sometimes let the page only 90% through. I don't know if your 90% problem is the same as the one I've been having, but I'm scratching my head a lot here: When I test my site using IE5.5, the

Re: [Zope] It's NOT a Zope error

2000-12-03 Thread Tim Cook
Didier Georgieff wrote: Each time they see the message "Zope Error" (even for unauthorized login ! or your own programing error) they are telling "pfff this software is really buggy", and the poison is here. So i would suggest, as a "marketing" feature to change the error message I

Re: [Zope] IMAP and WorldPilot?

2000-12-03 Thread Jason C. Leach
IMAP is a mail server for the MTA. It does not have anything to do with Zope. j. .. . Jason C. Leach ... University College of the Cariboo. .. On Sun, 3 Dec 2000, Cymen Vig wrote: I'm trying to setup WorldPilot on one server with IMAP running on another. The

Re: [Zope] Running Zope

2000-12-03 Thread Jason C. Leach
hi, So you think that because you can not get it going it's Zopes fault? Why not ask a specific question, based on what you say below I have no idea what you are doing or what your problem; this makes it difficult to write a response. Throw in a few details so we know what you are doing. I

RE: [Zope] Fragments of html in IE (Was: Why Not Zope? ...)

2000-12-03 Thread dale . w . lance
I just tried with netscape and get the same thing. (the dangling /ta) Hope this helps Dale -Original Message- From: seb [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 03, 2000 5:45 PM To: riku.voipio Cc: seb; zope Subject: [Zope] Fragments of html in IE (Was: Why Not Zope? ...) *

[Zope] Can't load confirm message box

2000-12-03 Thread Angietel
body class="body" script language="JavaScript" function confirm(){window.confirm("Are you sure you want to delete?");}/script

Re: [Zope] Public CVS Zope won't compile (fwd)

2000-12-03 Thread Michel Pelletier
On Sun, 3 Dec 2000, Chris Gray wrote: Did a fresh checkout but "python w_pcgi.py" chokes at: Writing the pcgi resource file (ie cgi script), /home/cpgray/zope_cvs_run/Zope2/Zope.cgi chmod 0755 /home/cpgray/zope_cvs_run/Zope2/Zope.cgi Traceback (innermost last): File "w_pcgi.py", line

Re: [Zope] Wampum generator on Zope 2.2.4 fails / _isBeingUsedAsAMethod

2000-12-03 Thread Steve Spicklemire
Hmm.. I *know* I've seen this before. I think it was when I was trying to move ZClasses that were *created* under Zope 2.2.0+ to Zope 2.1.x. Are you sure you're working with 100% 2.2.4? -steve "Brad" == Brad Clements [EMAIL PROTECTED] writes: Brad Selecting the Security Tab on a Wampum

[Zope] dtml methods and properties

2000-12-03 Thread Willem Broekema
As a DTML method is said to work with the properties of the object it is called at: DTML method "m": dtml-var bobobase_modification_time root folder of site/m displays the date/time when the last change happened to any file in the root folder root folder/m/m displays last change date/time

[Zope] siblings of me, rather than of parent

2000-12-03 Thread Randall Kern
My site has two main classes of objects, Modules (and their derivatives), and Categories. A normal setup might look something like this: root blab (Module) weather (Category) rain (Category) sun (Category) region (Category) I need to handle URLs like /root/blab/weather. The

[Zope] confusing access error

2000-12-03 Thread Matthew Wilbert
I am getting an access error I don't understand at all, which makes me think I have some basic conceptual problem which I hope you can help me get past. I have never used ZopeFind before, so that may be part of it. I have a DTML method that looks like this: dtml-var standard_html_header

[Zope] dynpersist.dll for ZPatterns

2000-12-03 Thread Ot Ratsaphong
Hi, I am new to Zope (1 week old) and have installed Zope 2.2.4 on my Win98 PC. I am interested in learning about the Object-Oriented capabilities of Zope and am interested in installing ZPatterns. Unfortunately I do not have MSVC 6.0 installed on my PC 8^(. Subsequently I cannot built

[Zope] newbie question -- database list/report with sort by column header

2000-12-03 Thread John Cappelletti
I am listing the results of a database query using dtml-in. I'd like to be able to give the user the option to re-sort the list by clicking on a column header. ok... I'm starting small with a form and radio buttons to allow the user to specify the sort. I've created what I believe to be a

[Zope] Tag attributes...

2000-12-03 Thread Curtis Maloney
Green things, I've written a handy tag for my Zope site, and it accepts a few attributes. This is all going well, and the tag is working nicely. (Even though I couldn't seem to find any docs on doing this, I just fumbled about with the source from the sendmail tag) However,

Re: [Zope] dtml methods and properties

2000-12-03 Thread Chris Gray
On Mon, 4 Dec 2000, Willem Broekema wrote: As a DTML method is said to work with the properties of the object it is called at: DTML method "m": dtml-var bobobase_modification_time root folder of site/m displays the date/time when the last change happened to any file in the root

[Zope] REQUEST.set('n', n+1) broken on zope.org

2000-12-03 Thread Richard Jones
As the subject says, REQUEST.set('n', n+1) is broken on zope.org. The following DTML will raise an AttributeError on __add__: dtml-call REQUEST.set('n', 1) dtml-call REQUEST.set('n', n+1) Is this a permanent change and is this going into the Zope codebase? Richard -- Richard Jones

Re: [Zope] siblings of me, rather than of parent

2000-12-03 Thread Randall Kern
Sorry, my __bobo_traverse__ method is working, the PARENTS stack is exactly as I would hope, with my module as the parent of the category, rather than the root. Here's the whole story: / index_html (dtml method) index.html (dtml method) category (Folder) foo.html (dtml method) blah

Re: [Zope-dev] Hmmmm.... what do *you* do when Zope is 'stuck'.

2000-12-03 Thread Stefan H. Holek
On Sat, 2 Dec 2000, Steve Spicklemire wrote: OK.. more details... this is definitely a PoPy issue... I reinstalled ZPoPyDA, ran Zope in single threaded mode ( ./start -t 1 ) and then deleted my ZPoPyDA database adaptor. Then I created a new one, connected to postgres, and tested it.

Re: [Zope-dev] ZPoPyDA for FreeBSD... was (Hmmmm.... what do *you* do when Zope is 'stuck'.)

2000-12-03 Thread Steve Spicklemire
Thanks... I'm pretty sure now that what I was was pthreads/popy related. I didn't realize there was a new/updated PoPy/ZPoPyDA on the zope site with lots of thread related (sem_init, sem_wait,... ) changes so I built it on my FreeBSD boxen and haven't seen the same behavior since. -steve P.S.

[Zope-dev] Zope, 4Zope and XML???

2000-12-03 Thread Jay, Dylan
I've been considering using XML within Zope as a kind of XML repository with versioning etc. I've been trying to follow what the developments with XML with regard to Zope are and I'm becoming very confused. There seems to have been some really good stuff coming up with regard to integration