Gramps 4.0.0-alpha4 ?

classic Classic list List threaded Threaded
78 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

Gramps 4.0.0-alpha4 ?

jerome
Hi,


> Works for me also. Thanks to all of you. (Time for another alpha with this change)[1]

Any idea for a date? Before 20 january?

I will have no time on next week.

I did not look yet at release version[2] with svn revision.
Else, others steps for a release should be the same[3].


[1] http://www.gramps-project.org/bugs/view.php?id=6276
[2]
http://www.gramps-project.org/wiki/index.php?title=What_to_do_for_a_release#Working_on_VERSION
[3]
http://www.gramps-project.org/wiki/index.php?title=What_to_do_for_a_release#Guidelines_for_version_4.0

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Helge.Herz-2
Hi,

is there any where a description how to run Gramps 4.0.0 on a Windows
(prefered Win7 64 Bit)? I would like to spend time for tests.
Following the instructions for Gramps 4.x I have to use GLib 3.x - but I
couldn't find it (see http://www.gtk.org/download/index.php) nor I find
any information when it could be available.
Thanks
- Helge
Am 09.01.2013 14:09, schrieb Jérôme:

> Hi,
>
>
>> Works for me also. Thanks to all of you. (Time for another alpha with this change)[1]
> Any idea for a date? Before 20 january?
>
> I will have no time on next week.
>
> I did not look yet at release version[2] with svn revision.
> Else, others steps for a release should be the same[3].
>
>
> [1] http://www.gramps-project.org/bugs/view.php?id=6276
> [2]
> http://www.gramps-project.org/wiki/index.php?title=What_to_do_for_a_release#Working_on_VERSION
> [3]
> http://www.gramps-project.org/wiki/index.php?title=What_to_do_for_a_release#Guidelines_for_version_4.0
>
> ------------------------------------------------------------------------------
> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
> and much more. Keep your Java skills current with LearnJavaNow -
> 200+ hours of step-by-step video tutorials by Java experts.
> SALE $49.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122612
> _______________________________________________
> Gramps-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-devel


------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

pat49
Helge,

Does http://linbox.free.fr/cross-compile/binaries/packages/ have what you want?
Agdes 1 January 2013 @ 2:02 pm

Gtk3 ( http://www.tarnyko.net/en/?q=node/20 ) / Introspection ( http://opensourcepack.blogspot.fr/p/pygobject-pygi-aio.html ) and libs ( http://linbox.free.fr/cross-compile/binaries/packages/ ) work under Windows.
I do not know about Gtk3 themes under this OS ( http://blogs.gnome.org/alexl/2012/03/27/moar-windows-themes/ ) …

Spotted this in a comment on the Gramps 4.0 alpha1 release
http://gramps-project.org/2012/12/gramps-4-0-0-alpha1-released/

-Pat

---- On Wed, 09 Jan 2013 11:55:30 -0800 Helge.Herz<[hidden email]> wrote ----

Hi,

is there any where a description how to run Gramps 4.0.0 on a Windows
(prefered Win7 64 Bit)? I would like to spend time for tests.
Following the instructions for Gramps 4.x I have to use GLib 3.x - but I
couldn't find it (see http://www.gtk.org/download/index.php) nor I find
any information when it could be available.
Thanks
- Helge
Am 09.01.2013 14:09, schrieb Jérôme:

> Hi,
>
>
>> Works for me also. Thanks to all of you. (Time for another alpha with this change)[1]
> Any idea for a date? Before 20 january?
>
> I will have no time on next week.
>
> I did not look yet at release version[2] with svn revision.
> Else, others steps for a release should be the same[3].
>
>
> [1] http://www.gramps-project.org/bugs/view.php?id=6276
> [2]
> http://www.gramps-project.org/wiki/index.php?title=What_to_do_for_a_release#Working_on_VERSION
> [3]
> http://www.gramps-project.org/wiki/index.php?title=What_to_do_for_a_release#Guidelines_for_version_4.0
>
> ------------------------------------------------------------------------------
> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
> and much more. Keep your Java skills current with LearnJavaNow -
> 200+ hours of step-by-step video tutorials by Java experts.
> SALE $49.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122612
> _______________________________________________
> Gramps-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-devel


------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel


------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Helge.Herz-2
I'll try this.
Thanks again
-Helge

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Benny Malengier
We need windows developers to try to get the windows port moving.
I assume it will not be easy, with the main problem GTK3 on windows.

See eg https://mail.gnome.org/archives/gtk-devel-list/2012-August/msg00072.html but that is already from August, so things might have improved.

As long as some star GTK applications don't switch to GTK3, there is little hope for big help on getting GTK3 on windows working. See eg for inkscape:
https://bugs.launchpad.net/inkscape/+bug/1088612

Same for Gimp, Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=627699), ...

So, one of my reasons to originally never do a stable 4.0 release was that windows will never have 4.0. Now we decided to release a stable 4.0.0 after all in the near future.
The hope is this sufficiently pushes windows developers and the library developers to get the toolchain working in windows.

As that does not seem for tomorrow (though I hope you can help with it) , we decided that 3.4 will receive longer patches and support. I would hope we also create a virtualbox image with Gramps pre-installed. Virtualized apps are not ideal, but they do mean we have a stop-gap solution for windows users....

Benny


2013/1/9 Helge.Herz <[hidden email]>
I'll try this.
Thanks again
-Helge

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel


------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Benny Malengier
Helge,

Note that an application like Pidgin is in the same situation as Gramps:
https://developer.pidgin.im/wiki/Roadmap3.0.0

So it seems a good idea to me to look around also there on how they handle the windows port.

Benny


2013/1/9 Benny Malengier <[hidden email]>
We need windows developers to try to get the windows port moving.
I assume it will not be easy, with the main problem GTK3 on windows.

See eg https://mail.gnome.org/archives/gtk-devel-list/2012-August/msg00072.html but that is already from August, so things might have improved.

As long as some star GTK applications don't switch to GTK3, there is little hope for big help on getting GTK3 on windows working. See eg for inkscape:
https://bugs.launchpad.net/inkscape/+bug/1088612

Same for Gimp, Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=627699), ...

So, one of my reasons to originally never do a stable 4.0 release was that windows will never have 4.0. Now we decided to release a stable 4.0.0 after all in the near future.
The hope is this sufficiently pushes windows developers and the library developers to get the toolchain working in windows.

As that does not seem for tomorrow (though I hope you can help with it) , we decided that 3.4 will receive longer patches and support. I would hope we also create a virtualbox image with Gramps pre-installed. Virtualized apps are not ideal, but they do mean we have a stop-gap solution for windows users....

Benny


2013/1/9 Helge.Herz <[hidden email]>

I'll try this.
Thanks again
-Helge

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel



------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Helge.Herz-2
I'm sure if I'm not really a Python developer. But I'll try to build the right environment up to be able to debug using eclipse.
But because of my low knowledge of the Python environment I still fight to install the right packages.
I have Python 3.3 (32 bit) and GTK+ 3.6.1 from http://www.tarnyko.net/en/?q=node/20 on my machine (Win7, 64 Bit)
The GTK applications are running mostly:
+ Display always OK
- the editable Combo box isn't editable(but may be that's not a real issue).
The "python setup.py build" from Gramps 4.0 calls for a missing libgcc_s_sjlj-1.dll --> I learned it's an Win7 issue.
I took this DLL from http://dll-files.org/7947/libgcc_s_sjlj-1.dll.html to \Windows\SysWOW64
Now "python setup.py build" from Gramps 4.0  runs better, but it runs into an error (Gramps 4.0 from http://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40 by svn) :
Compiling build/data/man/\pt_BR/gramps.1.gz >> share/man/\pt_BR/man1.
Compiling build/data/man/\sv/gramps.1.gz >> share/man/\sv/man1.
Der Befehl "{" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Traceback (most recent call last):
  File "setup.py", line 446, in <module>
    ('share/gramps/icons/hicolor/scalable', IMAGE_SC),
  File "C:\Python33\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "C:\Python33\lib\distutils\dist.py", line 917, in run_commands
    self.run_command(cmd)
  File "C:\Python33\lib\distutils\dist.py", line 936, in run_command
    cmd_obj.run()
  File "setup.py", line 292, in run
    build_intl(self)
  File "setup.py", line 163, in build_intl
    if intltool_version() < (0, 25, 0):
TypeError: unorderable types: NoneType() < tuple()
python -c "from gramps.grampsapp import main; main()" [comment: Win needs " instead ' for the command line] tells about other errors:
153: WARNING: trans.py: line 219: Translation might not be complete, not working  for your locale
155: WARNING: grampsapp.py: line 195: You don't have the python bsddb3 package installed. This package is needed to start Gramps.

Now I'm looking for these packages without any effort this night!
[comment: I wont install as much as possible - I try to install the minimum as required.]
- Helge (by until the next evening)
Am 09.01.2013 23:47, schrieb Benny Malengier:
Helge,

Note that an application like Pidgin is in the same situation as Gramps:
https://developer.pidgin.im/wiki/Roadmap3.0.0

So it seems a good idea to me to look around also there on how they handle the windows port.

Benny



------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Benny Malengier
Helge,

I would suggest testing on windows and not doing the man things in that case. The good thing of setup.py is that it is regular python, so you can easily add windows specific logic.

For example, there is a problem with the function intltool_version function of setup.py in windows, so you should do that different on windows.

I would suggest for now to disable in build of setup.py the functions build_man and build_intl.

To add a test for windows in setup.py, just add lines:

 import platform
 if platform.system() in ["Windows", "win32"]:

to skip stuff. That should fix the first error with TypeError: unorderable types: NoneType() < tuple(), if you skip build_intl.

For the second package, bsddb3, that is an easy one. You need to download bsddb from oracle, install: http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html?ssSourceSiteId=ocomen
Then obtain the python bindings (http://www.jcea.es/programacion/pybsddb.htm) and install those (part of easy_install I think).
Take the latest stable version!

Benny

2013/1/10 Helge.Herz <[hidden email]>
153: WARNING: trans.py: line 219: Translation might not be complete, not working  for your locale
155: WARNING: grampsapp.py: line 195: You don't have the python bsddb3 package installed. This package is needed to start Gramps.



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Benny Malengier
And please, document your progress on a wiki page.
We can then make a bug ticket pointing to this wiki about windows issues.

Benny


2013/1/10 Benny Malengier <[hidden email]>
Helge,

I would suggest testing on windows and not doing the man things in that case. The good thing of setup.py is that it is regular python, so you can easily add windows specific logic.

For example, there is a problem with the function intltool_version function of setup.py in windows, so you should do that different on windows.

I would suggest for now to disable in build of setup.py the functions build_man and build_intl.

To add a test for windows in setup.py, just add lines:

 import platform
 if platform.system() in ["Windows", "win32"]:

to skip stuff. That should fix the first error with TypeError: unorderable types: NoneType() < tuple(), if you skip build_intl.

For the second package, bsddb3, that is an easy one. You need to download bsddb from oracle, install: http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html?ssSourceSiteId=ocomen
Then obtain the python bindings (http://www.jcea.es/programacion/pybsddb.htm) and install those (part of easy_install I think).
Take the latest stable version!

Benny

2013/1/10 Helge.Herz <[hidden email]>

153: WARNING: trans.py: line 219: Translation might not be complete, not working  for your locale
155: WARNING: grampsapp.py: line 195: You don't have the python bsddb3 package installed. This package is needed to start Gramps.




------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Helge.Herz-2
In reply to this post by Benny Malengier
Benny,

Thanks for all the hints.
The patch for setup.py runs well.
I didn't knew before the need to install the bsddb from oracle. So I'm now a step ahead Gramps runs behind the bsddb3 check.

But now I have trouble to get Gtk typelib to run.
I did add PyGI 3.3.91 and GIRepo and typlibs from http://opensourcepack.blogspot.fr/p/pygobject-pygi-aio.html as site-package for Python.
As told before GTK+ 3.6.1 from http://www.tarnyko.net/en/?q=node/20 is running well.
The environment variable includes the path to the GTK+ binaries.
But Gramps tells still: Gtk typelib is not installed. Install Gnome Introspection, and pygobject Version 3.3.2 or higher.
But I can't see where this message was generated.
--> No idea at this moment.  I'll do a break now and look ahead tomorrow

I did found wrong strings for Windows in const.py after running setup.py:
    LOCALE_DIR = "@LOCALE_DIR@"
        was transferred in my case to
    LOCALE_DIR = "C:\ProgrammeNeutral\Gramps 4.0\build\mo"
   
To run always correct there should be:
    LOCALE_DIR = "C:\\ProgrammeNeutral\\Gramps 4.0\\build\\mo"

At the end: Of course I'll write all my experiences on a wiki page at end of all trials.

- Helge

Am 10.01.2013 09:33, schrieb Benny Malengier:
Helge,

I would suggest testing on windows and not doing the man things in that case. The good thing of setup.py is that it is regular python, so you can easily add windows specific logic.

For example, there is a problem with the function intltool_version function of setup.py in windows, so you should do that different on windows.

I would suggest for now to disable in build of setup.py the functions build_man and build_intl.

To add a test for windows in setup.py, just add lines:

 import platform
 if platform.system() in ["Windows", "win32"]:

to skip stuff. That should fix the first error with TypeError: unorderable types: NoneType() < tuple(), if you skip build_intl.

For the second package, bsddb3, that is an easy one. You need to download bsddb from oracle, install: http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html?ssSourceSiteId=ocomen
Then obtain the python bindings (http://www.jcea.es/programacion/pybsddb.htm) and install those (part of easy_install I think).
Take the latest stable version!

Benny

2013/1/10 Helge.Herz <[hidden email]>
153: WARNING: trans.py: line 219: Translation might not be complete, not working  for your locale
155: WARNING: grampsapp.py: line 195: You don't have the python bsddb3 package installed. This package is needed to start Gramps.




------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712


_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

John Ralls-2

On Jan 10, 2013, at 3:33 PM, Helge.Herz <[hidden email]> wrote:

Benny,

Thanks for all the hints.
The patch for setup.py runs well.
I didn't knew before the need to install the bsddb from oracle. So I'm now a step ahead Gramps runs behind the bsddb3 check.

But now I have trouble to get Gtk typelib to run.
I did add PyGI 3.3.91 and GIRepo and typlibs from http://opensourcepack.blogspot.fr/p/pygobject-pygi-aio.html as site-package for Python.
As told before GTK+ 3.6.1 from http://www.tarnyko.net/en/?q=node/20 is running well.
The environment variable includes the path to the GTK+ binaries.
But Gramps tells still: Gtk typelib is not installed. Install Gnome Introspection, and pygobject Version 3.3.2 or higher.
But I can't see where this message was generated.
--> No idea at this moment.  I'll do a break now and look ahead tomorrow

I did found wrong strings for Windows in const.py after running setup.py:
    LOCALE_DIR = "@LOCALE_DIR@"
        was transferred in my case to
    LOCALE_DIR = "C:\ProgrammeNeutral\Gramps 4.0\build\mo"
   
To run always correct there should be:
    LOCALE_DIR = "C:<a href="smb://ProgrammeNeutral//Gramps">\\ProgrammeNeutral\\Gramps 4.0\\build\\mo"

At the end: Of course I'll write all my experiences on a wiki page at end of all trials.

Make sure that gi got installed into the right python (or conversely that you're using the python that gi got installed into). This can be a bit of a problem on Win32, especially if you're using a 3rd-party python like ActiveState. 

Regards,
John Ralls


------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Benny Malengier
And the check is in gramps/gui/grampsgui.py

It can be missing gi, or Pango, Gtk, Gdk typelibs.
I suppose we best split this up, and first do gi, then Pango, Gtk and Gdk, and give other message if those are missing.

Benny


2013/1/11 John Ralls <[hidden email]>

On Jan 10, 2013, at 3:33 PM, Helge.Herz <[hidden email]> wrote:

Benny,

Thanks for all the hints.
The patch for setup.py runs well.
I didn't knew before the need to install the bsddb from oracle. So I'm now a step ahead Gramps runs behind the bsddb3 check.

But now I have trouble to get Gtk typelib to run.
I did add PyGI 3.3.91 and GIRepo and typlibs from http://opensourcepack.blogspot.fr/p/pygobject-pygi-aio.html as site-package for Python.
As told before GTK+ 3.6.1 from http://www.tarnyko.net/en/?q=node/20 is running well.
The environment variable includes the path to the GTK+ binaries.
But Gramps tells still: Gtk typelib is not installed. Install Gnome Introspection, and pygobject Version 3.3.2 or higher.
But I can't see where this message was generated.
--> No idea at this moment.  I'll do a break now and look ahead tomorrow

I did found wrong strings for Windows in const.py after running setup.py:
    LOCALE_DIR = "@LOCALE_DIR@"
        was transferred in my case to
    LOCALE_DIR = "C:\ProgrammeNeutral\Gramps 4.0\build\mo"
   
To run always correct there should be:
    LOCALE_DIR = "C:\\ProgrammeNeutral\\Gramps 4.0\\build\\mo"

At the end: Of course I'll write all my experiences on a wiki page at end of all trials.

Make sure that gi got installed into the right python (or conversely that you're using the python that gi got installed into). This can be a bit of a problem on Win32, especially if you're using a 3rd-party python like ActiveState. 

Regards,
John Ralls


------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel



------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Paul Franklin-5
On 1/11/13, Benny Malengier <[hidden email]> wrote:
> And the check is in gramps/gui/grampsgui.py
>
> It can be missing gi, or Pango, Gtk, Gdk typelibs.
> I suppose we best split this up ...

Fine idea.  They'll be there normally and so it won't matter,
but when they are not there you need to know which.

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Helge.Herz-2
In reply to this post by Benny Malengier
Well I don't find the problem. I have the gi placed in
C:\Python33\Lib\site-packages  and a running GTK 3.6.1 having
libgdk_pixbuf-2.0-0.dll, libgdk-3-0.dll and some libpangoxxx.dll and
access to GTK by the right search path in my environment.
That's the content of C:\Python33\Lib\site-packages:
      <DIR>          bsddb3
      <DIR>          cairo
      <DIR>          gi
      <DIR>          lib
                          libgirepository-1.0-1.dll
                          libgirepository-1.0-1.dll64
                          README.txt
I don't know enough about all the dependencies and how the modules
search for each other.

I found ..\Gramps 4.0\windows\builder\test_dependencies.py but this
seems to be the old version for Gramps 3.x. I hope/assume that if one
could transfer it to Gramps 4.0 it could be helpful for me to go ahead.

- Helge

Am 11.01.2013 08:58, schrieb Benny Malengier:
> And the check is in gramps/gui/grampsgui.py
>
> It can be missing gi, or Pango, Gtk, Gdk typelibs.
> I suppose we best split this up, and first do gi, then Pango, Gtk and
> Gdk, and give other message if those are missing.
>
> Benny


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Benny Malengier
This test dependencies is the same you would obtain from

python3 Gramps.py -v

in the directory that contains Gramps.py

To know specifically where it crashes on, start a python3 console, and paste here output of:

python3

>>>    import gi
>>>    gi.require_version('Gtk', '3.0')
>>>    from gi.repository import Pango
>>>    from gi.repository import Gtk
>>>    from gi.repository import Gdk

on linux we have a typelib directory where gi looks. For example, I have:

/usr/lib/girepository-1.0/Gio-2.0.typelib
/usr/lib/girepository-1.0/Gtk-2.0.typelib
/usr/lib/girepository-1.0/Gtk-3.0.typelib
/usr/lib/girepository-1.0/Gtkspell-1.0.typelib

but I installed locally new gtkspell3 for use:

/usr/local/lib/girepository-1.0/GtkSpell-3.0.typelib

and for some reason also

/opt/gnome/lib64/girepository-1.0/

So these typelib files need to be found by pygobject (gi is part of pygobject).


2013/1/12 Helge.Herz <[hidden email]>
Well I don't find the problem. I have the gi placed in
C:\Python33\Lib\site-packages  and a running GTK 3.6.1 having
libgdk_pixbuf-2.0-0.dll, libgdk-3-0.dll and some libpangoxxx.dll and
access to GTK by the right search path in my environment.
That's the content of C:\Python33\Lib\site-packages:
      <DIR>          bsddb3
      <DIR>          cairo
      <DIR>          gi
      <DIR>          lib
                          libgirepository-1.0-1.dll
                          libgirepository-1.0-1.dll64
                          README.txt
I don't know enough about all the dependencies and how the modules
search for each other.

I found ..\Gramps 4.0\windows\builder\test_dependencies.py but this
seems to be the old version for Gramps 3.x. I hope/assume that if one
could transfer it to Gramps 4.0 it could be helpful for me to go ahead.

- Helge

Am 11.01.2013 08:58, schrieb Benny Malengier:
> And the check is in gramps/gui/grampsgui.py
>
> It can be missing gi, or Pango, Gtk, Gdk typelibs.
> I suppose we best split this up, and first do gi, then Pango, Gtk and
> Gdk, and give other message if those are missing.
>
> Benny


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Helge.Herz-2
I just got my connection to python3.3 with Eclipse and found the details
for calls.

But I see now just a simple import gi fails:
 >>> import gi
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "C:\Python33\lib\site-packages\gi\__init__.py", line 27, in <module>
     from ._gi import _API, Repository
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.

There are a lot of binaries on
http://linbox.free.fr/cross-compile/binaries/packages/.
May be some of these are missed in my GTK package.  I'll try it.
-Helge

Am 12.01.2013 16:48, schrieb Benny Malengier:

> This test dependencies is the same you would obtain from
>
> python3 Gramps.py -v
>
> in the directory that contains Gramps.py
>
> To know specifically where it crashes on, start a python3 console, and
> paste here output of:
>
> python3
>
> >>>    import gi
> >>>    gi.require_version('Gtk', '3.0')
> >>>    from gi.repository import Pango
> >>>    from gi.repository import Gtk
> >>>    from gi.repository import Gdk
>
> on linux we have a typelib directory where gi looks. For example, I have:
>
> /usr/lib/girepository-1.0/Gio-2.0.typelib
> /usr/lib/girepository-1.0/Gtk-2.0.typelib
> /usr/lib/girepository-1.0/Gtk-3.0.typelib
> /usr/lib/girepository-1.0/Gtkspell-1.0.typelib
>
> but I installed locally new gtkspell3 for use:
>
> /usr/local/lib/girepository-1.0/GtkSpell-3.0.typelib
>
> and for some reason also
>
> /opt/gnome/lib64/girepository-1.0/
>
> So these typelib files need to be found by pygobject (gi is part of
> pygobject).
>


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Benny Malengier
Of those packages, only glib is sufficiently core that it might contain pieces of gi.

Perahaps ask on 
#win32 channel on irc.gnome.org

As to the location for typelib on windows, I can only find:

https://mail.gnome.org/archives/commits-list/2012-October/msg07973.html

So:

+rem Copy the generated .girs and .typelibs to their appropriate places
+
+mkdir ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\share\gir-1.0
+move /y *.gir ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\share\gir-1.0\
+
+mkdir ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\lib\girepository-1.0
+move /y *.typelib ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\lib\girepository-1.0\
+:DONE
+

This seems however like build environment... The channel on irc might help there also.

Benny


2013/1/12 Helge.Herz <[hidden email]>
I just got my connection to python3.3 with Eclipse and found the details
for calls.

But I see now just a simple import gi fails:
 >>> import gi
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "C:\Python33\lib\site-packages\gi\__init__.py", line 27, in <module>
     from ._gi import _API, Repository
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.

There are a lot of binaries on
http://linbox.free.fr/cross-compile/binaries/packages/.
May be some of these are missed in my GTK package.  I'll try it.
-Helge

Am 12.01.2013 16:48, schrieb Benny Malengier:
> This test dependencies is the same you would obtain from
>
> python3 Gramps.py -v
>
> in the directory that contains Gramps.py
>
> To know specifically where it crashes on, start a python3 console, and
> paste here output of:
>
> python3
>
> >>>    import gi
> >>>    gi.require_version('Gtk', '3.0')
> >>>    from gi.repository import Pango
> >>>    from gi.repository import Gtk
> >>>    from gi.repository import Gdk
>
> on linux we have a typelib directory where gi looks. For example, I have:
>
> /usr/lib/girepository-1.0/Gio-2.0.typelib
> /usr/lib/girepository-1.0/Gtk-2.0.typelib
> /usr/lib/girepository-1.0/Gtk-3.0.typelib
> /usr/lib/girepository-1.0/Gtkspell-1.0.typelib
>
> but I installed locally new gtkspell3 for use:
>
> /usr/local/lib/girepository-1.0/GtkSpell-3.0.typelib
>
> and for some reason also
>
> /opt/gnome/lib64/girepository-1.0/
>
> So these typelib files need to be found by pygobject (gi is part of
> pygobject).
>


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Benny Malengier
On linux there is /usr/lib/python2.7/dist-packages/gi/_gi.so

so I think you need _gi.dll on windows

Benny


2013/1/12 Benny Malengier <[hidden email]>
Of those packages, only glib is sufficiently core that it might contain pieces of gi.

Perahaps ask on 
#win32 channel on irc.gnome.org

As to the location for typelib on windows, I can only find:

https://mail.gnome.org/archives/commits-list/2012-October/msg07973.html

So:

+rem Copy the generated .girs and .typelibs to their appropriate places
+
+mkdir ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\share\gir-1.0
+move /y *.gir ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\share\gir-1.0\
+
+mkdir ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\lib\girepository-1.0
+move /y *.typelib ..\..\build\win32\vs%VSVER%\%CONF%\%PLAT%\lib\girepository-1.0\
+:DONE
+

This seems however like build environment... The channel on irc might help there also.

Benny


2013/1/12 Helge.Herz <[hidden email]>

I just got my connection to python3.3 with Eclipse and found the details
for calls.

But I see now just a simple import gi fails:
 >>> import gi
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "C:\Python33\lib\site-packages\gi\__init__.py", line 27, in <module>
     from ._gi import _API, Repository
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.

There are a lot of binaries on
http://linbox.free.fr/cross-compile/binaries/packages/.
May be some of these are missed in my GTK package.  I'll try it.
-Helge

Am 12.01.2013 16:48, schrieb Benny Malengier:
> This test dependencies is the same you would obtain from
>
> python3 Gramps.py -v
>
> in the directory that contains Gramps.py
>
> To know specifically where it crashes on, start a python3 console, and
> paste here output of:
>
> python3
>
> >>>    import gi
> >>>    gi.require_version('Gtk', '3.0')
> >>>    from gi.repository import Pango
> >>>    from gi.repository import Gtk
> >>>    from gi.repository import Gdk
>
> on linux we have a typelib directory where gi looks. For example, I have:
>
> /usr/lib/girepository-1.0/Gio-2.0.typelib
> /usr/lib/girepository-1.0/Gtk-2.0.typelib
> /usr/lib/girepository-1.0/Gtk-3.0.typelib
> /usr/lib/girepository-1.0/Gtkspell-1.0.typelib
>
> but I installed locally new gtkspell3 for use:
>
> /usr/local/lib/girepository-1.0/GtkSpell-3.0.typelib
>
> and for some reason also
>
> /opt/gnome/lib64/girepository-1.0/
>
> So these typelib files need to be found by pygobject (gi is part of
> pygobject).
>


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Benny Malengier

2013/1/12 Benny Malengier <[hidden email]>
On linux there is /usr/lib/python2.7/dist-packages/gi/_gi.so

so I think you need _gi.dll on windows

And as John said, it must be in python3.3 dist-packages, so on PYTHONPATH you have in python3!


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gramps 4.0.0-alpha4 ?

Helge.Herz-2
After all installations I don't have the _gi.dll neither in my python path nor somewhere on my pc.
Searching the WEB it seems to me: this binary file isn't available for Windows up today (e. g. http://stackoverflow.com/questions/7275322/how-to-install-pygi-python-gobject-introspection-on-windows)
I'll try for further searches and come back having a solution. But until this time Gramps 4.0 won't run for Windows.

By the way: I looked also for other packages and (may be I'm wrong) but it seems to me also that pyexiv2 for Windows is available for Python 2.7 only. So I have to do a roll back to Python 2.7 before further trials.

- Helge

Am 12.01.2013 17:21, schrieb Benny Malengier:

2013/1/12 Benny Malengier <[hidden email]>
On linux there is /usr/lib/python2.7/dist-packages/gi/_gi.so

so I think you need _gi.dll on windows

And as John said, it must be in python3.3 dist-packages, so on PYTHONPATH you have in python3!



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912


_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
1234