[Zope] bug in zeo runner in Zope 2.8.6 ?

2006-04-04 Thread Vlada Macek
When I run "zeoctl start" having "user zope" (where zope is an unprivileged user) directive in zeo.conf on a virgin instance directory, at first log/zeo.log file with root owner is created, then the process drops its privileges and timeouts, since it is not able to re-open the logfile. The problem

Re: [Zope] SSL over Multiple Zope/Plone sites?

2006-03-29 Thread Vlada Macek
michael nt milne wrote: > I'd like to implement SSL on the site login etc, as it's not secure > without this. There's also one site I'd like to serve completely over > https. However. I'm told that you can't run SSL on virtual hosts and > can only have once SSL site per IP address. To vary either

Re: [Zope] Re: ZSQL with different user

2005-12-19 Thread Vlada Macek
[At 19.12.2005 18:02, Andreas Jung kindly sent the following quotation.] > > > --On 19. Dezember 2005 17:54:31 +0100 Vlada Macek > <[EMAIL PROTECTED]> wrote: > >> Is there a problem somewhere? > > The problem is likely that someone needs to write the code :-)

Re: [Zope] Re: ZSQL with different user

2005-12-19 Thread Vlada Macek
> Andreas Jung wrote: > >> --On 19. Dezember 2005 15:32:46 +0100 Pier Luigi Fiorini >> <[EMAIL PROTECTED]> wrote: > >>> Hello, I'm developing a Zope application that uses a PostgreSQL >>> connection and several ZSQL objects. People should log in using a >>> Postgres user and ZSQL object should be e

Re: [Zope] SQL transaction uncommited?

2005-12-19 Thread Vlada Macek
[At 19.12.2005 01:39, Gabriel Genellina kindly sent the following quotation.] Gabriel, I appreciate you also reviewed my code. >> def manage_afterAdd(self, item, container): if item is self: >> self.db = getattr(self,MY_CONNECTION_ID)._v_database_connection > > Keeping a _v_ attribute is *not*

Re: [Zope] SQL transaction uncommited?

2005-12-17 Thread Vlada Macek
[At 17.12.2005 15:37, Vlada Macek kindly sent the following quotation.] >What is serious here is the first connection with my statement is not >committed. I think this is a bug, probably in ZPsycopgDA. > > Downgrading psycopg to 1.1.18 solved my problem with pending transactions.

Re: [Zope] SQL transaction uncommited?

2005-12-17 Thread Vlada Macek
[At 17.12.2005 15:17, Tino Wildenhain kindly sent the following quotation.] >>In the meanwhile I also discovered that when I put my 'insert into >>testtable...' to ZSQL method, the behavior is the same -- psql does not >>see new row, but the sequence is incremented. Now it's strange, isn't? >>

Re: [Zope] SQL transaction uncommited?

2005-12-17 Thread Vlada Macek
[At 17.12.2005 13:49, Andreas Jung kindly sent the following quotation.] > Dealing with transaction is the task of the database adapter and not > the ZSQL methods. If you need to deal with transactions yourself you > must subclass the transaction manager TM and implement the hooks for > commit and

[Zope] SQL transaction uncommited?

2005-12-17 Thread Vlada Macek
Hi, in ZopeBook I read that Zope's transaction are tied to SQL backend's ones. I do not know whether this applies to ZSQL methods only, but I do not expect it. I got this table: CREATE TABLE testtable ( id serial, -- uses its own sequence n int4 ); I use PostgreSQL a

Re: [Zope] à l'aide

2005-12-16 Thread Vlada Macek
[At 15.12.2005 20:31, Tino Wildenhain kindly sent the following quotation.] > You need python2.3.5 or higher and also -dev libs of it. If you run > "stable" your python might be too far back Some day maybe, but AFAIK not yet: Debian Sarge (stable release) has Python 2.3.5 (default, dependency pac

Re: [Zope] Re: just curious: zope and ingres

2005-12-13 Thread Vlada Macek
[At 13.12.2005 01:17, Alexander Limi kindly sent the following quotation.] > On Mon, 12 Dec 2005 08:33:25 -0800, Sascha Ottolski > <[EMAIL PROTECTED]> wrote: > >> I remembered reading about the plans to create RDBMS integration as >> alternative to ZODB about 1,5 years ago: >> >> http://www.zope.c

[Zope] sql access style

2005-11-04 Thread Vlada Macek
I'm about to create a Zope (Plone, in fact) application, as a Package, that will operate on data accessible via SQL (Firebird RDBMS). I'm ordered the data must stay in SQL storage, not in ZODB. Recently I found, outside of Zope, that using python-kinterbasdb module is very straighforward and easy

[Zope] Help STX in UTF-8

2005-08-31 Thread Vlada Macek
I registered the help directory using context.registerHelp(directory='help') in my product's __init__.py. Then I placed UTF-8 encoded STX file in my language there, but the help via ZMI is displayed with garbled UTF-8 chars. It's unreadable, but it is not the matter of browser's Display encod

[Zope] howto i18n?

2005-08-10 Thread Vlada Macek
Hi, for now I use the Zope 2.7.5 tarball. I write freelance (not bound in a product) page template and wish it to be i18n'ed. I have appropriate tags inside and the domain set at the top. There is also Plone with its products in that instance. Where should I put the PO files, so the messages can

[Zope] PCNG 1.2.7 does exception when being added.

2005-08-03 Thread Vlada Macek
I have the following configuration, both Zope and Plone are up to date to these branches: svn://svn.zope.org/repos/main/Zope/branches/Zope-2_8-branch https://svn.plone.org/svn/plone/bundles/2.1 Plone version: Plone 2.1-beta2 (svn/unreleased) Zope version: Zope (Zope 2.8.1-b1, python 2.3.5, linux2