nimbosa / meld-installer

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

meld doesn't start #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
  Install meld-1.8.0.0.exe and try starting it

What is the expected output? What do you see instead?

  Nothing happens, no output on the console and no GUI visible.

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

  I am trying this on Windows 7. 
  The same happens for meld-0.0.0.0.exe

Original issue reported on code.google.com by Peter.Ba...@gmail.com on 18 Sep 2013 at 2:05

GoogleCodeExporter commented 9 years ago
Can you clarify "and try starting it"?  Are you talking about launching from 
the installer?  From a shortcut (which one)?  And did you include Python in 
your install?

Original comment by keeganw...@gmail.com on 18 Sep 2013 at 2:49

GoogleCodeExporter commented 9 years ago
By "try starting it" I mean running c:\Program Files (x86)\Meld\meld\meld.exe
Obviously, starting it via shortcut doesn't work, too, as itt uses the same 
executable.

Concerning you other question: The installation was done with python.

I noticed that the mouse cursor changes shortly, as if the executable is 
executed
but immediately exits without starting the UI.

Is there a way to trace the executable, e.g. on Linux I would have used strace 
to
investigate what is happending, but on windows I have no idea!

Feel free to ask (or provide test executables) and I try to give feedback!

Original comment by Peter.Ba...@gmail.com on 19 Sep 2013 at 10:04

GoogleCodeExporter commented 9 years ago
We could try with the console version of Python and see if it reports any 
errors.  Open cmd.exe and navigate to where you installed meld then run 
"python\App\python.exe meld\bin\meld".  Does that report any errors?  Also, did 
you use the default install directory or another?

Original comment by keeganw...@gmail.com on 19 Sep 2013 at 12:59

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Here we go:

  c:\Program Files (x86)\Meld>python\App\python.exe meld\bin\meld
  Cannot import: pygtk
  DLL load failed: Die angegebene Prozedur wurde nicht gefunden.

Seems like pygtk can't be found. 

Another test I did:

C:\Program Files 
(x86)\Meld\python\App\Lib\site-packages\gtk-2.0\tests\pygtk>..\..\..\..\..\pytho
n test_bin.py
Traceback (most recent call last):
  File "test_bin.py", line 3, in <module>
    from common import gtk
  File "C:\Program Files (x86)\Meld\python\App\Lib\site-packages\gtk-2.0\tests\pygtk\common.py", line 16, in <module>
    import gtk
  File "C:\Program Files (x86)\Meld\python\App\lib\site-packages\gtk-2.0\gtk\__init__.py", line 40, in <module>
    from gtk import _gtk
ImportError: DLL load failed: Die angegebene Prozedur wurde nicht gefunden.

On the other hand, running
  c:\Program Files (x86)\Meld\python\App\Lib\site-packages\gtk-2.0\runtime\bin\gtk-demo.exe
opens the demo application, so at least gtk is available.

The installation was - as you can see from the paths above - to the standard 
location.
Please be aware that this is the meld-0.0.0.0.exe released 5 days ago.

Original comment by Peter.Ba...@gmail.com on 20 Sep 2013 at 10:10

GoogleCodeExporter commented 9 years ago
Another thing I noticed: The meld folder is actually a git repository. 
The checked out files from a fresh installation differ from the one in the 
repository
n line endings. They have CRLF and the repository contains the file in LF.

Could this be related?

On the other hand, doing a  "git checkout -f ." to fix the line endings didn't 
change
anything. I still get the error 

  C:\Program Files (x86)\Meld>python\App\python.exe meld\bin\meld
  Cannot import: pygtk
  DLL load failed: Die angegebene Prozedur wurde nicht gefunden.

Original comment by Peter.Ba...@gmail.com on 20 Sep 2013 at 10:55

GoogleCodeExporter commented 9 years ago
That's correct, Meld in 0.0.0.0 is just a clone of the repository (I left the 
.git directory there in case users wanted to do a git pull).  No, I don't think 
line differences are an issue.  The reason you see them as different is that 
Git usually stores stuff on the server using Linux's line endings, but clones 
in Windows use Windows' line endings (which then get converted during pushes).

Sorry, I haven't been able to re-create this issue, so I'm gunna make some 
stabs in the dark.  First, try running "python\Python-Portable.exe 
meld\bin\meld".  If that doesn't work, check your path for older/other versions 
of GTK and/or PyGTK.  To be sure it's not a path issue, you can temporarily 
clear your path by running "SET PATH=" before trying to run Meld.  But please 
try running Python-Portable.exe first before clearing or editing your path.

Original comment by keeganw...@gmail.com on 20 Sep 2013 at 9:30

GoogleCodeExporter commented 9 years ago
You probably know this already, but when trying the blank path route, make sure 
to run Meld in the same cmd.exe you clear the path in.

Original comment by keeganw...@gmail.com on 20 Sep 2013 at 11:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Running python\Python-Portable.exe meld\bin\meld shows the splash screen of the
Python-Portabe and then a window (looking like a cmd window) is opened and 
immediately
closed again. I happens so fast I can't see the content.

Clearing the PATH doesn't help either:
c:\Program Files (x86)\Meld\python\App>python ..\..\meld\bin\meld
Cannot import: pygtk
DLL load failed: Die angegebene Prozedur wurde nicht gefunden.

Any other suggestions how to nail this down?

Original comment by Peter.Ba...@gmail.com on 24 Sep 2013 at 7:30

GoogleCodeExporter commented 9 years ago
Hmm, I really thought PATH was going to be the issue.  I've asked on the Meld 
list, I'm not sure what else to try at the moment.  Does this work when you 
install Python and PyGTK and set PYTHON_HOME?  Or do you get the failure then 
too?

Original comment by keeganw...@gmail.com on 24 Sep 2013 at 8:38

GoogleCodeExporter commented 9 years ago
OK, I tried the newly released installer meld-1.8.1.0.exe on a *different* 
machine
and meld GUI opens up. So it is either fixed in the new version or its something
specific to my work machine where I tried it on. 

I will try the new release on my work machine, too, to see if it cures the 
problem.
Otherwise I'll take a stab at installing Python and PyGTK as you suggested,
but it will probably take me a few days to try it out.

Original comment by Peter.Ba...@gmail.com on 24 Sep 2013 at 9:46

GoogleCodeExporter commented 9 years ago
I'm thinking it's gotta be something machine specific since I think several 
users (at the very least myself) are using Win7 64 Bit with this installer 
without issue.  I just wish I knew what could be different about that machine.

Original comment by keeganw...@gmail.com on 24 Sep 2013 at 1:20

GoogleCodeExporter commented 9 years ago
I am no longer able to reproduce the issue, as my work machine was switched 
from Windows to Linux due to project change. As this was the only machine I 
noticed this
(my private machine didn't show this issue), I am fine with closing it. 

Sorry for the long delay.

Original comment by Peter.Ba...@gmail.com on 29 Oct 2013 at 2:00

GoogleCodeExporter commented 9 years ago
Sorry we couldn't reproduce, but thanks for your response.  Enjoy life without 
Windows.

Original comment by keeganw...@gmail.com on 30 Oct 2013 at 4:19

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
my work machine is win7 

Original comment by kelylm...@gmail.com on 12 Dec 2013 at 6:20

Attachments:

GoogleCodeExporter commented 9 years ago
I don't understand what your problem has to do with this issue.  If it's 
unrelated, please open a new issue rather than hijacking this one.  I also 
don't see any filenames in your screenshot.  Were you browsing VCS changes?  If 
so, which system?

Original comment by keeganw...@gmail.com on 12 Dec 2013 at 6:24

GoogleCodeExporter commented 9 years ago
meld can open, but not the contents of the text display. the system is window 7.
And I very much like this tools。

Original comment by kelylm...@gmail.com on 17 Dec 2013 at 5:03

Attachments:

GoogleCodeExporter commented 9 years ago
Please open a new issue then.  And 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

Original comment by keeganw...@gmail.com on 17 Dec 2013 at 6:07

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
F:\lm\meld\meld-1.8.3\Meld>python\App\python.exe meld\bin\meld
F:\lm\meld\meld-1.8.3\Meld\meld\meld\meldwindow.py:226: PangoWarning: couldn't l
oad font "瀹嬩綋 9", falling back to "Sans 9", expect ugly output.
  self.widget.show()
F:\lm\meld\meld-1.8.3\Meld\meld\meld\meldwindow.py:226: PangoWarning: couldn't l
oad font "瀹嬩綋 Not-Rotated 9", falling back to "Sans Not-Rotated 9", 
expect ug
ly output.
  self.widget.show()
F:\lm\meld\meld-1.8.3\Meld\meld\meld\meldwindow.py:641: Warning: g_object_set_qd
ata: assertion `G_IS_OBJECT (object)' failed
  self.notebook.remove_page(page_num)
meld\bin\meld:167: GtkWarning: gdkdrawable-win32.c:2013 drawable is not a pixmap
 or window
  gtk.main()
F:\lm\meld\meld-1.8.3\Meld\meld\meld\task.py:114: Warning: g_object_set_qdata: a
ssertion `G_IS_OBJECT (object)' failed
  ret = task()

Original comment by kelylm...@gmail.com on 17 Dec 2013 at 6:34

Attachments:

GoogleCodeExporter commented 9 years ago
Hmm, nothing jumps out at me there, but I'm not a GTK expert.  I suggest asking 
on Meld's mailing list: https://mail.gnome.org/mailman/listinfo/meld-list.
It seems like an environmental issue, but I don't know enough to point you in 
the right direction.  It might be something about your system, or it might be 
something about the Python I bundle.  I'll keep an eye out for your message and 
see what they suggest.

Original comment by keeganw...@gmail.com on 18 Dec 2013 at 2:21

GoogleCodeExporter commented 9 years ago
Others have reported this issue as well.  Please follow 
http://code.google.com/p/meld-installer/issues/detail?id=42, I'll post all 
updates for this issue there from now on.

Original comment by keeganw...@gmail.com on 30 Dec 2013 at 6:20

GoogleCodeExporter commented 9 years ago
It is possible that this issue is related to a conflicting installation of 
python. I fixed this by running:
<cmd>
% where python
<cmd>

This showed a conflicting installation of python that was bundled with 
collabnet subversion server. This could be corrected by removing the the 
conflicting python from system PATH env.

On a related note, it would be great to have Portable Python layer fail 
verbosely when such errors occur....

Original comment by tim.c.qu...@gmail.com on 25 Jun 2014 at 1:56