On 18/01/11 11:03 +0100, pascal obstetar wrote:
> tu veux que je mette un print quoi ?
> print domain ? ou un attribut particulier de domain ?

Simplement:

    >>> print domain

> Le 18 janvier 2011 10:33, Cédric Krier <cedric.kr...@b2ck.com> a écrit :
> 
> > On 18/01/11 10:28 +0100, pascal obstetar wrote:
> > > je ne comprends pas ta question, je dois mettre un print où ?
> >
> > À la ligne 396 de modelstorage.py
> >
> > >
> > >
> > > 2011/1/18 Cédric Krier <cedric.kr...@b2ck.com>
> > >
> > > > On 18/01/11 09:06 +0100, pascal obstetar wrote:
> > > > > oui, le voili :
> > > > >
> > > > > Traceback (most recent call last):
> > > > >   File "/trytond/protocols/netrpc.py", line 48, in run
> > > > >     res = dispatch(host, port, 'NetRPC', *msg)
> > > > >   File "/trytond/protocols/dispatcher.py", line 136, in dispatch
> > > > >     res = getattr(obj, method)(*args, **kargs)
> > > > >   File "/trytond/model/modelstorage.py", line 396, in search_read
> > > >
> > > > Est-ce que ty peux mettre un print dans ici du domain ?
> > > >
> > > > >     ids = self.search(domain, offset=offset, limit=limit,
> > order=order)
> > > > >   File "/trytond/model/modelsql.py", line 1133, in search
> > > > >     qu1, qu2, tables, tables_args = self.search_domain(domain)
> > > > >   File "/trytond/model/modelsql.py", line 1280, in search_domain
> > > > >     qu1, qu2 = self.__search_domain_oper(domain, tables, tables_args)
> > > > >   File "/trytond/model/modelsql.py", line 1294, in
> > __search_domain_oper
> > > > >     % domain[0])
> > > > > Exception: ('ValidateError', 'Operator "[" not supported')
> > > >
> > > >
> > > > --
> > > > Cédric Krier
> > > >
> > > > B2CK SPRL
> > > > Rue de Rotterdam, 4
> > > > 4000 Liège
> > > > Belgium
> > > > Tel: +32 472 54 46 59
> > > > Email/Jabber: cedric.kr...@b2ck.com
> > > > Website: http://www.b2ck.com/
> > > >
> > >
> > >
> > >
> > > --
> > > Pascal Obstétar
> > > CEO Bio Eco Forests
> > > Tél : 06 70 614 944
> > > www.forestiersdumonde.org
> > >
> > > --
> > > tryton-fr@googlegroups.com mailing list
> >
> > --
> > Cédric Krier
> >
> > B2CK SPRL
> > Rue de Rotterdam, 4
> > 4000 Liège
> > Belgium
> > Tel: +32 472 54 46 59
> > Email/Jabber: cedric.kr...@b2ck.com
> > Website: http://www.b2ck.com/
> >
> 
> 
> 
> -- 
> Pascal Obstétar
> CEO Bio Eco Forests
> Tél : 06 70 614 944
> www.forestiersdumonde.org
> 
> -- 
> tryton-fr@googlegroups.com mailing list

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/

Attachment: pgp3siXGOka4N.pgp
Description: PGP signature

Répondre à