My answer was to manually add the .ged extension and then do unix2dos. Don't waste you time on this question - tried to remove it but couldn't.
I've been using the gramps genealogy program. When I try to export as a GEDCOM, it just exports as a file with no extension. If I export as a gedcom, it should have the .ged extension. I can't upload it anywhere without exporting is as a gedcom. The default is an XML data file.I can import gedcoms with no problems. I read the sourceforge manual pages for gramps concerning exporting at .
http://gramps.sourceforge.net/extending-gramps/ but I don't have a clue what they mean.
This is an error message I get when use "show plugin status":
The following modules could not be loaded:
PdfDoc.py Missing Libraries
Traceback (innermost last)
File "/usr/share/gramps/Plugins.py", line 301, in load_plugins
a = __import__(plugin)
File "/usr/share/gramps/docgen/PdfDoc.py", line 46, in ?
raise _("Missing Libraries"), _("The ReportLab modules are not installed")
Missing Libraries: The ReportLab modules are not installed
PdfDrawDoc.py Missing Libraries
Traceback (innermost last):
File "/usr/share/gramps/Plugins.py", line 301, in load_plugins
a = __import__(plugin)
File "/usr/share/gramps/docgen/PdfDrawDoc.py", line 35, in ?
raise _("Missing Libraries"), _("The ReportLab modules are not installed")
Missing Libraries: The ReportLab modules are not installed
From my system:
/usr/share/gramps/Plugins.py
# loop through each file in the directory, looking for files that
# have a .py extention, and attempt to load the file. If it succeeds,
# add it to the _success list. If it fails, add it to the _failure
# list
for file in os.listdir(direct):
name = os.path.split(file)
match = pymod.match(name[1])
if not match:
continue
_attempt.append(file)
plugin = match.groups()[0]
try:
a = __import__(plugin)
_success.append(a)
except:
_failmsg.append((file,sys.exc_info()))
line 301 is a=__import__(plugin)
=========
From mysystem:
/usr/share/gramps/docgen/PdfDoc
# ReportLab python/PDF modules
try:
import reportlab.platypus.tables
from reportlab.platypus import *
from reportlab.lib.units import cm
from reportlab.lib.colors import Color
from reportlab.lib.enums import TA_LEFT, TA_RIGHT, TA_CENTER, TA_JUSTIFY
import reportlab.lib.styles
except:
raise _("Missing Libraries"), _("The ReportLab modules are not installed")
line 46 is last line
===========================
From my system:
/usr/share/gramps/docgen/PdfDrawDoc.py
from TextDoc import *
from DrawDoc import *
import Plugins
import intl
_ = intl.gettext
try:
from reportlab.pdfgen import canvas
from reportlab.lib.units import cm
from reportlab.lib.colors import Color
except:
raise _("Missing Libraries"), _("The ReportLab modules are not installed")
line 35 is raise _("Missing Libraries"), _("The ReportLab modules are not installed")
====================
From my system:
/usr/share/gramps/docgen/PdfDoc.py
----------------------------------------------------------------------
# Register the document generator with the GRAMPS plugin system
#
#------------------------------------------------------------------------
Plugins.register_text_doc(
name=_("PDF"),
classref=PdfDoc,
table=1,
paper=1,
style=1
)
These look a lot like what is on the link I gave above. Also my PyXML is
pretty old. Would a newer one solve the problem and/or would it mess up
anything else?
I've tried just adding the extension .ged and .GED when exporting or after exporting and it won't upload to a website I want to upload it on.
Also, the export options don't even work for exporting to gramps mode.It saves as a file only which won't work when I try to load it back to gramps. It wants to load a directory, whereas when I use save as, it creates a directory with the name I fill in and in that directory is data.gramps.