[Zope] debugging zope?

2000-10-19 Thread Riku Voipio
Hi, I'm running zope 2.1.6 on Linux with DCoracle on "production", and about once in week zope runs out of control, like it would be in a infinite loop. Stops responding to zserver requests. Any hints on how to find out what's going on? -- Riku Voipio [EMAIL PROTECTED] 09-862 60764

[Zope] Z2.log question

2000-10-19 Thread George Osvald
Can I safely delete Z2.log file and replace it with an empty one? It is getting quite big and it seems to me like a waste of space. I downloaded the existing version for reference. Regards, George ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Tiny tables

2000-10-19 Thread Graham Chiu
On Fri, 13 Oct 2000 19:40:08 -0400 [EMAIL PROTECTED] wrote: The problem with the TinyTable and TinyTablePlus products is that they use the tokenize.py module which treats any field value as a possible Python expression. Since ":" is a special token in Python, it gets interpreted as such.

Re: [Zope] Z2.log question

2000-10-19 Thread Bill Welch
The classic unix trick for emptying a open file is cp /dev/null Z2.log On Thu, 19 Oct 2000, George Osvald wrote: Can I safely delete Z2.log file and replace it with an empty one? ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Python/Perl methods?

2000-10-19 Thread Oliver Sturm
Hi, I've been looking at that new book's draft on the Zope website and I'm wondering what chapter 7 is talking about. Where in Zope can I find a "restricted Python method" or a "restricted Perl method"? I've never seen those. Does anyone know, please? Best regards, Oliver

[Zope] ZopeTime Questions

2000-10-19 Thread Marcus Mendes
Hello, - I'm using the following code. dtml-with ZopeTime dtml-var " '%s' % strftime('%A')" capitalize dtml-var "'This is %s, %s/%s/%i , %s' % (Day(), dd(), mm(), year(), TimeMinutes())" capitalize /dtml-with - I've this problem: At 22:00 hs, this code give me the following results:

Re: [Zope] OT: documentation systems.

2000-10-19 Thread Aaron Straup Cope
I've been using the RadioUserland (nee Frontier) outliner to document the Zope system I am building. It saves the outline files as XML documents so I get to have a full-featured outliner to organzie my thoughts and a (sort of) universal file format to share with people. http://radio.userland.com

[Zope] ZDiscussions for Zope 2.2.2

2000-10-19 Thread Cary O'Brien
Sorry about being such a winer yesterday. I needed a confera bulletin board for work (internal) with attachments, so I hacked ZDiscussions to work with Zope2.2.2. I needed to: 1) Get FileObject.py from Confera 2) add __allow_access_to_unprotected_subobjects__ in

[Zope] Help needed with news articles

2000-10-19 Thread Taco Scargo
Basically I want to create a page listing the last 4 articles from a Zope folder. The articles need a publish from/to field, title and (dtml) text. I somehow need to be able to find and display the article from another dtml document. I read many FAQs and tried working with zcatalogs, but somehow

Re: [Zope] Determining permissions in a Product

2000-10-19 Thread Michael Bernstein
Chris Withers wrote: When the dialog box pops up, hit cancel and see what authorization failed on. That should give you some clues as to what needs fixing. Incidnetally, I think this is a bit of a security hole. You shouldn't get told what you're not allowed to see, especially if it's

Re: [Zope] Bypass ZODB and use File System

2000-10-19 Thread Michael Bernstein
Noah wrote: What we really want to do is to provide a second view to /var/www/htdocs for Apache. I understand that Apache won't serve up our dynamic content, but that's not important. Zope is just viewed as a better solution for managing our static documents. The problem we have in my

Re: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2

2000-10-19 Thread Jeff Forsyth
I wish I were in a position to run Mac OS X Beta. But this client has Mac OS X Server. This is Darwin version .3. Running Rhapsody and all the other little problems. I have also discovered that cpu utilization shoots as soon as zope is executed. This is a box that is in current

[Zope] Python/Perl methods?

2000-10-19 Thread Spicklemire, Jerry
Oliver asked: I've been looking at that new book's draft on the Zope website and I'm wondering what chapter 7 is talking about. Where in Zope can I find a "restricted Python method" or a "restricted Perl method"? I've never seen those. Does anyone know, please? Keep in mind that the Zope

RE: [Zope] Question!

2000-10-19 Thread Farrell, Troy
Is the database connected as a System DSN? You can check under "Data Sources (ODBC)" in the Control Panel. You will need to add one if it is not there. Choose the "Add..." Button. Select SQL server. Next you will need to enter the Name you want to give the source, a description, and a server

[Zope] Problems with mysql and sql methode

2000-10-19 Thread Jens Grewen
Hi, I have a problem with an SQL Methode with the this sql statement select PAYMENT.PYNAME, PAYMENT.PYPRICEfrom MERCHANTPAYMENT, PAYMENTwhere MERCHANTPAYMENT.MEID = 418 and MERCHANTPAYMENT.PYID = PAYMENT.PYID on the following tables: MERCHANTPAYMENT -

[Zope] Solaris,iPlanet,Oracle and Zope

2000-10-19 Thread Turhan Arun
Hi everyone, I am probably the newest zopista! I am desperately seeking help. I think I am the only guy who works with Zope in TURKEY!!! Now my problem is as follows I have to use Zope Application Server on SUN iPlanet Web Server Oracle 8.1.6 Database server Would you help me about configuring

Re: [Zope] Want to access ZClass Instance from external program

2000-10-19 Thread Jon Prettyman
This works like a charm. Thanks much for the help. -jon Ender [EMAIL PROTECTED] writes: Sorry Jon, i've lead you down a slippery slope... unlike ttw dtml-methods and the rest of zope which relies on the security context soley, for a filesys python method to be exposed through the web

[Zope] pcgi authentication

2000-10-19 Thread meden
We've got Zope running behind IIS as a pcgi process. Currently we are using the jcntuserfolder product to do authentication, but we are having some trouble. The problem is that we want to allow anonymous connections to our site. So we have the permissions to the zope.pcgi resource set to

[Zope] Roxen Zope, not working

2000-10-19 Thread Adrian Madrid
I'm having problems running Zope on top of Roxen on a Win2k machine. They both run just fine separate but I can't make it work together. I followed the instructions from http://www.zope.org/Members/magnus/Roxenbut I never got it to see the first page. Here are the tracebacks I get: * This is what

[Zope] dtml-if problem

2000-10-19 Thread Terry Babbey
The following will not evaluate true and I am stumped again. dtml-if "Area == 'BIS'" Area is a variable I am passing to my method and I want to check to see if the variable is set to BIS, but it never returns true even though a dtml-var Area displays BIS. Confused as always, Terry --

Re: [Zope] dtml-if problem

2000-10-19 Thread Andy McKay
Could be that you are not evaluting the string of Area try: dtml-if "_.str(Area) == 'BIS'" - Original Message - From: "Terry Babbey" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 19, 2000 1:37 PM Subject: [Zope] dtml-if problem The following will not evaluate true

RE: [Zope] dtml-if problem

2000-10-19 Thread Eric Walstad
Hi Terry - Disclaimer: I'm a Zope Newbie... Here's what I'd try: Length of the value of Area is: dtml-var expr="_.len(Area)"br Length of the 'strip'ped value of Area is: dtml-var expr="_.len(_.string.strip(Area))"br If you see somethinkg like: Length of the value of Area is: 4 (or more) Length

Re: [Zope] Bypass ZODB and use File System

2000-10-19 Thread Jonothan Farr
As long as you're only storing text, whether it be html or dtml or what, then LocalFS might be a good solution for you. You still get through-the-web content management, and lots of neat Zope-isms like acquisition. What you can't do is attach persistent properties to the files you store locally,

[Zope] Why doesn't this method work?

2000-10-19 Thread Graham Chiu
I'm still struggling with Tiny Tables. Why does this flag an error?? dtml-call "REQUEST.set('table','thenameofmytinytable')" dtml-call "REQUEST.set('tableData',_.chr(34)+'Mydata'+_.chr(34) + '\n')" dtml-call "table.manage_editData(tableData)" Error Type: AttributeError Error Value: 'string'

Re: [Zope] Why doesn't this method work?

2000-10-19 Thread Curtis Maloney
On Fri, 20 Oct 2000, Graham Chiu wrote: I'm still struggling with Tiny Tables. Why does this flag an error?? dtml-call "REQUEST.set('table','thenameofmytinytable')" Here's your problem. You're setting table to be a string containing the name of your tiny table. dtml-call

Re: [Zope] Why doesn't this method work?

2000-10-19 Thread Graham Chiu
On Fri, 20 Oct 2000 11:30:46 +1100 Curtis Maloney [EMAIL PROTECTED] wrote: Why don't you try dtml-call "_.getitem('thenameofmytinytable').manage_editDate(tableDate)" instead? Thanks. I tried this last night, and it didn't work for me, and now it does :-( I was following the howto at

[Zope] How do I format date/time in dtml from a ISO-8601 SQL timestampfield?field?

2000-10-19 Thread J Kinsley
I am probably missing something simple here, however I can not get this to work properly Given mtime = -MM-DD HH:MM:SS-ZZ as returned from PostgreSQL, how do I get the following to work without errors? dtml-in "sqlquery(...)" dtml-var mtime fmt="%a %d %b %Y %H:%M:S %Z"

[Zope] dtml-sqlvar quote

2000-10-19 Thread Mark Twiddy
Hi all How can i pass a string to a sql method that won't be quoted. i.e so i can do somthing like this . group by foo,blah order by dtml-sqlvar spam thanks mark ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] dtml-sqlvar quote

2000-10-19 Thread Curtis Maloney
On Fri, 20 Oct 2000, Mark Twiddy wrote: Hi all How can i pass a string to a sql method that won't be quoted. i.e so i can do somthing like this . ggroup by foo,blah order by dtml-sqlvar spam don't use sqlvar... just put: order by dtml-var spam works for me. (o8 thanks mark

[Zope] submit buttons

2000-10-19 Thread Mark Twiddy
Hi all I can remember reading but can't remember where or how ,another way to submit forms . somthing like form input type=submit name=spam value=blah some action here /form does anyone have an example thanks again Mark ___ Zope maillist -

RE: [Zope] submit buttons

2000-10-19 Thread Brad Moulton
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Twiddy Sent: Friday, October 20, 2000 3:41 PM To: [EMAIL PROTECTED] Subject: [Zope] submit buttons Hi all I can remember reading but can't remember where or how ,another way to submit forms .

[Zope-dev] ZPatterns bug: no help subdirectory in PlugIns

2000-10-19 Thread Steve Alexander
PlugIns-0-4-3b1 (part of the latest ZPatterns release). __init__.py fails because at line 8 context.registerHelp() fails, as there is no "help" subdirectory in the PlugIns product folder. I guess this is an empty directory that got missed off when the whole thing was tarred up. A simple fix is

[Zope-dev] WriteLocking Project Initialized

2000-10-19 Thread Jeffrey P Shell
http://dev.zope.org/Wikis/DevSite/Projects/WriteLocking/FrontPage WriteLocking became a full fledged Fishbowl Project this week, and I've been spending the past couple of days getting the initial Artifacts and structure of the Project site together. The current structure should stand through

[Zope-dev] Lists of Objects

2000-10-19 Thread Jack Fitzgerald
Hello, I am currently keeping a list of objects sorted in a particular object. I am wondering if anyone has an opinion about whether I should keep just the 'id' in this list or if it is ok to actually keep a reference to the object in the list. When I use the list at a later point in time I

Re: [Zope-dev] Lists of Objects

2000-10-19 Thread Ender
please don't post html to this zope mailing lists, many people aren't using html email readers Jack Fitzgerald wrote: Hello, I am currently keeping a list of objects sorted in a particular object. I am wondering if anyone has an opinion about whether I should keep just the 'id' in