Cannot build 3.16.2 on Windows



Hi,

I'm trying to build Meld on Windows. I've cloned the repo, installed Python 2.7.6, cx_Freeze 4.3.2 and PyGI 3.14.0 AIO. The description on https://download.gnome.org/binaries/win32/meld/3.16/SOURCES states that we should have PyGI 3.14.0 AIO rev19 installed but I couldn't find rev19 anywhere. There's only rev22 (pygi-aio-3.14.0_rev22-setup.exe) on https://sourceforge.net/projects/pygobjectwin32/files

If I install rev22 and execute `python setup_win32.py bdist_msi` I get some "libgnutls-26.dll is missing" error. I've manually copied that file into "Python27/Lib/site-packages/gnome" and executed `python setup_win32.py bdist_msi` again, sucessfully created the msi file, and then I installed Meld using that msi but Meld failed to launch. It gives the following error:

```
---------------------------
cx_Freeze: Python error in main script
---------------------------
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module>
    exec code in m.__dict__
  File "bin/meld", line 259, in <module>
  File "bin/meld", line 162, in check_requirements
  File "C:\Python27\lib\site-packages\gi\importer.py", line 67, in load_module
    dynamic_module._load()
  File "C:\Python27\lib\site-packages\gi\module.py", line 296, in _load
    self._overrides_module = importlib.import_module('gi.overrides.' + self._namespace)
  File "C:\Python27\lib\importlib\__init__.py", line 37, in import_module
    __import__(name)
  File "C:\Python27\lib\site-packages\gi\overrides\Gtk.py", line 118, in <module>
    class Widget(Gtk.Widget):
  File "C:\Python27\lib\site-packages\gi\module.py", line 183, in __getattr__
    interfaces = tuple(interface for interface in get_interfaces_for_object(info)
  File "C:\Python27\lib\site-packages\gi\module.py", line 109, in get_interfaces_for_object
    interfaces.append(getattr(module, name))
  File "C:\Python27\lib\site-packages\gi\module.py", line 320, in __getattr__
    return getattr(self._introspection_module, name)
  File "C:\Python27\lib\site-packages\gi\module.py", line 222, in __getattr__
    wrapper = metaclass(name, bases, dict_)
  File "C:\Python27\lib\site-packages\gi\types.py", line 234, in __init__
    register_interface_info(cls.__info__.get_g_type())
TypeError: must be an interface

---------------------------
OK  
---------------------------

```

Is there anything I should do? Is it because I've installed rev22 instead of rev19? If so, where can I find rev19? Just in case I've created a ticket and asked the author to re-upload rev19: https://sourceforge.net/p/pygobjectwin32/tickets/55/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]