Is it possible this is the second time you import this gpkg file?

The import complains that
/media/TravelDrive/ArvoreGenealogica.gpkg.media/home
 
exists.
So perhaps you can rename
/media/TravelDrive/ArvoreGenealogica.gpkg.media dir?

If import still fails, extrac the gpkg with an unzip/untar prog, copy the media files to  a good location, and import the .gramps file insize the gpkg archive.

Note that GRAMPS is already version 3.1.1. Ubuntu packages are on our website.

Benny


2009/3/28 Vladimir Bellemo <C21Vlad@aol.com>
User Information:
===================




Error Details:
===================

32229: ERROR: DbLoader.py: line 501: Failed to import database.
Traceback (most recent call last):
 File "/usr/share/gramps/DbLoader.py", line 497, in do_import
   importer(self.dbstate.db, filename, self.uistate.pulse_progressbar)
 File "/usr/share/gramps/plugins/ReadPkg.py", line 85, in impData
   os.remove(os.path.join(tmpdir_path,filename))
OSError: [Errno 21] Is a
directory: '/media/TravelDrive/ArvoreGenealogica.gpkg.media/home'

System Information:
===================

Python version: 2.5.2 (r252:60911, Jul 31 2008, 17:31:22) [GCC 4.2.3 (Ubuntu
4.2.3-2ubuntu7)]
BSDDB version: 4.4.5.3
Gramps version: 2.2.10-1
LANG: en_US.UTF-8
OS: Linux
Distribution: 2.6.24-23-generic


Thank you!

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