Hi,
On Tue, Apr 14, 2015 at 6:00 PM, Andreas Tille <[email protected]> wrote:
> Hi Akshita,
>
> So everything looks totally normal to me. May be for whatever reason
> python-debian is broken at your side? The parsing is done by
>
> ...
> from debian import deb822
> ...
> ... deb822.Sources.iter_paragraphs
> ...
> ... deb822.Deb822.iter_paragraphs
>
> Both things are used in all Blends tools dealing with the typical Debian
> metadata files in RFC 822 format. Its also used in the current tasks.py
> by importing blendstasktools.py. You might probably be able to test my
> theory by re-running tasks.py. If you run into similar key errors
> something is broken in python-debian. However - I admit I have no idea
> what might be wrong since this always worked reliable. You might need to
> debug the resulting stanzas.
>
> Hope this helps tracking down the issue
>
>
There was no error running tasks.py. The error I was getting was because
'dpkg' module was broken and the line :
p = Popen("LC_ALL=C dpkg-parsechangelog -l"+upath+'/'+source+'.changelog',
shell=True, bufsize=4096,
stdin=PIPE, stdout=PIPE, stderr=PIPE, close_fds=True)
was not executed properly. Hence, it was not parsed correctly and did not
enter the for-loop, due to which I got the key-errors. I had to reconfigure
my system but the issue is solved and now $ ./update-and-run.sh
blends-prospective gives no error.
Now, I can start working on:
On Tue, Apr 7, 2015 at 1:46 PM, Andreas Tille <[email protected]> wrote:
> On Mon, Apr 06, 2015 at 10:42:45PM +0200, Andreas Tille wrote:
> > >
> > > So, do I consider this issue fixed ?
> >
> > I'll need to check tomorrow.
>
> ./only-run.sh blends-prospective
> Traceback (most recent call last):
> File "/srv/udd.debian.org/udd//udd.py", line 86, in <module>
> exec "gatherer.%s()" % command
> File "<string>", line 1, in <module>
> File "/srv/udd.debian.org/udd/udd/blends_prospective_gatherer.py", line
> 422, in run
> cur.execute(query)
> psycopg2.ProgrammingError: FEHLER: Syntaxfehler bei „REPLACE“
> LINE 1: ...RE bibref_insert (text, text, text, text, int) AS REPLACE IN...
Regards,
Akshita