Re: [Zope] bobobase_modification_time and .zexp

2000-10-18 Thread Toby Dickenson
On Tue, 17 Oct 2000 21:25:18 +0200, "Wolfgang Strobl" [EMAIL PROTECTED] wrote: Wherever I need information when the page has been created, I use my creationTime attribute. Sure. For your own creations it's somewhat easier, just create your own timestamps. But what about existing content.

[Zope] DCOracle + LOB

2000-10-18 Thread Peter Sabaini
hi all, i have this shiny brand new oracle 8i server and now read (on the mailinglist) that there's no lob support for oracle 8i in dcoracle 1.3.2, and indeed it does not appear to work. is that true? i need lob support! is there any workaround? through stored procedures maybe? thanks a lot!

Re: [Zope] MySQL and Zope struggles

2000-10-18 Thread Richard Moon
Thanks Monty, I did try the temporary table route - problem is that Zope keeps the connection open so the temporary table stays there. Of course you can explicitly drop the temporary table after you've used it. However if the update fails for any reason the temporary table will still exist so

[Zope] Mozilla-back button

2000-10-18 Thread brocken22
To support Mozilla I'd like to switch to M18, but in the Zope-Management-Interface the back-button doesn't seems to work. What am I missing?? -- Sent through GMX FreeMail - http://www.gmx.net ___ Zope maillist - [EMAIL PROTECTED]

[Zope] transactions howto released

2000-10-18 Thread Chris McDonough
Hi. There's a short howto describing the semantics of ZODB transactions at http://www.zope.org/Members/mcdonc/HowTos/transaction. Enjoy! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] UserDb - Please just WORK

2000-10-18 Thread ed colmar
Since Login Manager isn't doing the trick, I've been trying User DB to authenticate to my postgresql DB. I get some strange errors, like when I try to view a page that is 'protected' by UserDb, I get the error message below. Also, when I click a user in the management screen, it says "the

[Zope] How about removing broken things like Confera and ZDiscussions?

2000-10-18 Thread Cary O'Brien
Why are things like ZDiscussions and Confera even on the zope download pages? They don't work! It would be better if they were moved to a section called "Things that worked once but aren't being maintained so they don't work any more". Otherwise people starting out might see all these

Re: [Zope] Mozilla-back button

2000-10-18 Thread Kapil Thangavelu
[EMAIL PROTECTED] wrote: To support Mozilla I'd like to switch to M18, but in the Zope-Management-Interface the back-button doesn't seems to work. What am I missing?? mozilla not handling frames and history correctly... i think the latest nightly does it properly. kapil

Re: [Zope] How about removing broken things like Confera and ZDiscussions?

2000-10-18 Thread Kapil Thangavelu
Cary O'Brien wrote: Why are things like ZDiscussions and Confera even on the zope download pages? They don't work! It would be better if they were moved to a section called "Things that worked once but aren't being maintained so they don't work any more". Otherwise people starting out

[Zope] INSTANCE_HOME breaks cross products import

2000-10-18 Thread Johan Carlsson
Hi, I'm using then the INSTANCE_HOME to have separate Zope instances use a base zope installation and a shared products directory with symlink's to the instance product folder. As described in the "How-To: Make your life easier with INSTANCE_HOME" by 4am. Now the LoginManager can't import

Re: [Zope] UserDb - Please just WORK

2000-10-18 Thread Phil Harris
ed, If I'm right it should be a fairly simple job to fix it. I use Interbase to hold my user database and out of the box I get almost exactly the same problems you do. The problem is that 'password' is a reserved word. The interbase solution is to rewrite the UserDB sql queries to be

Re: [Zope] SQL cursor error

2000-10-18 Thread knight
The first problem is your are running Microsoft. Just kidding. On Wed, 18 Oct 2000, steve smith wrote: Anyone know what this means? Error Type: sql.error Error Value: ('24000', 0, '[Microsoft][ODBC SQL Server Driver]Invalid cursor state' I get this when I try to submit a form which

Re: [Zope] How about removing broken things like Confera andZDiscussions?

2000-10-18 Thread knight
Cary, I've written some code that requires ZSQL Methods that I've been heavily considering porting over to a Product sometime in the near future. It has been more of a "is there enough demand for a forum product" than anything really. Take a look at http://www.phunc.com/Forums and tell me if it

Re: [Zope] Help Debugging External Methods

2000-10-18 Thread Fred Yankowski
On Tue, Oct 17, 2000 at 09:05:29PM -0700, Kapil Thangavelu wrote: The Debugger is your friend http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend That's a useful page -- thanks for the link. It's interesting that the example fooMethod() function has a major flaw, contrary to

Re: [Zope] How about removing broken things like Confera andZDiscussions?

2000-10-18 Thread J. Atwood
There is a ZDiscussions that works. It is called ZUBB. http://www.zope.org/Members/BwanaZulia/ZUBB But, I agree, old product that have been left behind (the old version of ZDiscussions/Confera) should be marked and or archived. J From: "Cary O'Brien" [EMAIL PROTECTED] Date: Wed, 18 Oct 2000

[Zope] GUF, ZODB, and 2.2.2

2000-10-18 Thread Jason Byron
Has anyone had luck getting GUF to work using ZODB to store the user info, and Zope version 2.2.2 (no hot fixes)? I had some code working fine in 2.2.1, but in 2.2.2 I am having lots of trouble getting GUF to work. The current implementation I have places a folder in the acl_users (GUF) folder

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

2000-10-18 Thread Jon Prettyman
Well, I've gotten xmlprclib and fixed it up so I can talk to my server. So far I can retrieve objectIds and retrieve objects via an objectid, but I can't figure out how to get to the property sheets. Here's what I've got: server = Server( "http://jonprettyman.com" ) print server for k,v in

Re: [Zope] Problems with PoPy 1.4 ZPoPyDA 0.7

2000-10-18 Thread Dustin
Thanks for the help Kapil. That was the problem, but what I did instead was copied the PoPymodule.so from the system python lib folder to /zope_home/lib/python. That did the trick. Dustin Kapil Thangavelu [EMAIL PROTECTED] said: hi dustin your probably not running the same python

Re: [Zope] __len__ Errors

2000-10-18 Thread Chris Withers
Nope, the list might benefit from seeing the traceback though... cheers, Chris Scott Burton wrote: They are ZDiscussion based. I might have figured out why. I added my custom properties to the discussion items. I did not know ZD was python-based and not entirely ZClassed. I have been

Re: [Zope] How about removing broken things like Confera andZDiscussions?

2000-10-18 Thread albert boulanger
There is a ZDiscussions that works. It is called ZUBB. http://www.zope.org/Members/BwanaZulia/ZUBB But, I agree, old product that have been left behind (the old version of ZDiscussions/Confera) should be marked and or archived. J Might be better to have a more formal

Re: [Zope] Discussions

2000-10-18 Thread Chris Withers
Kapil Thangavelu wrote: Cary O'Brien wrote: Why are things like ZDiscussions and Confera even on the zope download pages? They don't work! It would be better if they were moved to a section called "Things that worked once but aren't being maintained so they don't work any more".

Re: [Zope] How about removing broken things like Confera and ZDiscussions?

2000-10-18 Thread Cary O'Brien
There is a ZDiscussions that works. It is called ZUBB. http://www.zope.org/Members/BwanaZulia/ZUBB But, I agree, old product that have been left behind (the old version of ZDiscussions/Confera) should be marked and or archived. J Might be better to have a

Re: [Zope] HELP! Permissions problem, ZClass

2000-10-18 Thread Marcus Mendes
Take a look at Security View of its ZClass. Give permissions to anonymous users. Marcus Mendes Eric Walstad wrote: Help, pls! I have a ZClass that is functioning beautifully if I am logged in, but the anonymous user keeps getting prompted for a password. The problem occurs when my DTML

Re: [Zope] How about removing broken things like Confera and ZDiscussions?

2000-10-18 Thread Andy McKay
How about a tested with version x field on Products? - Original Message - From: "Cary O'Brien" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, October 18, 2000 9:32 AM Subject: Re: [Zope] How about removing broken things like Confera and ZDiscussions?

Re: [Zope] How about removing broken things like Confera and ZDiscussions?

2000-10-18 Thread Cary O'Brien
There is a ZDiscussions that works. It is called ZUBB. But it doesn't do attachments. I really need attachments. I'm trying to fix Attachments in ZDConfera, but the FileObject class doesn't seem to exist any more. Arrg. -- cary http://www.zope.org/Members/BwanaZulia/ZUBB But, I

Re: [Zope] How about removing broken things like Confera andZDiscussions?

2000-10-18 Thread J. Atwood
So... add attachments. Not really a big deal. No one product is going to do it all out of the box. That is why it is Open Source.. you open it and provide your own source of code. :) J From: "Cary O'Brien" [EMAIL PROTECTED] Date: Wed, 18 Oct 2000 12:41:59 -0400 (EDT) To: [EMAIL PROTECTED]

Re: [Zope] Discussions

2000-10-18 Thread J. Atwood
Yes, Squishdot is a very good option as well. ZUBB, it would seem, it being maintained by little ole me. Maybe I should write a little "Differences between ZUBB and Squishdot" so people can figure out where to use one or the other. J From: Chris Withers [EMAIL PROTECTED] Organization: New

Re: [Zope] Squish it

2000-10-18 Thread Chris Withers
Cary O'Brien wrote: There is a ZDiscussions that works. It is called ZUBB. But it doesn't do attachments. I really need attachments. I'm trying to fix Attachments in ZDConfera, but the FileObject class doesn't seem to exist any more. Squishdot does attachments ;-) Chris PS: It was

Re: [Zope] Discussions

2000-10-18 Thread Chris Withers
"J. Atwood" wrote: Maybe I should write a little "Differences between ZUBB and Squishdot" so people can figure out where to use one or the other. I'd love to read it :-) Chris ___ Zope maillist - [EMAIL PROTECTED]

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

2000-10-18 Thread Ender
Jon Prettyman wrote: Well, I've gotten xmlprclib and fixed it up so I can talk to my server. So far I can retrieve objectIds and retrieve objects via an objectid, but I can't figure out how to get to the property sheets. Here's what I've got: server = Server( "http://jonprettyman.com"

Re: [Zope] Discussions

2000-10-18 Thread J. Atwood
No problem... I have to go look at Squishdot again though. Forgetting some of the features. J From: Chris Withers [EMAIL PROTECTED] Organization: New Information Paradigms Date: Wed, 18 Oct 2000 18:05:55 +0100 To: "J. Atwood" [EMAIL PROTECTED] Cc: Kapil Thangavelu [EMAIL PROTECTED], Cary

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

2000-10-18 Thread Jon Prettyman
Adding: try: for k in server.EBQ.id_company_apply_html.propertysheets.propertyIds(): print "%-15s:" % (k) except Error, v: print server print "ERROR", v Gives me output, although I'm pretty shure it's not the right thing. Output: title base Both of these are

RE: [Zope] MySQL and Zope struggles

2000-10-18 Thread Baker, Dennis [sjmr]
What about one sql method: select @noteid:=note_id from artist where dtml-sqltest artist_id type=int dtml-var sql_delimiter update note set notes =dtml-sqlvar notes type=string where note_id = @noteid -Original Message- From: Richard Moon [mailto:[EMAIL PROTECTED]] Sent: Monday,

RE: [Zope] Two questions regarding SQL

2000-10-18 Thread Baker, Dennis [sjmr]
Dunno if someone replied to this, but try GUF. Let's you roll your own authentication. There is a howto out there for using GUF with an SQL server. -Original Message- From: //www.alomega.com/ [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 3:02 PM To: [EMAIL PROTECTED]

[Zope] ZSQL Method AUTHENTICATED_USER

2000-10-18 Thread Aaron Straup Cope
Hi, I'm trying to perform a simple MySQL lookup based on the AUTHENTICATED_USER. When I test the ZSQL method from the management interface, everything works fine. However, when I try to call the method from a DTML document, [it] returns nothing. Is this a namespace issue? I'm stumped and hoping

Re: [Zope] ZSQL Method AUTHENTICATED_USER

2000-10-18 Thread Jon Prettyman
I'm pretty sure that all variables have to be passed in explicitly with SQLMethods. Namespaces are not passed in. Try specifying username as an argument in the ZSQLMethods edit form and pass it in like this: dtml-in expr= "lookup_by_username(username=REQUEST.AUTHENTICATED_USER.getUserName()"

Re: [Zope] ZSQL Method AUTHENTICATED_USER

2000-10-18 Thread Aaron Straup Cope
sigh / Thanks. It was a syntax issue. I think I tried every single variation on passing variables to the method except that one. Sorry for the bother, folks... :-) On 18 Oct 2000, Jon Prettyman wrote: I'm pretty sure that all variables have to be passed in explicitly with SQLMethods.

RE: [Zope] ZSQL Method AUTHENTICATED_USER

2000-10-18 Thread steve smith
I have an approach that works for me, but it may be a bit awkward. I have a SQL method (dbGetUserID) which takes AUTHENTICATED_USER as an argument and finds the value from the "userid" field in the database: select userid from users where shortname = dtml-sqlvar AUTHENTICATED_USER type=nb When

[Zope] A clarity problem...

2000-10-18 Thread Curtis Maloney
Green things, After seeing yet another problem caused by the 'shorthand' of zope (using "foo" to mean expr="foo") I was wondering just how difficult it would be to REMOVE this useful, but confusing, feature. Personally, I don't have a problem with it, any more. But it seems a

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

2000-10-18 Thread Jeff Forsyth
I currently have Zope and Python installed from the source code from the excellent instructions by JShell. But there is one little problemCPU Utilization shoots above 97% as soon as I access the management screen. If anybody has any ideas or solutions. Rhapsody AWS 5.6 Kernel Release 5.6:

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

2000-10-18 Thread Ender
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 via xml-rpc it must have a doc string as well as have proper credentials. looking through

[Zope] OT: documentation systems.

2000-10-18 Thread Terry Kerr
Hi, What documentation systems to people use for developing offline hardcopy and online user documentation for applications that they develop? I am writing an extensive application using zope, and it needs a lot of user documentation. The system I use won't necessarily have to be web based...I

[Zope-dev] Using Zope-modules in Python

2000-10-18 Thread Thomas Weholt
Hi, I want to use some Zope-modules in plain Python, no web-stuff, namely ZODB and Persistence (maybe others too ). I've installed BeOpen Python 2.0 and Zope 2.2.2. I want to import the Zope-modules, but adding the C:\Program Files\WebSite\lib\python-folder to sys.path just doesn't cut it. I

RE: [Zope-dev] Inheritable Propertysheets!???!!?!?!?!!

2000-10-18 Thread Seb Bacon
AFAIK (but I'm no expert), a ZClass inherits its parents' propertysheets and you can access them in the normal way. The problem is that the all the propertysheets have to have different names. Example: If your parent class and the child class both have a property sheet called "Basic", but the

Re: [Zope-dev] Using Zope-modules in Python

2000-10-18 Thread Kapil Thangavelu
Thomas Weholt wrote: Hi, I want to use some Zope-modules in plain Python, no web-stuff, namely ZODB and Persistence (maybe others too ). I've installed BeOpen Python 2.0 and Zope 2.2.2. I want to import the Zope-modules, but adding the C:\Program Files\WebSite\lib\python-folder to

[Zope-dev] SkinScript Exceptions

2000-10-18 Thread Johan Carlsson
Using the following Rule: WHEN eventspec STORE myattributelist USING storemyattributes() SAVING momentolist How does failure to store an attribute get signaled back to the DataSkin? Can I raise an exception in a SkinScript if a rule fails due to failure of the "WHEN eventspec"? What I

Re: [Zope-dev] Typo in Version.py

2000-10-18 Thread Jeffrey P Shell
On 10/18/2000 9:04 AM, "Greg Ward" [EMAIL PROTECTED] wrote: Now if only I could figure out why Zope is trying to raise that exception on me... (I'm not deleting a version, I'm just renaming something within a version!) Greg Because Rename deletes. The basic sequence of a

Re: [Zope-dev] Typo in Version.py

2000-10-18 Thread Jeffrey P Shell
On 10/18/2000 9:27 AM, "Jeffrey P Shell" [EMAIL PROTECTED] wrote: On 10/18/2000 9:04 AM, "Greg Ward" [EMAIL PROTECTED] wrote: Now if only I could figure out why Zope is trying to raise that exception on me... (I'm not deleting a version, I'm just renaming something within a version!)

Re: [Zope-dev] SkinScript Exceptions

2000-10-18 Thread Phillip J. Eby
At 12:27 PM 10/18/00 +0100, Johan Carlsson wrote: Using the following Rule: WHEN eventspec STORE myattributelist USING storemyattributes() SAVING momentolist How does failure to store an attribute get signaled back to the DataSkin? It does not. An exception in your rule will simply cause