Re: [Evolution] Evolution Mangles Attachments?
- From: Jean Neron <jneron cansyswest com>
- To: Not Zed <notzed ximian com>
- Cc: Eric Lambart <ximian nomeaning net>, Evolution <evolution ximian com>
- Subject: Re: [Evolution] Evolution Mangles Attachments?
- Date: 28 Feb 2003 18:41:58 -0600
I think this is a SuSE 8.1/Gnome/Evolution compatibility problem.
Once I started thinking about it, my problems with PDF documents started about the time I started using 8.1. I went back to my 8.0 machine (same version of evo) and tried sending/receiving a PDF, and it worked fine.
Then I logged on to a gnome session on the 8.1 machine and using both Nautilus and Galeon I was able to navigate the local filesystem and open various PDF documents w/o a problem. In both cases, they ran acroread to open the documents. Gnome clearly knew how deal with PDFs. I also played around with the file associations in Gnome, on the off chance I missed something.
After all this messing around, I noticed I had a new .gnome/mime-info directory, with user.mime and user.keys files. The files contained info relating to file associations for PDF documents. I still had the old mime-types directory. On a hunch, I manually merged the data from the files in the new mime-info directory with the old mime-types directory. Presto! Now I can send/receive PDF documents w/o them getting mangled.
Unfortunately, I still can't right click & open the attachment, my only choice is to save the file. Here's the relevant parts from user.keys:
application/pdf
default_application_id=acroread
description=Adobe Acrobat Document
icon_filename=/home/jean/OpenOffice.org1.0/share/icons/004_spreadsheet_document.png
default_action_type=application
short_list_application_user_removals=
short_list_application_user_additions=acroread
Here's user.mime:
application/pdf
ext: pdf
description: Adobe Acrobat Document
deleted:
I'm happy because I can send PDF's again. I'd be happier if I could open attachments from with evo instead of having to save them first.
Thanks.
Jean
On Wed, 2003-02-26 at 22:14, Not Zed wrote:
> I think maybe the problem is that it is being sent as a plaintext
> attachment, rather than application/pdf? When I attach a document,
> Evolution (or more properly, GNOME) is correctly identifying the file
> type--see attachment below (sorry--it's the only PDF on my disk that I'm
> sure I have the right to redistribute!).
Yeah this is the problem. This crashed my old version of pre 1.2 i use
in the indexer (well in iconv i think).
Currently evolution does conversion to utf8 and back again for any
text/* data, which is used for indexing and to simplify the api. This
is the main reason inline pgp can't be supported too ... its a bit of a
big change, although we want to do it one day.
Its probably trying to iconv the data from your locale charset (since it
is 8 bit data and hence not us-ascii) into utf8, and then back again
when it saves it ... which would probably just result in a mess.
Workaround: fix your mime types.
_______________________________________________
evolution maillist - evolution lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]