Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc-3.3.1 OS: Linux Hi, Message received with attachments (any kind of), the attachments can't be saved to hd isolated from the whole message, using mouse right botton options over body part descripton window. I can send a msg sample if necessary.
Subject: Re: New: save body part attachment problem On Tuesday 16 September 2003 22:56, JoXo Luiz B Silva wrote: > Message received with attachments (any kind of), the attachments can't be > saved to hd isolated from the whole message, using mouse right botton > options over body part descripton window. > > I can send a msg sample if necessary What do you get when you right click on the attachment? Do you get the menu? What do you select then? Can you choose the directory? Do you see the filename? In less words: I need a more detailed description. And yes, it would be good if you could zip the msg and attach it to the report. Carsten
Created attachment 2489 [details] message sample wich I get problem to save the attachment
I get the options: Save As... Save as Encoded... Save All Attatchments... And I select "Save As...". I've try the other options too, but nothing is saved on HD anyway. I can choose de directory, but the file name doesn't appear. The "Location:" field came empty. So fill it with the name I wish and click on the "Save" botton, but nothing is really done. No file is saved. I attached a msg sample to the report. If you need more detail feel free to ask me.
Subject: Re: save body part attachment problem On Wednesday 17 September 2003 21:13, JoXo Luiz B Silva wrote: > I can choose de directory, but the file name doesn't appear. The > "Location:" field came empty. So fill it with the name I wish and click on > the "Save" botton, but nothing is really done. No file is saved. > > I attached a msg sample to the report. If you need more detail feel free to > ask me. The attached msg doesn't contain an attachment. It's just a multipart email with a text and a html part. The mimetree viewer also says this: Plain Text Document and HTML Document. So what do you want to save? Regards, Carsten
> The attached msg doesn't contain an attachment. It's just a multipart email > with a text and a html part. The mimetree viewer also says this: Plain Text > Document and HTML Document. Opsss..., you are right. Indeed it doesn't have attachment. My fault to explain. > So what do you want to save? The html document, from the mimetree viewer.
indeed, it opens a file dialog, but it doesn't save
CVS commit by tilladam: Don't just silently bail out when the user tries to save a part of the mime tree that is not an attachment, such as an html part. Ask whether that was a mistake or not instead. Carsten, ok with you? CCMAIL: 64388-done@bugs.kde.org M +11 -2 kmcommands.cpp 1.69 --- kdepim/kmail/kmcommands.cpp #1.68:1.69 @@ -1690,7 +1690,16 @@ void KMSaveAttachmentsCommand::slotSaveA // we can't do the check earlier as we first need to load the mimeheader // for imap attachments to do this check + + /* Ask the user how to proceed, she could be wanting to save an html part, + * or somesuch. -till */ if ( s.isEmpty() ) { + if ( KMessageBox::warningYesNo( mParent, + i18n( "One of the parts of the message that you want to save does " + "not appear to be an attachment. Are you sure you want " + "to save it anyway? (If it is an html part, for example.)" ) + ) == KMessageBox::No ) { ++itr; continue; + } }
Unfortunately Till's patch wasn't the correct fix.
This seems my same problem here with kde 3.2 beta1 and kmail 1.5.93 (compiled from gentoo ebuilds): I'm unable to save attachments. Sometimes the dialog appears requesting the filename, some others not: when it appears it requests a filename, I put it but it doesn't save anything: by launching kmail from a konsole I get this output: <snip> mario@guderian mario $ QDict: Cannot insert null item QDict: Cannot insert null item QDict: Cannot insert null item kmail: WARNING: Unknown codec "7bit" requested! QDict: Cannot insert null item QDict: Cannot insert null item kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as text! kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as text! QDict: Cannot insert null item kmail: WARNING: KMReaderWin::openAttachment(): Got "/tmp/kde-mario/kmailSEBNaa.10/IMM32.DLL", expected "" mario@guderian mario $ QDict: Cannot insert null item mario@guderian mario $ kmail: WARNING: KMReaderWin::openAttachment(): Got "/tmp/kde-mario/kmailbbcvgb.8/COMCTL32.DLL", expected "/tmp/kde-mario/kmailSEBNaa.10/IMM32.DLL" QDict: Cannot insert null item kmail: WARNING: KMReaderWin::openAttachment(): Got "/tmp/kde-mario/kmailGcwAYb.9/COMMCTRL.DLL", expected "/tmp/kde-mario/kmailbbcvgb.8/COMCTL32.DLL" QDict: Cannot insert null item kmail: WARNING: KMReaderWin::openAttachment(): Got "/tmp/kde-mario/kmailf42jqc.11/WININET.DLL", expected "/tmp/kde-mario/kmailGcwAYb.9/COMMCTRL.DLL" QDict: Cannot insert null item kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as text! QDict: Cannot insert null item kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as text! kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as text! QDict: Cannot insert null item kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as text! QDict: Cannot insert null item QDict: Cannot insert null item kmail: WARNING: Unknown codec "7bit" requested! appending message to ~/dead.letter.tmp mcop warning: user defined signal handler found for SIG_PIPE, overriding mcop warning: user defined signal handler found for SIG_PIPE, overriding gpgmeplug isEmailInCertificate looking address marioscalas@agilemovement.it in certificate with fingerprint F7E0C2FBC29D4FDE323FDC04F3CD24842E8BBD29 gpgmeplug isEmailInCertificate found email: marioscalas@agilemovement.it QDict: Cannot insert null item QDict: Cannot insert null item kmail: WARNING: Unknown codec "7bit" requested! gpgmeplug checkMessageSignature status flags: 3 gpgmeplug checkMessageSignature found email: marioscalas@agilemovement.it QDict: Cannot insert null item kmail: WARNING: Unknown codec "7bit" requested! QDict: Cannot insert null item kmail: WARNING: KMReaderWin::openAttachment(): Got "/tmp/kde-mario/kmaillAW6Wb.4/msvcrt.zip", expected "/tmp/kde-mario/kmailf42jqc.11/WININET.DLL" <snip> (Yeah, I was trying to save some dlls I requested to a friend of mine to make this damn wine thing to work ;-) Note the KMReaderWin::openAttachment() warnings: I could grab the files from the specified path (that is, /tmp/kde-mario/kmailf42jqc.11/WININET.DLL did exist and I copied it). My friend used outlook but I experimented by sending and email with attachments to myself and got the same odd behaviour which is pretty annoying :-((
Subject: Re: save body part attachment problem The problem Mario experienced has been fixed. Right-clicking and selecting Save As... should also work with KMail 1.5.93. So use this for now, Mario. I didn't yet have a look at the original bug.
Hi Ingo, I can confirm that I can right click on icon attachments and save but the email sent by my friend still has the same problem: (1) I click on the attach icon and ask to save (2) the dialog appears requesting a filename (the edit box for the filename is empty) (3) i type the filename and press 'save' but nothing happens: the dialog disappears but no file is written :-( I would like to attach the mail source but KMail save it as a 104 MB ** one-hundred-four megabytes** big file 8-/ (which probably means that this mail triggers something really bad): you can take a look at the kmail's screenshot I took: http://www.gicomsrl.it/~mario/mail.odd.png. Tell me if you need me to test something different
I've been able to grab the mail source through "view source" -> copy to clipboard -> paste to KEdit -> "save as" steps ): you can download it at http://www.gicomsrl.it/~mario/mail.odd.bz2 (1.6Mb file, which is a bit different from 104 Mb ;-) but I cannot guarentee that it will remain there for a long time since the server space is quite limited :-(
@Joao: The original bug has been fixed. @Mario: The problem with saving attachments which are larger than 64 KB has been fixed some time ago. And the other problem you are experiencing now has also been fixed. Thanks for the example message. You can remove it from the server.