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

Re: Blends pages, tasks pages etc.



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: