GNOME Bugzilla – Bug 794807
Calendar widget current month shown as (null)
Last modified: 2018-06-30 00:06:16 UTC
Created attachment 370294 [details] Screenshot of calendar with current month in 2.7.8 the calendar widget shows the current month as “(null)”. All other months are fine.
This doesn't appear to be an issue using DD/MM/CCYY (eng_au) locale as it displays March as expected for the current month. So presumably date format related ?
Created attachment 370319 [details] eng-au screenshot showing current month displayed correctly.
Indeed, works correctly for en_US and fr_FR. What are your locale settings?
Mo, Di, Mi ... could be de. We do not translate the month names. So another language package of the reporter's system might be broken.
That would probably be Gtk+-3.0.
My language setting ist Deutsch-Deutschland, which should translate to de_DE. In terminal the LANG variable is set to de_DE.utf8. But when starting the App directly from the terminal the current month shows just fine. Unsetting LANG does make the error happen again even when started from the terminal.
Only when the error occurs the following warning is written into the trace file: * 08:26:02 WARN <GLib> gdate.c:2526Error converting results of strftime to UTF-8: Invalid byte sequence in conversion input * 08:26:02 WARN <GLib> gdate.c:2526Error converting results of strftime to UTF-8: Invalid byte sequence in conversion input * 08:26:02 WARN <GLib> gdate.c:2526Error converting results of strftime to UTF-8: Invalid byte sequence in conversion input * 08:26:02 CRIT <Pango> pango_layout_set_text: assertion 'length == 0 || text != NULL' failed * 08:26:02 CRIT <Pango> pango_layout_set_text: assertion 'length == 0 || text != NULL' failed * 08:26:03 CRIT <Pango> pango_layout_set_text: assertion 'length == 0 || text != NULL' failed * 08:26:03 CRIT <Pango> pango_layout_set_text: assertion 'length == 0 || text != NULL' failed
Ahah! I can now replicate by setting the region in system prefs to Germany or Switzerland.
Created attachment 370359 [details] Correct Display on MacOS 10.13.3
Created attachment 370360 [details] Fails on 10.13.4 beta So this is interesting. On my MacPro with 10.13.3 the month displays correctly as shown in the previous screenshot, but on my MacBook Pro with 10.13.4 Beta it does not. Christoph, what MacOS version are you running?
It's a Macbook Pro with 10.13.3
Same issue, MacOS 10.13.4, GnuCash 3.0 and 3.1, locale ru_RU. Weekdays are also shown as "(null)"
Created attachment 371627 [details] Calendar bug for v3.1
Well, this drove me bonkers: I could only reproduce it when it was built and bundled on Mavericks and then run on High Sierra, and only then if I launched GnuCash by double-clicking on it in Finder. Even "open Gnucash.app" from the command line wouldn't reproduce. Recompiling Glib with optimization disabled also prevented it from reproducing. Here's the good news: Updating GLib to 2.56.1 seems to fix it. Please reopen if it still doesn't work in GnuCash 3.2.
Created attachment 372824 [details] Calendar bug for v3.2 Nope, still can see nulls. Version: 3.2 Build ID: 3.2+ (2018-06-24)
What if you launch it from Terminal?
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=794807. Please continue processing the bug there and please update any external references or bookmarks.