Author Topic: PMMail - corrupted folders?  (Read 11248 times)

Dariusz Piatkowski

  • Hero Member
  • *****
  • Posts: 1343
  • Karma: +26/-0
    • View Profile
PMMail - corrupted folders?
« on: December 08, 2021, 02:35:16 pm »
Hi Everyone,

I've been happily using PMMail [3.24.01.1981 (32798) - Mar 13 2020 17:32:02 +0000 (GMT)] for a while now. No issues, although occasionally at start-up it'll trap, meaning the WPS goes locked but usually after a few ESC-CTRL hits it'll re-awake. Mostly a nuissance really.

As best as I can tell I have never encountered any problems, however the other day I was putting away some new emails into a much much older folder and couldn't find the emails afterwards. I re-index that particular folder at first, no change, I then re-index that whole folder tree, still no change.

This morning I hit CLI and went looking for the actual email MSG file itself...lo' and behold, nowhere to be found...worse yet, that whole folder TREE is completely missing!!! ugh????

Now the strange thing (to me anyways) is that from within PMMail I am still able to access each one of the folder tree contents...so it looks like the stuff is still there (thank God, so I haven't lost anything it would seem), but attempting to move new emails into that tree does appear to send the messages into "nowhere".

So am I seeing some kind of a corruption here?

No idea at all how to troubleshoot this...any hints/suggestions would be greatly appreciated!

Thanks!

EDIT
====

I went looking through the PMMail program logs and I think I found the matching entries for this email move transaction...however it appears to have completed just fine?

Code: [Select]
...
2021-12-08T08:19:15.033 (008)-I-MessageMoveMessage: enter. use mutex [1]                                                                                           
2021-12-08T08:19:15.033 (008)-I-MessageMoveMessage: moving from [Dariusz]:[Inbox] to [Dariusz]:[Mopar Archives]:[Engine Components]                               
2021-12-08T08:19:15.037 (001)-I-oswin_msg_drag: dragged [1] of [1] allowed of [1] requested                                                                       
2021-12-08T08:19:15.037 (001)-I-oswin_msg_drag: Dropped on Accounts/Folder                                                                                         
2021-12-08T08:19:15.039 (001)-I-oswin_msg_drag: leave                                                                                                             
2021-12-08T08:19:15.065 (008)-I-xmlfolder.profile_save: fld change [1], saving [Dariusz]:[Inbox]                                                                   
2021-12-08T08:19:15.072 (008)-I-xmlfolder.profile_save: fld change [1], saving [Dariusz]:[Mopar Archives]:[Engine Components]                                     
2021-12-08T08:19:15.080 (008)-I-MessageMoveMessage: leave.                                                                                                         
...
« Last Edit: December 08, 2021, 02:58:53 pm by Dariusz Piatkowski »

Dariusz Piatkowski

  • Hero Member
  • *****
  • Posts: 1343
  • Karma: +26/-0
    • View Profile
Re: PMMail - corrupted folders?
« Reply #1 on: December 08, 2021, 03:59:12 pm »
Hmm...I found where that "missing" folder actually is. The whole tree which this folder belongs to is actually placed elsewhere, and is part of another tree. That is how things are stored on the disk, just to be clear.

As to how this happened I have no clue, perhaps this was a result of me re-organizing my PMMail folders in the past? Small adds of a folder here or there, etc...nothing major though.

The good news is that the actual email MSG files are there, but of course the challenge is that they can not be found and therefore accessed from within PMMail.

To resolve I think I'm going to test the following out:

1) create a NEW parent folder elsewhere (off the Root)
2) create NEW folders for each of the folders currently in my "misplaced" tree
3) move the contents (email bodies) from the old folders to the NEW folders one-by-one

I will try a single folder first, see if it all stays in-sync and go from there.

Still interested in hearing your opinions, especially if you suspect there is something inherently "gone wrong" with my PMMail that needs correcting.

Thanks!

Doug Bissett

  • Hero Member
  • *****
  • Posts: 1599
  • Karma: +4/-2
    • View Profile
Re: PMMail - corrupted folders?
« Reply #2 on: December 08, 2021, 07:49:59 pm »
You probably just, accidentally, clicked the mouse button, as you went past the folder. I have done that a few times. It is easy to recover, just close PMMail, and move the folder (directory) back where it is supposed to be. Open PMMail, and it should be back.

Dariusz Piatkowski

  • Hero Member
  • *****
  • Posts: 1343
  • Karma: +26/-0
    • View Profile
Re: PMMail - corrupted folders?
« Reply #3 on: December 09, 2021, 01:58:52 pm »
Hi Doug,

You probably just, accidentally, clicked the mouse button, as you went past the folder...

I honestly wish it was that simple, which also happens to be what I initially suspected I must have done. However, looking at all these folders I could NOT find the emails. I think this was all driven by the fact that my whole folder tree in this configuration somehow got messed up (see my 2nd post below where the structure I was seeing inside PMMail window did NOT match the structure on the disk).

Anyways, I moved my stuff over to a new folder tree, which is something that I needed to do anyways as this needed a re-organization, so if anything this "issue" just moved up that activity.

While on this topic, Doug I think you are the one who builds PMMail, right? If so, what's the process I need to follow to get my hands on the latest release?

Thanks!

Neil Waldhauer

  • Hero Member
  • *****
  • Posts: 1062
  • Karma: +26/-0
    • View Profile
    • Blonde Guy
Re: PMMail - corrupted folders?
« Reply #4 on: December 09, 2021, 03:27:42 pm »
I build PMMail for release and maintain the website. http://pmmail.os2voice.org/index.php?title=Main_Page

Go to the website, or to Hobbes, and click on the link to download it.

I don't use PMMail except to test it, so I have not seen the behavior you describe. If what is in PMMail does not match what you have on disk, re-index the folder. If that fails, you might get a better error message.
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com

Dariusz Piatkowski

  • Hero Member
  • *****
  • Posts: 1343
  • Karma: +26/-0
    • View Profile
Re: PMMail - corrupted folders?
« Reply #5 on: December 09, 2021, 07:20:24 pm »
Hi Neil,

I build PMMail for release and maintain the website. http://pmmail.os2voice.org/index.php?title=Main_Page...

Thanks for that. OK, latest version of PMMail has been deployed!

Martin Vieregg

  • Sr. Member
  • ****
  • Posts: 278
  • Karma: +2/-0
    • View Profile
Re: PMMail - corrupted folders?
« Reply #6 on: January 27, 2022, 07:09:42 pm »
Is there a new pmMail 3.26 in progress?

There are two ugly problems with 3.25:
  • The Text Edit field often does not get updated. I have to click to other folders and back to my folder to get the text of the first E-Mail in the list viewed.
  • Starting pmMail and changing to another folder is very time-consuming because Re-Indexing is very time-consuming. Former versions did not re-index every time. Even receiving new E-Mails takes a lot of time, because if a new mail is placed into the trash order, the trash order gets re-indexed every time.
  • re-indexing via context menu is now much slower than before.
  • A hotkey for "startin in browser" would be great.

Great would be to have the old performance with the current functionality. Perhaps someone can send this comments to the developer.

Doug Bissett

  • Hero Member
  • *****
  • Posts: 1599
  • Karma: +4/-2
    • View Profile
Re: PMMail - corrupted folders?
« Reply #7 on: January 27, 2022, 10:11:18 pm »
Quote
Is there a new pmMail 3.26 in progress?

Yes, there is a version 3.26 in progress. It likely won't be soon.

Quote
The Text Edit field often does not get updated. I have to click to other folders and back to my folder to get the text of the first E-Mail in the list viewed.

Usually, just select a different mail, then go back to the first one, will display the message in the preview pane. This is known, but we don't have a programmer to work on such things.

Quote
Starting pmMail and changing to another folder is very time-consuming because Re-Indexing is very time-consuming. Former versions did not re-index every time. Even receiving new E-Mails takes a lot of time, because if a new mail is placed into the trash order, the trash order gets re-indexed every time.

This is not normal. It indicates that you have some sort of problem that re-index is not fixing. I suggest going to the PMMail MANTIS bug tracker, and report it. Detailed logs might help.

Quote
re-indexing via context menu is now much slower than before.

What were you using before? PMMail did slow down, a bit, when XML is used. 3.25 has improved on that, somewhat, but it is still slower than pre-XML versions. XML is used because it supports languages other than English.

Quote
A hotkey for "startin in browser" would be great.

I am not sure what you mean. This should be added to the PMMail MANTIS bug tracker, as a feature request (if it hasn't already been requested). If we ever get a new programmer, who hasn't got many more important things to do, it will be looked at. Please be more specific about what you are asking for.

Neil Waldhauer

  • Hero Member
  • *****
  • Posts: 1062
  • Karma: +26/-0
    • View Profile
    • Blonde Guy
Re: PMMail - corrupted folders?
« Reply #8 on: January 28, 2022, 03:40:39 pm »
I want to comment about performance. For me, 3.25 and the private builds of 3.26 are insanely faster than all of the previous 3.x builds. I never tried 2.x builds. I have a million messages in my test account, so I think 2.x would have simple fallen over.
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com