Menu

#11 Glade not starting with PyGI 3.14.0 AIO rev13, Win7 x64, Python 3.4.2

1.0
closed
nobody
glade (1)
2015-08-27
2015-03-22
zeroxx1986
No

Hi,

Basically the title says everything. I've installed the PyGI 3.14.0 AIO rev13; my system is Windows 7 x64, with Python 3.4.2.

When I try to run glade.exe which was installed also, I can see in the Task Manager, that glade.exe starts to run, even has some cpu time, then after about 5-6 seconds, it disappears. No window is visible; without the Task Manager, one could believe nothing happened.

I tried to search for some debug switch for glade which could tell me more when starting from the cmd, but didn't find any; there aren't any error logs that I'm aware of.

Can you please help to find the problem?

Br.,
Z

Discussion

1 2 > >> (Page 1 of 2)
  • tumagonx

    tumagonx - 2015-03-22

    glade was built with no console so no stdout seen. I try to install by selecting glade only (and Base package). It works here (64bit).

    May I know your selections during installation?
    Could be dependency problem, glade load extra widgets (such gda, gweather, etc) when they are exist.

     
  • zeroxx1986

    zeroxx1986 - 2015-03-22

    Hi,
    Thanks for the reply!

    I uninstalled the package, and reinstalled just the glade and the base; what you advised.
    This is what I've done:
    First screen - available Gnome/Freedesktop libraries: Base Packages, GTK+ 3.14.9
    Second screen - non-Gnome libraries: nothing
    Third screen - development packages: Glade 3.18

    After install, I tried starting Glade, but nothing; same as earlier. Around 40 MBs of RAM was allocated, at first some CPU time was seen, but then it dropped to 0, and 2-3 seconds later it disappears from the list.

     
  • tumagonx

    tumagonx - 2015-03-22

    Hmm.. I really don't know what happen.

     
  • tumagonx

    tumagonx - 2015-06-25

    Is this still happened with rev18?

     
  • zeroxx1986

    zeroxx1986 - 2015-06-26

    Hi!

    I tried it now, but sadly, it still won't open :( Same as before, exactly the same.

     
  • nonsenton

    nonsenton - 2015-07-23

    Hi ,

    same issue in pygi-aio-3.14.0_rev19

    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
      <Provider Name="Application Error" /> 
      <EventID Qualifiers="0">1000</EventID> 
      <Level>2</Level> 
      <Task>100</Task> 
      <Keywords>0x80000000000000</Keywords> 
      <TimeCreated SystemTime="2015-07-22T21:08:33.000000000Z" /> 
      <EventRecordID>115090</EventRecordID> 
      <Channel>Application</Channel> 
      <Computer>host</Computer> 
      <Security /> 
      </System>
    - <EventData>
      <Data>glade.exe</Data> 
      <Data>3.18.3.0</Data> 
      <Data>5544e03d</Data> 
      <Data>libglib-2.0-0.dll</Data> 
      <Data>2.42.2.0</Data> 
      <Data>5593b8f2</Data> 
      <Data>c0000005</Data> 
      <Data>0003f85e</Data> 
      <Data>1568</Data> 
      <Data>01d0c4c290ef75eb</Data> 
      <Data>C:\Python27\Lib\site-packages\gnome\glade.exe</Data> 
      <Data>C:\Python27\Lib\site-packages\gnome\libglib-2.0-0.dll</Data> 
      <Data>cf002383-30b5-11e5-bf42-74de2b9e5910</Data> 
      <Data /> 
      <Data /> 
      </EventData>
      </Event>
    
     
  • xcircle

    xcircle - 2015-07-26

    I've the same problem ...
    But the pygi-aio-3.14.0_rev12 is working well.

    I put some rev12-dll's from the gnome folder into the gnome folder from rev19 (trial'n'error). But now rev19 is working well.

    I've attached for you the new dll's ...
    I hope the rev20 will run out of the box :P

     
  • xcircle

    xcircle - 2015-07-26

    I've forgot the attachment ...

     
  • tumagonx

    tumagonx - 2015-07-26

    I'm still clueless about this, is this happen when 32 bit installed on 64 bit Windows? whats your Windows OS language?

     
  • xcircle

    xcircle - 2015-07-26

    I've the problem with rev19 at Win7 Professional 64bit and Win 8.1 Pro 64bit (german language).
    Rev12 is still running at Win7 Pro 64bit, Win8.1 Pro 64bit and Win10 Insider Preview 32bit (german language). I've testet with python3.4.3 32 and 64bit.

     
    • tumagonx

      tumagonx - 2015-07-26

      If you install other development tools, say devhelp, gedit, gtranslator etc are those work?

       
  • xcircle

    xcircle - 2015-07-27

    Following programs run OOTB after installing PyGI 3.14.0 AIO rev19

    • devhelp
    • gds-browser
    • gda-control-center
    • gedit
    • ghex
    • gtranslator

    tested on Win7 Pro 64bit german and python 3.4.3 32bit (fresh installation)

     
  • Asterix

    Asterix - 2015-08-03

    Glade doesn't run for me neither (rev19). After copying the DLLs attache by xcurcle it works.
    But from a python console, I cannot import GLib:

    from gi.repository import Gtk
    from gi.repository import Gdk
    from gi.repository import Glib
    Traceback (most recent call last):
    File "<frozen importlib._bootstrap="">", line 2158, in _find_spec
    AttributeError: 'DynamicImporter' object has no attribute 'find_spec'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "C:\Python34\lib\site-packages\gi\importer.py", line 53, in find_module
    'introspection typelib not found' % namespace)
    ImportError: cannot import name Glib, introspection typelib not found

    But GLib-2.0.typelib exists in site-packages/gnome/lib/girepository-1.0.

     
  • Asterix

    Asterix - 2015-08-03

    Forget my comment. with GLib corretly written it works :/

     
  • tumagonx

    tumagonx - 2015-08-03

    Since it runs fine for me and another machine I have, maybe with FPC postw32 to turn glade.exe into console you can see what happened before it quit? and a dependency walker output log also helpful for me.

     
  • Asterix

    Asterix - 2015-08-04

    I don't know what FPC postw32 means, but I run dependency walker on glade.exe.

    It doesn't find those files:
    GPSVC.DLL
    IESHIMS.DLL
    That doesn't sound really important to me. Is it?
    I attached the dependency walker file

     
  • Asterix

    Asterix - 2015-08-04

    I installed FPC and tried to run postw32 -m console -i 'c:\Python34\Lib\site-packages\gnome\glade.exe' but it replies "Cannot open file 'c:\Python34\Lib\site-packages\gnome\glade.exe', even if term is run as administrator

     
  • Asterix

    Asterix - 2015-08-04

    after moving glade.exe in the same folder as postw32, I was able to make the change. But nothing is printed in console when I run the new binary from a console.
    If I run it from explorer, a console is opened, but nothing is printed in it.

     
  • tumagonx

    tumagonx - 2015-08-16

    Sorry for the late reply, dependency log looks fine for me. Additionally I've test glade in low spec non-english XP box and glade runs fine too. I'm afraid you have to debug it yourself.

    Here I include debug build of glade, just extract and overwrite to gnome subdir.

    Try to run it, if it still crashed, you need to debug it
    - Get into Gnome prompt, maximize the window and run:
    gdb [your gnome subdi path]\glade.exe

    note: gdb should already there if you install development tools.

    • inside GDB type r and enter
      if it crashed/freeze. back to gdb window then type bt and enter

    paste the backtrace output here

     

    Last edit: tumagonx 2015-08-16
  • Asterix

    Asterix - 2015-08-17

    Thanks for the debug verision. It also fails to run. So I used gdb on it and here is the result:

    (gdb) r
    Starting program: c:\Python34\Lib\site-packages\gnome\glade.exe
    [New Thread 1420.0xa50]
    [New Thread 1420.0x5a8]
    [New Thread 1420.0xa4]
    [New Thread 1420.0xa80]
    [New Thread 1420.0x2b0]

    Program received signal SIGSEGV, Segmentation fault.
    0x687ec62d in libglib-2.0-0!g_markup_escape_text ()
    from c:\Python34\Lib\site-packages\gnome\libglib-2.0-0.dll
    (gdb)

     
  • tumagonx

    tumagonx - 2015-08-17

    You haven't paste the backtrace, from GDB (type bt enter). The suspect in glib is common since glib is the lowest low-level dependency in this case I need the backtrace to see which trigger which.

     
  • Asterix

    Asterix - 2015-08-17

    oups, here it is:

    Program received signal SIGSEGV, Segmentation fault.
    0x687ec62d in libglib-2.0-0!g_markup_escape_text ()
    from c:\Python34\Lib\site-packages\gnome\libglib-2.0-0.dll
    (gdb) bt
    Python Exception <class 'ImportError'=""> No module named 'gdb':
    #0 0x687ec62d in libglib-2.0-0!g_markup_escape_text ()
    from c:\Python34\Lib\site-packages\gnome\libglib-2.0-0.dll
    #1 0x66855cf9 in libgtk-3-0!gtk_widget_set_name ()
    from c:\Python34\Lib\site-packages\gnome\libgtk-3-0.dll
    #2 0x63c48f79 in libgobject-2.0-0!g_object_unref ()
    from c:\Python34\Lib\site-packages\gnome\libgobject-2.0-0.dll
    #3 0x63c4ae30 in libgobject-2.0-0!g_object_set_property ()
    from c:\Python34\Lib\site-packages\gnome\libgobject-2.0-0.dll
    #4 0x66673f32 in libgtk-3-0!gtk_builder_value_from_string ()
    from c:\Python34\Lib\site-packages\gnome\libgtk-3-0.dll
    #5 0x66674935 in libgtk-3-0!gtk_builder_get_application ()
    from c:\Python34\Lib\site-packages\gnome\libgtk-3-0.dll
    #6 0x666765ac in libgtk-3-0!gtk_builder_get_application ()
    from c:\Python34\Lib\site-packages\gnome\libgtk-3-0.dll
    #7 0x687eba78 in libglib-2.0-0!g_markup_parse_context_pop ()
    from c:\Python34\Lib\site-packages\gnome\libglib-2.0-0.dll
    #8 0x687ec2a4 in libglib-2.0-0!g_markup_parse_context_parse ()
    from c:\Python34\Lib\site-packages\gnome\libglib-2.0-0.dll
    #9 0x666766cd in libgtk-3-0!gtk_builder_get_application ()
    from c:\Python34\Lib\site-packages\gnome\libgtk-3-0.dll
    #10 0x66672511 in libgtk-3-0!gtk_builder_expose_object ()
    from c:\Python34\Lib\site-packages\gnome\libgtk-3-0.dll
    #11 0x668564ab in libgtk-3-0!gtk_widget_init_template ()
    from c:\Python34\Lib\site-packages\gnome\libgtk-3-0.dll
    ---Type <return> to continue, or q <return> to quit---
    #12 0x00409f1a in glade_preferences_init (preferences=0x33eb198)
    at glade-preferences.c:180
    #13 0x63c59b4b in libgobject-2.0-0!g_type_create_instance ()
    from c:\Python34\Lib\site-packages\gnome\libgobject-2.0-0.dll
    #14 0x63c492c3 in libgobject-2.0-0!g_object_unref ()
    from c:\Python34\Lib\site-packages\gnome\libgobject-2.0-0.dll
    #15 0x63c4a1e5 in libgobject-2.0-0!g_object_newv ()
    from c:\Python34\Lib\site-packages\gnome\libgobject-2.0-0.dll
    #16 0x63c4a733 in libgobject-2.0-0!g_object_new ()
    from c:\Python34\Lib\site-packages\gnome\libgobject-2.0-0.dll
    #17 0x0040a175 in glade_preferences_new () at glade-preferences.c:221
    #18 0x004082c7 in glade_window_init (window=0x331a0c8) at glade-window.c:3184
    #19 0x63c59b4b in libgobject-2.0-0!g_type_create_instance ()
    from c:\Python34\Lib\site-packages\gnome\libgobject-2.0-0.dll
    #20 0x63c492c3 in libgobject-2.0-0!g_object_unref ()
    from c:\Python34\Lib\site-packages\gnome\libgobject-2.0-0.dll
    #21 0x63c4a1e5 in libgobject-2.0-0!g_object_newv ()
    from c:\Python34\Lib\site-packages\gnome\libgobject-2.0-0.dll
    #22 0x63c4a733 in libgobject-2.0-0!g_object_new ()
    from c:\Python34\Lib\site-packages\gnome\libgobject-2.0-0.dll
    #23 0x004094ff in glade_window_new () at glade-window.c:3459
    #24 0x0040e6bf in main (argc=1, argv=0x8d1278) at main.c:156

     

    Last edit: Asterix 2015-08-17
  • tumagonx

    tumagonx - 2015-08-18

    Here three dll according to gdb with different optimization level, please test if any coulde solve segfault.

     
  • Asterix

    Asterix - 2015-08-18

    I updated the 3 libraries. That still fails. The new backtrace says nothing:

    Program received signal SIGSEGV, Segmentation fault.
    0x687f7660 in libglib-2.0-0!g_markup_escape_text ()
    from C:\Python34\Lib\site-packages\gnome\libglib-2.0-0.dll
    (gdb) bt
    Python Exception <class 'ImportError'=""> No module named 'gdb':
    #0 0x687f7660 in libglib-2.0-0!g_markup_escape_text ()
    from C:\Python34\Lib\site-packages\gnome\libglib-2.0-0.dll
    #1 0x00000014 in ?? ()
    #2 0x03491198 in ?? ()
    #3 0x14c483c0 in ?? ()
    #4 0x5bc0b60f in ?? ()
    #5 0x44c7c35e in ?? ()
    #6 0x98b20824 in ?? ()
    #7 0x44c763c7 in ?? ()
    #8 0x9ab00424 in ?? ()
    #9 0x04c763c7 in ?? ()
    #10 0xc7967a24 in ?? ()
    #11 0x4bcfe863 in ?? ()
    #12 0xc0310000 in ?? ()
    #13 0x5b14c483 in ?? ()
    #14 0xb48dc35e in ?? ()
    #15 0x00000026 in ?? ()
    #16 0x2444c700 in ?? ()
    #17 0xc798cd08 in ?? ()
    #18 0x2444c763 in ?? ()
    #19 0xc79ab004 in ?? ()
    #20 0x2404c763 in ?? ()
    #21 0x63c7967a in ?? ()
    from C:\Python34\Lib\site-packages\gnome\libgobject-2.0-0.dll
    Backtrace stopped: Cannot access memory at address 0x940fc63d

     
  • tumagonx

    tumagonx - 2015-08-18

    I'm sorry I think I'm back at ground zero again :(
    what xcircle pick from rev12 is when some libraries are compiled with higher optimization level. Could someone narrow it down more? I believe libiintl, libgladeui and pango aren't involved.

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.