Changes

Jump to: navigation, search

Talk:GEPS 029: GTK3-GObject introspection Conversion

2,917 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
return info.invoke(*args, **kwargs)
TypeError: pack_start() takes exactly 5 arguments (3 given)</pre>
<pre>39185: ERROR: gramps.py: line 163: Unhandled exceptionTraceback (most recent call last): File "gramps/src/guiplugins/view/viewmanagermediaview.py", line 1223348, in __create_pageadd page_display = pageEditMedia(self.get_display() File "gramps/src/gui/views/pageviewdbstate, self.py"uistate, line 391[], in get_display selfgen.top = selflib.build_interfaceMediaObject()) File "gramps/src/gui/views/pageview.py", line 156, in build_interface defaults[1]) File "gramps/src/guieditors/grampsbareditmedia.py", line 10872, in __init__ self.dbstate, self.uistate) File "gramps/src/gui/widgets/grampletpanedb.py", line 170, in make_requested_gramplet getattr(moduleget_object_from_gramps_id, opts["content"])(guicallback) File "gramps/src/gengui/plugeditors/_grampleteditprimary.py", line 6084, in __init__ self.init_create_tabbed_pages() File "gramps/src/plugins/grampleteditors/repositorydetailseditmedia.py", line 33229, in init_create_tabbed_pages self.gui.WIDGET = selfglade.build_guiget_object('vbox') File "gramps/src/plugins/gramplet/repositorydetails.py", line 48, in build_gui vbox.pack_start(self.tablenotebook, 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 3 given)</pre>
<pre>Traceback (most recent call last):
File "gramps/src/gui/viewmanager.py", line 1223, in __create_page
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