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

Re: [Debian-l10n-devel] DDTP new machine update




On Jul 19, 2012 3:40 PM, "Peter Palfrader" <weasel@debian.org> wrote:
>
> On Thu, 19 Jul 2012, Christian PERRIER wrote:
>
> > Quoting Peter Palfrader (weasel@debian.org):
> >
> > > > It might depend on how the database was initialized for slovak on
> > > > i18n.d.o...or I may need to transfer the "database" fromthe .net machine.
> > >
> > > Speaking of databases - you produced lots of postgresql errors last
> > > weekend (multiple gigabytes of logs) that broke the system.  Don't do
> > > that again, please.
> >
> >
> > *I* didn't produce anything. Martijn, is this some work on the DDTP?
>
> Not you personally, y'all :)
>
> | 2012-07-13 20:27:43 UTC ERROR:  duplicate key value violates unique constraint "package_tb_3_idx"
> | 2012-07-13 20:27:43 UTC DETAIL:  Key (package, version)=(2vcard, 0.5-3) already exists.
> | 2012-07-13 20:27:43 UTC STATEMENT:  INSERT INTO packages_tb (package,source,version,tag,priority,maintainer,task,section,description,description_md5)
> |                                   VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10);
>
> We got a couple million like this before the filesystem ran full.

Ah, sorry about that, that's the ddtp import script. I know it's not fabulously written, that's why I wrote a replacement which is faster and does't produce such errors. However, to run it some packages need to be installed, which is what started this whole thread.

Do we have a solution for that problem yet? Or at least could someone with permissions login to dukas and install the needed packages by hand? I promise not to run the old scripts anymore...

Thanks in advance,
Martijn


Reply to: