Hie,
Since "Replace deprecated usage of params and signals in GTK+3" [1], after
login popup I receive an error that has not attribute READWRITE
13 "text": (gobject.TYPE_STRING, None, "Text",
14 "Displayed text", gobject.ParamFlags.READWRITE),
Which version gobject is required?
Last version python-gobject-2 in Ubuntu is 2.28.6 [2]
Here the traceback:
Traceback (most recent call last):
File "/home/resteve/virtualenv/trydev/tryton/tryton/common/common.py",
line 1260, in process
self.callback(return_)
File "/home/resteve/virtualenv/trydev/tryton/tryton/gui/main.py", line
858, in _set_preferences
self.sig_win_menu(prefs=prefs)
File "/home/resteve/virtualenv/trydev/tryton/tryton/gui/main.py", line
1041, in sig_win_menu
row_activate=self.menu_row_activate)
File
"/home/resteve/virtualenv/trydev/tryton/tryton/gui/window/view_form/screen/screen.py",
line 142, in __init__
self.switch_view()
File
"/home/resteve/virtualenv/trydev/tryton/tryton/gui/window/view_form/screen/screen.py",
line 486, in switch_view
self.load_view_to_load()
File
"/home/resteve/virtualenv/trydev/tryton/tryton/gui/window/view_form/screen/screen.py",
line 507, in load_view_to_load
self.add_view_id(view_id, view_type)
File
"/home/resteve/virtualenv/trydev/tryton/tryton/gui/window/view_form/screen/screen.py",
line 520, in add_view_id
return self.add_view(view)
File
"/home/resteve/virtualenv/trydev/tryton/tryton/gui/window/view_form/screen/screen.py",
line 545, in add_view
view = View.parse(self, xml_dom, view.get('field_childs'))
File
"/home/resteve/virtualenv/trydev/tryton/tryton/gui/window/view_form/view/__init__.py",
line 36, in parse
from .list import ViewTree
File
"/home/resteve/virtualenv/trydev/tryton/tryton/gui/window/view_form/view/list.py",
line 13, in <module>
from tryton.common.cellrendererbutton import CellRendererButton
File
"/home/resteve/virtualenv/trydev/tryton/tryton/common/cellrendererbutton.py",
line 10, in <module>
class CellRendererButton(gtk.GenericCellRenderer):
File
"/home/resteve/virtualenv/trydev/tryton/tryton/common/cellrendererbutton.py",
line 14, in CellRendererButton
"Displayed text", gobject.ParamFlags.READWRITE),
AttributeError: type object 'PyGObjectParamFlags' has no attribute
'READWRITE'
Thanks
[1]
https://bitbucket.org/tryton/tryton/commits/4b07964676a33abf72efccf91bbcc22e36e86072
[2] https://packages.ubuntu.com/search?keywords=python-gobject-2
--
You received this message because you are subscribed to the Google Groups
"tryton-dev" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton-dev/CAN2HbXVPdZKZwg30%2B%2B%3D-4C0_NXm%2BCOkC76vtEoe-s%2BXawnXXmQ%40mail.gmail.com.