Difference between revisions of "Talk:GEPS 029: GTK3-GObject introspection Conversion"

From Gramps
Jump to: navigation, search
m
m
Line 61: Line 61:
 
cairo version  : (1, 8, 8)</pre>
 
cairo version  : (1, 8, 8)</pre>
  
* error by trying to '''edit a source''' (''maybe related to the '''above one'''?'')
+
* error by trying to '''edit a source''' or to ''edit a repository''' (''maybe related to the '''above one'''?'')
  
 
<pre>5655409: ERROR: gramps.py: line 163: Unhandled exception
 
<pre>5655409: ERROR: gramps.py: line 163: Unhandled exception
Line 75: Line 75:
 
   File "/usr/local/lib/python2.7/site-packages/gi/types.py", line 47, in function
 
   File "/usr/local/lib/python2.7/site-packages/gi/types.py", line 47, in function
 
     return info.invoke(*args, **kwargs)
 
     return info.invoke(*args, **kwargs)
TypeError: pack_start() takes exactly 5 arguments (3 given)
+
TypeError: pack_start() takes exactly 5 arguments (3 given)</pre>
 +
<pre>Traceback (most recent call last):
 +
  File "gramps/src/gui/viewmanager.py", line 1223, in __create_page
 +
    page_display = page.get_display()
 +
  File "gramps/src/gui/views/pageview.py", line 391, in get_display
 +
    self.top = self.build_interface()
 +
  File "gramps/src/gui/views/pageview.py", line 156, in build_interface
 +
    defaults[1])
 +
  File "gramps/src/gui/grampsbar.py", line 108, in __init__
 +
    self.dbstate, self.uistate)
 +
  File "gramps/src/gui/widgets/grampletpane.py", line 170, in make_requested_gramplet
 +
    getattr(module, opts["content"])(gui)
 +
  File "gramps/src/gen/plug/_gramplet.py", line 60, in __init__
 +
    self.init()
 +
  File "gramps/src/plugins/gramplet/repositorydetails.py", line 33, in init
 +
    self.gui.WIDGET = self.build_gui()
 +
  File "gramps/src/plugins/gramplet/repositorydetails.py", line 48, in build_gui
 +
    vbox.pack_start(self.table, fill=True, expand=False)
 +
  File "/usr/local/lib/python2.7/site-packages/gi/types.py", line 47, in function
 +
    return info.invoke(*args, **kwargs)
 +
TypeError: pack_start() takes exactly 5 non-keyword arguments (2 given)</pre>
  
  
 
:--[[User:Romjerome|Romjerome]] ([[User talk:Romjerome|talk]]) 08:46, 14 July 2012 (MST)
 
:--[[User:Romjerome|Romjerome]] ([[User talk:Romjerome|talk]]) 08:46, 14 July 2012 (MST)

Revision as of 10:20, 14 July 2012

Gettext support for pygobject 3.3.2

Currently, I do not know why pygobject 3.3.2 is not compiled with gettext support?

I added:

gettext intltool

packages and I have downloaded sources (GEPS029).

I will try to compile the Tarball.

I hope to see more informations about missing config files after that.

--Romjerome (talk) 04:11, 14 July 2012 (MST)

No more informations.
So, I do not know if this is important for testing gettext support on GEPS029!
Note, I get a warning by calling 'gramps.py':
GRAMPS GTK3: a g_value_get_object warning:
/usr/local/lib/python2.7/site-packages/gi/types.py:47: Warning: g_value_get_object: assertion 
`G_VALUE_HOLDS_OBJECT (value)' failed
  return info.invoke(*args, **kwargs)

or during session:

(gramps.py:14089): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion 
`icon_set != NULL' failed
  • errors by trying to (undo)edit or edit a given name (ex:Jérôme):
Error Details: 
===================

5102266: ERROR: gramps.py: line 163: Unhandled exception
Traceback (most recent call last):
  File "gramps/src/gui/widgets/undoableentry.py", line 210, in _on_delete_text
    undo_action = self.deleteclass(editable, start, end)
  File "gramps/src/gui/widgets/undoableentry.py", line 69, in __init__
    self.text = editable.get_chars(start, end).encode('utf-8')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: 
ordinal not in range(128)

5419082: ERROR: gramps.py: line 163: Unhandled exception
Traceback (most recent call last):
  File "gramps/src/gui/editors/editperson.py", line 827, in save
    self._check_for_unknown_gender()
  File "gramps/src/gui/editors/editperson.py", line 720, in _check_for_unknown_gender
    d = GenderDialog(self.window)
  File "gramps/src/gui/editors/editperson.py", line 1059, in __init__
    GObject.GObject.__init__(self,
NameError: global name 'GObject' is not defined


System Information: 
===================

Python version: 2.7.3 (default, Apr 20 2012, 22:44:07) [GCC 4.6.3] 
BSDDB version: 5.1.2 (5, 1, 25) 
Gramps version: 3.5.0-0.SVN 
LANG: fr_FR.UTF-8
OS: Linux
Distribution: 3.2.0-23-generic-pae

GTK version    : 3.5.7
gobject version: 3.3.2
cairo version  : (1, 8, 8)
  • error by trying to edit a source' or to edit a repository (maybe related to the above one?)
5655409: ERROR: gramps.py: line 163: Unhandled exception
Traceback (most recent call last):
  File "gramps/src/plugins/view/sourceview.py", line 211, in add
    EditSource(self.dbstate, self.uistate, [], gen.lib.Source())
  File "gramps/src/gui/editors/editsource.py", line 69, in __init__
    dbstate.db.get_source_from_gramps_id)
  File "gramps/src/gui/editors/editprimary.py", line 84, in __init__
    self._create_tabbed_pages()
  File "gramps/src/gui/editors/editsource.py", line 173, in _create_tabbed_pages
    self.glade.get_object('vbox').pack_start(notebook, True)
  File "/usr/local/lib/python2.7/site-packages/gi/types.py", line 47, in function
    return info.invoke(*args, **kwargs)
TypeError: pack_start() takes exactly 5 arguments (3 given)
Traceback (most recent call last):
  File "gramps/src/gui/viewmanager.py", line 1223, in __create_page
    page_display = page.get_display()
  File "gramps/src/gui/views/pageview.py", line 391, in get_display
    self.top = self.build_interface()
  File "gramps/src/gui/views/pageview.py", line 156, in build_interface
    defaults[1])
  File "gramps/src/gui/grampsbar.py", line 108, in __init__
    self.dbstate, self.uistate)
  File "gramps/src/gui/widgets/grampletpane.py", line 170, in make_requested_gramplet
    getattr(module, opts["content"])(gui)
  File "gramps/src/gen/plug/_gramplet.py", line 60, in __init__
    self.init()
  File "gramps/src/plugins/gramplet/repositorydetails.py", line 33, in init
    self.gui.WIDGET = self.build_gui()
  File "gramps/src/plugins/gramplet/repositorydetails.py", line 48, in build_gui
    vbox.pack_start(self.table, fill=True, expand=False)
  File "/usr/local/lib/python2.7/site-packages/gi/types.py", line 47, in function
    return info.invoke(*args, **kwargs)
TypeError: pack_start() takes exactly 5 non-keyword arguments (2 given)


--Romjerome (talk) 08:46, 14 July 2012 (MST)