Her er en patch:
: stain@isbre ~/navme/subsystem/devBrowser/src/lib;svn diff port.py Index: port.py =================================================================== --- port.py (revision 2945) +++ port.py (working copy) @@ -87,6 +87,9 @@ for field in \ 'port duplex ifindex portname media link speed trunk'.split(): value = getattr(port, field) + if type(value) == bool: + # convert to a string + value = value and "y" or "n" if value is None: continue if field == 'duplex':
Si ifra om denne fikser problemet.
Det hadde v?rt interessant ? vite hvilken versjon av mod_python, python, psycopg og postgresql dere har.
Dette er en nav3debian-installasjon ||/ Name Version Description +++-=================================-=================================-================================================================================== ii postgresql 7.4.5-3 Object-relational SQL database, descended from POSTGRES
dpkg -l *python* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=================================-=================================-================================================================================== ii libapache2-mod-python 3.1.3-2.2 An Apache module that embeds Python within the server ii libapache2-mod-python2.3 3.1.3-2.2 An Apache 2 module that embeds Python 2.3 within the server ii libpysnmp3.3-python2.3 3.3.5-1 Python implementation of SNMP v.1/v.2c engine ii python 2.3.4-4 An interactive high-level object-oriented language (default version) ii python-cheetah 0.9.15-5 text-based template engine and Python code generator ii python-egenix-mxdatetime 2.0.5-2 Date and time handling routines for Python [dummy package] ii python-forgethtml 0.0.20031008-4 Python module for easy HTML-writing ii python-forgetsql 0.5.1-3 Python module for easy SQL-database access ii python-ipy 0.41-0pre1 Python module for handling IPv4 and IPv6 addresses and networks ii python-ldap 2.0.1-1 A LDAP interface module for Python. [dummy package] ii python-psycopg 1.1.15-1 Python module for PostgreSQL [dummy package] ii python-rrd 0.2.1-3 Python bindings for RRD ii python2.3 2.3.4-13 An interactive high-level object-oriented language (version 2.3) ii python2.3-cheetah 0.9.15-5 text-based template engine and Python code generator ii python2.3-egenix-mxdatetime 2.0.5-2 Date and time handling routines for Python 2.3 ii python2.3-egenix-mxtools 2.0.5-2 A collection of new builtins for Python 2.3 ii python2.3-forgethtml 0.0.20031008-4 Python module for easy SQL-database access ii python2.3-forgetsql 0.5.1-3 Python module for easy SQL-database access ii python2.3-ipy 0.41-0pre1 Python module for handling IPv4 and IPv6 addresses and networks ii python2.3-ldap 2.0.1-1 A LDAP interface module for Python 2.3 ii python2.3-psycopg 1.1.15-1 Python 2.3 module for PostgreSQL ii python2.3-rrd 0.2.1-3 Python bindings for RRD nav3:~#
Jeg pr?vde ? gj?re disse endringene i port-py. Men da fikk jeg problem n?r jeg kj?rte apt-get upgrade. Da feilet compileringen av en oppdateringen av python. N?r jeg fjernet endringene i port.py gikk compileringen greitt
Peder Sefland