Re: Blends pages, tasks pages etc.
- To: debian-blends@lists.debian.org
- Subject: Re: Blends pages, tasks pages etc.
- From: Ole Streicher <olebole@debian.org>
- Date: Sun, 10 Jan 2016 10:46:54 +0100
- Message-id: <[🔎] 87r3hpahrl.fsf@debian.org>
- References: <20151205181530.GD15611@an3as.eu> <87wpsshepo.fsf@news.ole.ath.cx> <20151205202841.GE15611@an3as.eu> <87si3fhikv.fsf@news.ole.ath.cx> <20151206145229.GM15611@an3as.eu> <87r3iyof6o.fsf@debian.org> <20151207083220.GD5955@an3as.eu> <ytzbna0j9df.fsf@news.ole.ath.cx> <20151226223806.GA2138@an3as.eu> <87d1tsuspb.fsf@news.ole.ath.cx> <20151229173438.GC30126@an3as.eu>
Hi Andreas,
Andreas Tille <andreas@an3as.eu> writes:
> Since my next plan is now to import the full information from tasks
> files which is not on any other place to finalise the Python 3 version
> it would be great if you could forward port the changes you did on the
> Python 2 version to make sure we will not have any regression.
I moved all changes to webtools_py3 (BTW, why didn't you create a
separate directory instead of a separate branch? This would have make
the life much easier).
Problem is however, that I cannot test it on my local computer with
conn = psycopg2.connect(host="public-udd-mirror.xvm.mit.edu",
port=PORT,user="public-udd-mirror",
password="public-udd-mirror",database="udd")
I then get the following output:
---------------------------8<----------------------------------------------
python3 tasks_udd.py debian-astro
Service=udd seems not to be installed on this host. Message: definition of service "udd" not found
Traceback (most recent call last):
File "tasks_udd.py", line 31, in <module>
tasks.GetAllDependencies()
File "webtools_py3/blendstasktools_udd.py", line 898, in GetAllDependencies
if td.GetTaskDependencies(source):
File "webtools_py3/blendstasktools_udd.py", line 1317, in GetTaskDependencies
self.GetDepInfo(curs, dependencies, 1)
File "webtools_py3/blendstasktools_udd.py", line 1122, in GetDepInfo
for row in RowDictionaries(curs):
File "webtools_py3/blendstasktools_udd.py", line 594, in RowDictionaries
data = cursor.fetchall()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
---------------------------8<----------------------------------------------
So I just push my changes. If you could help me with the error message
above, I will fix error in the integrated code.
Reply to: