Changes

Jump to: navigation, search

Talk:GEPS 029: GTK3-GObject introspection Conversion

4,042 bytes added, 23:50, 6 December 2013
Make sure all dialogs can be copied with the mouse please: new section
== Gettext support for pygobject 3.3.2 and GEPS029 == * pygobject 3.3.2:
Currently, I do not know why pygobject 3.3.2 is not compiled with gettext support?
--[[User:Romjerome|Romjerome]] ([[User talk:Romjerome|talk]]) 04:11, 14 July 2012 (MST)
 
* GEPS029:
:No more informations.
:So, I do not know if this is important for testing gettext support on GEPS029!
 ===command line=== :Note, I get a warning by calling 'gramps.py':
<pre>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
cairo version : (1, 8, 8)</pre>
* error by trying to '''edit a source''', to '''edit a media object''' or to '''edit a repository''' (''maybe related to the '''above one'''?'')
<pre>5655409: ERROR: gramps.py: line 163: Unhandled exception
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)</pre>
<pre>39185: ERROR: gramps.py: line 163: Unhandled exception
Traceback (most recent call last):
File "gramps/src/plugins/view/mediaview.py", line 348, in add
EditMedia(self.dbstate, self.uistate, [], gen.lib.MediaObject())
File "gramps/src/gui/editors/editmedia.py", line 72, in __init__
dbstate.db.get_object_from_gramps_id, callback)
File "gramps/src/gui/editors/editprimary.py", line 84, in __init__
self._create_tabbed_pages()
File "gramps/src/editors/editmedia.py", line 229, 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 non-keyword arguments (2 given)</pre>
 
=== compilation (gettext)===
 
<pre> File "geps029/share/gramps/gramps.py", line 421, in <module>
errors = run()
File "geps029/share/gramps/gramps.py", line 354, in run
from cli.argparser import ArgParser
File "geps029/share/gramps/cli/argparser.py", line 50, in <module>
from gen.config import config
File "geps029/share/gramps/gen/config.py", line 288, in <module>
register('preferences.no-given-text', "[%s]" % _("Missing Given Name"))
File "geps029/share/gramps/gen/ggettext.py", line 48, in gettext
return unicode(pgettext.gettext(msgid))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2:
ordinal not in range(128)</pre>
This one seems to be a problem on launch (setting encoding) but related to the compiled translation file!
 
If I modify the 'msgid' (config.py), I get next errors (not the next with non-ASCII characters on translation strings sequence!):
<pre>1349: ERROR: gramps.py: line 163: Unhandled exception
Traceback (most recent call last):
File "share/gramps/gramps.py", line 421, in <module>
errors = run()
File "share/gramps/gramps.py", line 354, in run
from cli.argparser import ArgParser
File "geps029/share/gramps/cli/argparser.py", line 50, in <module>
from gen.config import config
File "geps029/share/gramps/gen/config.py", line 298, in <module>
register('preferences.private-record-text', "[%s]" % _("Private Record"))
File "geps029/share/gramps/gen/ggettext.py", line 48, in gettext
return unicode(pgettext.gettext(msgid))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 19:
ordinal not in range(128)</pre>
<pre>1546: ERROR: gramps.py: line 163: Unhandled exception
Traceback (most recent call last):
File "share/gramps/gramps.py", line 421, in <module>
errors = run()
File "share/gramps/gramps.py", line 354, in run
from cli.argparser import ArgParser
File "geps029/share/gramps/cli/argparser.py", line 78, in <module>
""")
File "geps029/share/gramps/gen/ggettext.py", line 48, in gettext
return unicode(pgettext.gettext(msgid))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 12:
ordinal not in range(128)</pre>
 
====fr.po====
 
...
"Content-Type: text/plain; charset=UTF-8\n"
...
 
# L'espace finale est pour précéder le « : » codé en dur.
#: ../src/gui/configure.py
msgid "Missing given name"
msgstr "Prénom manquant "
 
# L'espace finale est pour précéder le « : » codé en dur.
#: ../src/gui/configure.py
msgid "Private record"
msgstr "Enregistrement privé "
:--[[User:Romjerome|Romjerome]] ([[User talk:Romjerome|talk]]) 08:46, 14 July 2012 (MST)
 
== spell check install ==
 
Today I found that the instructions for 12.10 don't work, i.e. that I can't build the code downloaded with hg on Mint 14. When I use the GtkSpell tarball, it builds OK, but for that .autogen.sh needs to be replace by .configure to build right.
 
Can I change the page accordingly?
 
--[[User:Ennoborg|Ennoborg]] ([[User talk:Ennoborg|talk]]) 09:22, 5 March 2013 (MST)
 
== Make sure all dialogs can be copied with the mouse please ==
 
I got a dialog (GExiv2 module not loaded) that I cannot copy with the mouse! [[User:Jidanni|Jidanni]] ([[User talk:Jidanni|talk]]) 16:50, 6 December 2013 (MST)
6
edits

Navigation menu