zhangkun2007 / meld-installer

Automatically exported from code.google.com/p/meld-installer
0 stars 0 forks source link

couldn't see contents #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.run
2.directory compare
3.both of diff windows (left & right)

What is the expected output? What do you see instead?
just difference contents between left & right windows.
blank window, I couldn't see any text inspite of changing fonts.

What version of the product are you using? On what operating system?
1.8.4.0

Please provide any additional information below.
windows 7
installed meld-1.8.3.0.exe

Original issue reported on code.google.com by honglai....@gmail.com on 21 Dec 2013 at 2:17

GoogleCodeExporter commented 9 years ago
Please try running in cmd.exe and let me know if you see any errors, for example
C:\Program Files (x86)\Meld>python\App\python.exe meld\bin\meld.
You're the second person to report this and I've not been able to reproduce it. 
 I'm gunna have to ask the Meld team if they've ever encountered this.

Original comment by keeganw...@gmail.com on 21 Dec 2013 at 4:56

GoogleCodeExporter commented 9 years ago
I have this issue, too.
I found that if I set environment variable LANG=en_US to start meld, then I can 
see the content.
My system uses Chinese, not English. This issue might be related to locale.

Original comment by impraza...@gmail.com on 30 Dec 2013 at 4:18

GoogleCodeExporter commented 9 years ago
Thanks for that info imprazaguy.  I'm no GTK expert, but I'll ask about this on 
the Meld list and see what they suggest.  This should give them a starting 
point.

Original comment by keeganw...@gmail.com on 30 Dec 2013 at 5:16

GoogleCodeExporter commented 9 years ago
Kai suggested unchecking the 'use system font' option (under 'Edit' -> 
'Preferences' on the 'Editor' tab) and trying some other fonts.  If it does, 
that will confirm it's a fonts issue.  Let me know what you find.

Original comment by keeganw...@gmail.com on 30 Dec 2013 at 10:02

GoogleCodeExporter commented 9 years ago
Thanks,
I could see the contents after following your guide.
I changed the locale from korean to english.
It's work around for me.
Please let me meet next release with clearing this issue.
Happy new year !!

Original comment by honglai....@gmail.com on 31 Dec 2013 at 12:20

GoogleCodeExporter commented 9 years ago
I found out this problem was from locale difference
I have tested above cases.
1) C:\Program Files (x86)\Meld>python\App\python.exe meld\bin\meld
C:\Program Files (x86)\Meld\meld\meld\meldwindow.py:226: PangoWarning: couldn't
load font "留묒? 怨좊뵓 9", falling back to "Sans 9", expect ugly output.
  self.widget.show()
C:\Program Files (x86)\Meld\meld\meld\meldwindow.py:226: PangoWarning: couldn't
load font "留묒? 怨좊뵓 Not-Rotated 9", falling back to "Sans Not-Rotated 
9", ex
pect ugly output.
  self.widget.show()
meld\bin\meld:167: GtkWarning: Failed to set text from markup due to error parsi
ng markup: 1吏?以?31 臾몄옄?먯꽌 ?ㅻ쪟: ?대쫫???섎せ??UTF-8 
?몄퐫?⑸맂 ?띿뒪??-
'토 21 12 2013 23:01:30' 遺€遺꾩씠 ?щ컮瑜댁? ?딆뒿?덈떎
  gtk.main()
meld\bin\meld:167: GtkWarning: gdkdrawable-win32.c:2013 drawable is not a pixmap
 or window
  gtk.main()
meld\bin\meld:167: PangoWarning: couldn't load font "留묒? 怨좊뵓 Bold 
Not-Rotat
ed 9", falling back to "Sans Bold Not-Rotated 9", expect ugly output.
  gtk.main()
meld\bin\meld:167: GtkWarning: Failed to set text from markup due to error parsi
ng markup: 1吏?以?31 臾몄옄?먯꽌 ?ㅻ쪟: ?대쫫???섎せ??UTF-8 
?몄퐫?⑸맂 ?띿뒪??-
'토 16 11 2013 15:09:46' 遺€遺꾩씠 ?щ컮瑜댁? ?딆뒿?덈떎
  gtk.main()
meld\bin\meld:167: GtkWarning: Failed to set text from markup due to error parsi
ng markup: 1吏?以?31 臾몄옄?먯꽌 ?ㅻ쪟: ?대쫫???섎せ??UTF-8 
?몄퐫?⑸맂 ?띿뒪??-
'금 29 11 2013 01:30:28' 遺€遺꾩씠 ?щ컮瑜댁? ?딆뒿?덈떎
  gtk.main()C:\Program Files (x86)\Meld\python\App\python.exe meld\bin\meld
....

2) unchecking the 'use system font' 
  it's not working properly.

3) changed locale to english, it's fine

after all, meld looked for the specific font and failed then fallback to the 
default 'sans 9', but it also went to fail from inner bugs.
maybe there is a bug for encoding unicode inner strings.

Original comment by honglai....@gmail.com on 31 Dec 2013 at 12:40

GoogleCodeExporter commented 9 years ago
Sorry for the runaround.  Please paste this info into a new issue for Meld: 
http://bugzilla.gnome.org/enter_bug.cgi?product=meld.  They know details of GTK 
better than I.  I started investigating on my end because I thought maybe I had 
some configuration problem with the PyGTK that the installer bundles.  I'm 
thinking now that this isn't the case, but if it is, we'll reopen this issue 
and I'll correct.

Original comment by keeganw...@gmail.com on 3 Jan 2014 at 2:31

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have the Meld 1.8.3 on Japanese Windows 7 and I can't see any fonts (the same 
problem.)

To survive, create a empty text, rename it to meld-run.bat, ant open it by 
Notepad and edit like;

----
set LANG=en_US
C:\somedirectorypath\meld\meld.exe
----

Then you can somehow see documents!
After that, you can add Encoding by (e.g. for Japanese,) 
  Preference -> Encoding -> Loading -> sjis utf8 latin1
and it works well (I can see Japanese letters).

Hopefully the the meld developers can fix this problem soon ...

Original comment by kmd...@gmail.com on 13 Dec 2014 at 5:07