LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-09-2002, 02:51 PM   #1
marlaina1
Member
 
Registered: Jun 2001
Location: Houston
Distribution: CentOS 5.3
Posts: 139

Rep: Reputation: 15
Export problem


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.














Last edited by marlaina1; 08-09-2002 at 09:14 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs export and loop mount problem thomasd Linux - Networking 9 06-01-2010 01:47 PM
export problem robkovacs Linux - Newbie 2 03-17-2006 06:30 AM
export cmd gamor Linux - Newbie 6 11-21-2004 01:55 PM
keep my export variables captain-cat Linux - Newbie 9 06-23-2004 05:22 AM
export problem. |mS|Neo Linux - Software 1 12-24-2003 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration