[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dak testing/setup



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 04/04/12 21:04, Neil Williams wrote:

Hi Neil,
I'm not expert in DAK but done some fighting with it and I'm running one.

> Is there a test/dev dak server accessible to DD's?
> 
> Alternatively, can someone help with a completely fresh setup of dak
> for testing?
> 
> I'm getting errors from ./dak.py init-dirs
> 
> I've got these packages installed in a squeeze chroot:
> python-sqlalchemy python-apt gnupg dpkg-dev lintian binutils-multiarch 
> python-yaml less python-ldap python-pyrss2gen python-rrdtool symlinks 
> python-psycopg2 python-debian

Is my understanding correct that you installed whole DAK in chroot?

> postgres8.4 appears to be working and I'm using a minimal dak.conf -
> the only real change was that my postgres was running on port 5433
> instead of 5432.

Below lines are from DAK README:
'(the schema assumes at least postgresql 9.0; ftpmaster in Debian
currently uses the squeeze postgresql 9.0 backport)'
Maybe it's wise to comply and avoid complications?

> I'm getting errors from dak init-dirs and trying to feed to existing
> sql schemas to postgres directly didn't help.

My understanding is that 'dak init-dirs' is taking data from dak.conf
more then from DB

> Current error is:
>   File
> "/usr/lib/python2.6/dist-packages/sqlalchemy/dialects/postgresql/base.py",
> line 875, in get_table_oid raise exc.NoSuchTableError(table_name)
> sqlalchemy.exc.NoSuchTableError: binaries
> 
> If I drop projectb and re-create it, I get the same error but for the
> architectures table.
> 
> Any ideas?

Maybe daft question from my side but are you sure that you have all
tables in DB and your search_path is correct?

- -- 

|_|0|_|                                          |
|_|_|0|         "Heghlu'Meh QaQ jajVam"          |
|0|0|0|         -------- kuLa ---------          |

gpg --keyserver pgp.mit.edu --recv-keys 0x58C338B3
3DF1 A4DF C732 4688 38BC  F121 6869 30DD 58C3 38B3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJPfUcoAAoJEGhpMN1YwziziFwQALlHt31VPau0ERKhreUocyMs
2m7qY94i0GcdrbdNpszY8f5UQCqwlxVFKly5FmoS3qL9xJyKLV45x+hB7ov3G6BV
ptzzV1CfThs/CZj5FW//lPFEIWz+bUOImczCs7rChXIAA4m+BWqn4fW88Nh6uAn6
eyO+vIdKf6VmKlXxrxinbdlwKRJ7paoz1ltWu0iBFTVvfnZYmbEVWwE7amVE+76f
atuni8sIh5RI5ptOTdnVaZC4O+NvWGLi394gSEbtZddn74Li1lrR/RWX6mCH3f7P
dioMYz+rN8ATTeZPCk1JnD/HKPUZeemzCtSEC1nOm8e9ewTgz7lhPZdb4c/S6k59
shKv3oF7DHdxdS8sRozsiZoaVfMinZpv+BwgE6OgMs+vPp57yH4hpHm0EHy+ZWo8
1T0K124iWNJX3G9fw3rtgrYmi3gDkZpiFbvMDuAO6/5fJzeBGFmSFjHdFsTesS9B
tbL3DBfonsS85vUMyGpPB45kpZjc4RNXWB+M7bZLQlJilZ5lpzq++nc/LyKvJjc1
NulraXZ1GGA2DkFAN+q6P/Ol1CowYfeT5SqvrXupoGKcQWBCfAMOu0IiNJpSsK9k
Z1X9cv3o0bMAGTQinV/TYpbU1UhZYXQ/kzbsAKaDtGhzgkF/neKpdjUx+Iso/C6+
XDRWjEU8ZF0JcuxZ9Amn
=k9Fr
-----END PGP SIGNATURE-----


Reply to: