From: SourceForge.net <no...@so...> - 2006-10-16 02:20:13
|
Bugs item #884481, was opened at 2004-01-25 16:45 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=456910&aid=884481&group_id=49630 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Resolution: Invalid Priority: 5 Submitted By: Paul Rodger (paulrodger) Assigned to: Nikolaus Schulz (nikosch) Summary: Finds zero messages in Apple Mail folder Initial Comment: From: Pascal Chavaillaz <pa...@ch...> Subject: Question about your archivemail python script Date: Sun, 25 Jan 2004 16:34:12 +0100 I have tried to use your python script against Apple OSX Mail implementation but I seem to have a few problems ! Performing a dry run on a copy of my "Mail" directory, I get the following log : iBook-de-Pascal:~/Travail/archivemail-0.6.1 pascal$ ./archivemail -d1 --no-compress -v -n -o $HOME/Travail/Archive $HOME/Travail/Mail/Mailboxes/* ./archivemail:760: SyntaxWarning: assignment to None (None, last_dir) = os.path.split(os.path.dirname(message.fp.name)) archiving '/Users/pascal/Travail/Mail/Mailboxes/#Adoption' to '/Users/pascal/Travail/Archive/#Adoption_archive' ... set tempfile directory to '/tmp/tmpaD_WWxarchivemail' guessing mailbox is of type: MH finished reading messages /Users/pascal/Travail/Mail/Mailboxes/#Adoption: I would have archived 0 of 0 message(s) in 0.0 seconds archiving '/Users/pascal/Travail/Mail/Mailboxes/#Adoption.mbox' to '/Users/pascal/Travail/Archive/#Adoption.mbox_archive' ... set tempfile directory to '/tmp/tmpDJOeVfarchivemail' guessing mailbox is of type: MH finished reading messages /Users/pascal/Travail/Mail/Mailboxes/#Adoption.mbox: I would have archived 0 of 0 message(s) in 0.0 seconds archiving '/Users/pascal/Travail/Mail/Mailboxes/#Les Amis de Svieta' to '/Users/pascal/Travail/Archive/#Les Amis de Svieta_archive' ... set tempfile directory to '/tmp/tmpBbhQKYarchivemail' guessing mailbox is of type: MH finished reading messages /Users/pascal/Travail/Mail/Mailboxes/#Les Amis de Svieta: I would have archived 0 of 0 message(s) in 0.0 seconds archiving '/Users/pascal/Travail/Mail/Mailboxes/#Les Amis de Svieta.mbox' to '/Users/pascal/Travail/Archive/#Les Amis de Svieta.mbox_archive' ... set tempfile directory to '/tmp/tmpHGHnrQarchivemail' guessing mailbox is of type: MH finished reading messages /Users/pascal/Travail/Mail/Mailboxes/#Les Amis de Svieta.mbox: I would have archived 0 of 0 message(s) in 0.0 seconds archiving '/Users/pascal/Travail/Mail/Mailboxes/#Priv?' to '/Users/pascal/Travail/Archive/#Priv?_archive' ... set tempfile directory to '/tmp/tmpU5cnU2archivemail' guessing mailbox is of type: MH finished reading messages /Users/pascal/Travail/Mail/Mailboxes/#Priv?: I would have archived 0 of 0 message(s) in 0.0 seconds archiving '/Users/pascal/Travail/Mail/Mailboxes/#Priv?.mbox' to '/Users/pascal/Travail/Archive/#Priv?.mbox_archive' ... set tempfile directory to '/tmp/tmpGpkCm0archivemail' guessing mailbox is of type: MH finished reading messages /Users/pascal/Travail/Mail/Mailboxes/#Priv?.mbox: I would have archived 0 of 0 message(s) in 0.0 seconds archiving '/Users/pascal/Travail/Mail/Mailboxes/#Professionnel.mbox' to '/Users/pascal/Travail/Archive/#Professionnel.mbox_archive' ... set tempfile directory to '/tmp/tmp_42rhsarchivemail' guessing mailbox is of type: MH finished reading messages /Users/pascal/Travail/Mail/Mailboxes/#Professionnel.mbox: I would have archived 0 of 0 message(s) in 0.0 seconds archiving '/Users/pascal/Travail/Mail/Mailboxes/Deleted Messages (.Mac ).mbox' to '/Users/pascal/Travail/Archive/Deleted Messages (.Mac ).mbox_archive' ... set tempfile directory to '/tmp/tmprSsTHYarchivemail' guessing mailbox is of type: MH finished reading messages /Users/pascal/Travail/Mail/Mailboxes/Deleted Messages (.Mac ).mbox: I would have archived 0 of 0 message(s) in 0.0 seconds archiving '/Users/pascal/Travail/Mail/Mailboxes/Deleted Messages.mbox' to '/Users/pascal/Travail/Archive/Deleted Messages.mbox_archive' ... set tempfile directory to '/tmp/tmpYHWBcVarchivemail' guessing mailbox is of type: MH finished reading messages /Users/pascal/Travail/Mail/Mailboxes/Deleted Messages.mbox: I would have archived 0 of 0 message(s) in 0.0 seconds archiving '/Users/pascal/Travail/Mail/Mailboxes/Outbox.mbox' to '/Users/pascal/Travail/Archive/Outbox.mbox_archive' ... set tempfile directory to '/tmp/tmpiEIqJ6archivemail' guessing mailbox is of type: MH finished reading messages /Users/pascal/Travail/Mail/Mailboxes/Outbox.mbox: I would have archived 0 of 0 message(s) in 0.0 seconds cleaning up ... cleaning up ... cleaning up ... cleaning up ... cleaning up ... cleaning up ... cleaning up ... cleaning up ... cleaning up ... cleaning up ... iBook-de-Pascal:~/Travail/archivemail-0.6.1 pascal$ My first question is about the 760:SyntaxWarning, what does it mean ? And second, even though I had selected 1 day old messages, dry run shows that no message would be archived !! What am I doing wrong ? Thanks in advance for any tip Cheers Pascal ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 2006-10-15 19:20 Message: Logged In: YES user_id=1312539 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Nikolaus Schulz (nikosch) Date: 2006-10-01 16:31 Message: Logged In: YES user_id=1594781 You're commanding archivemail to archive all mailboxes in ~/Travail/Mail/Mailboxes. Looking at the mailboxes of Mail.app on a machine running MacOS 10.3.9, I find a folder ~/Library/Mail/Mailboxes, I guess it's the equivalent of the one you were looking at. This directory contains various *.mbox entities, but these are _folders_ carrying the 'real' mailboxes in mbox format inside. So they're no valid mailboxes itself. One could argue that archivemail should handle invalid mailbox targets more gracefully, but your problem doesn't look like a bug in archivemail. The syntax warning has meanwhile been fixed, so I'm closing this bug. ---------------------------------------------------------------------- Comment By: Peter Poeml (poeml) Date: 2006-04-25 14:17 Message: Logged In: YES user_id=78531 the syntax warning is fixed in CVS ---------------------------------------------------------------------- Comment By: Thomas Arnhold (slyzer2k) Date: 2004-05-08 12:32 Message: Logged In: YES user_id=645517 First question is answered in Bug #843890 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=456910&aid=884481&group_id=49630 |