[Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Christian Scholz
Daniel Nouri wrote: Christian Scholz: Daniel Nouri wrote: The solution to this one is quite simple: Use virtualenv with --no-site-packages and then use bin/python to run bootstrap.py Ok, thanks. How do I deploy such a thing? I guess virtualenv then has to run by the one setting up his

[Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Christian Scholz
Baiju M wrote: Christian Scholz wrote: Daniel Nouri wrote: > > The solution to this one is quite simple: Use virtualenv with > --no-site-packages and then use bin/python to run bootstrap.py Ok, thanks. How do I deploy such a thing? I guess virtualenv then has to run by the one s

[Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Christian Scholz
? -- Christian -- Christian Scholz video blog: http://comlounge.tv COM.lounge blog: http://mrtopf.de/blog Luetticher Strasse 10Skype: HerrTopf 52064 Aachen Homepage: http

[Zope] Problems with buildout and zope.interface

2008-07-25 Thread Christian Scholz
though that it also fixed some other bugs as people here constantly seemed to have problems with buildout which now seems to be reason enough to move away from buildout and the Zope Component Architecture). Hope somebody can help :-) Thanks! Christian -- Christian Scholz

[Zope] Re: DTML problem

2005-08-05 Thread Christian Scholz
Hi! Phil Beardmore wrote: > I have a problem writing a DTML page. > > The page will be used to submit data to an SQL database, and the page > itself is working great, however I get all of my users to login via an > LDAP server using LDAPUserFolder. Once logged in the users can complete > a form

[Zope] Re: Zope Foundation Update

2005-07-28 Thread Christian Scholz
Hi! > Thanks for this long and balanced post. > > Far less heated than I (or other hot people of the community) can produce. > > I hope ZC will take time to answer your legitimate questions... I'd also prefer some answers by some independant people regarding legal topics (as long as it can be t

[Zope] Re: ZSQLMethod conditional insert

2005-07-27 Thread Christian Scholz
Hi! Might something like this help? INSERT INTO table (a,b,c) VALUES (1,2,3) ON DUPLICATE KEY UPDATE c=c+1; So this will catch errors and instead do the update. Available from version 4.1.0 on as the docs say. See also the docs: http://dev.mysql.com/doc/mysql/en/insert.html -- christia

[Zope] Re: Zope Foundation Update

2005-07-27 Thread Christian Scholz
Hi! Andrew Milton wrote: > You took someone else's work and claimed it as your own. This is the worst > crime > you can commit in the Open Source world. > I think it's not really a discussion about Open Source here as it should make no difference to the Zope community whether ZC or ZEA is hol

Re: [Zope] zope.org down from Thu Nov 9 12:00:00 GMT 2000 to present?searchable list archive not linked to from mailman page; console-based zope development. list archive not linked to from mailman page; console-based zope development.

2000-11-09 Thread Christian Scholz
Hi! > * Colin Leath <[EMAIL PROTECTED]> [001109 14:00]: > > I'm trying to figure out ways of managing/developing with Zope from a > > unix console, using text editors, text browsers and so on. > > I often work from emacs, accessing the ZODB through the Zope FTP Server > on port 8021. The syntax

Re: [Zope] newbie question

2000-11-09 Thread Christian Scholz
HI! > I want to select from a select menu, 3 amounts: 1000, 5000 or 1. After > this, the form action method should reply: > > - "this is not much" if 1000 was selected, > - "this is ok" if 5000 was selected, > - "this is very much" if 1 was selected > > Now my form method looks like th

Re: [Zope] redirect

2000-10-24 Thread Christian Scholz
Hi! > how to for that function REDIRECT understand a variable. > > ex. > > http://zope.org/index.htm?cod= test>')"> use http://zope.org/index.htm?cod='+test)"> with "" you will enter the python scope and thus no dtml syntax is allowed anymore. Instead you have to use python syntax (test shou

Re: [Zope] Content Management System

2000-10-12 Thread Christian Scholz
Hi! > I know you can restrict permissions on just about every available method, > and I am aware of the current skinnable zope project, which may improve the > situation drastically. But I'm interested to know, how many of you offer > the Zope TTW interface to clients as a content management sys

Re: [Zope] Using ZCatalog with SiteAccess in Zope 2.2

2000-08-15 Thread Christian Scholz
> 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] Redirecting from Python?

2000-08-04 Thread Christian Scholz
e number of conditions): > return 1 > else: > self.REQUEST.RESPONSE.redirect('blahblahblah') You actually should use something like this: raise 'Redirect','http://my.server/my/path' -- christian -- Christian Scholz

Re: [Zope] HELP

2000-07-28 Thread Christian Scholz
, ZCatalog doesn't support this yet :S Hm, wasn't there some discussion about this on the IRC today and did not itamar say that globbing is possible since 2.2 ? (Actually there's also some globbing related stuff in the Source code, especi

Re: [Zope] Session

2000-07-28 Thread Christian Scholz
re and haven't had any problems by now. (using it with cookies and with sessionid in the url). I've heard that someone had problems with FSSession, though. About the rest I dunno anything ;-) -- christian -- Christian Scholz

Re: [Zope] Reg. ZMySQLDA/MySQLdb-0.1.2 -> compile/install ..

2000-07-28 Thread Christian Scholz
www.dustman.net/andy/python Don't use any patch or whatever.. This should solve your problems. cheers, Christian -- Christian Scholz MrTopf@IRC COM.lounge http://comlounge.ne

Re: [Zope] Hot fix and 2.20

2000-07-15 Thread Christian Scholz
Hi! On Fri, Jul 14, 2000 at 08:19:14PM -0700, michael montagne wrote: > Do I have this right? I do not have to install the hot fix if I just > installed the recently released version 2.2.0 final. correct? yes, right! -- mr topf ___ Zope maillist

Re: [Zope] DTML?

2000-07-10 Thread Christian Scholz
Hi! > Brian Lloyd wrote: > > > This is one of the things on my List Of Evil Things that > > should be changed one day in Zope3K :) > > > > How about the nasty hacky mess that is DTML? > > Some priceless artifacts that need to go: > > > > > What is this supposed to do?! > and maybe >

[Zope] ZOracleDA and Zope 2.2?

2000-06-27 Thread Christian Scholz
Hi! I am encountering the following problem when using ZOracleDA 2.2.0b1 and Zope 2.2b2/3: When creating a ZOracle Connection and giving the wrong connection string then whole Zopes crashs with OCI_ERROR at oci_8.c:283 ORA-12541: TNS:no listener OCI_ERROR at oci_8.c:283 ORA-12154: TNS:could not

Re: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...

2000-06-23 Thread Christian Scholz
Hi! > I think that you have hit it on the head - we're trying *hard* to > make Zope harder to fool :^) Try adding the following to your > class statement, for example: > > class MyClass: > > __allow_access_to_unprotected_subobjects__=1 Just a question: Is this documented somewhere.. I've s

Re: [Zope] html templates?

2000-06-19 Thread Christian Scholz
Hi! > On Mon, 19 Jun 2000, Christian Scholz wrote: > > Imagine writing simple html templates with some custom tags which are quite > > abstract like . Then write some Python Product (or there might > > be one Product to make this happen a little simpler) which impl

Re: [Zope] html templates?

2000-06-19 Thread Christian Scholz
Hi! > > Imagine writing simple html templates with some custom tags which are > quite > > abstract like . Then write some Python Product (or there > might > > be one Product to make this happen a little simpler) which implements > these > > tags. > > Is there an advantage to this over: > > (oth

[Zope] html templates?

2000-06-19 Thread Christian Scholz
Hi! Reading some of the recent mails of the Zope mailing lists I wonder how people would think of the following: Imagine writing simple html templates with some custom tags which are quite abstract like . Then write some Python Product (or there might be one Product to make this happen a little

[Zope] How to call methods of a ZClass superclass?

2000-06-12 Thread Christian Scholz
Hi there! I have a little problem here: I created two ZClasses, where one is derived from the other, let's say A is the superclass and B the subclass. In both classes I created a dtml method called foobar(). Now when I have an instance of B, called b, and I call foobar on it, as in and I