[Cubicweb] installing CubicWeb 3.14 with a PostgreSQL 8.3 db on Ubuntu 8.10

Roland Reumerman roland.reumerman at gmail.com
Fri Apr 24 12:10:20 CEST 2009

Problem solved: when you mentioned that class in that module I
suddenly remembered that earlier this week when I first ran into
trouble I'd commented out the line of code 2 lines above that
dbname,encoding=source['db-encoding'])) and replaced it with 'pass' as
a kind of debugging test for myself. No wonder no db was created after
all... Anyway, thanks for all the help, the db is created now: I'll
continue on my journey then.

On 4/24/09, Sylvain Thénault <sylvain.thenault at logilab.fr> wrote:
> On 24 avril 13:24, Roland Reumerman wrote:
>> Hi,
> Hi,
>> $ psql -h localhost -U cubicweb template1
>> works fine on my computer.
>> Both the postgres & cubicweb pg users have superuser and createdb
>> rights (I checked with pgadmin3), but still the db creation fails
>> (though it first claims it succeeded). I'm using Postgres 8.3 with
>> postgresql-plpython-8.3 Debian package installed.
>> BTW, I've used another pg user with similar rights on an install of
>> OpenERP 5 (Python suite that also uses psycopg2), and it creates and
>> fills database with no problems, so it seems my configuration is
>> basically in order.
> Gasp. Honestly, I've no clue about what's occuring here. You should take
> a look at the CreateApplicationDBCommand class in cubicweb.server.serverctl
> module and put some print there to debug this. You could for instance add
>   assert dbname in helper.list_databases(cursor)
> after the
>   print 'database %s created' % source['db-name']
> line. I'm afraid I can't do anything else with information I've now and
> without
> access to the computer where this occurs :(
> --
> 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