Productivity and economics at software development

Diez B. Roggisch deets at web.de
Fri Sep 23 16:38:33 CEST 2005


I get this:

Mod_python error: "PythonHandler mod_python.publisher"

Traceback (most recent call last):

  File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
    result = object(req)

  File "/usr/lib/python2.3/site-packages/mod_python/publisher.py", line
136, in handler
    result = util.apply_fs_data(object, req.form, req=req)

  File "/usr/lib/python2.3/site-packages/mod_python/util.py", line 361,
in apply_fs_data
    return object(**args)

  File "/var/www/html/quest/index.py", line 156, in gravar
    cursor.execute(sql)

  File "/usr/lib/python2.3/site-packages/pgdb.py", line 163, in execute
    self.executemany(operation, (params,))

  File "/usr/lib/python2.3/site-packages/pgdb.py", line 185, in
executemany
    raise DatabaseError, "error '%s' in '%s'" % ( msg, sql )

DatabaseError: error 'ERROR:  value too long for type character
varying(2)
' in 'INSERT INTO questionario (
                        linguagem, rad, preco_rad, linux,
                        macosx, palmos, solaris, windows,
                        windowsce, outras_plataformas, treinamento,
                        desktop, modo_texto, paginas_web, celular,
                        palm, outras_aplicacoes, dificuldade,
                        tempo, dependencia, duracao, novo_programador,
                        comentario, moeda)

                        VALUES

                        ('false', 'false', 0.0, true,
                        true, false, false, true, false,
                        false, 0.0, true, true,
                        true, false, false, false,
                        1, 4, 2, 0.5, 1000.0,
                        'false', 'false')'




More information about the Python-list mailing list