Re: [Zope] Problems with mysql and sql methode

2000-10-22 Thread Richard Moon
MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the same as merchantpayment. Other databases (Postgresql, Informix) are not. Perhaps the Access/ODBC interface hides the case-sensitivity while the direct ZMySQLDA does not ? Richard At 21:52 20/10/00, you wrote: Ok know I

[Zope] Sendmail examples

2000-10-22 Thread steve smith
Anyone have any good, real-world examples using DTML-Sendmail tags? Would especially appreciate examples integrating SQL queries. Ta! Steve ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or

[Zope] date off by one day per year cummulative

2000-10-22 Thread Jonathan Cheyne
Hi all, Zope 2.2.0, displaying a date property from a zclass has been out by one day for a while, trick was just to +1 to the dtml. THought this was fine til dates into 2001 needed to go on and hey, they become one day too far now ... so now I need to add code to determine the year before adding

Re: [Zope] Sendmail examples

2000-10-22 Thread J. Atwood
Hey Steve, Don't have any examples with SQL (although, in theory it is just a call to some data and is treated the same as any other data) but take a look at this. http://www.zope.org/Members/BwanaZulia/tell_a_friend/ Cheers, J At 10:01 PM +1000 1/22/2001, steve smith wrote: Anyone have any

Re: [Zope] Help needed with news articles

2000-10-22 Thread Bak @ kedai
try kmnetnews from zope.org/Products or you can use dtml document to construct a simple news item. untested code by newbie dtml-in "objectItems(['DTML Document'])" size=4 reverse sort=bobobase_modification_time dtml-var title(and other stuff/properties) /dtml-in /untested the above code should

Re: [Zope] date off by one day per year cummulative

2000-10-22 Thread Chris McDonough
Jonathan, Would you be kind enough to put this bug into the collector on Zope.org? - Original Message - From: "Jonathan Cheyne" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 22, 2000 10:02 AM Subject: [Zope] date off by one day per year cummulative Hi all, Zope

[Zope] Help creating Object

2000-10-22 Thread Salvatore DIDIO
Hello, In the manage folder I can't create any object. I got a message telling that the object can not be owned by the superuser. (line 217 in file Owned.py). Can someone help me ? Thanks ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Multiple queries in a ZSQL method?

2000-10-22 Thread Noah
Hi, I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in one call. After I do an insert I need to check the LAST_INSERT_ID to get the primary key of the record that I just inserted. Something like this: insert into author (id, name, sort_name, email, bio,

[Zope] Creating Object

2000-10-22 Thread Salvatore DIDIO
Hello, I am new to Zope I've just installed Zope on Linux. I just can't create any object !. I receive the following message : the object can not be owned by the superuser (line 217 in file Owned.py) Could someone help me ? Thank you very much

Re: [Zope] Multiple queries in a ZSQL method?

2000-10-22 Thread Ender
multiple non-select statements (max 1 select) are done through the use of dtml-var sql_delimiter kapil Noah wrote: Hi, I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in one call. After I do an insert I need to check the LAST_INSERT_ID to get the primary

Re: [Zope] Multiple queries in a ZSQL method?

2000-10-22 Thread Phil Harris
Noah, Try something like: insert into author (id, name, sort_name, email, bio, initials) values (null, dtml-sqlvar name type=nb, dtml-sqlvar sort_name type=nb, dtml-sqlvar email type=nb, dtml-sqlvar bio type=nb, dtml-sqlvar initials type=nb) dtml-var sql_delimiter

Re: [Zope] Creating Object

2000-10-22 Thread Ender
Salvatore DIDIO wrote: Hello, I am new to Zope I've just installed Zope on Linux. I just can't create any object !. I receive the following message : the object can not be owned by the superuser (line 217 in file Owned.py) Could someone help me ? Thank you very much i feel for

Re: [Zope] Creating Object

2000-10-22 Thread Phil Harris
Sal, You need to create a normal user with a role of 'Manager'. This will allow you to create things to your hearts wotsit. In the Zope management screen, click on acl_users and follow the instructions. Just one thing, make sure you select Manager from the list of roles, the list is just the

Re: [Zope] Creating Object

2000-10-22 Thread J. Atwood
You can't create an object as superuser. Create another user in acl_users with 'manager' group and log in as them (you will probably have to reboot your browser). J At 10:41 PM +0200 10/22/2000, Salvatore DIDIO wrote: Hello, I am new to Zope I've just installed Zope on Linux. I just can't

Re: [Zope] Creating Object

2000-10-22 Thread Mark N. Gibson
You're logged into the zope management interface as superuser. To change this, create a user in the root acl_users folder, giving it a username and password, and the manager and owner roles. Now restart your browser, go to the management interface, and log in as the user you just created.

Re: [Zope] Roxen Zope, not working

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

Re: [Zope] IIS and Zope share same problem :-S

2000-10-22 Thread Bill Anderson
Chris Withers wrote: Andrew Kenneth Milton wrote: | | http://www.zope.org/standard_html_header for example ;-) Not that old chestnut again... Yes, that old chestnut again. If it's considered a serious security flaw by Microsoft, maybe the Zope community should finally do

[Zope] Problems with sequence-item

2000-10-22 Thread Taco Scargo
I get errors when sequence-item is being called to list the contents of a folder E.g. dtml-in "(1,2,3)" reverse dtml-var sequence-item /dtml-in correctly outputs 3 2 1 When I do dtml-in "folder.objectValues()" dtml-var id /dtml-in it correctly outputs all ids in the folder. But dtml-in

Re: [Zope] IIS and Zope share same problem :-S

2000-10-22 Thread Curtis Maloney
On Fri, 20 Oct 2000, Chris Withers wrote: Andrew Kenneth Milton wrote: | http://www.zope.org/standard_html_header for example ;-) Not that old chestnut again... Yes, that old chestnut again. If it's considered a serious security flaw by Microsoft, maybe the Zope community should finally

Re: [Zope] Problems with sequence-item

2000-10-22 Thread Curtis Maloney
On Mon, 23 Oct 2000, Taco Scargo wrote: I get errors when sequence-item is being called to list the contents of a folder E.g. dtml-in "(1,2,3)" reverse dtml-var sequence-item /dtml-in correctly outputs 3 2 1 When I do dtml-in "folder.objectValues()" dtml-var id /dtml-in it

Re: [Zope] Problems with sequence-item

2000-10-22 Thread Mark N. Gibson
I get errors when sequence-item is being called to list the contents of a folder E.g. dtml-in "(1,2,3)" reverse dtml-var sequence-item /dtml-in correctly outputs 3 2 1 When I do dtml-in "folder.objectValues()" dtml-var id /dtml-in it correctly outputs all ids in the

[Zope] Problems with sequence-item

2000-10-22 Thread Taco Scargo
Had already tried that, but it doesn't work. I have 8 DTML Documents in a folder called artikelen. dtml-in "artikelen.objectValues('DTML Document')" dtml-var sequence-item /dtml-in Fails with the error: Error Type: AttributeError Error Value: __call__ I am really clueless Thanks, Taco

Re: [Zope] Problems with sequence-item

2000-10-22 Thread Curtis Maloney
On Mon, 23 Oct 2000, Taco Scargo wrote: Had already tried that, but it doesn't work. I have 8 DTML Documents in a folder called artikelen. dtml-in "artikelen.objectValues('DTML Document')" dtml-var sequence-item /dtml-in Fails with the error: Error Type: AttributeError Error Value:

Re: [Zope] Problems with sequence-item

2000-10-22 Thread Taco Scargo
Please feel free to look at it at http://www.gezondheidskrant.nl:8080/mainframe Taco - Original Message - From: "Curtis Maloney" [EMAIL PROTECTED] To: "Taco Scargo" [EMAIL PROTECTED]; "Mark N. Gibson" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, October 22, 2000 6:57 PM Subject:

Re: [Zope] Problems with sequence-item

2000-10-22 Thread Ender
I thought at first this might be a permission problem, but after browsing around the site. i'm pretty sure its a calling issue. its hard to say for sure given the lack of details. Taco, i'm pretty sure your objectValues on the addressen folder to fill in to fill in the addresses of the artiklen

Re: [Zope] HELP! Permissions problem, ZClass

2000-10-22 Thread Ender
trying giving anonymous proxy roles on the actual add method. Eric Walstad wrote: Help, pls! I have a ZClass that is functioning beautifully if I am logged in, but the anonymous user keeps getting prompted for a password. The problem occurs when my DTML method trys to create a new

[Zope-dev] Using the Zope debugger (authenticating)

2000-10-22 Thread Morten W. Petersen
How do I authenticate myself when using the Zope debugger? (I've seen this before I think, but I couldn't find it) Thanks. -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] Using the Zope debugger (authenticating)

2000-10-22 Thread Michel Pelletier
"Morten W. Petersen" wrote: How do I authenticate myself when using the Zope debugger? (I've seen this before I think, but I couldn't find it) Pass the 'u' argument: [michel@heinlein python]$ python Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- on

Re: [Zope-dev] Excluding meta_types

2000-10-22 Thread Ender
you can redefine the meta_types tuple like so meta_types=({'name':'MessageFilter', 'action':'manage_addMessageFilter'},) btw how is GUM going? kapil "Morten W. Petersen" wrote: When I'm building a class which inherits from the OFS.Folder.Folder, how do I exlude the meta_types it brings

Re: [Zope-dev] Excluding meta_types

2000-10-22 Thread Morten W. Petersen
[[EMAIL PROTECTED]] | btw how is GUM going? It's ZopeGUM now.. =) It's coming along; I'm planning on releasing a stable version of it available within a week. (CVS will be available soon from SourceForge). -Morten ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] Problems with offline MS IE 5

2000-10-22 Thread Ross Boylan
Applying W2K SP1 seemed to fix up this problem. However, the original problem may not have occurred instantly, so perhaps it takes a bit more to bring it out. At any rate, I also upgraded to IE 5.5, so I hope that will be the end of the bad caching behavior. Thanks, Jens, for your response.