Changes

Jump to: navigation, search

Run Gramps40 for Windows from source using Python 2.7.3

387 bytes added, 23:50, 27 October 2022
m
Clear stub template from locked old page in support of https://gramps.discourse.group/t/gramps-5-1-wiki-manual-stub-eradication/2938
{{man warn|Work in progress!!|Nobody guarantees anything at all!<br/>Any comments and help (e.g. on wiki pages) are welcome.<br><br>Last update: 19.01.2014<br>Introducing the new PyGI-3.10.2-AIO Package<br><br>'''Work in progress!!'''}}{{out of date}}
This page provides information how to run Gramps 4.0.x to 4.1.x from source on a Microsoft Windows system with a 32 bit Python 2.7.6 (and Python 3.2 or greater).
 
The principles are still OK. For a time without an AIO package that was a good way to have a running Gramps for Windows using Python 2.7.3. But the now available AIO package has a better usability. To prevent two different versions no further actions where done since the beginning of 2014.
{{man menu|Please note: Gramps 4.2.x and newer only work with Python 3.2 or greater.}}
==Windows operating system==
* Win Vista: no information available
* Win7.x: no special installations are known (all test done using Win7 Professional SP1 64bit German)
* Win8.x: no information available
To give Gramps the access to this software we have to add the directory of the related binaries to the PATH environment variable. But to prevent trouble with the used dll versions between GraphViz and Gramps it's strongly recommended to add this at the end of PATH
SET PATH=%PATH%;C:\Program Files (x86)\Graphviz2.30\bin\
{{man warn| Using "Graph View" GraphViz 2.34 or higher forces an error (#{{bug|7109}} Fixed in Gramps 4.2.0). At #{{bug|7109 }} you will find a patch to solve the issuefor older versions of Gramps.<br>
Without this patch and a still unsolved issue one should use graphviz-2.30.1.zip from http://www.graphviz.org/pub/graphviz/stable/windows/. The handling is the same as above}}
<br>
Comments: GraphViz will be used e. g. for any report in Reports --> Graphs. Without GraphViz there is only one output format "Graphvi File". If all is OK there are several output formats available (e. g. "PDF (Graphviz)", "JPEG image" etc.).
[https://www.gramps-project.org/bugs/view.php?id=7109 #{{bug|7109]}}
* alternate http://portableapps.com/node/38245 '''GVEdit (Graphviz) Portable'''
Optional packages
* From http://www.ghostscript.com/download/gsdnld.html download the "Ghostscript GPL Release" for "Ghostscript 9.10 for Windows (32 bit)" and run the downloaded file gs910w32.exe. For the example we again use the default installation.
** Python / Gramps needs to know the folder where the binaries are stored (default: "C:\Program Files (x86)\gs\gs9.10\bin") by defining the environment variable PATH.<code>SET PATH=%PATH%;C:\Program Files (x86)\gs\gs9.10\bin\</code>
** As option it's possible to place the content of the binary folder (default: "C:\Program Files (x86)\gs\gs9.10\bin") into the same folder as python.exe to prevent any changes of the environment variable PATH.
* From http://pages.cs.wisc.edu/~ghost/gsview/get50.htm download and run gsv50w32.exe (e. g. into the default install folder: C:\Program Files (x86)\Ghostgum).
==Start Gramps 4.0.x==
===Get Gramps sources===
For all examples it's assumed that the Gramps source (e.g. from the GIT repository httphttps://gitgithub.code.sf.netcom/pgramps-project/gramps/source/ or the .tar.gz from from http://sourceforge.net/projects/gramps/files/Stable/../) will be stored into "C:\Gramps4.0".
It's helpful to use a special client for Windows to get these sources. Also if one gets sources only such a tool provides the possibility of history search and or compare and also to mark differences between the current version on the computer and the repository.
==Known Major Issues==
As known per 2013-12-16
* GraphViz 2.34 and later causes an error in Graph View:<strike>see http://www.gramps-project.org/bugs/view.php?id={{bug|7277 }} for more details</strike>('''It's solved with the AIO for Gramps 4.1.1''')
* no Django
* [[Run_Gramps40_for_Windows_from_source_using_Python_2.7.3#gtkspell |gtkspell]]:
==See also==
*[[GEPS 029: GTK3-GObject introspection Conversion]]
*[[GrampsAIO-4 package updating]]
*[[Gramps for Windows with MSYS2]]
[[Category:GEPS|W]]
[[Category:Developers/General]]

Navigation menu