You obtain the error:

OSError: [Errno 21] Es un directorio:
'/home/loli/Documentos/Untitled_1.gpkg.media/home'

This is the place where the gpkg is exported. Gramps sees the dir already exists, perhaps you did changes.
Deleting this directory yourself ( '/home/loli/Documentos/Untitled_1.gpkg.media) , then restarting the import should fix it.

Note that to synchronixe data, you should export to gpkg, but a different name every time (add date), then delete older ones. Like that, you do not loose track of changes.

Note further that version 3.0.1 is available, ubuntu package on our website. Gpkg export/import changed somewhat, now allowing for relative media paths, which makes moving with gpkg between computers and media files in seperate folders hopefully more easy. You should try it!

Benny

2008/5/20 Pedro Jose <ercrokan@gmail.com>:
User Information:
===================

Distribution: Guadalinex v4.2

I open my gramps database, and I try to import the gpkg file to
syncronize my data file in the laptop and in the desktop.


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

46347: ERROR: __init__.py: line 1072: 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] Es un directorio:
'/home/loli/Documentos/Untitled_1.gpkg.media/home'

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

Python version: 2.4.4c1 (#2, Oct 11 2006, 21:51:02) [GCC 4.1.2
20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)]
BSDDB version: 4.3.0.3
Gramps version: 2.2.10-1
LANG: es_ES.UTF-8
OS: Linux
Distribution: 2.6.22-14-generic

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs