You are here

[Released] Gramps Portable 3.2.5 Development Test 2

37 posts / 0 new
Last post
Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
[Released] Gramps Portable 3.2.5 Development Test 2

"The next portable generation for research" or "Another one bites the dust"

Application: Gramps
Category: Education
Description: Gramps is a genealogy program that is both intuitive for hobbyists and feature-complete for professional genealogists. Every person has their own story but they are also part of a collective family history. Gramps gives you the ability to record the many details of an individual’s life as well as the complex relationships between various people, places and events. All of your research is kept organized, searchable and as precise as you need it to be. (from the homepage)
License: GPL 2, or later
Language: Multilingual

Download Gramps Portable 3.2.5 Development Test 2 [15.3MB download / 48.1-80.3MB installed]
(MD5: a5dfbfcb4b4e75c6afd9f0480a8a07d4)

Release Notes:

Development Test 2 (2010-12-02): older pycairo

  • pycairo 1.4.12

Development Test 1 (2010-11-24): Initial release

  • GTK2 2.16.6, Python 2.6.6
  • pygtk 2.16.0, pygobject 2.26.0, pycairo 1.8.10

A previous test version of Gramps Portable by Ormus could be found here.

Acknowledgments:

  • Thanks to Patrick Patience for hosting
  • Thanks to all devs for pieces of code Wink
  • Thanks in advance to all testers.

Enjoy!

vf2nsr
vf2nsr's picture
Offline
Last seen: 8 years 4 weeks ago
Developer
Joined: 2010-02-13 17:10
SWEET

Smile

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

eisa729
Offline
Last seen: 2 months 5 days ago
Joined: 2010-05-04 19:52
Excellent

Hi Bart.S

Great stuff. So far it works for me on Win XP SP3.

Have you contacted the Gramps Developers to have the Program hosted on Gramps.

You may want to also announce this on the gramps-windows mailing list so other windows users can test it.

Once again Thank you

Eisa

[Use links inline - mod Chris]

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
Thanks for the feedback!

No, I haven't contacted the Gramps developers.
Feel free to promote Gramps Portable wherever you want! Wink

jrfloquet
Offline
Last seen: 11 years 7 months ago
Joined: 2010-11-25 22:46
Je viens d'installer sur mon

Je viens d'installer sur mon ordi et ma clef USB, parfait

Je n'ai plus de difficulté pour faire fonctionner Gramps sous windows vista.

Merci, continuez

[Google translation below - mod Chris]

I just installed on my computer and my USB stick, perfect

I have more difficulty to run Gramps windows vista.

Thank you, keep

Cordialement

JR

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
Mais, c'est avec plaisir!

You're welcome! Smile

[@Chris: Google translation is stupid. It almost never makes sense! Blum ]

depp.jones
Online
Last seen: 37 min 33 sec ago
DeveloperTranslator
Joined: 2010-06-05 17:19
Or completely screws up the

Or completely screws up the sense. Biggrin
(je n'ai plus de difficulté... => I have no difficulty anymore...)

eisa729
Offline
Last seen: 2 months 5 days ago
Joined: 2010-05-04 19:52
RE: Thanks for the feedback!

Ok and looks like I won't need to as already on the GRAMPS wiki.

Excellent stuff

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
Eek!

Hopefully Patricks server won't explode: The last test version of Gramps Portable by Ormus has been downloaded over 100,000 times (#). And now the Gramps wiki Download page links to my release (#).

jrfloquet
Offline
Last seen: 11 years 7 months ago
Joined: 2010-11-25 22:46
Impossible éditer les documents PDF

Impossible éditer les documents .PDF avec cette version.
Les documents sont crées, mais vides.

Traduction Google

Can not edit. PDF documents with this version.
The documents are created, but empty.

Cordialement

JR

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
Ouch, dependency hell

Seems that pycairo 1.8.10 wasn't the best choice! Wink
You could replace it by pycairo 1.4.12. Let's try a downgrade. Extract the files and place them like below:

X:\PortableApps\GRAMPSPortable\App\Python26\include\pycairo\pycairo.h
X:\PortableApps\GRAMPSPortable\App\Python26\lib\pkgconfig\pycairo.pc
X:\PortableApps\GRAMPSPortable\App\Python26\Lib\site-packages\cairo\_cairo.pyd
X:\PortableApps\GRAMPSPortable\App\Python26\Lib\site-packages\cairo\__init__.py
X:\PortableApps\GRAMPSPortable\App\Python26\Lib\site-packages\cairo\__init__.pyc
X:\PortableApps\GRAMPSPortable\App\Python26\Lib\site-packages\cairo\__init__.pyo
jrfloquet
Offline
Last seen: 11 years 7 months ago
Joined: 2010-11-25 22:46
PDF

desolé, je ne sais pas faire, incompétent en informatique.

Cordialement

JR

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
I'll do a new test release.

But this will take some time (maybe next week).
In the meantime you could try the fix yourself:

  • Download pycairo-1.4.12-2.win32-py2.6.exe
  • Open 7-Zip Portable, browse to the downloaded file and extract it to a folder of your choice (e.g. X:\pycairo-1.4.12-2.win32-py2.6\)
  • Copy the files
    X:\pycairo-1.4.12-2.win32-py2.6\DATA\include\pycairo\pycairo.h
    X:\pycairo-1.4.12-2.win32-py2.6\DATA\lib\pkgconfig\pycairo.pc
    X:\pycairo-1.4.12-2.win32-py2.6\PLATLIB\cairo\__init__.py
    X:\pycairo-1.4.12-2.win32-py2.6\PLATLIB\cairo\_cario.pyd
  • to the paths specified in my last post above.

  • Delete the files
    X:\PortableApps\GRAMPSPortable\App\Python26\Lib\site-packages\cairo\__init__.pyc
    X:\PortableApps\GRAMPSPortable\App\Python26\Lib\site-packages\cairo\__init__.pyo
  • Delete folder of your choice again (X:\pycairo-1.4.12-2.win32-py2.6\)
  • Start GRAMPS Portable

Hope that helps!

jrfloquet
Offline
Last seen: 11 years 7 months ago
Joined: 2010-11-25 22:46
Je préfère attendre vos

Je préfère attendre vos corrections.

Cordialement

JR

OliverK
OliverK's picture
Offline
Last seen: 3 years 4 months ago
Developer
Joined: 2007-03-27 15:21
Before starting: StrCpy

Before starting:

StrCpy $EnchantExisted "false"
		IfFileExists "$APPDATA\enchant\*.*" 0 LanguageSwitch
		;Okay, so this is a issue I found.  It only exists when using the spellcheck plugin.  The method to fix this is the same as the GTK stuff, but maybe with some extra love
			StrCpy $EnchantExisted "True" ;could set to any other value . . . 
			Rename "$APPDATA\enchant" "$APPDATA\enchant-backup-by-Geany-Portable"	

At close:

	StrCmp $EnchantExisted "false" +2 0
					IfFileExists "$APPDATA\enchant-backup-by-Geany-Portable\*.*" 0 +3
					RmDir /r "$APPDATA\enchant" ;nothing of worth is in this directory
					Rename "$APPDATA\enchant-backup-by-Geany-Portable" "$APPDATA\enchant"

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
Thanks, Oliver!

Hmmm, I think that way it could cause issues. At least if users run multiple apps using enchant at the same time. The backup could be messed up.

RmDir /r "$APPDATA\enchant" ;nothing of worth is in this directory

Well, the spellchecker plugin for Gramps store the personal dictionaries in this directory. Say you add a few words, a file is created including these words (e.g. en_GB.dic).
Ok, we need a better solution. An environment variable to redirect this folder would be the best choice, but I'm not sure if there is already one.

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
Pidgin?

How does Pidgin Portable handle the enchant spellchecker? Or doesn't it at all?

OliverK
OliverK's picture
Offline
Last seen: 3 years 4 months ago
Developer
Joined: 2007-03-27 15:21
Didn't check

Didn't check

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
Uh oh,

AbiWord Portable uses 'RMDir /r "$APPDATA\enchant"'. Wow, just throwing user dictionaries into trash is the official portable way right now? Pardon
I won't go that way. :evil:

OliverK
OliverK's picture
Offline
Last seen: 3 years 4 months ago
Developer
Joined: 2007-03-27 15:21
AbiWord Portable uses 'RMDir

AbiWord Portable uses 'RMDir /r "$APPDATA\enchant"'. Wow, just throwing user dictionaries into trash is the official portable way right now?

Well, no. For instance, Geany adds the extra words to the local dictionary that I use, which I keep in data\settings.

This mirrors what use to have to happen with qt\trolltech keys. You had to shut them down in the order that they were started.

I won't go that way.

Probably shouldn't. But at this point, I'm not sure what could be done differently. You kind of need an outside source (like the platform) to accept some variables that we can let our launchers ping back to.

I'm sure that there is a good solution, but it would HAVE to become part of the standard and we'd have to do some major rewrites I think for it to work.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
Easy solution ;-)

Spell-checking in GRAMPS is unsupported! It's not portable (right now). Hehe Smile
For all other portable apps with enchant: It's a bug. Blum

OliverK
OliverK's picture
Offline
Last seen: 3 years 4 months ago
Developer
Joined: 2007-03-27 15:21
Spell-checking in GRAMPS is

Spell-checking in GRAMPS is unsupported! It's not portable (right now).

Yes, but it still doesn't fix it.

For all other portable apps with enchant: It's a bug.

Refreshing your dictionary is always a feature!

This is something I think we need to hash out with John via IRC . . . .

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
.

Yes, but it still doesn't fix it.

I planned to release a "Spellchecker for Gramps Portable" Plugin, which is ready but won't be published soon. And without that plugin, no enchant -> nothing to fix. 8)
I agree with you that we need a common solution though.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 4 months ago
Joined: 2007-04-15 21:08
customColors

The customColors key is the only Trolltech key which can get muddled; all the rest are cleaned up properly in PAL (pruning the tree in the right way). And like this, the customColors key doesn't really contain anything useful...

I wish I knew why developers did this sort of thing which causes trouble between apps (and in particular for us).

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

OliverK
OliverK's picture
Offline
Last seen: 3 years 4 months ago
Developer
Joined: 2007-03-27 15:21
Well, my best theory is that

Well, my best theory is that at this point, I should look into recompiling the enchant libriaries without the APPDATA dependence. The problem is then we have basically a custom port. It would be the first step in getting it merged backup to the main stream, but with the OS stuff who knows how long that would take.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
g_get_home_dir ()

enchant.c uses g_get_home_dir() and according to this it doesn't pay attention to HOME and returns the real home directory for the user. Sad

OliverK
OliverK's picture
Offline
Last seen: 3 years 4 months ago
Developer
Joined: 2007-03-27 15:21
shouldn't be to hard to fix,

shouldn't be to hard to fix, once I can get it to compile

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
Dictionary

I wish I knew why developers did this sort of thing which causes trouble between apps

Well, for a dictionary it makes (a bit) sense. Why having one per app when they could share the same words? But anyway, there should be a possibility to change that behavior (e.g. environment variable).

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
Update

New release is up. Big thanks to Patrick!

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
Spellchecker

It's not portable, but for those who don't care:

Spellchecker for Gramps Portable Dev Test 1 [2.6MB download / 6.5MB installed]

  • pyenchant 1.5.3, PyGTKSpell 2.25.3
jrfloquet
Offline
Last seen: 11 years 7 months ago
Joined: 2010-11-25 22:46
Parfait avec la nouvelle

Parfait avec la nouvelle version, les documents PDF sont bien édités.
Merci

Traduction Google :

Perfect with the new version, PDF documents are well edited.
Thank you

JR

Cordialement

JR

Darryl B
Offline
Last seen: 13 years 11 months ago
Joined: 2010-12-04 05:21
Gramps Portable 3.2.5 Development Test 2

Installed this on a USB stick. It runs on my Acer laptop under Windows 7 32 bit and on a Toshiba laptop under Windows 7 64 bit. No trouble downloading a largish (400 names) archive from an earlier version og GRAMPS. Thanks Bart.S

Darryl B

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
You're welcome

Thanks for the test report and welcome at PortableApps.com. Smile

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
[How to] Adding Graphviz and Ghostscript to Gramps Portable

I thought about creating a graphs plugin for Gramps Portable including Graphviz and Ghostscript. Since Graphviz is licensed under the CPL (not GPL compatible) I discarded the idea.
The current launcher has already the ability to deal with Ghostscript and Graphviz, it's just not documented. Call it an easter egg! (Christmas is soon ;-))

Alright, how does it work?
Just copy the local Graphviz and Ghostscript installation folders to your GrampsPortable\App directory. The Gramps Portable folder could look like this:

-\ 
It can be used in other directory configurations by including the GrampsPortable.ini file in the same directory as GrampsPortable.exe and configuring it. GraphvizDirectory and GhostscriptDirectory are the relevant ini strings.
That's all. 8)
Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
Language Switching

According to this discussion it isn't clear how to change the language of Gramps Portable the easy way.
You have two possibilities:

  • Start Gramps Portable via PortableApps.com platform. It'll use the platform language (if not disabled)
  • Edit GrampsPortable\Data\settings\GrampsPortableSettings.ini. Set the LANG ini entry to your preferred language code. (LANG=fr for french, LANG=pt_BR for brazilian portuguese, LANG=de for german ...)
    Start GrampsPortable.exe without platform

There is really no need to create a cmd file containing:

SET LANG=fr_FR.UTF-8
SET LANGUAGE=fr_UTF-8
GRAMPSPortable.exe

Hope that helps!

Edit: The link above works en francais. Just press the french flag and try again.

jrfloquet
Offline
Last seen: 11 years 7 months ago
Joined: 2010-11-25 22:46
Langue Français

Pas de problème le logiciel est en Français en appliquant les consignes de Bart.S

Cordialement

JR

Bart.S
Offline
Last seen: 5 months 1 week ago
Developer
Joined: 2008-07-23 07:56
Ah oui,

c'est formidable! Smile

eisa729
Offline
Last seen: 2 months 5 days ago
Joined: 2010-05-04 19:52
see here
Topic locked