WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: problems with meld  (Read 5740 times)

Offline Rudock1

  • Jr. Member
  • **
  • Posts: 62
Re: problems with meld
« Reply #15 on: April 03, 2020, 03:24:32 PM »
Hi Juanito,

I gave it the old college try but, oddly, the same error message appears as before, which is:
Quote
Couldn't set the locale: unsupported locale setting; falling back to 'C' locale
Meld requires GTK+ 3.20 or higher.
I saw no obvious errors during setup.py build or setup.py install --root=/tmp/pkg
I studied your 32-bit TCZ, used your tce.installed/meld file, and I found a few places where you edited the desktop file for the icon, and checked against submitqc --nonet.  After all that I think I made a good Corepure64 TCZ.  As an after thought, even though I have only Corepure64, is it possible I might be rebuilding a 32-bit version, as in a problem with default compiler flags...?

I have gtk+-3.24.13 so it seems that the version check isn't working or is a false failure.  Wondering if you have any additional suggestions?

On a related note, the meld home page mentions "meson" so I looked at http://tinycorelinux.net/11.x/x86/tcz/src/meson/ but it seems to be about "krb5".  Not sure if that is expected.

thx as always!
Billy

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: problems with meld
« Reply #16 on: April 04, 2020, 02:12:30 AM »
On a related note, the meld home page mentions "meson" so I looked at http://tinycorelinux.net/11.x/x86/tcz/src/meson/ but it seems to be about "krb5".  Not sure if that is expected.

Hmm - looks like fat fingers, fixed now.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: problems with meld
« Reply #17 on: April 04, 2020, 02:37:51 AM »
Meld requires GTK+ 3.20 or higher.

Maybe you were missing one of the run time deps - anyway, meld posted.

Offline Rudock1

  • Jr. Member
  • **
  • Posts: 62
Re: problems with meld
« Reply #18 on: April 04, 2020, 02:32:23 PM »
Thanks very much. I bumped into the following error which I fixed with a tweak to the
/usr/local/share/applications/org.gnome.meld.desktop  by adding sudo on this line
Quote
Exec=sudo meld %F
Code: [Select]
[~]{$?=0}Sat Apr 04 08:20:08 > meld
Couldn't set the locale: unsupported locale setting; falling back to 'C' locale

(meld:8087): Gtk-WARNING **: 08:21:22.651: Locale not supported by C library.
Using the fallback 'C' locale.
Traceback (most recent call last):
  File "/usr/local/bin/meld", line 387, in <module>
    import meld.meldapp
  File "/usr/local/lib/python3.6/site-packages/meld/meldapp.py", line 31, in <module>
    from meld.filediff import FileDiff
  File "/usr/local/lib/python3.6/site-packages/meld/filediff.py", line 38, in <module>
    from meld.melddoc import ComparisonState, MeldDoc
  File "/usr/local/lib/python3.6/site-packages/meld/melddoc.py", line 32, in <module>
    from meld.recent import RecentType
  File "/usr/local/lib/python3.6/site-packages/meld/recent.py", line 243, in <module>
    recent_comparisons = RecentFiles()
  File "/usr/local/lib/python3.6/site-packages/meld/recent.py", line 65, in __init__
    os.makedirs(self.recent_path)
  File "/usr/local/lib/python3.6/os.py", line 220, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/home/tc/.local/share/meld'
[~]{$?=1}Sat Apr 04 08:21:23 >

Again, really appreciate your continuing support.
Billy

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: problems with meld
« Reply #19 on: April 05, 2020, 01:32:31 AM »
I just tested meld on a clean reboot of CorePure64 and didn't see any warning or errors messages at all when run using the default C locale from a terminal window.

You should not need to run meld as root - I suggest you delete /home/tc/.local/share/meld, check that /home/tc/.local/share is owned by tc:staff and try again.