[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

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 propertys

[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] ZopeTime Question

2000-10-18 Thread Andrew Kenneth Milton
+---[ Marcus Mendes ]-- | Hello, | | Why the ZopeTime puts the differents values in the code bellow? | | | | | | | The first give me todays date; | the second give me the tomorrow date!! | | How can I obtain the todays date using fmt=%A sintaxe? Explicitly

[Zope] ZopeTime Question

2000-10-18 Thread Marcus Mendes
Hello, Why the ZopeTime puts the differents values in the code bellow? The first give me todays date; the second give me the tomorrow date!! How can I obtain the todays date using fmt=%A sintaxe? Thanks in advance. Marcus Mendes ___

[Zope] OT: Zope/ReportLab/PDF generate left aligned tables

2000-10-18 Thread Andreas
Hi, Is anybody out there using ReportLab PDF library ? I successfully installed ReportLab and PIL to serve out pdf files with Zope. Now I'm in trouble with reportlab.platypus.SimpleDocTemplate ,Table. I can't figure out how to draw a table left aligned on a PageTemplate. I can set several styles

[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

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 = When I need to perform database ops on the u

Re: [Zope] ZSQL Method & AUTHENTICATED_USER

2000-10-18 Thread Aaron Straup Cope
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. Namespaces

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: (Untested) -jon Aaron Straup Cope <[EMAIL PROTECTED]> writes: > Hi, > > I'm

[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] 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] Subje

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 update note set notes = where note_id = @noteid -Original Message- From: Richard Moon [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 2:48 AM To: [EMAIL PROTECTED] Subject: [Zope] MySQL and Zope stru

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 propertie

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

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://jonprettym

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] http://lists.zope.org/mailma

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:

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: Ne

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] 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 a

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] 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 DT

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

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 >

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 declar

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 b

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] 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 se

[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 a

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 2

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 wh

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 l

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] 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 something

[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 anyth

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

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 ___

[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 seemingl

[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 specif

[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] SQL cursor error

2000-10-18 Thread steve smith
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 passes control to a dtml method. that method in turn makes a dtml-call to another, which calls a SQL method. Regard

Re: [Zope] DCOracle + LOB

2000-10-18 Thread Francisco José Esteban Risueño
If you know what type of data are you storing in the lob column, you can use dmbs_lob package in order to insert and retrive data from the original format into de lob format. We are use this techique succesfully to insert/select text into/from a clob column. Peter Sabaini escribió: > hi all, > >

[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] http://lists.zope

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] 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] 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 cont

Re: [Zope] What Products created What Permissions

2000-10-18 Thread Chris Withers
Michel Pelletier wrote: > > Chris Withers wrote: > > > > Michael Bernstein wrote: > > > On a slightly different note, I think that the permissions > > > list should be viewable in two more ways: A view where > > > permissions are grouped into 'subjects', (for example all > > Perhaps a better ide

Re: [Zope] Determining permissions in a Product

2000-10-18 Thread Chris Withers
Aaron Straup Cope wrote: > > Obviously, I would like to solve this problem I would be very interested > to hear about more general approaches to problem solving products. When the dialog box pops up, hit cancel and see what authorization failed on. That should give you some clues as to what need

Re: [Zope] Help Debugging External Methods

2000-10-18 Thread Kapil Thangavelu
[EMAIL PROTECTED] wrote: > I'm not sure what you are referring to with "...the Python debugger > "pdb"...". I've never used it. The Debugger is your friend http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend > Robert J. Roberts > LMSI-SD&I > 509.376.6343 > [EMAIL PROTECTED] >

[Zope] Bypass ZODB and use File System

2000-10-18 Thread Noah
Hi, Is there an easy way that I can get Zope to use the local file system instead of ZODB? I basically want to make it share the local file system with Apache. Will the LocalFS product do what I want? http://yyy.zope.org/Members/jfarr/Products/LocalFS I looked at it, and so far it see