Knode local folders can't be viewed.

When I click on most of my local folders in Knode I get the message “Error -
Kontact. Cannot load index-file”. The only two I can get into have the
subjects screwed but the message is OK. Anyone know what’s up?


Graham P Davis, Bracknell, Berks., UK. E-mail: newsman not newsboy

Graham P Davis wrote:

> When I click on most of my local folders in Knode I get the message “Error
> - Kontact. Cannot load index-file”. The only two I can get into have the
> subjects screwed but the message is OK. Anyone know what’s up?

I had the same issue on the 11.1 x86_64 installation but the local folders
survived on the 32-bit installation. My brute force solution was to delete
all the offending folders and recreate them on the 64-bit version but that
loses all the previously stored messages.


Will Honea

Will Honea wrote:

> Graham P Davis wrote:
>
>> When I click on most of my local folders in Knode I get the message
>> “Error - Kontact. Cannot load index-file”. The only two I can get into
>> have the subjects screwed but the message is OK. Anyone know what’s up?
>
> I had the same issue on the 11.1 x86_64 installation but the local folders
> survived on the 32-bit installation. My brute force solution was to
> delete all the offending folders and recreate them on the 64-bit version
> but that loses all the previously stored messages.
>

Looks like I may be to late for you but I’ve figured out how to restore
everything.

  1. Close knode - or kontact - whatever.

  2. Make a copy of .kde/share/apps/knode/folders/ and paste it into a
    non-hidden folder. This is because knode, kmail, etc., can’t find hidden
    folders for importing stuff - clever design feature.

  3. Rename /folders/ in .kde - to/folders_OLD/ say.

  4. Open knode - or kontact.

  5. In knode, create new folders in “Local Folders” to roughly match the
    names of the mbox files in your /folders/ that have names such
    as “custom_12.mbox”.

  6. Click on the first folder in “Local folders” that you know is not empty -
    i.e. has an mbox file. This will probably be “Outbox” or “Sent”.

  7. Go to the menu and select “Folder/Import Mbox Folder . . .”

  8. In the box that appears, find the copy you made of /folders/ and select
    the correct mbox file, “sent_3.mbox” say, and click “open”. The messages
    held in this file will now appear in the “sent” folder.

  9. Return to (6) and repeat until you have restored all the massages.

  10. Now you can rename all your “custom_nn” folders in “Local Folders”. The
    original names of these are held in the equivalent .info files
    in /folders/.

And that should be the end - I think.


Graham P Davis, Bracknell, Berks., UK. E-mail: newsman not newsboy

Graham P Davis wrote:

> Will Honea wrote:
>
>> Graham P Davis wrote:
>>
>>> When I click on most of my local folders in Knode I get the message
>>> “Error - Kontact. Cannot load index-file”. The only two I can get into
>>> have the subjects screwed but the message is OK. Anyone know what’s up?
>>
>> I had the same issue on the 11.1 x86_64 installation but the local
>> folders
>> survived on the 32-bit installation. My brute force solution was to
>> delete all the offending folders and recreate them on the 64-bit version
>> but that loses all the previously stored messages.
>>
>
> Looks like I may be to late for you but I’ve figured out how to restore
> everything.
>
> 1) Close knode - or kontact - whatever.
>
> 2) Make a copy of .kde/share/apps/knode/folders/ and paste it into a
> non-hidden folder. This is because knode, kmail, etc., can’t find hidden
> folders for importing stuff - clever design feature.
>
> 3) Rename /folders/ in .kde - to/folders_OLD/ say.
>
> 4) Open knode - or kontact.
>
> 5) In knode, create new folders in “Local Folders” to roughly match the
> names of the mbox files in your /folders/ that have names such
> as “custom_12.mbox”.
>
> 6) Click on the first folder in “Local folders” that you know is not empty
> - i.e. has an mbox file. This will probably be “Outbox” or “Sent”.
>
> 7) Go to the menu and select “Folder/Import Mbox Folder . . .”
>
> 8) In the box that appears, find the copy you made of /folders/ and select
> the correct mbox file, “sent_3.mbox” say, and click “open”. The messages
> held in this file will now appear in the “sent” folder.
>
> 9) Return to (6) and repeat until you have restored all the massages.
>
> 10) Now you can rename all your “custom_nn” folders in “Local Folders”.
> The original names of these are held in the equivalent .info files
> in /folders/.
>
> And that should be the end - I think.

I’ll give that a try - sounds like a reasonable explanation. How did you
tumble to that without running a debug trace?


Will Honea

Will Honea wrote:

> Graham P Davis wrote:
>
>> Will Honea wrote:
>>
>>> Graham P Davis wrote:
>>>
>>>> When I click on most of my local folders in Knode I get the message
>>>> “Error - Kontact. Cannot load index-file”. The only two I can get into
>>>> have the subjects screwed but the message is OK. Anyone know what’s up?
>>>
>>> I had the same issue on the 11.1 x86_64 installation but the local
>>> folders
>>> survived on the 32-bit installation. My brute force solution was to
>>> delete all the offending folders and recreate them on the 64-bit version
>>> but that loses all the previously stored messages.
>>>
>>
>> Looks like I may be to late for you but I’ve figured out how to restore
>> everything.
>>
>> 1) Close knode - or kontact - whatever.
>>
>> 2) Make a copy of .kde/share/apps/knode/folders/ and paste it into a
>> non-hidden folder. This is because knode, kmail, etc., can’t find hidden
>> folders for importing stuff - clever design feature.
>>
>> 3) Rename /folders/ in .kde - to/folders_OLD/ say.
>>
>> 4) Open knode - or kontact.
>>
>> 5) In knode, create new folders in “Local Folders” to roughly match the
>> names of the mbox files in your /folders/ that have names such
>> as “custom_12.mbox”.
>>
>> 6) Click on the first folder in “Local folders” that you know is not
>> empty - i.e. has an mbox file. This will probably be “Outbox” or “Sent”.
>>
>> 7) Go to the menu and select “Folder/Import Mbox Folder . . .”
>>
>> 8) In the box that appears, find the copy you made of /folders/ and
>> select the correct mbox file, “sent_3.mbox” say, and click “open”. The
>> messages held in this file will now appear in the “sent” folder.
>>
>> 9) Return to (6) and repeat until you have restored all the massages.
>>
>> 10) Now you can rename all your “custom_nn” folders in “Local Folders”.
>> The original names of these are held in the equivalent .info files
>> in /folders/.
>>
>> And that should be the end - I think.
>
> I’ll give that a try - sounds like a reasonable explanation. How did you
> tumble to that without running a debug trace?
>

I found out years ago roughly where these things were stored but,
unfortunately, I keep forgetting and also each new release of knode and
kmail seems to change the storage location so I have to re-learn how to fix
things. From what I’ve seen in other groups, they are stored differently in
SUSE compared to other distributions.

I suppose the rough answer is trial and error. Hunt around for something
that has “knode” in the file-name, take copies, restart the program, and
have a look to see what’s changed in the files and how the program behaves.
Many of the files can be opened for viewing - by “kwrite” say.

I often find it useful to ask someone else as this often gets the mind
thinking along different lines or perhaps remembering a few tricks that
haven’t been used for a year or so.


Graham P Davis, Bracknell, Berks., UK. E-mail: newsman not newsboy

Graham P Davis wrote:

> I found out years ago roughly where these things were stored but,
> unfortunately, I keep forgetting and also each new release of knode and
> kmail seems to change the storage location so I have to re-learn how to
> fix things. From what I’ve seen in other groups, they are stored
> differently in SUSE compared to other distributions.

This is especially useful as I have been looking for a decent way to keep
2-3 desktops and a couple of laptops synced for news and email as I never
know which one I’ll be using and it’s really handy to have them sync either
on command or on boot.

> I suppose the rough answer is trial and error. Hunt around for something
> that has “knode” in the file-name, take copies, restart the program, and
> have a look to see what’s changed in the files and how the program
> behaves. Many of the files can be opened for viewing - by “kwrite” say.

IOW: when skill and cunning fail, get a bigger hammer <g>.

> I often find it useful to ask someone else as this often gets the mind
> thinking along different lines or perhaps remembering a few tricks that
> haven’t been used for a year or so.

No kidding! I expected my septugenarian short-term memory to begin to fail.
What I failed to appreciate was that “short-term” is relative and extends
further each year.


Will Honea

Graham P Davis wrote:

> When I click on most of my local folders in Knode I get the message “Error
> - Kontact. Cannot load index-file”. The only two I can get into have the
> subjects screwed but the message is OK. Anyone know what’s up?

I had the same issue on the 11.1 x86_64 installation but the local folders
survived on the 32-bit installation. My brute force solution was to delete
all the offending folders and recreate them on the 64-bit version but that
loses all the previously stored messages.


Will Honea

Will Honea wrote:

> Graham P Davis wrote:
>
>> When I click on most of my local folders in Knode I get the message
>> “Error - Kontact. Cannot load index-file”. The only two I can get into
>> have the subjects screwed but the message is OK. Anyone know what’s up?
>
> I had the same issue on the 11.1 x86_64 installation but the local folders
> survived on the 32-bit installation. My brute force solution was to
> delete all the offending folders and recreate them on the 64-bit version
> but that loses all the previously stored messages.
>

Looks like I may be to late for you but I’ve figured out how to restore
everything.

  1. Close knode - or kontact - whatever.

  2. Make a copy of .kde/share/apps/knode/folders/ and paste it into a
    non-hidden folder. This is because knode, kmail, etc., can’t find hidden
    folders for importing stuff - clever design feature.

  3. Rename /folders/ in .kde - to/folders_OLD/ say.

  4. Open knode - or kontact.

  5. In knode, create new folders in “Local Folders” to roughly match the
    names of the mbox files in your /folders/ that have names such
    as “custom_12.mbox”.

  6. Click on the first folder in “Local folders” that you know is not empty -
    i.e. has an mbox file. This will probably be “Outbox” or “Sent”.

  7. Go to the menu and select “Folder/Import Mbox Folder . . .”

  8. In the box that appears, find the copy you made of /folders/ and select
    the correct mbox file, “sent_3.mbox” say, and click “open”. The messages
    held in this file will now appear in the “sent” folder.

  9. Return to (6) and repeat until you have restored all the massages.

  10. Now you can rename all your “custom_nn” folders in “Local Folders”. The
    original names of these are held in the equivalent .info files
    in /folders/.

And that should be the end - I think.


Graham P Davis, Bracknell, Berks., UK. E-mail: newsman not newsboy

Graham P Davis wrote:

> Will Honea wrote:
>
>> Graham P Davis wrote:
>>
>>> When I click on most of my local folders in Knode I get the message
>>> “Error - Kontact. Cannot load index-file”. The only two I can get into
>>> have the subjects screwed but the message is OK. Anyone know what’s up?
>>
>> I had the same issue on the 11.1 x86_64 installation but the local
>> folders
>> survived on the 32-bit installation. My brute force solution was to
>> delete all the offending folders and recreate them on the 64-bit version
>> but that loses all the previously stored messages.
>>
>
> Looks like I may be to late for you but I’ve figured out how to restore
> everything.
>
> 1) Close knode - or kontact - whatever.
>
> 2) Make a copy of .kde/share/apps/knode/folders/ and paste it into a
> non-hidden folder. This is because knode, kmail, etc., can’t find hidden
> folders for importing stuff - clever design feature.
>
> 3) Rename /folders/ in .kde - to/folders_OLD/ say.
>
> 4) Open knode - or kontact.
>
> 5) In knode, create new folders in “Local Folders” to roughly match the
> names of the mbox files in your /folders/ that have names such
> as “custom_12.mbox”.
>
> 6) Click on the first folder in “Local folders” that you know is not empty
> - i.e. has an mbox file. This will probably be “Outbox” or “Sent”.
>
> 7) Go to the menu and select “Folder/Import Mbox Folder . . .”
>
> 8) In the box that appears, find the copy you made of /folders/ and select
> the correct mbox file, “sent_3.mbox” say, and click “open”. The messages
> held in this file will now appear in the “sent” folder.
>
> 9) Return to (6) and repeat until you have restored all the massages.
>
> 10) Now you can rename all your “custom_nn” folders in “Local Folders”.
> The original names of these are held in the equivalent .info files
> in /folders/.
>
> And that should be the end - I think.

I’ll give that a try - sounds like a reasonable explanation. How did you
tumble to that without running a debug trace?


Will Honea

Will Honea wrote:

> Graham P Davis wrote:
>
>> Will Honea wrote:
>>
>>> Graham P Davis wrote:
>>>
>>>> When I click on most of my local folders in Knode I get the message
>>>> “Error - Kontact. Cannot load index-file”. The only two I can get into
>>>> have the subjects screwed but the message is OK. Anyone know what’s up?
>>>
>>> I had the same issue on the 11.1 x86_64 installation but the local
>>> folders
>>> survived on the 32-bit installation. My brute force solution was to
>>> delete all the offending folders and recreate them on the 64-bit version
>>> but that loses all the previously stored messages.
>>>
>>
>> Looks like I may be to late for you but I’ve figured out how to restore
>> everything.
>>
>> 1) Close knode - or kontact - whatever.
>>
>> 2) Make a copy of .kde/share/apps/knode/folders/ and paste it into a
>> non-hidden folder. This is because knode, kmail, etc., can’t find hidden
>> folders for importing stuff - clever design feature.
>>
>> 3) Rename /folders/ in .kde - to/folders_OLD/ say.
>>
>> 4) Open knode - or kontact.
>>
>> 5) In knode, create new folders in “Local Folders” to roughly match the
>> names of the mbox files in your /folders/ that have names such
>> as “custom_12.mbox”.
>>
>> 6) Click on the first folder in “Local folders” that you know is not
>> empty - i.e. has an mbox file. This will probably be “Outbox” or “Sent”.
>>
>> 7) Go to the menu and select “Folder/Import Mbox Folder . . .”
>>
>> 8) In the box that appears, find the copy you made of /folders/ and
>> select the correct mbox file, “sent_3.mbox” say, and click “open”. The
>> messages held in this file will now appear in the “sent” folder.
>>
>> 9) Return to (6) and repeat until you have restored all the massages.
>>
>> 10) Now you can rename all your “custom_nn” folders in “Local Folders”.
>> The original names of these are held in the equivalent .info files
>> in /folders/.
>>
>> And that should be the end - I think.
>
> I’ll give that a try - sounds like a reasonable explanation. How did you
> tumble to that without running a debug trace?
>

I found out years ago roughly where these things were stored but,
unfortunately, I keep forgetting and also each new release of knode and
kmail seems to change the storage location so I have to re-learn how to fix
things. From what I’ve seen in other groups, they are stored differently in
SUSE compared to other distributions.

I suppose the rough answer is trial and error. Hunt around for something
that has “knode” in the file-name, take copies, restart the program, and
have a look to see what’s changed in the files and how the program behaves.
Many of the files can be opened for viewing - by “kwrite” say.

I often find it useful to ask someone else as this often gets the mind
thinking along different lines or perhaps remembering a few tricks that
haven’t been used for a year or so.


Graham P Davis, Bracknell, Berks., UK. E-mail: newsman not newsboy

Graham P Davis wrote:

> I found out years ago roughly where these things were stored but,
> unfortunately, I keep forgetting and also each new release of knode and
> kmail seems to change the storage location so I have to re-learn how to
> fix things. From what I’ve seen in other groups, they are stored
> differently in SUSE compared to other distributions.

This is especially useful as I have been looking for a decent way to keep
2-3 desktops and a couple of laptops synced for news and email as I never
know which one I’ll be using and it’s really handy to have them sync either
on command or on boot.

> I suppose the rough answer is trial and error. Hunt around for something
> that has “knode” in the file-name, take copies, restart the program, and
> have a look to see what’s changed in the files and how the program
> behaves. Many of the files can be opened for viewing - by “kwrite” say.

IOW: when skill and cunning fail, get a bigger hammer <g>.

> I often find it useful to ask someone else as this often gets the mind
> thinking along different lines or perhaps remembering a few tricks that
> haven’t been used for a year or so.

No kidding! I expected my septugenarian short-term memory to begin to fail.
What I failed to appreciate was that “short-term” is relative and extends
further each year.


Will Honea