Re: [Zope] Connect String for mysql with SQLRELAY
You will need to have a sqlrelay server running somewhere that is connected to your mysql database. A given sqlrelay server running on a given port will only be connected to one database - so the informaiton below is all that is needed by the sqlrelay adapter. The sqlrelay xml config file (usually /usr/local/firstworks/etc/sqlrelay.conf) is where you will configure what database you want to connect to and what the mysql auth info is. ^Roman > "HK" == Harald Koschinski <[EMAIL PROTECTED]> writes: HK> Hallo, does anybody know how to connect to a mysql database HK> with SQLRELAY (the brand new adapter?) The form-help says: HK> The connection string used for Z SQLRleay Database Connections HK> are as follows: HK> hostname portnumber username password HK> but that´s not enough - where is the Database connecting to. ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Newspaper site
On Wed, 21 Jun 2000, Wesley Anderson wrote: > Hi all, > > I'm just wondering if there are any newspaper/magazine sites out there that > are using ZOPE for content management and subscriber management. I wouldn't > think it would be suitable, but what do you think of using Squishdot for > this purpose? Also, is there a list of "powered by" sites on zope.org? > > I'm doing a site that has both public and private content - hence the need > for subscriber-based access. > http://www.emedia.com.my is a newspaper site that runs on ZClass. nothing much, but works -- -- http://www.kedai.com.my/kk Am I Evil? ___ Zope maillist - [EMAIL PROTECTED] 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] Re: help!
"Eden, Matthew" wrote: > I am having some trouble with the jcNTUserFolder. The NT security is in > place, and when I link to the Zope management screens in I can get to them. so far so good > But the screens are not correct. The right frame of the management screen > does not have the existing objects list, but only the Welcome to Zope > content screen. Is your zope server working standalone or is it behind IIS? Is your NT version 4.0 SP6? If not, what version is your NT server / SP ? I'm looking for the explanation for that problem, and I think it is SP6 fault. You might help me to nail down the problem > When I go to the user folder the users' names (with the > exception of the administrator user) are not listed in the canonical form. > I wonder if that is the problem? Local users are not listed in the cannonical form. the administrator user is special and is always listed in cannonical form. but this is just presentation. the logic is the same. > There is no way to add new users except through the nt security module. > Must I input new users in the nt security module with user names > like "DOMAIN\userid"? you add users the normal way, with nt user manager. jcNTUserFolder hooks into the nt security module to get users. That way, you can get all the users you have defined under NT without the need to create them again under Zope. regards, jephte clain [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] 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] ZPatterns: Deleting objects from a Rack?
Ok, I have a stupid question. I have succeeded in creating a ZClass (a subclass of DataSkin) and instantiating a few instances in the defaultRack of my Specialist using my Specialist's newItem() method. Rock. However, search as I might, I cannot figure out how to delete an item once it's been created. On gut instinct, I figured there would be a deleteItem() to complement the newItem() method. No such luck. What am I missing? Is there a management tab I'm not clicking on somewhere? A method I haven't found? A clue I don't have? :-) Thanks, --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technology Officer mailto:[EMAIL PROTECTED] Going Virtual, L.L.C. http://www.goingv.com/ ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] python product - newbie
On Thu, 22 Jun 2000, Loren Stafford wrote: > You don't show the __init__.py file so it's hard to be sure, but... > > well, here's my __init__.py -- __doc__ = """Boring initialization module. My first product - Guest book See README.txt for more details.""" # Version string. Usually updated automatically by CVS. __version__ = '0.1' # Anything more and it'd be Interesting. # Step #1: import your Python class so we can refer to it later import GB def initialize(context): """Initialize the Boring product. registerClass() can accept a lot more arguments than we're providing here, but that wouldn't be Boring.""" try: """Try to register the product.""" context.registerClass( GB.GB, # Which is the addable bit? constructors = ( # The first of these is called GB.manage_addGBForm, # when someone adds the product; GB.manage_addGB),# the second is named here so we # can give people permission to # call it. icon = 'item.gif'# This icon was provided by the # Zope 1 product-in-Python demo. ) except: import sys, traceback, string type, val, tb = sys.exc_info() sys.stderr.write(string.join(traceback.format_exception(type, val, tb), '')) del type, val, tb --- i registered GB, with forms and it's equivalent manage action. that's ok. but to nest another class in GB, and to have the 'Add GBitem' show on the manage interface, that, i can't do. what should be added, and where? i looked at the old product API, but got more confused because i think Boring is based on another way of making product. is that so? thabks ___ Zope maillist - [EMAIL PROTECTED] 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] Zope in the UK
Hello Britts! I live and work in London as a webdeveloper, but I haven't had a chance to stuck me teeth to some Z work here yet. Are there no Zope developers in the UK, and especially in London where I live? If you know about how Zoped UK (London) is on Zope, please let me know. Best Regards, Peter
Re: [Zope] Multiple virtual hosts and domains
Alex Gould wrote: > > Hugo Ramos wrote: > > > After testing SiteAccess for about 100 times... i still can't get zope to > > serve multiple virtual hosts and domains... [...] > I just recently asked this question and got it to work. This setup > works if you have several subdomains 'sitea.domain.tld' and > 'siteb.domain.tld' etc. It may have to be modified to work with other > setups - don't ask me how! but please do look at Evan's excellent documentation, where he does cover several examples. http://www.zope.org/Members/4am/SiteAccess/info > - create folders sitea, siteb, and so on in your root zodb directory > - put a siteroot in each folder, leaving all fields except name blank > - make a dtml method in the root directory called virtual_hosts or > something, consisting of the following script: > > Get subdomain: > [snip] quick note: Access rules don't care if you leave out the dtml-comment tags. > This should work, but don't ask me how (credit goes to Ethan Mindlace > Freeman, who gave me these instructions). Good luck! it's Fremen, as in spice, giant worms, arrakis ... :-) ~ethan ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Big folders
Jimmie Houchin wrote: > My apologies if this covered somewhere. no, but it is talked about: http://www.zope.org/Wikis/zope-dev/ReallyBigFolders ~ethan ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] ZODB or not ZODB?
Casey Duncan wrote: > Is ZODB up to the task of storing this quantity of objects? What problems > might I run into? Is it a wise idea, could a data.fs file of this size > (~3-400MB) become too easily corrupted? Should I use a separate data.fs file > just to store the documents (ie using mountedFileStorage)? Or is it better > to use method #1 or #2? Information from anyone with experience in this > regard is greatly appreciated. Casey, Zope.org is 375 MB packed, and it grows by 100 MB a *day*. There are >8500 member folders. When you get this many objects in a folder, accessing the >folder (though not the objects themselves) gets *slow*. more info here: http://www.zope.org/Wikis/zope-dev/ReallyBigFolders ethan mindlace fremen Zopatista Community Liason ___ Zope maillist - [EMAIL PROTECTED] 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] SiteAccess & 2.1.6
Oleg Broytmann wrote: >I run 2.1.4 too, and for the same reason - ZSQL and SiteAccess. I am > afraid I couldn't upgrade to 2.1.5+ nor 2.2+ due to SiteAccess :( Oleg, I am using SiteAccess and 2.1.6 at iMeme, and they play fine together. SiteAccess is also tracking 2.2, if you take a look at it. ~ethan ___ Zope maillist - [EMAIL PROTECTED] 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] Confera problem reply problem
I am trying to use Confera for the first time and am having a problem: 1) When I reply to a message, I get the error: Error Type: AttributeError Error Value: regs I have the topic installed in a PTK folder and have checked the option to notify me of new replies on the original message. Anyone had this problem? --Sean ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Using Zope DB connection from a Python class
+[ Tino Wildenhain ]- | Hi Ivan, | | > 3. Zope 2.1.7 | > Z ODBC DA 3.0.3 | > Solid dev kit 2.3 | > RedHat Linux 6.1 on i386 | | How to use Z ODBC DA on Linux? I only found a windows binary. You need to do a few things: First the ZODBCDA comes with src for the python ODBC wrapper. You can alter this src to use your ODBC library rebuild it and move the .so file up a directory. For UNIX ODBC libraries you have some choices:- OpenSource -- iODBC-- works OK unixODBC -- I had problems with this, but, it's not a very mature product, I didn't really stick with it at the time either (time constraints). Commercial -- Openlink Multi-Tier ODBC libraries -- Commercial, but, they have a 10 connection demo license. This works well, and I have succesfully used this to talk to MS-SQL v7 from FreeBSD. Then there's the ODBC-ODBC bridge software I haven't really tried to get this to work, although I briefly looked at it. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Zope jobs.
Erik Enge wrote: > > On Wed, 21 Jun 2000, Patrick Lewis wrote: > > > Funny you should mention this. I have mocked up a job board at: > > > > www.zope.org/Members/plewis/job_board > > Let's hope they're not _too_ slow ;-). who you calling slow? :-P Well, I'm johnny on the spot on this one, and I just finished getting set up here in scenic Fredericksburg. Well, sort of. Anyway, I can send email. I want to have a whole site dedicated to commerce-type activities. I'm spending this week putting together a "vision thing" for the zope web so that where we go next will *scale*. So I ask for your patience: I will be moving on this soon. ethan mindlace fremen Zopatista Community Liason ___ Zope maillist - [EMAIL PROTECTED] 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] this is not the message you are looking for
move along ___ Zope maillist - [EMAIL PROTECTED] 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] dtml-tree frustration
Hi there, i have a bit of a problem with the dtml-tree tag. I have a folder structure like this (excuse bad ASCII art) ---root ---Main_Sections ---Software ---Folder1 ---item 1 ---item 2 ---Folder2 ---Folder3 ---Hardware ---Folder1 ---Folder2 ---Folder3 ---TMLDiscussion ---images ---Phonelist Now, i want to have dtml-trees built for each section (Software, Hardware etc.) and have them display in the index_html method of those folders. i.e. in the index_html method of 'Software', i want a tree that looks like this: +Folder1 +item 1 +item 2 +Folder2 +Folder3 When i put this code into the index_html method of the software folder: I get nothing. No output, no errors, absolutely friggin nothing. When i put identical code into the index_html method of the Main_Sections folder, i get exactly what i would expect to see, i.e. +Software +Folder1 +item1 +item2 +Folder2 +Folder3 +Hardware +Folder1 +Folder2 +Folder3 What is going on here? Surely this *should* work!? Thanks for any help -Pete
Re: [Zope] More reliable Database Adapter for linux
Pedro Vega wrote: > > Maybe the correct question is the most reliable combo DA+DB. > > Regards. > How about: Zope+ZODB ? :) ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] problems using sendmail-tag
Philipp Dunkel wrote: > Recieved error code 553 from SMTP: 553 ... Domain name required > > I know that this error occurs if the user is not allowed to send mail from > that host. For sendmail related problems, a good source of information as to why a message got bounced is usually in the sendmail log files. The localtion of this is usually dictated by /etc/syslog.conf, but on RedHat systems it's usually stored in /var/log/maillog. > But if I telnet to port 25 (sendmail) as user 'zope' I can send mail?? Yes, but you're probably sending what sendmail wants - this isn't necessarily the case when Zope does it (hence the 553). Regards, Daryl Tester ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Zope jobs.
On Wed, 21 Jun 2000, Patrick Lewis wrote: > Funny you should mention this. I have mocked up a job board at: > > www.zope.org/Members/plewis/job_board Let's hope they're not _too_ slow ;-). > But, if you would like to privately email me with the > details, I would happily post it in the meantime. Whats the use if you haven't announced it yet (i.e. no one is looking ;-)? ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Probably a simple name space question
Bert Jan Bakker writes: > I want to call a Z SQL Method (say InsertFoo) > from a DTML Method (say CallingInsertFoo) and > it just won't work. > > The Z SQL Method takes three arguments, let's > call them a_id, b_id and c_id. > > All three arguments are available to me > in the calling DTML Method. I can print > them in HTML. But when I call the query > with I get the following > error: > > "Error Type: Bad Request > Error Value: ['a_id', 'b_id', 'c_id']" This problem seems to come up once in every few weaks --> an FAQ. Okay, again: ZSQL methods are stupid, in that they only look at the REQUEST object and not at the namespace to find their arguments. You could avoid this weakness by: 1. This provides the arguments explicitely. 2. This puts the argument values into the REQUEST object. Dieter ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] python product - newbie
Bak @ kedai writes: > i'm messing around with Boring product, and now wants to do more. i have > problems when i got more than one class in a product. this is what i wanted to > do. > > create a guestbook (what else :)) product. GB.py with two classes - GB and > GBitem. i can now load GB product, but can't add GBitem. what do i need to do > to get the 'Add' selection box? You probably have only registered one of the classes as meta types. Have a look at "Products/ZSQLMethods/__init__.py". It registers two classes "Z SQL Methods" and "Z Search Interface". There should be a Product API Guide somewhere on zope.org. That's the documentation, that may help you. Dieter ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] ZSQL newbie question
kamon ayeva writes: > I have a text file object containing data I want to use to update a MySQL > table. > I can get the data using the LocalFS object product and the howto from > jfarr, but I don't know how to use ZSQL method and DTML method to inject > this data in the table. You should know (or learn) a bit of SQL, especially the SQL "insert" command. You should have had a look into the Z SQL Methods User Guide (--> zope.org/Documentation). After that, only a tiny bit is missing: you file object will provide a method "read". You can use it to return the file content as a string. You put this string on a parameter position for an SQL insert. Something like: As you probably expect, I used "sqlinsert" for your Z SQL method that uses the SQL "insert" command to insert a new row into a table and "file" for your file object. The "..." stand for the other arguments and values, that define the remaining fields in your table. Note the "...". These double quotes are essential. Dieter ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] ZDiscussions Problem
> > > > > ..., i get this error: > > Error Type: NameError > Error Value: r > > Whats going on? And how do i display the discussion on my index page? Probably a small bug in ZDiscussion. I have had something similar in ZTopic. You should have gotten a traceback. Its bottom line tells you in what file and what line the NameError occured. Look there, why "r" is not defined. It is probable that in some exception case an assignment to "r" is missing. It probably is available in the non exceptional case. See whether this assignment could be used in the exception case, too, or whether "r" can be initialized to a default value (None or ''). Dieter PS: Because Mailman digests discard MIME headers, MIME messages are somewhat difficult to read for me. Could you please switch off, "multipart/alternative" text/html message sending to this list. ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] problems using sendmail-tag
Philipp Dunkel writes: > I have a form that calls a sendmail tag to send user-feedback to a specific > email-adress. > When I try to send mail I always get the error: > > Recieved error code 553 from SMTP: 553 ... Domain name required > > I know that this error occurs if the user is not allowed to send mail from > that host. The SMTP error 553 means that there is a syntactical problem with one of the mail headers, usually an address header. Your SMTP server tells you that it expects a "Domain name" and there is none. This may be indicative to either: 1. one of your mail headers (To:, From:, ...) is faulty 2. you did not specify any domain name and the SMTP server cannot provide the default domainname due to some configuration problem. Under Unix, the program "hostname -f" provides the default host name. Dieter ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Dynamic sorting key?
Zoper writes: > ..., however I would like to sort on different key by different paramenter... > > something like "... sort=REQUEST['sort_by'] ..." (doesn't work) > where sort_by from URL parameter maybe "id", "title", "getSize" or >"bobobase_modification_time", etc... This is a known weakness. AFAIK, there is currently no way to treat values for "sort" as expressions. You may try, ... sort="REQUEST['sort_by']" ... (note the "..."!), but it will probably not work. It, obviously, is useful, but I believe nobody has implemented it yet. Dieter ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Looking into folders
Felipe Alvarez Harnecker writes: > I need to query if one folder has sub-folders in it or not. You can use the "tpValues" method. It is used by the "tree" tag to determine whether or not the node can be expanded. > I want to manipulate every object returned by the "tree" tag like this > > > > > > > > > > A look at the tree tag code in "TreeDisplay.TreeTag" convinced me, that (unlike "dtml-in") "dtml-tree" does not provide a direct reference to the rendered object. You may (or may not) have luck and the rendered object has a "this" method (many Zope objects have). Then you can use "this()" as a reference to the object. You must take care for cases, when "this" does not exist. I think, "dtml-tree" should define "tree-item" in analogy to the "dtml-in"'s "sequence-item". This is a low priority feature request, I will put into the locator, if I do not forget it. Dieter ___ Zope maillist - [EMAIL PROTECTED] 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 )
RE: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...
While I wasn't having the exact problem described below, this does appear to have fixed the problem I was having with SQL Methods not being able to access ZClass properties because of authentication problems. My ZClass was working fine in 2.1.4/5/6, but not in 2.2beta1 because of this. Now it works fine in both. ___ Ron Bickers Logic Etc, Inc. [EMAIL PROTECTED] > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Brian > Lloyd > Sent: Wednesday, June 21, 2000 11:26 AM > To: '[EMAIL PROTECTED]'; Brian Lloyd; '[EMAIL PROTECTED]'; > '[EMAIL PROTECTED]' > Subject: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix... > > > Hi all, > > Several folks have reported problems in beta 1 with SQLMethods > having authentication problems when trying to call other SQL > Methods. I'd like a few intrepid volunteers to try something > for me to see if it fixes the problem. I'd like to make a 2.2 > beta 2 release tomorrow but I want to make sure this issue is > resolved first. > > Make a backup of the file: > > lib/python/Shared/DC/ZRDB/DA.py > > in your current (beta 1) installation and replace it with the > DA.py attached to this email, restart and let me know if the > problem goes away. ___ Zope maillist - [EMAIL PROTECTED] 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] Connect String for mysql with SQLRELAY
Hallo, does anybody know how to connect to a mysql database with SQLRELAY (the brand new adapter?) The form-help says: The connection string used for Z SQLRleay Database Connections are as follows: hostname portnumber username password but that´s not enough - where is the Database connecting to. ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Zope jobs.
Funny you should mention this. I have mocked up a job board at: www.zope.org/Members/plewis/job_board I am waiting on the folks at zope.org to decide if they want to give my "add" method Owner proxy rights (hint, hint), and then I was going to more widely announce it. But, if you would like to privately email me with the details, I would happily post it in the meantime. The form should give you guidance for what I need. -- Patrick Lewis <[EMAIL PROTECTED]> On Wed, Jun 21, 2000 at 12:37:47PM +0200, Erik Enge wrote: > > Hi, > > I was wondering.. Is there a place where I can post > Zope job offerings? Shouldn't there be such a place > on zope.org? > > (btw, anyone in England - or other parts of this planet - > interested in work, please e-mail me) > > Thanks, > > Erik Enge > EMM Solutions > > > > ___ > Zope maillist - [EMAIL PROTECTED] > 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 - [EMAIL PROTECTED] 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 )
Re: [Zope] Newbie CGI question
Not sure this is what you are looking for, but here it goes: On Wed, Jun 21, 2000 at 09:38:30AM -0700, [EMAIL PROTECTED] wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > How can I access the variables passed into a DTML called as a Form by > another DTML? it has the usual ?x=1&y=2 ... stuff - I'd really like to loo > through these. I assume you have two fields in your form, like this: ... Then, in foo_dtml, you would display them as: Easy so far. > > Also can I construct a string and then evaluate it? ie > > varname="therealvar" + "name" > > varname > > that would return the contents of the variable "therealvarname". I think this is what you are looking for: -- Patrick Lewis <[EMAIL PROTECTED]> ___ Zope maillist - [EMAIL PROTECTED] 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] Adding users via external method
Hi all, I'm working on a project where it would be very nice to add all the original users via a script. I'm working with an external method that should--I believe use manage_user() to add the users. My confusion comes from where does the external method go in the hierarchy? >From my reading it appears that to act on a folder, you need to be operating within that folder (e.g., I can add folders and stuff to my current folder all day). I haven't yet figured out how to operate on the acl-users folder that is the child of my current folder. As always, thanks for any assistance that you can provide. -- Stand Fast, tjg. Timothy Grant [EMAIL PROTECTED] Chief Technology Officer www.exceptionalminds.com Red Hat Certified Engineer MIG #1433 Avalon Technology Group, Inc. '00 Marauder Slight disorientation after prolonged system uptime is >>normal for new Linux users<< ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Newbie Question (dropdown menu)
This is my answer to another seeker's question. It should also answer yours. This code assumes that the variable customerid on the form contains a value that matches up with customerid in the query custcompanysearch ___ selected> __ Jim Sanford . Database Engineer / \ / Accelerated Technology, Inc. / / 720 Oak Circle Drive East / / \Mobile, AL 36609 / / \ Voice: 334-661-5770 fax: 334-661-5788 / \ E-Mail: [EMAIL PROTECTED] Web: http://www.atinucleus.com Nucleus. All You NEED in an RTOS. Royalty Free __ - Original Message - From: joel grimes <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 21, 2000 10:51 AM Subject: [Zope] Newbie Question (dropdown menu) I'm trying to fill a combo-box (pardon the vb-centric lingo - I don't know what the things are called - it's a thing) with items selected from a table. I haven't a clue how to do this. I've got the ODBC Connection and SQL Method working, but how do I iterate through the query results to fill a drop-down? Thanks Joel Grimes Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope maillist - [EMAIL PROTECTED] 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 - [EMAIL PROTECTED] 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 )
Re: [Zope] Change Notification
Itamar Shtull-Trauring <[EMAIL PROTECTED]> wrote: > > Bob Barter wrote: > > > > Is there a way for an object to be notified that it has been > > modified? > > Use ZPatterns 0.4, it allows you to be notified of events - change, > add and delete of objects. I may be confused, but normally the object should _know_ that it has been modified, because one of its methods has been called. In fact, the usual pattern for this is to have the object notify other interested parties ("Observers") of the fact that it has changed. 2.2 has experimental support for this -- see $ZOPE/lib/python/OFS/DefaultObservable.py. Also, see the writeup on this in the Intefaces wiki (start from http://www.zope.org/WikiCentral -- look for ObserverAndNotification. Tres. ___ Zope maillist - [EMAIL PROTECTED] 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] Selection
Hi, I am using sql to fill a selection, following a How-To. When I try to pass the selection plus some text parameters to a sql method, Zope gives me an error. Aparently, the selectioned value is not being passed as a value to the sql. How can I pass the selectioned value as a parameter? Regards, Rogerio Atem --- E-mail enviado pelo servidor do CEFETCampos ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Probably a simple name space question
try: or assumming that a_id etc. are the names of the var 's in the zsql argument list I used dtml-call instaed of dtml-var, if you want to "render" something use dtml-var, if you just want to execute something use dtml-call Hope this helps. DR Jim Sanford wrote: > In your SQL method: > > > select ... > > > - Original Message - > From: Bert Jan Bakker <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, June 21, 2000 5:57 AM > Subject: [Zope] Probably a simple name space question > > Hi all, > > I'm struggling with a problem in DTML > for a day now and I'm ready to beg for > someone to enlighten me. > > Problem: > > I want to call a Z SQL Method (say InsertFoo) > from a DTML Method (say CallingInsertFoo) and > it just won't work. > > The Z SQL Method takes three arguments, let's > call them a_id, b_id and c_id. > > All three arguments are available to me > in the calling DTML Method. I can print > them in HTML. But when I call the query > with I get the following > error: > > "Error Type: Bad Request > Error Value: ['a_id', 'b_id', 'c_id']" > > I tried all sorts of things but I'm thinking > I am missing something obvious. > > What am I doing wrong??? > > Greetings, BertJan Bakker > > ___ > Zope maillist - [EMAIL PROTECTED] > 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 - [EMAIL PROTECTED] > 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 - [EMAIL PROTECTED] 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 )
Re: [Zope] Validating page entry help
I find the best way is to do * needed on the fields of the form and have trying to do something with all the values (email, write, update database). If they are not all there it brings you back the the form (I always build it in one method which makes it easier). Examples: http://market.gotschool.com/register.html?type=school - in production so leave out your email http://fundraising.gotschool.com/tell_a_friend.html J > From: Stuart Foster <[EMAIL PROTECTED]> > Date: Wed, 21 Jun 2000 10:39:48 -0700 > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: [Zope] Validating page entry help > > I was wondering what the best way to validate a users input on a page. > > Currently I submit a page to an interim page that checks for certain values > using dtml-if's and dtml-unless'. > If everything is fine I go on to the next page. If something is missing I > need to go back, I haven't figured out how to do this part. > If I use "REQUEST['HTTP_REFERER']">> all the input is lost from the form. > > So my questions are: > > 1. What is the best way to do page validation before it is submited. > 2. If the way I am doing it seems to be an ok way, how do I go BACK with out > losing everything (equivalent of pressing the back button) > > Stuart Foster > MediServe Information Systems > >> http://www.mediserve.com >> > > ___ > Zope maillist - [EMAIL PROTECTED] > 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 - [EMAIL PROTECTED] 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] Validating page entry help
I was wondering what the best way to validate a users input on a page. Currently I submit a page to an interim page that checks for certain values using dtml-if's and dtml-unless'. If everything is fine I go on to the next page. If something is missing I need to go back, I haven't figured out how to do this part. If I use > all the input is lost from the form. So my questions are: 1. What is the best way to do page validation before it is submited. 2. If the way I am doing it seems to be an ok way, how do I go BACK with out losing everything (equivalent of pressing the back button) Stuart Foster MediServe Information Systems > http://www.mediserve.com > ___ Zope maillist - [EMAIL PROTECTED] 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] R: [Zope] DTML-IN Question
- Original Message - From: Tom Scheidt <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 21, 2000 6:35 PM Subject: [Zope] DTML-IN Question > Hi my problem is that Im setting my batch size to 3, yet I keep getting > 5 items. As a matter of fact, sometimes I get 4 when asking for 2 and so on. > Here's what Im using: > > headline> > from > > > > > > try: And maybe is bettrer tu add 'start' attribute. (UNtested) > The file "ranked_stories" is a python method: > > return self.selectItems( self.story_list() ) > > "story_list" is also a python method: > > result = [] > for item in self.objectValues( [ 'DTML Document' ] ): > if item.hasProperty( 'publish' ): >result.append( item ) > return result > PM ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] DTML-IN Question
from the DTML reference page 41, regarding : the default setting for the orphan attribute is 3. So you might try: -- Jim Washington Tom Scheidt wrote: > > Hi my problem is that Im setting my batch size to 3, yet I keep getting > 5 items. As a matter of fact, sometimes I get 4 when asking for 2 and so on. > Here's what Im using: > [code snipped] > > Thanks in advance. > Tom Scheidt | www.falsemirror.com | [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Newbie Question (dropdown menu)
Hi, Joel Just displaying the list in a : If "whatever" already has a value and you want that selected: selected > the tags are apparently optional. hth -- Jim Washington joel grimes wrote: > > I'm trying to fill a combo-box (pardon the vb-centric lingo - I don't know > what the things are called - it's a thing) with items > selected from a table. I haven't a clue how to do this. I've got the ODBC > Connection and SQL Method working, but how do I iterate through the query > results to fill a drop-down? > > Thanks > > Joel Grimes ___ Zope maillist - [EMAIL PROTECTED] 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] Newbie CGI question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 How can I access the variables passed into a DTML called as a Form by another DTML? it has the usual ?x=1&y=2 ... stuff - I'd really like to loo through these. Also can I construct a string and then evaluate it? ie varname="therealvar" + "name" varname that would return the contents of the variable "therealvarname". John Holland -BEGIN PGP SIGNATURE- Version: PGP 6.5.2 iQA/AwUBOVDvihPWCCE2yAKHEQK0hgCgyaa+NJh7UTZrHwL8MnoMzVcNNo8AoL9b YfrnXWQpc70v5tVxYXwyJwsA =fZHi -END PGP SIGNATURE- ___ Zope maillist - [EMAIL PROTECTED] 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] Local File System (LocalFS) install problems
(I have searched the newsgroups and zope.org) I downloaded and installed LocalFS (untar in zope dir) restarted Zope (2.1.6 on Linux running as Nobody). The Local File System is an available object but when I try to add it to any folder I get.. Error Type: IOError Error Value: [Errno 13] Permission denied: '/usr/local/zope/lib/python/Products/LocalFS/methodAdd.dtml' And: 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 202, in zpublisher_exception_hook 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: methodAdd) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: methodAdd) File /usr/local/zope/lib/python/App/special_dtml.py, line 120, in __call__ (Object: methodAdd) File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 443, in __call__ (Object: methodAdd) File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 381, in cook (Object: methodAdd) File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 374, in read (Object: methodAdd) File /usr/local/zope/lib/python/DocumentTemplate/DT_String.py, line 538, in read_raw (Object: methodAdd) IOError: (see above) I tried changing some of the permissions but to no avail. J ___ Zope maillist - [EMAIL PROTECTED] 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] External Method Difficulties
For background purposes, I need to write a python module that will generate an MD5 hash of a given string, and return the base 64 representation of that hash. The problem I am facing is getting my stub to work from my DTML document. What I have write now is a stub that takes no arguments and returns "Hello, World". When I click Try It from the management screen, it works fine, but I can't seem to make it work from the DTML doc. This is what Iv'e tried (I'm still pretty new so I'm making wild guesses :) This produces nothing. I think I read somewhere that dtml-call returns no data, so that might explain it. I could be wrong. This produces a KeyError. It seems like I've tried a couple of other manglings, but what they were escapes me for the moment. I'm not passing a parameter right now, cuz I wanted to simplify things once I found out it wasn't going to work like I expected it to. What am I doing wrong? Is there a better place to start than this list? I have the content manager's guide and the dtml reference, but I can't find anything helpful. The ID for the external method is md5 in case that helps. Thanks a lot! -- Jason Lee - Programmer/Analyst The Fox and the Grapes: I'm not sure what the point is here. The moral is "It is easy to despise what you cannot get," but from experience I can tell you it's easy to despise what you do get as well, especially in terms of cable channels. -- The Brunching Shuttlecocks ___ Zope maillist - [EMAIL PROTECTED] 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] DTML-IN Question
Hi my problem is that Im setting my batch size to 3, yet I keep getting 5 items. As a matter of fact, sometimes I get 4 when asking for 2 and so on. Here's what Im using: from The file "ranked_stories" is a python method: return self.selectItems( self.story_list() ) "story_list" is also a python method: result = [] for item in self.objectValues( [ 'DTML Document' ] ): if item.hasProperty( 'publish' ): result.append( item ) return result Thanks in advance. Tom Scheidt | www.falsemirror.com | [EMAIL PROTECTED] --- ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] python product - newbie
You don't show the __init__.py file so it's hard to be sure, but... Did you register the class? Here's the class registration from ZScheduler http://www.zope.org/Members/lstaffor/ZScheduler # register ZEvent class try: context.registerClass( ZEvent.OneTimeZEvent, permission = 'Add ZEvent', constructors = ( ZEvent.manage_addOneTimeZEventForm, ZEvent.manage_addOneTimeZEvent), icon = 'www/OneTimeZEvent.gif') context.registerBaseClass(ZEvent.OneTimeZEvent) except: # if you can't register the class, tell someone. loggerr(200, 'Failed to register ZEvent class.') import sys, traceback, string type, val, tb = sys.exc_info() sys.stderr.write(string.join( traceback.format_exception(type, val, tb), '')) del type, val, tb context.registerBaseClass(ZEvent.OneTimeZEvent) - Original Message - From: "Bak @ kedai" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: June 20, 2000 07:06 PM Subject: [Zope] python product - newbie > hi all, > > > i'm messing around with Boring product, and now wants to do more. i have > problems when i got more than one class in a product. this is what i wanted to > do. > > create a guestbook (what else :)) product. GB.py with two classes - GB and > GBitem. i can now load GB product, but can't add GBitem. what do i need to do > to get the 'Add' selection box? > > GB.py is available at http://203.106.2.206:8080/Tmp/GB > > help, pointers, docs appreciated > thabks > > -- > -- > http://www.kedai.com.my/kk > Am I Evil? > > > ___ > Zope maillist - [EMAIL PROTECTED] > 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 - [EMAIL PROTECTED] 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] Newbie Question (dropdown menu)
I'm trying to fill a combo-box (pardon the vb-centric lingo - I don't know what the things are called - it's a thing) with items selected from a table. I haven't a clue how to do this. I've got the ODBC Connection and SQL Method working, but how do I iterate through the query results to fill a drop-down? Thanks Joel Grimes Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope maillist - [EMAIL PROTECTED] 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 )
RE: [Zope] More reliable Database Adapter for linux
Maybe the correct question is the most reliable combo DA+DB. Regards. Pedro Vega - Original Message - From: Jim Sanford <[EMAIL PROTECTED]> To: Pedro Vega <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, June 21, 2000 5:49 PM Subject: Re: [Zope] More reliable Database Adapter for linux > To which database? MySql, PostGreSQL, Oracle. ODBC, etc.? > > - Original Message - > From: Pedro Vega <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, June 21, 2000 10:29 AM > Subject: [Zope] More reliable Database Adapter for linux > > > Hi all. > > What is the more reliable database adapter for linux ? > > Regards. > > Pedro Vega > > > ___ > Zope maillist - [EMAIL PROTECTED] > 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 - [EMAIL PROTECTED] > 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 - [EMAIL PROTECTED] 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 )
Re: [Zope] How to use DestinationURL to redirect Zope where I want ???
- Original Message - From: Frédéric Quin <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 21, 2000 10:20 AM Subject: [Zope] How to use DestinationURL to redirect Zope where I want ??? Hi all, I can't find how to use DestinationURL to redirect Zope where I want... If someone can help me, it will be great... Thanks Frederic ___ Zope maillist - [EMAIL PROTECTED] 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 - [EMAIL PROTECTED] 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 )
Re: [Zope] More reliable Database Adapter for linux
To which database? MySql, PostGreSQL, Oracle. ODBC, etc.? - Original Message - From: Pedro Vega <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 21, 2000 10:29 AM Subject: [Zope] More reliable Database Adapter for linux Hi all. What is the more reliable database adapter for linux ? Regards. Pedro Vega ___ Zope maillist - [EMAIL PROTECTED] 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 - [EMAIL PROTECTED] 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 )
Re: [Zope] Probably a simple name space question
In your SQL method: select ... - Original Message - From: Bert Jan Bakker <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 21, 2000 5:57 AM Subject: [Zope] Probably a simple name space question Hi all, I'm struggling with a problem in DTML for a day now and I'm ready to beg for someone to enlighten me. Problem: I want to call a Z SQL Method (say InsertFoo) from a DTML Method (say CallingInsertFoo) and it just won't work. The Z SQL Method takes three arguments, let's call them a_id, b_id and c_id. All three arguments are available to me in the calling DTML Method. I can print them in HTML. But when I call the query with I get the following error: "Error Type: Bad Request Error Value: ['a_id', 'b_id', 'c_id']" I tried all sorts of things but I'm thinking I am missing something obvious. What am I doing wrong??? Greetings, BertJan Bakker ___ Zope maillist - [EMAIL PROTECTED] 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 - [EMAIL PROTECTED] 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 )
RE: [Zope] ZServer+SiteAccess+Apache+SSL
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of T.J. > Mannos > Sent: Wednesday, June 21, 2000 9:42 AM > To: IPM Return requested Receipt notification requested > Subject: RE: [Zope] ZServer+SiteAccess+Apache+SSL > > > I got Apache+mod_ssl+OpenSSL working, and I just threw it into the mix. I > have two virtual hosts, one HTTP on port 80 and one SSL on port 443. Both > do nothing but ProxyPass to the same http:// address on port > 9080. I don't > know if I like that solution, though. > > This solution "looks" secure, but I'm not so sure. It's a secure > connection > between the client and the server, and, since Zope and Apache are on the > same machine, there's no insecure communication over our LAN. > However, if I > happen to have a hacker running a packet sniffer on my server, > I'm screwed. If you have a hacker running a sniffer on your server you are screwed regardless of your system configuration. ___ Zope maillist - [EMAIL PROTECTED] 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] More reliable Database Adapter for linux
Hi all. What is the more reliable database adapter for linux ? Regards. Pedro Vega ___ Zope maillist - [EMAIL PROTECTED] 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] Please test this Zope 2.2 beta 1 ZSQLMethods fix...
Hi all, Several folks have reported problems in beta 1 with SQLMethods having authentication problems when trying to call other SQL Methods. I'd like a few intrepid volunteers to try something for me to see if it fixes the problem. I'd like to make a 2.2 beta 2 release tomorrow but I want to make sure this issue is resolved first. Make a backup of the file: lib/python/Shared/DC/ZRDB/DA.py in your current (beta 1) installation and replace it with the DA.py attached to this email, restart and let me know if the problem goes away. Thanks! Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com DA.py
[Zope] How to use DestinationURL to redirect Zope where I want ???
Hi all, I can't find how to use DestinationURL to redirect Zope where I want... If someone can help me, it will be great... Thanks Frederic ___ Zope maillist - [EMAIL PROTECTED] 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] mod_pcgi2 version 1.1.1
Hello! http://www.zope.org/Members/phd/mod_pcgi2/ mod_pcgi2 version 1.1.1. Some minor corrections in handling of root location and SCRIPT_NAME. Still experimental - I have not got enough reports to announce it stable. Oleg. Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Beta Zope Error
Brian, Try a ZMySQLDA connection. All ZSQL methods were implicitly owned by the user "wmannotj". They all had the same permission settings. Perhaps I could try explicit ownership? - T.J. - Original Message - From: Brian Lloyd <[EMAIL PROTECTED]> To: 'T.J. Mannos' <[EMAIL PROTECTED]>; CURTIS David <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, June 19, 2000 1:04 PM Subject: RE: [Zope] Beta Zope Error > > I get the same problem. A SQL method of mine is apparrently > > accessible from > > within a DTML method but not from within another SQL method. > > (I do this to > > determine if a record exists before overwriting it). I also have an > > external method that augments query objects with special > > grouping records. > > > > Here's one of my tracebacks (hey, I get a different one every > > time I click > > REFRESH): > > > > I've been trying to reproduce this with a Gadfly connection and I > haven't been able to make this happen - have you checked to make > sure that all of the sql methods in question have the same > ownership and permission settings? > > Brian Lloyd[EMAIL PROTECTED] > Software Engineer 540.371.6909 > Digital Creations http://www.digicool.com > > > ___ Zope maillist - [EMAIL PROTECTED] 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 )
RE: [Zope] ZServer+SiteAccess+Apache+SSL
I got Apache+mod_ssl+OpenSSL working, and I just threw it into the mix. I have two virtual hosts, one HTTP on port 80 and one SSL on port 443. Both do nothing but ProxyPass to the same http:// address on port 9080. I don't know if I like that solution, though. This solution "looks" secure, but I'm not so sure. It's a secure connection between the client and the server, and, since Zope and Apache are on the same machine, there's no insecure communication over our LAN. However, if I happen to have a hacker running a packet sniffer on my server, I'm screwed. Any comments on this? I may just have to go the hard way and do Apache+fastcgi...? --- In [EMAIL PROTECTED], Wayne Izatt <[EMAIL PROTECTED]> wrote: > I've just managed to get ZServer running behind Apache with SiteAccess > (thanks for the how-to, anser!) > > Now, has anyone managed to configure SSL into a mix like this? Seems to > me I should be able to go through the standard SSL setup for Apache, and > not worry too much more abou the ZServer component of the architecture. > > thanks > > Wayne > > > ___ > Zope maillist - [EMAIL PROTECTED] > 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 - [EMAIL PROTECTED] 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] ZSQL newbie question
Hi, I have a text file object containing data I want to use to update a MySQL table. I can get the data using the LocalFS object product and the howto from jfarr, but I don't know how to use ZSQL method and DTML method to inject this data in the table. Any help would be appreciated. Regards, Kamon Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Using Zope DB connection from a Python class
Hi Ivan, > 3. Zope 2.1.7 > Z ODBC DA 3.0.3 > Solid dev kit 2.3 > RedHat Linux 6.1 on i386 How to use Z ODBC DA on Linux? I only found a windows binary. Tino ___ Zope maillist - [EMAIL PROTECTED] 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 )
RE: [Zope] Does work with 2.1.7?
> Just thought I'd rephrase the question after doing more > troubleshooting. > Does anyone have this tag working for them when using Zope > 2.1.6??? > Mark - A number of fixes have been made to dtml-sendmail for 2.2. The version in 2.1.7 is hosed due to some configuration management issues that let some (but not all) of those fixes get into the 2.1.7 release :( You really would be better off sticking with 2.1.6 for another day or so until 2.2 beta 2 comes out. Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ Zope maillist - [EMAIL PROTECTED] 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 )
RE: [Zope] Error packing database 2.1.7 -> 2.1.6
Duh! That was all my fault. The pack was failing because of incorrect permissions on the Data.fs file. -Mark -Original Message- From: Shaw, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 20, 2000 4:51 PM To: [EMAIL PROTECTED] Subject:[Zope] Error packing database 2.1.7 -> 2.1.6 I have a site that is currently running 2.1.7. If I install a new instance of 2.1.6, reload all the products, and copy all the Data* file from the 2.1.7 instance to the 2.1.6 instance, everything appears to work fine. However, if I try to pack the database, the following error is generated. The database packs without any problem when using the 2.1.7 instance. This copy of Zope is being run on RedHat Linux6.1. Thanks in advance for any help provided. Traceback (innermost last): File /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 179, in publish File /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: Fake) File /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 165, in publish File /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_pack) File /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: manage_pack) File /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/App/ApplicationManager.py , line 338, in manage_pack (Object: ElementWithAttributes) File /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZODB/DB.py, line 522, in pack File /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZODB/FileStorage.py, line 883, in pack (Object: /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/var/Data.fs) IOError: (see above) -Mark ___ Zope maillist - [EMAIL PROTECTED] 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 - [EMAIL PROTECTED] 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] Using Zope DB connection from a Python class
Greetings, For the past few days, I've been unsuccessfully trying to use a Zope ODBC connection from within a Python class. I have the following situation: 1. A Python class, Order, which has this method: def create (self, cust_id, connection_id = None, itemcode = None, quantity = 0): while self is not None: if hasattr(self, 'objectValues'): for o in self.objectValues(): if hasattr(o, 'id'): if o.id == connection_id: self.connection = o self.cust_id = cust_id self.itemcode = itemcode self.quantity = quantity query = 'insert into orders (cust_id, itemcode, quantity) values (%s, \'%s\', %s)' % (self.cust_id, self.itemcode, self.quantity) if self.connection != None: self.connection._begin() result = self.connection.query (query) print result self.connection._finish() 2. A Zope class, TestOrder, which subclasses Order. Its constructor tries to invokes 'create', however upon executing the SQL query, Zope either dies and is restarted, or just sits there, doing nothing, until the HTTP connection times out. In either case, the new record is not written in the database. 3. Zope 2.1.7 Z ODBC DA 3.0.3 Solid dev kit 2.3 RedHat Linux 6.1 on i386 Please help. Thanks, Ivan Raikov ___ Zope maillist - [EMAIL PROTECTED] 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] problems using sendmail-tag
Hi everybody. I have a form that calls a sendmail tag to send user-feedback to a specific email-adress. When I try to send mail I always get the error: Recieved error code 553 from SMTP: 553 ... Domain name required I know that this error occurs if the user is not allowed to send mail from that host. The strange thing is that my zope runs under user 'zope'. But if I telnet to port 25 (sendmail) as user 'zope' I can send mail?? Any Ideas? TIA Philipp Dunkel * Philipp DunkelICQ# 60149094 * * zReal Productions* * meet me at DALNet chan #phidu* ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Newspaper site
Powered By Sites: http://www.zope.org/Members/BwanaZulia/zope.html and the best really.. http://weblogs.userland.com/zopeNewbies/zopesites/ You should find a good combination of content/newspaper sites there. Also take a look at the KM news product. http://www.zope.org/Members/taz/kmnn Good luck, JMA At 12:13 PM +0200 6/21/2000, Wesley Anderson wrote: >Hi all, > >I'm just wondering if there are any newspaper/magazine sites out there that >are using ZOPE for content management and subscriber management. I wouldn't >think it would be suitable, but what do you think of using Squishdot for >this purpose? Also, is there a list of "powered by" sites on zope.org? > >I'm doing a site that has both public and private content - hence the need >for subscriber-based access. > > >Thanks much > > >Wesley > > >___ >Zope maillist - [EMAIL PROTECTED] >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 - [EMAIL PROTECTED] 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 )
Re: [Zope] ZDiscussions Problem
Title: Re: [Zope] ZDiscussions Problem Hey Pete, Your choices are really Confera (very old), ZDiscussions (semi old and not supported), ZUBB (pretty new, but may not do what you want), Squishdot (sounds more what you want) and waiting for the PTK (may or may not have you want). I can only really talk about ZUBB, though. ZUBB is used as a object with all the messages in the object. I have not heard of anyone successfully calling the index_html object from outside of the folder (nor have I tried). The topic runs in its own space and can be included as a part site by linking to it. (You can probably do some counts of messages or other things from outside the object though). If you are looking to have a discussion follow every article/person/page Squishdot is your better bet. J At 10:54 AM +1200 6/21/2000, Pete Black wrote: First up, i'd like to whine a bit. Which product should i use to add a Discussion component to my site? Confera? ZDConfera? ZDiscussions? ZUBB? Squishdot? PTK? Was the Zope 'Portal' deliberately designed to obfuscate the choices available and their respective pros/cons, as well as to make it practically impossible to find useful documentation, or has it just happened this way? I'm just about ready to give up on Zope and go back to hacking Perl, because, even though i have to write 10 times as much difficult-to-read code to get a job done, at least i know that the job is doable, doable in a way that suits me, and that if there is a module to do what i want to do, it will be findable and documented on CPAN. I don't like to whine, and i think Zope promises to be a great product, and i am persevering with it because i think it will (once i get implemetation out of the way) make me a great intranet. Many thanks to the developers, you have, on the whole, done a wonderful job. Anyway, my problem is this: I have a ZDiscussion set up in a folder (off the root folder) called TMLDiscussion. I want to put the contents of the discussion in the index_html method of my root folder. So, i put the following in my root index_html method: (normally there would be code beteen those two tags to output a dtml-tree of messages in the TMLDiscussion object) Even with nothing between the dtml-with tags, i get this error: Error Type: NameError Error Value: r Whats going on? And how do i display the discussion on my index page? Thanks for any Help -Pete
[Zope] Probably a simple name space question
Hi all, I'm struggling with a problem in DTML for a day now and I'm ready to beg for someone to enlighten me. Problem: I want to call a Z SQL Method (say InsertFoo) from a DTML Method (say CallingInsertFoo) and it just won't work. The Z SQL Method takes three arguments, let's call them a_id, b_id and c_id. All three arguments are available to me in the calling DTML Method. I can print them in HTML. But when I call the query with I get the following error: "Error Type: Bad Request Error Value: ['a_id', 'b_id', 'c_id']" I tried all sorts of things but I'm thinking I am missing something obvious. What am I doing wrong??? Greetings, BertJan Bakker ___ Zope maillist - [EMAIL PROTECTED] 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 )
RE: [Zope] Pointers in zope ??? object1 --> object2 ==> "REQUEST.resolve_url('my_url')"
Title: RE: [Zope] Pointers in zope ??? object1 --> object2 ==> "REQUEST.resolve_url('my_url')" Thank you David, I really would have had difficulties finding it myself. http://zope-server/path to the object')"> Error in resolve_url: unable to get the object from the url. does the url matches the REQUEST.script: ? Note: In the resolve url, you have to be carefull that zope-server is exactly the same as the machine name. More specifically zope-server has to be the same as REQUEST.script or it will generate an error. Thierry Nabeth Research Fellow INSEAD CALT (the Centre for Advanced Learning Technologies) http://www.insead.fr/CALT/ -Original Message- From: R. David Murray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 20, 2000 9:22 PM To: NABETH Thierry Subject: RE: [Zope] Pointers in zope ??? object1 --> object2 On Tue, 20 Jun 2000, NABETH Thierry wrote: > Please, let me know if you remember of anything that could help me > to identify the way to get the object from an url. Looks like it's 'REQUEST.resolve_url()'. --RDM
[Zope] Zope jobs.
Hi, I was wondering.. Is there a place where I can post Zope job offerings? Shouldn't there be such a place on zope.org? (btw, anyone in England - or other parts of this planet - interested in work, please e-mail me) Thanks, Erik Enge EMM Solutions ___ Zope maillist - [EMAIL PROTECTED] 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] Newspaper site
Hi all, I'm just wondering if there are any newspaper/magazine sites out there that are using ZOPE for content management and subscriber management. I wouldn't think it would be suitable, but what do you think of using Squishdot for this purpose? Also, is there a list of "powered by" sites on zope.org? I'm doing a site that has both public and private content - hence the need for subscriber-based access. Thanks much Wesley ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Change Notification
Bob Barter wrote: > > Is there a way for an object to be notified that it has been modified? Use ZPatterns 0.4, it allows you to be notified of events - change, add and delete of objects. -- Itamar S.T. [EMAIL PROTECTED] Fingerprint = D365 7BE8 B81E 2B18 6534 025E D0E7 92DB E441 411C ___ Zope maillist - [EMAIL PROTECTED] 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] ZMailIn 0.1 - mail into Zope
Hi, A few weeks ago we had a discussion on this list about a way of getting mail into Zope. We've been doing some work in this, resulting in "ZMailIn". We've put a preview version of ZMailIn up on Zope.org, at http://www.zope.org/Members/NIP/ZMailIn/ ZMailIn allows you to send an email into Zope. Specifically: - the mail system (Exim, Sendmail, etc.) passes the email to a Python script - this script uses HTTP POST to call a DTML method that creates an instance of a ZClass containing the mail This code is pre-release, and has been lightly tested. Its intended for people who are curious about how this work is progressing and/or want to have input into the design process. At the moment things are very simple, and most of what should be configuration is in fact hard coded - the intention at this stage is to get something working. The remaining work is to: - deconstruct the email into its bits (attachments, multipart MIME, etc.) - allow the configuration to be done in Zope, so more than one email address can be used, to call different DTML methods. - whatever other changes are required Enjoy Simon -- - My opinions are my own, NIP's opinions are theirs -- Simon J. Coles Email: [EMAIL PROTECTED] New Information Paradigms Work Phone: +44 1344 753703 http://www.nipltd.com/ Work Fax: +44 1344 753742 === Life is too precious to take seriously === ___ Zope maillist - [EMAIL PROTECTED] 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] ZScheduler-0.0.6 problem
Hi, I have just tested ZScheduler-0.0.6 on NT machine : it works : On my Linux machine it does not work : Thus, the code is NT dependant or the archive works on NT only !!!??? FR ___ Zope maillist - [EMAIL PROTECTED] 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] Dynamic sorting key?
Hi All, here's the question, the following piece of DTML code is intended to sort a listing of DTML documents in a folder. note that "sort=title", however I would like to sort on different key by different paramenter... something like "... sort=REQUEST['sort_by'] ..." (doesn't work) where sort_by from URL parameter maybe "id", "title", "getSize" or "bobobase_modification_time", etc... I've search all over zope.org about "sorting" but could not find a working way. HOW?? Thanks... ___ Zope maillist - [EMAIL PROTECTED] 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 )
RE: [Zope] Problems reverting from Zope 2.2
I replace ZCatalog with the old version but it made no difference. Another point is that the icon for ZCatalog in the control_panel is different. Its like the other product icons but ontop of a folder icon. Does this give a clue to what is happening? > -Original Message- > From: Monty Taylor [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 21, 2000 4:29 PM > To: Jay, Dylan > Cc: '[EMAIL PROTECTED]' > Subject: Re: [Zope] Problems reverting from Zope 2.2 > > > Sounds like you didn't get everything when you reverted. Make > sure that > you replace everything in the lib/python tree. Remember that MailHost > and ZCatalog live in Products, so if you replaced everything but saved > the Products dir so you wouldn't have to re-install your products, you > might want to check through that stuff as well. > > Monty > > "Jay, Dylan" wrote: > > > > After installing 2.2b1 and finding it doesn't work well > enough yet I tried > > to revert back to 1.1.7 > > This seemed to work ok except somethings are broken in the > control_panel. > > MailHost and ZCatalog can't be accessed Clicking on them in the > > control_panel results in a resource not found error. This > is ok except I > > can't delete other product which rely on these products. > > > > How do I get out of this mess? > > > > ___ > > Zope maillist - [EMAIL PROTECTED] > > 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 - [EMAIL PROTECTED] 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 )