VM

vm-save-message error when saving to folder: non imap

Bug #562698 reported by mere user on 2010-04-14
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
High
Uday Reddy

Bug Description

hi,

while viewing a regular INBOX mail file, non imap, mbox format:

toolbar -> vm -> dispose -> File -> specify a mailbox file name

here is the traceback:

Debugger entered--Lisp error: (error "This is currently available only for imap folders.")
  signal(error ("This is currently available only for imap folders."))
  error("This is currently available only for imap folders.")
  vm-load-message(1)
  vm-save-message("~/.record" 1)
  call-interactively(vm-save-message nil nil)

this used to work, not too long ago. best, E

Related branches

mere user writes:

> Public bug reported:
>
> hi,
>
> while viewing a regular INBOX mail file, non imap, mbox format:
>
> toolbar -> vm -> dispose -> File -> specify a mailbox file name
>
> here is the traceback:
>
> Debugger entered--Lisp error: (error "This is currently available only for imap
> folders.")
> signal(error ("This is currently available only for imap folders."))
> error("This is currently available only for imap folders.")
> vm-load-message(1)
> vm-save-message("~/.record" 1)
> call-interactively(vm-save-message nil nil)

Hi Eli, It looks like you are trying out the latest devo version? Can
you tell me the version number? You can get it by doing

  bzr log -l1

Did you set `vm-load-headers-only' to t by any chance?

VM thinks that the message you were trying to save doesn't have the
message body. Any idea why it got that?

The best case scenario is that there is a bug in VM somewhere and it
mistakenly thinks that the message doesn't have a body.

The worst case scenario is that you have damaged messages in your
folder. In that case, we will need to investigate the extent of the
damage. This could be serious :-(

I will mark this bug report private so that we can exchange
information more safely.

Cheers,
Uday

>
> this used to work, not too long ago. best, E
>
> ** Affects: vm
> Importance: Undecided
> Status: New
>
> --
> vm-save-message error when saving to folder: non imap
> https://bugs.launchpad.net/bugs/562698
> You received this bug notification because you are subscribed to VM.
>
> Status in VM (View Mail) for Emacs: New
>
> Bug description:
> hi,
>
> while viewing a regular INBOX mail file, non imap, mbox format:
>
> toolbar -> vm -> dispose -> File -> specify a mailbox file name
>
> here is the traceback:
>
> Debugger entered--Lisp error: (error "This is currently available only for imap
> folders.")
> signal(error ("This is currently available only for imap folders."))
> error("This is currently available only for imap folders.")
> vm-load-message(1)
> vm-save-message("~/.record" 1)
> call-interactively(vm-save-message nil nil)
>
> this used to work, not too long ago. best, E
>
>
>
>

visibility: public → private
Uday Reddy (reddyuday) wrote :

To investigate whether there is damage in the folder, please put this
in your .vm file.

(defvar summary-std-with-size
 "%n%*%UD %2M/%-2d %-17.17F %8c%UB %I%s\n")

Then, in the folder buffer, do

  M-x vm-set-summary-format <RET>
    summary-std-with-size <RET>

This should put the summary in my format. If it doesn't, try doing
M-x vm-fix-my-summary!!!

Once you get the summary in my format, check to see if any messages
have '-' sign next to the message size field. All those messages
don't have message bodies. Then, we need to worry about why they
don't have message bodies.

If it looks like there is a serous problem, I need you to go back to a
safe version of VM immediately. I am getting worried :-(

Uday

>> Public bug reported:
>>
>> hi,
>>
>> while viewing a regular INBOX mail file, non imap, mbox format:
>>
>> toolbar -> vm -> dispose -> File -> specify a mailbox file name
>>
>> here is the traceback:
>>
>> Debugger entered--Lisp error: (error "This is currently available only for imap
>> folders.")
>> signal(error ("This is currently available only for imap folders."))
>> error("This is currently available only for imap folders.")
>> vm-load-message(1)
>> vm-save-message("~/.record" 1)
>> call-interactively(vm-save-message nil nil)
>
> Hi Eli, It looks like you are trying out the latest devo version?
yes, always...  :)
> Can
> you tell me the version number? You can get it by doing
>
> bzr log -l1
~/.emacs.d/vm $ bzr log -l1------------------------------------------------------------revno: 749 [merge]committer: Uday S Reddy <udr@maruti>branch nick: trunktimestamp: Mon 2010-04-12 23:16:41 +0100message:  Merged changes from 8.1.x branch.------------------------------------------------------------Use --include-merges or -n0 to see merged revisions.

> Did you set `vm-load-headers-only' to t by any chance?

no
> VM thinks that the message you were trying to save doesn't have the
> message body. Any idea why it got that?

don't know, and I am optimistic that there is no damage to the messages I try to File into another folder.  will try the things you are suggesting below later (teaching 2 courses today...).
> The best case scenario is that there is a bug in VM somewhere and it
> mistakenly thinks that the message doesn't have a body.
>
> The worst case scenario is that you have damaged messages in your
> folder. In that case, we will need to investigate the extent of the
> damage. This could be serious :-(
>
> I will mark this bug report private so that we can exchange
> information more safely.
>
> Cheers,
> Uday
>

_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1

Uday Reddy (reddyuday) wrote :

Hi Eli, I have located the problem and committed a fix. Please try it. There was no danger of folder corruption.

Cheers,
Uday

Changed in vm:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Uday Reddy (reddyuday)
milestone: none → 8.2.0-devo
tags: added: headers-only

works.  thanks!  that was fast...  appreciate this...  cheers, E

>
> Hi Eli, I have located the problem and committed a fix. Please try it.
> There was no danger of folder corruption.
>
> Cheers,
> Uday

_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1

Uday Reddy (reddyuday) on 2010-04-18
Changed in vm:
milestone: 8.2.0-devo → 8.1.90a
Uday Reddy (reddyuday) on 2010-04-18
visibility: private → public
Uday Reddy (reddyuday) on 2010-04-27
Changed in vm:
status: Fix Committed → Fix Released
Uday Reddy (reddyuday) on 2011-11-12
tags: added: save
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers