Re: [Zope3-Users] PAU and Session Credentials

2006-01-04 Thread Florian Lindner
Am Dienstag, 3. Januar 2006 16:02 schrieb Stephan Richter: > On Sunday 20 November 2005 16:57, Florian Lindner wrote: > > TraversalError: (Principal(u'pre1'), 'getLogin') > > > > The error log information of the user: > > > > User:  unauthenticated, pre1, CS.User, The log entry came from the RootE

Re: [Zope3-Users] SQLObject and SQLOS question

2006-01-04 Thread Roman Suzi
Hi! Stephan Richter wrote: On Tuesday 03 January 2006 05:45, Roman Susi wrote: Now it looks like I need SQLOS (do I need it to my goal???)... Well, sqlos is one approach. It provides a nice layer that connects SQLObject and Zope 3. Are there other approaches like sqlos? OK

[Zope3-Users] How to render PageTemplate manually?

2006-01-04 Thread Łukasz Łakomy
Hi all My use case: Create content type 'Portlet' that could have TAL as its content and when watched in browser TAL should be redered. My code is below. class PortletView: def renderText(self): portlet = IPortlet(self.context) format = portlet.format if format in ('HT

[Zope3-Users] Problems with Zope 3.2.0b3 on Linux

2006-01-04 Thread Marco Groppo
Hi! I'm experiencing some "strange" problems with Zope 3.2.0b3 on GNU/Linux (Ubuntu Breezy i386, kernel 2.6.12, python 2.4.2, gcc 3.4). If I add an object to the root folder (for example using the ZMI) and I try to see one of its browser views Zope sends me a 404 error page. If I add more objects

Re: [Zope3-dev] Re: [Zope3-Users] Re: Get classes implementing Interface

2006-01-04 Thread Florian Lindner
Am Samstag, 31. Dezember 2005 14:48 schrieb Florian Lindner: > Am Freitag, 30. Dezember 2005 20:57 schrieb Jeff Shell: > > On 12/30/05, Florian Lindner <[EMAIL PROTECTED]> wrote: > > > Am Freitag, 30. Dezember 2005 17:45 schrieb Jim Fulton: > > > > Philipp von Weitershausen wrote: > > > > > So, wha

Re: [Zope3-Users] sqlos - getting factory of NoneType

2006-01-04 Thread Christian Lück
>> But when I`m trying to add an >> >> > class="test.main.Person" >> title="Person" >> description="Person objects" >> view="addperson.html" >> permission="zope.ManageContent" >> /> >> >> tag to my configure.zcml - zapi.getFactories() returns me factory of >> NoneType (with

Re: [Zope3-Users] using tal to insert zwiki content

2006-01-04 Thread Jeff Shell
On 1/3/06, Brad Allen <[EMAIL PROTECTED]> wrote: > At 11:52 PM -0700 1/2/06, Jeff Shell wrote: > >There are a lot of ways one can go from there. In Zope 3.2, a good > >solution for pages made of parts where the content of the parts comes > >from ZWiki pages, you could probably use viewlets. > > I h

Re: [Zope3-Users] using tal to insert zwiki content

2006-01-04 Thread Benji York
Jeff Shell wrote: Viewlets are a new feature in Zope 3.2. They are? I don't recall it being so (and would prefer it not). -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/m

Re: [Zope3-Users] using tal to insert zwiki content

2006-01-04 Thread Stephan Richter
On Wednesday 04 January 2006 16:25, Benji York wrote: > Jeff Shell wrote: > > Viewlets are a new feature in Zope 3.2. > > They are?  I don't recall it being so (and would prefer it not). Yep, they are. There was a lot of discussion going on between Gary, Roger and me about the interfaces. Regard

[Zope3-Users] problems initializing psycopgda

2006-01-04 Thread Anthony Wilson
Hi, I am new to zope3 and I recently installed psycopgda-1.0.0 together with psycopg-1.99.13 under zope-3.1.0. running on linux. Whenever I try to initialize psycopgda and restart zope, I get the following error: File "/usr/local/zope/lib/python/psycopgda/adapter.py", line 282, in ? zope.c

Re: [Zope3-Users] Problems with Zope 3.2.0b3 on Linux

2006-01-04 Thread Marco Groppo
I forgot to say that some times I get this error when I try to access a ZODB object (it doesn't matter what kind of object): +++ ERROR ZODB.Connection Shouldn't load state for 0x36 when the connection is closed Traceback (most recent call last): File "/usr/lib/python2.4/threading.py", line 422,

Re: [Zope3-Users] Problems with Zope 3.2.0b3 on Linux

2006-01-04 Thread Benji York
Marco Groppo wrote: ...and then, if I reload the page, the problem can magically disappear, and if I request the view another time I can get the error again, and so on and so on... it seems to me that the behaviour is totally random. Does anybody know what's going on? I don't. But the apparen

Re: [Zope3-Users] Problems with Zope 3.2.0b3 on Linux

2006-01-04 Thread Jim Fulton
Marco Groppo wrote: Hi! I'm experiencing some "strange" problems with Zope 3.2.0b3 Did you have the problem with beta 2? > on GNU/Linux (Ubuntu Breezy i386, kernel 2.6.12, python 2.4.2, gcc 3.4). If I add an object to the root folder (for example using the ZMI) and I try to see one of its br

Re: [Zope3-Users] Problems with Zope 3.2.0b3 on Linux

2006-01-04 Thread Jim Fulton
Marco Groppo wrote: I forgot to say that some times I get this error when I try to access a ZODB object (it doesn't matter what kind of object): +++ ERROR ZODB.Connection Shouldn't load state for 0x36 when the connection is closed Traceback (most recent call last): File "/usr/lib/python2.4/thr

[Zope3-Users] Re: Problems with Zope 3.2.0b3 on Linux

2006-01-04 Thread Florent Guillaume
This might, or might not, be related to a problem I discussed in the context of Zope 2 recently on the zodb-dev list. In the case of multidatabases, the initial connection to a secondary database (mountpoints in Zope 2) isn't always joined correctly to the set of connections of the multidatabas

Re: [Zope3-Users] Re: Problems with Zope 3.2.0b3 on Linux

2006-01-04 Thread Jim Fulton
Florent Guillaume wrote: This might, or might not, be related to a problem I discussed in the context of Zope 2 recently on the zodb-dev list. In the case of multidatabases, That's why I asked whether he was using multiple databases. > the initial connection to a secondary database (mountpoin

Re: [Zope3-Users] problems initializing psycopgda

2006-01-04 Thread baiju m
On 1/5/06, Anthony Wilson <[EMAIL PROTECTED]> wrote: > Hi, > > I am new to zope3 and I recently installed psycopgda-1.0.0 together with > psycopg-1.99.13 under zope-3.1.0. running on linux. psycopg-1.99.13 is a pre/beta-release of psycopg2 Use psycopg1 available at: http://initd.org/pub/software/