Am Montag, 12. Juni 2017 10:09:12 UTC+2 schrieb Sergi Almacellas Abellana:
>
> El 12/06/17 a les 02:20, rawdesignhamburg ha escrit:
> > Hello
> >
> > I try to update my tryton installation and I get an error. But it looks
> > like there are to many error messages. So I cannot find the "root" of
> > this Exception.
> >
> > |
> >
> File"/usr/local/tryton3.4/tryton/tryton/gui/window/view_form/view/list.py",line
>
>
> > 1003,in__sig_switch
> > ifnotself.screen.row_activate()andself.children_field:
> >
> >
> File"/usr/local/tryton3.4/tryton/tryton/gui/window/view_form/screen/screen.py",line
>
>
> > 341,indefault_row_activate
> > self.switch_view(view_type='form')
> >
> >
> File"/usr/local/tryton3.4/tryton/tryton/gui/window/view_form/screen/screen.py",line
>
>
> > 376,inswitch_view
> > self.display()
> >
> >
> File"/usr/local/tryton3.4/tryton/tryton/gui/window/view_form/screen/screen.py",line
>
>
> > 730,indisplay
> > view.display()
> >
> >
> File"/usr/local/tryton3.4/tryton/tryton/gui/window/view_form/view/form.py",line
>
>
> > 469,indisplay
> > widget.display(record,field)
> >
> >
> File"/usr/local/tryton3.4/tryton/tryton/gui/window/view_form/view/form_gtk/float.py",line
>
>
> > 16,indisplay
> > super(Float,self).display(record,field)
> >
> >
> File"/usr/local/tryton3.4/tryton/tryton/gui/window/view_form/view/form_gtk/integer.py",line
>
>
> > 40,indisplay
> > self.entry.set_text(field.get_client(record,factor=self.factor))
> >
> >
> File"/usr/local/tryton3.4/tryton/tryton/gui/window/view_form/model/field.py",line
>
>
> > 318,inget_client
> > returnlocale.format('%.*f',(digit,value *factor),True)
> > |
> >
> > -v for verbose and -d for debugging on client was enabled
> > -v for verbose on server also enabled but I did not get more information
> > out of this.
> > Then I looked for
> >
> http://tryton-documentation.readthedocs.io/en/latest/developer_guide/debugging.html
>
> > and enabled all debugging options. Bug I cannot find the name of the
> > field causing this error.
>
> You can print the field name (with self.name) on the last line of the
> exception in order to know which field is failing.
>
> Or you can comment the fields on the view to know which are failing :)
>
> Hope it helps.
>
> --
> Sergi Almacellas Abellana
> www.koolpi.com
> Twitter: @pokoli_srk
>
Great, thank you very much.
--
You received this message because you are subscribed to the Google Groups
"tryton" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton/aa1cc3c6-6064-4be9-b04c-d93401246bb2%40googlegroups.com.