Modify ↓
#295 closed bug (fixed)Yam 2.7 Systematic error when trying to send a previously saved outgoing message
DescriptionSummary
When i do save an outgoing message, save it and then try ot send it later, i systematically get an error messag of this type:
"Couldn't read from file
The file doesn't seem to exist.
(03/20/2012 7:02 NM)"
I did install Yam2.7 in a new directory, then copied .config .spamdata .addressbook .folders to this drawer. Steps to reproduce
Expected results
Actual results
The message is not sent
"Couldn't read from file
The file doesn't seem to exist.
(03/20/2012 7:02 NM)"
The message description appears in the "outgoing" folder and is preceded with an icon showing a white "x" on a red shield RegressionNotes
I did install Yam2.7 in a new directory, then copied .config .spamdata .addressbook .folders to this drawer.
I have this problem right from the start, after installing YAM 2.7
To send saved messages i do have to copy and paste the text, the subject & destionation to a New message and send it immediately Attachments (0)Change History (21)comment:1 Changed 43 years ago by JosDuchIt
comment:2 Changed 43 years ago by JosDuchIt
comment:3 Changed 13 months ago by thboeckelcomment:4 follow-up: ↓ 6 Changed 13 months ago by JosDuchIt
Content of the mail i did sent you on 21 mar 2012 below 2d message
having done more tests i can confirm that the error message systematically 1st message
O just made an other unsuccessdfull try giving me the message
The file doesn't seem to exist.
(03/21/2012 7:54 VM)"
Beneath the content of ongoing drawer. Most files are still there because of
I do observe that the error message gives an incomplete file name (R & E are
7.Datas:YAM_2.7> list outgoing comment:5 Changed 13 months ago by anonymous
I did sent 2 answers to trac@… same day 03/21/2012 comment:6 in reply to: ↑ 4 Changed 13 months ago by thboeckel
Replying to JDuch@…:
It is quite obvious why YAM cannot find the file it is looking for. But what really puzzles me is the name. The "Q" is perfectly alright, as it is a queued mail. The "E" character is "partly" alright and will be added if sending the mail fails for any reason (including YAM being unable to read the file). But what is wrong is the "R" character which identifies already read mails. Mails in the outgoing folder cannot be marked as "read" and will always be "unread".
Can you please check the settings of your outgoing folder? The type must be "sent mail". Since the outgoing folder is a standard folder the type cannot be modified using YAM's GUI. If the type is anything else but "sent mail" then please check the .fconfig file in the outgoing directory. It must contain the line "Type = 2". If the type is different then please change this with a text editor and restart YAM. comment:7 follow-up: ↓ 8 Changed 13 months ago by JosDuchIt
That is the case (ghosted)
That .fconfig file contains the line "Type = 2" comment:8 in reply to: ↑ 7 Changed 13 months ago by thboeckel
Replying to JDuch@…:
Well, then I am out of ideas for the moment. Your settings look ok, but I am not able to reproduce this issue.
Could you please create a FOLDER log using the debug version of YAM? Basics about YAM's debugging facilities can be found in the FAQ.
Maybe you even try the latest YAM 2.8-dev which got some extended debug output in this respect. comment:9 follow-up: ↓ 10 Changed 13 months ago by JosDuchIt
I created a folder log, but maybe with the normal YAM2.7 version
I get the result below when i do sent a previously saved message, after having selected it in the outgoing folder, & having hit the 'edit' button (but not canging anything to the message)
till i get the error message and close it
00:W: Timer.c:176:timer[4]: already stopped
The output below starts with the hitting of the 'new' button, & is generated during creation of the message, save it in the ongoing folder, call it back with th 'edit' button, sending it, till closing the error message.
00:W: YAM_UT.c:4165:MapRawKey returned != 1 (00000000) comment:10 in reply to: ↑ 9 Changed 13 months ago by thboeckel
Replying to JDuch@…:
Then you did not read the entire FAQ entry carefully enough. Although YAM's debugging messages can be captured using Sashimi it is also possible to either let YAM print all debugging messages to the shell you started YAM from (keyword STDOUT) or to let YAM write the debugging messages directly to a file (keyword FILE:filename).
Your log file settings seems to be messed up. You have logging enabled but you seem to have no valid path for the log files configured. However, this is not the root of this issue.
Unfortunately this debug log does not contain any helpful information. That is why I asked you to use the nightly build of YAM 2.8-dev as this will output some more debugging information. It is possible to install YAM 2.7 and YAM 2.8-dev in parallel in two directories, each with its own mail database.
And could you post your .folders file here please? I am getting the impression that there is something wrong with your pathes. comment:11 follow-up: ↓ 12 Changed 13 months ago by anonymous
I did check my settings in settings/security: for section log files i read
I didn't find YAM 2.8-dev nightly build yet comment:12 in reply to: ↑ 11 Changed 13 months ago by thboeckel
Replying to anonymous:
Please log in before answering. Otherwise your answer may end up as spam and we have to manually accept each and every answer.
Well, shouldn't that ring a bell for you? If logging worked at some time but does no longer recently (perhaps since you switched the machine?) then there must be something wrong, if you like it or not.
On this very page (yam.ch) there is a download section with the nightly builds right at the top. To make it short: here. Just pick the version which suits you best. comment:13 follow-up: ↓ 14 Changed 13 months ago by anonymous
installed i in a new drawer, copied over all the ".something" files
About the logfile:
the logging did not work because the path indicated in the security settings was taken over from previous install and did no longer exist. After correcting this the 'ticket' problem persisted.
I will try how well the 2.8 debug version behaves in other respects.
comment:14 in reply to: ↑ 13 Changed 13 months ago by thboeckel
Replying to anonymous:
Again, you forgot to log in. Please do that before answering the next time.
Most probably not. You might want to try the regular non-debug build of YAM 2.8-dev. If that version does not show this issue then it was fixed already since the release of YAM 2.7. The consequence for you should be logical then: either stick with 2.7 until 2.8 is eventually released and live with the known limitation, or completely switch over to 2.8-dev if you are brave enough. Although we do our best to keep the development version as stable as possible we cannot guarantee this at any time. It might happen that YAM 2.8-dev kills your kitten comment:15 follow-ups: ↓ 16 ↓ 17 Changed 13 months ago by JosDuchIt
Sorry for not logging in
Contrary to what i wrote 2.8Dev gets the "ticket" problem too.
I have tried to pin down when it appears on a new install.
Changing this file only partially, the problem appears as soon as i changed the [TCP/IP] settings (which is the minimum needed to make a connection.) I don't see anything peculiar there (has always worked)
The only thing i noticed was a difference in the pre-selection setting (0 in the archive's setting) while it was 1 in mine. I remember having been surprised seeing more info when moving from 2.6p1 to 2.7 (I did not change consciously any setting then, just copied .config from 2.6p1)
What i did notice is that just copying some of the .dot files without changing some paths, ( gallery, logfile, ..etc) may create problems & even crashes
I would like to produce YAM2.8' debug output now
USER/K,PASSWORD/K,MAILDIR/K,PREFSFILE/K,NOCHECK/S,HIDE/S,DEBUG/S,MAILTO/K,SUBJECT/K,LETTER/K,ATTACH/M,NOIMGWARNING/S,NOCATALOG/S,NOSPLASHWINDOW/S
I don't see the STDOUT or FILE keyword here ? comment:16 in reply to: ↑ 15 Changed 13 months ago by thboeckel
Replying to JosDuchIt:
Preselection has absolutely nothing to do with this issue, because preselection will be applied during POP3 mail download, while your issue is about SMTP mail upload.
If something crashes then we are highly interested in details, but please open a new ticket, preferrably one ticket for each crash. And please be absolutely precise about which files you are talking and which file with which content exactly causes a crash. The log file cannot be the culprit for any crashes as it will be created or appended to. Any previous content is irrelevant.
Read the FAQ again, PLEASE! And read it completely, from top to bottom! Just must set the ENV variable "yamdebug" appropriately. I.e. "setenv yamdebug stdout,folder" will enable FOLDER debugging messages only and everything will be printed to the shell you started YAM from.
What you were referring to are the normal commandline options and tooltypes. These are available in the normal build as well. comment:17 in reply to: ↑ 15 Changed 13 months ago by damato
Replying to JosDuchIt:
Sorry, but I think you still mix up things here. In fact, we have two different things here regarding debugging. one is the DEBUG command-line option you can use with the YAM executable. This however is supposed to output the TCP/IP traffic on stdout only. So it is meant for ordanary users to check why a certain TCP/IP related error occurred. This option is even available in stable releases.
The other thing is the possibility to set an environment variable "ENV:yamdebug" with certain content which will instruct the debugging version of YAM (the YAM.debug file included in every nightly build/development version) to output additional runtime information either on the serial output or on stdout or even into a file. That is what Thore is referring to and you should use a command like setenv yamdebug "folder,stdout"
to output the debugging on stdout and include additional information on the "folder" module in YAM. and by using the following command setenv yamdebug "folder,file:ram:t/yamdebug.txt"
it will even log into a file instead of outputting to stdout.
make sure to restart YAM.debug everything you change the content of the environment variable so that it will re-read the content of it. Also have a look at the FAQ item Thore was referring because there we explain the runtime debugging of YAM in more detail. comment:18 Changed 13 months ago by anonymous
I have tested using these debug possibilities, but i don't find something that looks helpfull.
For testing I now typically do prepare a number of messages & save them in outgoing.
Now about the R, Q & E extension characters, it is clear that the R appears in the outgoing folder too.
.. mode NEW extension RQ
that last one just after a Rename probably to the Q extension
this last call is mentioned as o.k or FAIL (quite in correspondence of a succesfull or failed sent)
When i spoke of crashes in a previous mail they were related to files pointed to in YAM prefs that were no longer present (pointing to a suppressed YAM install) If i remember well the .spamdata file comment:19 Changed 13 months ago by thboeckel
Well, now everything becomes clear. You have the embedded read pane active, while I prefer the separate read window. With the latter a mail in the outgoing folder cannot be "read", but only b e edited. With the embedded read pane a mail will always be displayed immediately, which is different from the separate read window.
However, I still am not able to reproduce the issue, even with the embedded read pane being active. No matter how fast I double click on a yet unread mail in the outgoing folder the mail always is sent successfully.
I will check in a modification which will not mark mails in the outgoing folder as read. Please check again with the next nightly build if this fixes the issue for you. If not the please reopen this ticket.
!!! IMPORTANT NOTE !!'''
Sorry, but I cannot believe that. YAM's spam filter does not care a bit about a missing or existing .spamdata file. If it exists, it will be used. If it is missing YAM will run with a completely untrained spam filter. This is just the same situation as when you switch on the spam filter for the very first time. If replacing or omitting a certain file results in a crash then please make sure that you know which file it was. Just "remembering well" is not enough, I'm affraid. comment:20 Changed 13 months ago by thboeckel
comment:21 Changed 9 months ago by thboeckel
Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber
| ||||||||||||||||||||||||||||



Are you going to provide the information I asked for? Otherwise I will close it as "works for me".