romjeromealt

Results 16 comments of romjeromealt

I just see that the translation mark on ngettext() could be missing on translation template? ``` surnames_string = ngettext( '\t{number} surname', '\t{number} surnames; no frequency yet\n', nb_surnames).format(number=nb_surnames) places_string = ngettext(...

> The lxml Gramplet does not display the icons on the WindowAIO. ![2025-04-04 06_55_33-Example Family Tree - Dashboard - Gramps](https://private-user-images.githubusercontent.com/191816742/430121704-45ac7469-1bfe-4270-abc2-f455c2739ab5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDM3NTQ3OTMsIm5iZiI6MTc0Mzc1NDQ5MywicGF0aCI6Ii8xOTE4MTY3NDIvNDMwMTIxNzA0LTQ1YWM3NDY5LTFiZmUtNDI3MC1hYmMyLWY0NTVjMjczOWFiNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwNDA0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDQwNFQwODE0NTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01MDVlNGE0ZTE4MjEzOGIwNjhjYWY3ZjRiM2ZhOGMwOWY0YTQ2MmI5MDY2Zjc1NmMyODZjMzA5YzU1ZjdkZjE3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.DWKTbPKMz0ykGubzIXdo7aIDYedO5008eXZgJCmjf1U) > > For the etree Gramplet does it make more...

> Why are these gramplets unable to load .gramps files with spaces in the filename or file path!, without renaming the file or moving the file to another location as...

``` File "C:\Users\admin\AppData\Roaming\gramps\gramps60\plugins\lxml\etreeGramplet.py", line 333, in ParseXML for one in root.getchildren(): ^^^^^^^^^^^^^^^^ AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren' ``` >Looks to be this issue[ Red Hat Bugzilla – Bug...

``` (gramps.exe:20492): GLib-GIO-CRITICAL **: 11:09:09.087: GFileInfo created without standard::type (gramps.exe:20492): GLib-GIO-CRITICAL **: 11:09:09.090: file ../glib-2.84.0/gio/gfileinfo.c: line 1610 (g_file_info_get_file_type): should not be reached 'xmllint' is not recognized as an internal or...

> "this could be fixed. But how?" ``` if '\u00A0' in path: ... ``` or use something like: `r = subprocess.run(f"powershell.exe {aws_command}", shell=True, capture_output=True, text=True)` `path = r"C:\Users\blabla\Google Drive\Programs\Python\example.gramps"` `os.system(r'"C:\Program...

@giotodibondone After polishing and a quick refactoring, both `lxml gramplet` and `etree gramplet` should now have the same design (logic on UI). This has not been commited (pushed on gramps-addons...

> This could explain, why I get a mixup with `ns.attrib` during testing. Something around ElementTree and python versions. Looking at documentation https://docs.python.org/3/library/xml.etree.elementtree.html `etree gramplet` should be designed for python...

Thank, you! ``` File "C:\Users\admin\AppData\Roaming\gramps\gramps60\plugins\lxml\lxmlGramplet.py", line 148, in init image.set_from_stock(Gtk.STOCK_OPEN, Gtk.IconSize.BUTTON) ^^^^^ UnboundLocalError: cannot access local variable 'image' where it is not associated with a value ``` My bad, it...

> Crashes with the latest changes ( main issues seems to be: **TypeError: Gtk.Image.set_from_stock() takes exactly 3 arguments (2 given)** ) > > ``` > 11702: ERROR: grampsapp.py: line 188:...