[Cubicweb] Authentification error with Pyro

Sylvain Thénault sylvain.thenault at logilab.fr
Thu Mar 24 14:33:08 CET 2011

On 24 mars 12:46, Yann Cointepas wrote:
> Hi,

> I am trying to use Cubicweb dbapi but I have an authentification error that
> I do not understand. I would appreciate some help to find where is my
> mistake.
> With the following code:
> from cubicweb import dbapi
> cnx = dbapi.connect( 'imagen', user='admin', password='admin' )


cnx = dbapi.connect('imagen', login='admin', password='admin' ) 

I suppose we should make login mandatory to avoid such a mistake.
Would you file a ticket for this pb?

> By the way, in the process of getting my instance to start with postgres I
> encountered an error at some point (I did not take notes, sorry) with a
> message related to tsearch2. It was fixed by the installation of
> postgresql-contrib package. I wonder if there could be a missing dependency
> in Cubicweb packages.

this package has been removed from dependencies since tsearch has been
integrated in pg 8.4 iirc

Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

More information about the Cubicweb mailing list