No way! This is so cool. I'm actually working on doing almost the exact same thing. But I used py2exe instead. The problem with delphi is that it isn't open source so not every developer can afford to compile it which is kind of anti open source. Would you be interested in colaberating? Using py2exe? I was going to focus on creating a normal exe installer first and then work my way to a portable version. I use portable apps from my ipod all the time so certainly had an interest.

My current status is that I had used py2exe to create a running exe with no other dependancies after using the windows installer steps. It's still crude but I wanted to look at the current installer steps and try to create new ones for an exe. The current one adjusts a few registry settings, file associations, icons, and misc. I was just waiting till I could do those before asking the devs to help me get out a test version. I'm not sure how they prefer to do things but we could always start a windows installer sourceforge project like gimp does. I haven't gained svn commit privileges yet but maybe they could give us a branch and we could work together without a whole new project.

Christian, are you on the dev mailing list?


From: "gramps-users-request@lists.sourceforge.net" <gramps-users-request@lists.sourceforge.net>
To: gramps-users@lists.sourceforge.net
Sent: Sunday, March 29, 2009 4:45:46 AM
Subject: Gramps-users Digest, Vol 34, Issue 35

Send Gramps-users mailing list submissions to
    gramps-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.sourceforge.net/lists/listinfo/gramps-users
or, via email, send a message with subject or body 'help' to
    gramps-users-request@lists.sourceforge.net

You can reach the person managing the list at
    gramps-users-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gramps-users digest..."


Today's Topics:

  1. Re: Two small questions. (Brad Rogers)
  2. Re: upgrade problems 2.2.10 -> 3.1.1 (Doug Blank)
  3. Re: Gramplets (doug)
  4. Re: upgrade problems 2.2.10 -> 3.1.1 (Benny Malengier)
  5. Portable Gramps (Windows) (Christian Lobenstein)
  6. Re: Portable Gramps (Windows) (Gerald Britton)
  7. Re: Portable Gramps (Windows) (Christian Lobenstein)


----------------------------------------------------------------------

Message: 1
Date: Thu, 26 Mar 2009 20:30:33 +0000
From: Brad Rogers <brad@fineby.me.uk>
Subject: Re: [Gramps-users] Two small questions.
To: Gramps ML <gramps-users@lists.sourceforge.net>
Message-ID: <20090326203033.051ea35d@abydos.stargate.org.uk>
Content-Type: text/plain; charset="us-ascii"

On Thu, 26 Mar 2009 20:19:01 +0000
Brad Rogers <brad@fineby.me.uk> wrote:

Hello Brad,

> Got to Edit menu, Preferences, General tab.  There, deselect the
> "Remember last view displayed" option.

Whoops!  For "deselect" read "select".

--
Regards  _
        / )          "The blindingly obvious is
        / _)rad        never immediately apparent"

It's not your heart, it's your bank I want to break
It's Yer Money - Wonder Stuff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available

------------------------------

Message: 2
Date: Thu, 26 Mar 2009 20:33:47 -0400
From: Doug Blank <doug.blank@gmail.com>
Subject: Re: [Gramps-users] upgrade problems 2.2.10 -> 3.1.1
To: kdavenpo@tx.rr.com
Cc: gramps-users@lists.sourceforge.net
Message-ID:
    <cdaa4eb40903261733k5425146bje7b641c7bca03e8a@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On Thu, Mar 26, 2009 at 11:46 AM, <kdavenpo@tx.rr.com> wrote:

> I upgraded recently from 2.2.10.  I made  a gramps xml export and then
> imported to 3.1.1 (official rpm).  The import gave a bunch of error messages
> like
> "Objects merged-overwritten on import:
>  Family F0946
>  Family F107
>  Family F0430
> ..."  (50x)
>
> when I look at these families now in 3.1.1, they all have duplicate entries
> with the same ID, either children, events, UIDs,etc
> If I try to delete the duplicate, it deletes both!
>
> Don't know if this is related but I see over 50 blank families with ID of
> none (containing no data whatsoever), and now when I try to add a "partner"
> to an individual, it does not generate a new family ID, and instead gives me
> an error when I try to save of "ID already exists".
>
> Thanks,
> Kyle
>

Kyle,

This sounds like what happens when you import data into the same database
that exported it. Perhaps the easiest way to fix this would be to start a
new tree and import into the empty db.

-Doug


>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gramps-users mailing list
> Gramps-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gramps-users
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Fri, 27 Mar 2009 10:04:40 +0100
From: doug <drobertob@alice.it>
Subject: Re: [Gramps-users] Gramplets
To: Benny Malengier <benny.malengier@gmail.com>
Cc: "gramps-users@lists.sourceforge.net"
    <gramps-users@lists.sourceforge.net>
Message-ID: <49CC96A8.9010704@alice.it>
Content-Type: text/plain; charset=UTF-8; format=flowed

Benny Malengier wrote:
>
>
> 2009/3/26 Theo Tulley <tj.tulley@physics.org <mailto:tj.tulley@physics.org>>
>
>  <snip>
>
>
>    The 3.0 Wiki Manual -> Gramplets - lists 14 Gramplets as available, and
>    says they can be added by R-clicking on an open area of the Gramplets
>    page. All I get  by doing that is a menu offering 'Select all', with the
>    rest greyed out.
>
>
> right click on correct position in the gramplet view brings up context
> menu with as first option: Add a gramplet. It should be present
>
> Benny
>
><snip>
The correct position to call up the context menu is easily
misunderstood. You have to go *outside* the boundary of the three
gramplet buttons onto the background panel and right click there.

Doug



------------------------------

Message: 4
Date: Fri, 27 Mar 2009 11:19:13 +0100
From: Benny Malengier <benny.malengier@gmail.com>
Subject: Re: [Gramps-users] upgrade problems 2.2.10 -> 3.1.1
To: Doug Blank <doug.blank@gmail.com>
Cc: gramps-users@lists.sourceforge.net, kdavenpo@tx.rr.com
Message-ID:
    <bcafe8290903270319y3fa0ec2cga1620f048889df11@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

2009/3/27 Doug Blank <doug.blank@gmail.com>

> On Thu, Mar 26, 2009 at 11:46 AM, <kdavenpo@tx.rr.com> wrote:
>
>> I upgraded recently from 2.2.10.  I made  a gramps xml export and then
>> imported to 3.1.1 (official rpm).  The import gave a bunch of error messages
>> like
>> "Objects merged-overwritten on import:
>>  Family F0946
>>  Family F107
>>  Family F0430
>> ..."  (50x)
>>
>> when I look at these families now in 3.1.1, they all have duplicate
>> entries with the same ID, either children, events, UIDs,etc
>> If I try to delete the duplicate, it deletes both!
>>
>> Don't know if this is related but I see over 50 blank families with ID of
>> none (containing no data whatsoever), and now when I try to add a "partner"
>> to an individual, it does not generate a new family ID, and instead gives me
>> an error when I try to save of "ID already exists".
>>
>> Thanks,
>> Kyle
>>
>
> Kyle,
>
> This sounds like what happens when you import data into the same database
> that exported it. Perhaps the easiest way to fix this would be to start a
> new tree and import into the empty db.
>
> -Doug
>
>

Yes,

merge on import is not supported, it never was. I added the info after an
import to notify some merge on import happened, as it is easy to recognize
it is happening, at least the user now knows something is not going correct.
The hard part is in actually writing code that can decide how to handle the
merge.
Now nothing special is done, so in most cases you end up with a bad database
(duplicates, empty objects, ....), especially on duplicate families.

You should create a new family tree, and import the xml file in that, as
Doug says.

Benny
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 5
Date: Sat, 28 Mar 2009 21:53:51 +0100
From: Christian Lobenstein <christian.lobenstein@gmail.com>
Subject: [Gramps-users] Portable Gramps (Windows)
To: gramps-users@lists.sourceforge.net
Message-ID: <49CE8E5F.2070605@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi list,

I'm new here but thought some might like this one:

I've created a portable version of Gramps (3.1.1) for Windows that can
be used with the popular PortableApps.com USB software. My portable
version brings it's own Python and GTK environment and a launcher will
handle all the necessary settings. It will also adjust the drive letter
(as it may change on a different host pc), will auto-switch the language
and not interfere at all with the host system or any Gramps installation
on it. All data and settings will be contained on the USB device.

You can read more about this in my blog entry:
http://www.ormus.info/archives/278-Portable-Gramps-Genealogy-in-your-Pocket.html

Actually this will also work without PortableApps.com and you won't even
need to install the Python/GTK requirements. I hope you like this!

Regards,
Christian



------------------------------

Message: 6
Date: Sat, 28 Mar 2009 20:33:43 -0400
From: Gerald Britton <gerald.britton@gmail.com>
Subject: Re: [Gramps-users] Portable Gramps (Windows)
To: Christian Lobenstein <christian.lobenstein@gmail.com>,
    gramps-users@lists.sourceforge.net
Message-ID:
    <5d1a32000903281733n44f7bfd4y1a79eee10551bb47@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Wow! Great work!!


On 3/28/09, Christian Lobenstein <christian.lobenstein@gmail.com> wrote:
> Hi list,
>
> I'm new here but thought some might like this one:
>
> I've created a portable version of Gramps (3.1.1) for Windows that can
> be used with the popular PortableApps.com USB software. My portable
> version brings it's own Python and GTK environment and a launcher will
> handle all the necessary settings. It will also adjust the drive letter
> (as it may change on a different host pc), will auto-switch the language
> and not interfere at all with the host system or any Gramps installation
> on it. All data and settings will be contained on the USB device.
>
> You can read more about this in my blog entry:
> http://www.ormus.info/archives/278-Portable-Gramps-Genealogy-in-your-Pocket.html
>
> Actually this will also work without PortableApps.com and you won't even
> need to install the Python/GTK requirements. I hope you like this!
>
> Regards,
> Christian
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gramps-users mailing list
> Gramps-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gramps-users
>

--
Sent from my mobile device

Gerald Britton



------------------------------

Message: 7
Date: Sun, 29 Mar 2009 13:45:24 +0200
From: Christian Lobenstein <christian.lobenstein@gmail.com>
Subject: Re: [Gramps-users] Portable Gramps (Windows)
To: gramps-users@lists.sourceforge.net
Message-ID: <49CF5F54.7050302@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

St?phane:

I've tested it at a few systems and haven't found any problems yet. But it's a little early to make this available for daily use, I would like to have a few more people test it first.
The launcher code (Delphi) is GPL licensed and included in the download, so sharing this on Sourceforge later is no problem. I've also posted it on the PortableApps.com forums.

Duncan:

Yes, you can install this normally as well, though it might need a little more flexibility for daily use. Here's how it works: The launcher checks the drive/folder it's currently running from and then sets the GRAMPSHOME environment variable (just for the running process, not permanently). It also sets the necessary GTK and Python paths in the environment variables (once again, just for the running process). Finally it adjusts the paths in keys.ini to match the current running folder (as this may have changed due to a different host pc).

I haven't had the chance to test this with different already installed Python/GTK environments or version mismatches. I will do so in the upcoming days using a virtual machine. I'm pretty sure it doesn't mess with any host pc settings and doesn't leave any traces behind.

If you want a "everything in one file"-type windows installer I would suggest I adjust the current launcher a little (which shouldn't be that hard), because right now it's more aimed at installation on portable devices. What I will do anyway is to try and save a little size by removing unnecessary files (like Python help files or similar stuff).


Suggestion: I'll create two versions of this, the portable version aimed
at the PortableApps.com environment - this may be later added to their
SourceForge account if they like it. And a "all-in-one" Windows
installer to save user from having to install multiple small files. This
may end up at the Gramps SourceForge account once it's tested enough.

Regards,
Christian

Duncan Lithgow wrote:
> 2009/3/29 St?phane Charette <stephanecharette@gmail.com>:

>> I like this idea.  Everything packaged together for those who want it
>> that way, or maybe for those who just want to give GRAMPS a test run.
>>
>> Should we host this executable on the GRAMPS SourceForge download page as well?
>>   
>
> Christian, can the .exe. file be run on windows to install normally as
> well? How does it handle existing version of python, glade etc which
> might be installed?
>
> If this can double as a one big download installer for windows that
> would be great?
>
> Duncan





------------------------------

------------------------------------------------------------------------------


------------------------------

_______________________________________________
Gramps-users mailing list
Gramps-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-users


End of Gramps-users Digest, Vol 34, Issue 35
********************************************