Обсуждение: 'import site' failed; use -v for traceback

Поиск
Список
Период
Сортировка

'import site' failed; use -v for traceback

От
Wolfgang Rohdewald
Дата:
this appears in /var/log/postgresql/postgres.log
whenever I execute a python function, even if
the execution succeeds like in

create function myfunc(text) RETURNS text AS
'return ''abc''' LANGUAGE 'plpython';

when using python directly the module is correctly imported:

/var/log/postgresql# python
Python 2.3.3a0 (#2, Nov 20 2003, 07:51:52)
[GCC 3.3.2 (Debian)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import site
>>> print site
<module 'site' from '/usr/lib/python2.3/site.pyc'>

Where should I report bugs? http://techdocs.postgresql.org/#bugs
was last updated in August 2002, and that was all I could find.

--
Wolfgang