|
Hi,
A year ago I tried the gramps AIO on behalf of some relatives using Windows but had it crash on attempting to import a gpkg exported from Linux. I've now tried again with AIO64.3.3.1-1-exe on Windows 7 Professional but get the same result: on importing either a large or small family tree from a gpkg it crashes with the error message: "Error extracting into C:\User\dougb\<name of tree>.gpkg.media". However the media files appear to have been imported into C:\User\dougb and display OK. What's up? Doug ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Gramps-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gramps-users |
|
Hello Doug! I don't recall the exact error message I had, but I do recall having an error message when trying to extract a gpkg about a year ago. The problem turned out to be a media file with a filename that was invalid under windows. Gramps didn't handle it well, IIRC. I think I figured it out by trying to extract the gpkg file with 7zip
(open source file extractor). 7zip prompted for a new file name. Have you tried making a backup without including media content and seeing if that will import under AIO? -- Jesse On Sun, Apr 8, 2012 at 8:13 AM, doug <[hidden email]> wrote: Hi, ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Gramps-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gramps-users |
|
Hi Jesse,
Thanks for the suggestions. I'll try them out. Doug On 09/04/12 07:40, Jesse Meyer wrote: > Hello Doug! > > I don't recall the exact error message I had, but I do > recall having > an error message when trying to extract a gpkg about a year > ago. > > The problem turned out to be a media file with a filename > that was > invalid under windows.  Gramps didn't handle it well, IIRC. > > I think I figured it out by trying to extract the gpkg file > with 7zip > (open source file extractor).  7zip prompted for a new file > name. > > Have you tried making a backup without including media content > and seeing if that will import under AIO? > > -- Jesse > > On Sun, Apr 8, 2012 at 8:13 AM, doug <[hidden email] > <mailto:[hidden email]>> wrote: > > Hi, > A year ago I tried the gramps AIO on behalf of some > relatives using Windows but had it crash on attempting to > import a gpkg exported from Linux. > I've now tried again with AIO64.3.3.1-1-exe on Windows 7 > Professional but get the same result: on importing either a > large or small family tree from a gpkg it crashes with the > error message: > "Error extracting into C:\User\dougb\<name of > tree>.gpkg.media". > > However the media files appear to have been imported into > C:\User\dougb and display OK. > What's up? > Doug > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try > it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gramps-users mailing list > [hidden email] > <mailto:[hidden email]> > https://lists.sourceforge.net/lists/listinfo/gramps-users > > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > > > > _______________________________________________ > Gramps-users mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gramps-users ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Gramps-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gramps-users |
|
In reply to this post by Jesse Meyer
I once had a similar problem when moving gramps data from Ubuntu environment to Windows – some years ago. I had to edit some files to ensure that wherever a path was given to a directory, the backslash “\” was exchanged to slash “/” . Check also the path-setting handled by environment variables – I don’t know if the gpkg-import also sets some environment variables based on the origin location of your data. Hope this helps. Eckhard Von: Jesse Meyer [mailto:[hidden email]] Hello Doug! I don't recall the exact error message I had, but I do recall having an error message when trying to extract a gpkg about a year ago. The problem turned out to be a media file with a filename that was invalid under windows. Gramps didn't handle it well, IIRC. I think I figured it out by trying to extract the gpkg file with 7zip (open source file extractor). 7zip prompted for a new file name. Have you tried making a backup without including media content and seeing if that will import under AIO? -- Jesse On Sun, Apr 8, 2012 at 8:13 AM, doug <[hidden email]> wrote: Hi, ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Gramps-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gramps-users |
|
Thanks Eckhard and Jesse,
The fault does seem to be subfolders in gpkg.media. Doing a .gramps import creates no problems. It's not clear to me how to change the "/" Linux subdirectory pathnames to "\" Windows ones. Where do you do it, in Linux or Windows? And how? Doug On 09/04/12 12:18, Eckhard Genßmann wrote: > I once had a similar problem when moving gramps data from > Ubuntu environment to Windows – some years ago. > > I had to edit some files to ensure that wherever a path was > given to a directory, the backslash  “\â€� was exchanged > to slash “/â€� . > > Check also the path-setting handled by environment variables > – I don’t know if the gpkg-import also sets some > environment variables based on the origin location of your data. > > Hope this helps. > > Eckhard > > *Von:*Jesse Meyer [mailto:[hidden email]] > *Gesendet:* Montag, 9. April 2012 07:41 > *An:* [hidden email] > *Betreff:* Re: [Gramps-users] gramps AIO crashes when > importing a gpkg > > Hello Doug! > > I don't recall the exact error message I had, but I do > recall having > > an error message when trying to extract a gpkg about a year > > ago. > > The problem turned out to be a media file with a filename > that was > > invalid under windows. Gramps didn't handle it well, IIRC. > > I think I figured it out by trying to extract the gpkg file > with 7zip > > (open source file extractor). 7zip prompted for a new file name. > > Have you tried making a backup without including media content > > and seeing if that will import under AIO? > > -- Jesse > > On Sun, Apr 8, 2012 at 8:13 AM, doug <[hidden email] > <mailto:[hidden email]>> wrote: > > Hi, > A year ago I tried the gramps AIO on behalf of some > relatives using Windows but had it crash on attempting to > import a gpkg exported from Linux. > I've now tried again with AIO64.3.3.1-1-exe on Windows 7 > Professional but get the same result: on importing either a > large or small family tree from a gpkg it crashes with the > error message: > "Error extracting into C:\User\dougb\<name of tree>.gpkg.media". > > However the media files appear to have been imported into > C:\User\dougb and display OK. > What's up? > Doug > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gramps-users mailing list > [hidden email] > <mailto:[hidden email]> > https://lists.sourceforge.net/lists/listinfo/gramps-users > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > > > > _______________________________________________ > Gramps-users mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gramps-users ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Gramps-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gramps-users |
|
I spoke too soon.
I've removed the media subfolders so that there were no backslashes to complicate the issue and grampsAIO still crashes with "Error extracting into C:\User\dougb\<name of tree>.gpkg.media". On checking I see gramps does create the gpkg.media folder with image files that display normally, but only less than half the original number. Comparing the files that *did* come down with those that didn't, I can't see any difference whatsoever in the nature of the filenames - both lists have spaces, commas, "&" characters, hyphens, mixed capitals and small letters, etc. Any suggestions? Doug On 09/04/12 15:43, doug wrote: > Thanks Eckhard and Jesse, > The fault does seem to be subfolders in gpkg.media. Doing a > .gramps import creates no problems. > It's not clear to me how to change the "/" Linux > subdirectory pathnames to "\" Windows ones. > Where do you do it, in Linux or Windows? And how? > > Doug > > > > On 09/04/12 12:18, Eckhard Genßmann wrote: >> I once had a similar problem when moving gramps data from >> Ubuntu environment to Windows – some years ago. >> >> I had to edit some files to ensure that wherever a path was >> given to a directory, the backslash  “\â€� was exchanged >> to slash “/â€� . >> >> Check also the path-setting handled by environment variables >> – I don’t know if the gpkg-import also sets some >> environment variables based on the origin location of your >> data. >> >> Hope this helps. >> >> Eckhard >> >> *Von:*Jesse Meyer [mailto:[hidden email]] >> *Gesendet:* Montag, 9. April 2012 07:41 >> *An:* [hidden email] >> *Betreff:* Re: [Gramps-users] gramps AIO crashes when >> importing a gpkg >> >> Hello Doug! >> >> I don't recall the exact error message I had, but I do >> recall having >> >> an error message when trying to extract a gpkg about a year >> >> ago. >> >> The problem turned out to be a media file with a filename >> that was >> >> invalid under windows. Gramps didn't handle it well, IIRC. >> >> I think I figured it out by trying to extract the gpkg file >> with 7zip >> >> (open source file extractor). 7zip prompted for a new file >> name. >> >> Have you tried making a backup without including media >> content >> >> and seeing if that will import under AIO? >> >> -- Jesse >> >> On Sun, Apr 8, 2012 at 8:13 AM, doug <[hidden email] >> <mailto:[hidden email]>> wrote: >> >> Hi, >> A year ago I tried the gramps AIO on behalf of some >> relatives using Windows but had it crash on attempting to >> import a gpkg exported from Linux. >> I've now tried again with AIO64.3.3.1-1-exe on Windows 7 >> Professional but get the same result: on importing either a >> large or small family tree from a gpkg it crashes with the >> error message: >> "Error extracting into C:\User\dougb\<name of >> tree>.gpkg.media". >> >> However the media files appear to have been imported into >> C:\User\dougb and display OK. >> What's up? >> Doug >> >> ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Gramps-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gramps-users |
|
Doug, Did you try to extract the gpkg file with 7zip, just to see if that crashes as well? -- Jesse On Wed, Apr 11, 2012 at 8:24 AM, doug <[hidden email]> wrote: I spoke too soon. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Gramps-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gramps-users |
|
In reply to this post by Doug
2012/4/11 doug <[hidden email]> I spoke too soon. Perhaps there is something strange in the gpkg zip, eg filenames in utf-8 you extract on another filesystem encoding. So, I suggest you open the gpkg with 7-zip or another fileroller, then extract the data like that. The gpkg contains a .gramps file, you can import that, and then point the media directory to the place you extract the media files. If the 7-zip gives an error on extracting, you know why gramps crashes. If you have an error on import of the .gramps, you know Gramps has a problem. Benny
------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Gramps-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gramps-users |
|
On 11/04/12 21:22, Benny Malengier wrote:
> > > 2012/4/11 doug <[hidden email] <mailto:[hidden email]>> > > I spoke too soon. > I've removed the media subfolders so that there were no > backslashes to complicate the issue and grampsAIO still > crashes with > > Â "Error extracting into C:\User\dougb\<name of > tree>.gpkg.media". > > On checking I see gramps does create the gpkg.media > folder with image files that display normally, but only > less than half the original number. Comparing the files > that *did* come down with those that didn't, I can't see > any difference whatsoever in the nature of the filenames > - both lists have spaces, commas, "&" characters, > hyphens, mixed capitals and small letters, etc. > > Any suggestions? > > > Perhaps there is something strange in the gpkg zip, eg > filenames in utf-8 you extract on another filesystem encoding. > So, I suggest you open the gpkg with 7-zip or another > fileroller, then extract the data like that. > The gpkg contains a .gramps file, you can import that, and > then point the media directory to the place you extract the > media files. > > If the 7-zip gives an error on extracting, you know why > gramps crashes. If you have an error on import of the > .gramps, you know Gramps has a problem. > > Benny > Â > > > Doug > > Thanks Jesse and Benny for your help. I extracted the data from the gpkg with file-roller with no problems and was also able to import a .gramps file and the media separately; then point to the media directory. The path separators I was worried about actually cause no problem - it turned out to be a media file with a filename containing characters Windows coughs at but which are not a problem in Linux. It might be worth pointing this out as a potential problem for those of us wanting to pass on a tree to Windows-based relatives. For Windows 7 Professional the objectionable characters are apparently: \ / : * ? " < > ! Doug P.S. I fell foul of " and ? ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Gramps-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gramps-users |
|
On 12/04/12 18:13, Ron Johnson wrote:
> Sorry for sending this to you instead of the list. > > On 04/12/2012 11:12 AM, Ron Johnson wrote: >> On 04/12/2012 10:04 AM, doug wrote: >> [snip] >>> >>> The path separators I was worried about actually cause no >>> problem - it turned out to be a media file with a filename >>> containing characters Windows coughs at but which are not a >>> problem in Linux. >>> >>> It might be worth pointing this out as a potential problem >>> for those of us wanting to pass on a tree to Windows-based >>> relatives. >>> >>> For Windows 7 Professional the objectionable characters are >>> apparently: >>> \ / : * ? "< > ! >>> >> >> Should a bug be filed for gramps to gracefully disregard >> such files? >> Linux path separators may not have been a problem because I was exporting the gpkg to a USB stick - which of course was in FAT- format. I'm not sure what happens with a gpkg exported to a CD or DVD. Can someone comment? (I don't have access to a DVD writer at the moment to check) Doug ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Gramps-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gramps-users |
|
On 13/04/12 15:28, doug wrote:
> On 12/04/12 18:13, Ron Johnson wrote: >> Sorry for sending this to you instead of the list. >> >> On 04/12/2012 11:12 AM, Ron Johnson wrote: >>> On 04/12/2012 10:04 AM, doug wrote: >>> [snip] >>>> >>>> The path separators I was worried about actually cause no >>>> problem - it turned out to be a media file with a filename >>>> containing characters Windows coughs at but which are not a >>>> problem in Linux. >>>> >>>> It might be worth pointing this out as a potential problem >>>> for those of us wanting to pass on a tree to Windows-based >>>> relatives. >>>> >>>> For Windows 7 Professional the objectionable characters are >>>> apparently: >>>> \ / : * ? "< > ! >>>> >>> >>> Should a bug be filed for gramps to gracefully disregard >>> such files? >>> > It does occur to me that the difference between Windows and > Linux path separators may not have been a problem because I > was exporting the gpkg to a USB stick - which of course was > in FAT- format. > > I'm not sure what happens with a gpkg exported to a CD or DVD. > Can someone comment? (I don't have access to a DVD writer at > the moment to check) > > Doug Sorry, I realise there shouldn't be any problem with the compressed data as a gpkg. But if for some reason one has to transfer a .gramps file + a gpkg.media folder separately. Doug ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Gramps-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gramps-users |
| Powered by Nabble | Edit this page |
