[mel-base-devel] find-message bug - possible without using messages?

Fred Gibson fred at streamfocus.com
Fri Mar 5 21:16:58 UTC 2010


I'm trying to use find-message on an imap folder without investing the
time of calling messages on that folder.  I get the following error
when I try it:

Sequence number 2 does not reference a message
   [Condition of type SIMPLE-ERROR]

Restarts:
 0: [RETRY] Retry SLIME REPL evaluation request.
 1: [ABORT] Return to SLIME's top level.
 2: [TERMINATE-THREAD] Terminate this thread (#<THREAD
"new-repl-thread" RUNNING {CBB5099}>)

Backtrace:
  0: ((SB-PCL::FAST-METHOD MEL.FOLDERS.IMAP::SEQUENCE-NUMBER-MESSAGE
(MEL.FOLDERS.IMAP::SEQUENCE-TABLE-MIXIN T)) ..)
  1: (SB-DEBUG::TRACE-CALL #<SB-DEBUG::TRACE-INFO
MEL.FOLDERS.IMAP::SEQUENCE-NUMBER-MESSAGE>)
  2: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SB-DEBUG::TRACE-CALL
'#<SB-DEBUG::TRACE-INFO MEL.FOLDERS.IMAP::SEQUENCE-NUMBER-MESSAGE>)
#<NULL-LEXENV>)
  3: (SB-IMPL::ENCAPSULATION #<MEL.FOLDERS.IMAP:IMAPS-FOLDER
imap://frederick@gibson-design.com!@imap.gmail.com:993 {11BAA5B1}> 2)
  4: ((SB-PCL::FAST-METHOD MEL.FOLDERS.IMAP::PROCESS-RESPONSE
(MEL.FOLDERS.IMAP:IMAP-FOLDER)) ..)[:EXTERNAL]
  5: (SB-DEBUG::TRACE-CALL #<SB-DEBUG::TRACE-INFO
MEL.FOLDERS.IMAP::PROCESS-RESPONSE>)
  6: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SB-DEBUG::TRACE-CALL
'#<SB-DEBUG::TRACE-INFO MEL.FOLDERS.IMAP::PROCESS-RESPONSE>)
#<NULL-LEXENV>)
  7: (SB-IMPL::ENCAPSULATION #<MEL.FOLDERS.IMAP:IMAPS-FOLDER
imap://frederick@gibson-design.com!@imap.gmail.com:993 {11BAA5B1}>
:ON-HEADER #<CLOSURE (LAMBDA #) {11CA0C85}>)
  8: ((SB-PCL::FAST-METHOD MEL.FOLDERS.IMAP::FETCH-MESSAGE-HEADER
(MEL.FOLDERS.IMAP:IMAP-FOLDER T)) ..)
  9: (SB-DEBUG::TRACE-CALL #<SB-DEBUG::TRACE-INFO
MEL.FOLDERS.IMAP::FETCH-MESSAGE-HEADER>)
 10: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SB-DEBUG::TRACE-CALL
'#<SB-DEBUG::TRACE-INFO MEL.FOLDERS.IMAP::FETCH-MESSAGE-HEADER>)
#<NULL-LEXENV>)
 11: (SB-IMPL::ENCAPSULATION #<MEL.FOLDERS.IMAP:IMAPS-FOLDER
imap://frederick@gibson-design.com!@imap.gmail.com:993 {11BAA5B1}> 2)
 12: ((SB-PCL::FAST-METHOD
MEL.INTERNAL:MESSAGE-HEADER-STREAM-USING-FOLDER
(MEL.FOLDERS.IMAP:IMAP-FOLDER T)) ..)
 13: (SB-DEBUG::TRACE-CALL #<SB-DEBUG::TRACE-INFO
MEL.INTERNAL:MESSAGE-HEADER-STREAM-USING-FOLDER>)
 14: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SB-DEBUG::TRACE-CALL
'#<SB-DEBUG::TRACE-INFO
MEL.INTERNAL:MESSAGE-HEADER-STREAM-USING-FOLDER>) #<NULL-LEXENV>)
 15: (SB-IMPL::ENCAPSULATION #<MEL.FOLDERS.IMAP:IMAPS-FOLDER
imap://frederick@gibson-design.com!@imap.gmail.com:993 {11BAA5B1}>
#<MEL.PUBLIC:MIME-MESSAGE {11C13859}>)
 16: (SB-INT:SIMPLE-EVAL-IN-LEXENV (MEL.PUBLIC:MESSAGE-HEADER-STREAM
*) #<NULL-LEXENV>)

After calling messages on the folder, find-message works with no
issues.  Is there some way to use find-message without the messages
call?

My best,

Fred Gibson

Founder / Software Developer
http://www.streamfocus.com

(c)2010 Organon Technologies LLC




More information about the mel-base-devel mailing list