[Ml-yokadi] p_edit bug
Heinz Wiesinger
HMWiesinger
Dim 5 Avr 15:01:36 CEST 2009
On Sunday 05 April 2009 12:18:11 Sébastien Renard wrote:
> Hello Heinz,
>
> I am very sorry, but I can't manage to reproduce the two issues you
> mention... Can you try to reproduce it with last HEAD release and a fresh
> database ?
Ok, so I upgraded to latest git used a fresh database. Here's what I did:
- k_add slackbuilds.org
- k_add sbo
- p_add openerp-server @sbo @slackbuilds.org @business
Added project 'openerp-server'
Error: Unhandled exception (oups)
'module' object has no attribute 'set_pre_input_hook'
This is a bug of Yokadi, sorry.
Send the above message by email to Yokadi developers to help them make Yokadi
better.
---------------------8<----------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/yokadi/yokadi.py", line 71, in onecmd
return Cmd.onecmd(self, line)
File "/usr/lib/python2.5/cmd.py", line 219, in onecmd
return func(arg)
File "/usr/lib/python2.5/site-packages/yokadi/projectcmd.py", line 47, in
do_p_add
if not dbutils.createMissingKeywords(keywordDict.keys()):
File "/usr/lib/python2.5/site-packages/yokadi/dbutils.py", line 110, in
createMissingKeywords
if not getOrCreateKeyword(keywordName):
File "/usr/lib/python2.5/site-packages/yokadi/dbutils.py", line 74, in
getOrCreateKeyword
if interactive and not tui.confirm("Keyword '%s' does not exist, create it"
% keywordName):
File "/usr/lib/python2.5/site-packages/yokadi/tui.py", line 124, in confirm
answer = editLine("", prompt = prompt + " (y/n)? ")
File "/usr/lib/python2.5/site-packages/yokadi/tui.py", line 72, in editLine
readline.set_pre_input_hook(pre_input_hook)
AttributeError: 'module' object has no attribute 'set_pre_input_hook'
---------------------8<----------------------------------------------
- k_add business
- p_add openerp-server @sbo @slackbuilds.org @business
Error: Unhandled exception (oups)
column name is not unique
This is a bug of Yokadi, sorry.
Send the above message by email to Yokadi developers to help them make Yokadi
better.
---------------------8<----------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/yokadi/yokadi.py", line 71, in onecmd
return Cmd.onecmd(self, line)
File "/usr/lib/python2.5/cmd.py", line 219, in onecmd
return func(arg)
File "/usr/lib/python2.5/site-packages/yokadi/projectcmd.py", line 45, in
do_p_add
project = Project(name=projectName)
File "/usr/lib/python2.5/site-packages/sqlobject/main.py", line 1203, in
__init__
self._create(id, **kw)
File "/usr/lib/python2.5/site-packages/sqlobject/main.py", line 1251, in
_create
self._SO_finishCreate(id)
File "/usr/lib/python2.5/site-packages/sqlobject/main.py", line 1275, in
_SO_finishCreate
id, names, values)
File "/usr/lib/python2.5/site-packages/sqlobject/dbconnection.py", line 401,
in queryInsertID
return self._runWithConnection(self._queryInsertID, soInstance, id, names,
values)
File "/usr/lib/python2.5/site-packages/sqlobject/dbconnection.py", line 260,
in _runWithConnection
val = meth(conn, *args)
File "/usr/lib/python2.5/site-
packages/sqlobject/sqlite/sqliteconnection.py", line 211, in _queryInsertID
self._executeRetry(conn, c, q)
File "/usr/lib/python2.5/site-
packages/sqlobject/sqlite/sqliteconnection.py", line 181, in _executeRetry
raise DuplicateEntryError(msg)
DuplicateEntryError: column name is not unique
---------------------8<----------------------------------------------
- p_edit openerp-server
Error: Unhandled exception (oups)
'module' object has no attribute 'set_pre_input_hook'
This is a bug of Yokadi, sorry.
Send the above message by email to Yokadi developers to help them make Yokadi
better.
---------------------8<----------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/yokadi/yokadi.py", line 71, in onecmd
return Cmd.onecmd(self, line)
File "/usr/lib/python2.5/cmd.py", line 219, in onecmd
return func(arg)
File "/usr/lib/python2.5/site-packages/yokadi/projectcmd.py", line 64, in
do_p_edit
line = tui.editLine(projectLine)
File "/usr/lib/python2.5/site-packages/yokadi/tui.py", line 72, in editLine
readline.set_pre_input_hook(pre_input_hook)
AttributeError: 'module' object has no attribute 'set_pre_input_hook'
---------------------8<----------------------------------------------
The other bug I reported is indeed fixed. Works now on my system.
Thanks :)
Grs,
Heinz
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: http://sequanux.org/pipermail/ml-yokadi/attachments/20090405/f9806871/attachment.html
-------------- section suivante --------------
Une pièce jointe non texte a été nettoyée...
Nom: non disponible
Type: application/pgp-signature
Taille: 197 octets
Desc: This is a digitally signed message part.
Url: http://sequanux.org/pipermail/ml-yokadi/attachments/20090405/f9806871/attachment.pgp
Plus d'informations sur la liste de diffusion Ml-yokadi