The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

26. September 2011, 15:41:34

fonant

Posts: 120

Mail panel corruption

While working with Opera this afternoon, something went badly wrong with my Mail panel.

  • I can set up the panel to show just the sections I want, but whenever I restart Opera I get three unwanted sections re-appearing above "All Messages".
  • The "Feeds" panel doesn't show any feeds, even though the RSS posts are there in the mail store, and are visible when I right-click on the Feeds panel header and select "Read Feeds".


It looks like a problem with index.ini in my mail store folder, but I can't easily see what needs to be changed to fix it.
www.fonant.com
Quality websites, with the help of Opera
www.numberlinelane.co.uk
Teaching and learning maths through stories

26. September 2011, 22:01:23

fonant

Posts: 120

OK, I can get my feeds back by doing Opera > Feeds > Manage Feeds... and subscribing to them again.

But this gets lost, and all my hidden Mail panel sections re-appear when I re-start Opera...
www.fonant.com
Quality websites, with the help of Opera
www.numberlinelane.co.uk
Teaching and learning maths through stories

27. September 2011, 01:31:02

burnout426

Posts: 13202

I'd click the view button on the mail panel toolbar and choose "reset mail panel to defaults". Sounds like index.ini got messeds up. It could be something else too, but I'd try that first.

27. September 2011, 08:28:35

fonant

Posts: 120

Have already tried "reset mail panel to defaults", which shows all the sub-panels. But I still get the per-account sub-panels always re-appearing (above "All Messages") and the feeds disappearing when I restart Opera. Thanks for the idea though!

I plan to see if I can work out what the index.ini should look like (I have a copy from a few weeks ago). One obvious difference is that the "category" numbers have changed.
www.fonant.com
Quality websites, with the help of Opera
www.numberlinelane.co.uk
Teaching and learning maths through stories

27. September 2011, 09:31:36

burnout426

Posts: 13202

Make sure to check the permissions on the mail folder and all the files in it to make sure none of them are set to read-only for some reason.

Also, download the Opera installer and installer Opera over the top of itself (upgrade to the same version) to make sure Opera's program files are right.

You can close down Opera and delete autosave.win in the sessions folder too. You might want to switch to "Opera Standard" under "ctrl + F12 -> advanced -> toolbars" to rule that out.

You can close down Opera and rename operaprefs.ini to Opera creates a new one to see if that fixes anything. If not, you can put the old one back.

Make sure you're using the "Opera Standard" skin under "shift + f12 -> skins".

You can use the "standalone installation" option in the installer to install to a folder on your desktop. Then, you can replace its mail folder with a *copy* of yours to see if you can reproduce the problem with that Opera. If you can, then the problem is definitely in the mail folder. If not, I'd look for other causes. (Mail problems aren't always with the mail folder, so it's sometimes good to check.)

27. September 2011, 20:02:42

fonant

Posts: 120

Re-installed Opera, and checked permissions, all OK. But still problem persisted.

Fixed the problem by copying an older copy of index.ini over the top of the corrupted one. Now working fine again, only required sections of the Mail panel in view, and all my feeds are back. And this also survives Opera re-starting. Very odd!
www.fonant.com
Quality websites, with the help of Opera
www.numberlinelane.co.uk
Teaching and learning maths through stories

30. September 2011, 21:30:25

Moooooon

Posts: 29

Heh, looks like I have run into the exact same problem. The symptoms started out exactly the same, RSS feed gone and unwanted sections appearing. It got worse today, because now my labels are also gone. I wish I had found this thread earlier.

In addition to the above, I can make no changes to the Mail Panel at all. Anything I change gets reverted back when I load it new, including when I create new labels.

Sooo... I don't have a backup, so I don't have any older index.ini file. That means I'm screwed?

I guess i'll try running a new fresh install right over itself, fingers crossed...

30. September 2011, 21:37:46

Moooooon

Posts: 29

Re-running the installer on top of itself didn't fix it.

Where do I find that index.ini file in the Opera installation? I don't seem to have any??

30. September 2011, 21:50:29

Moooooon

Posts: 29

>You can close down Opera and delete autosave.win in the sessions folder too. You might want to switch to "Opera Standard" under "ctrl + F12 -> advanced -> toolbars" to rule that out.

I cannot find any autosave.win file, nor any "sessions" folder. Is this supposed to be inside the Opera folder?

>You can close down Opera and rename operaprefs.ini to Opera creates a new one to see if that fixes anything. If not, you can put the old one back.

I only see a file called operaprefs_default.ini in the Opera directory. I also have a file called "operadef6.ini". I can see a file operaprefs.ini in the folder "Custom->Defaults".

This is all very odd...

30. September 2011, 22:08:39

fonant

Posts: 120

My Feeds have decided to mostly disappear again sad Very odd. Fine for a few days, and then this corruption happened again for no apparent reason when I restarted Opera around lunchtime today.

The index.ini is in the mail folder. That's certainly the file that gets corrupted.
www.fonant.com
Quality websites, with the help of Opera
www.numberlinelane.co.uk
Teaching and learning maths through stories

30. September 2011, 22:22:21

burnout426

Posts: 13202

Originally posted by Moooooon:

Where do I find that index.ini file in the Opera installation?



opera:about shows you where everything is at.

30. September 2011, 22:27:01

Moooooon

Posts: 29

I managed to find that file finally in an odd place under "Documents and Settings"/[username]/Local Settings/Application Data.

It's pretty big, about 2.5 MB. How big is yours, fonant? Just curious, but are you using Windows XP by chance as well (I am).

I managed to open the ini file in UltraEdit and it opened fine, and I don't see anything corrupt about it, to be honest...

30. September 2011, 22:28:19

Moooooon

Posts: 29

Originally posted by burnout426:

Originally posted by Moooooon:

Where do I find that index.ini file in the Opera installation?



opera:about shows you where everything is at.



Awesome, thanks!! I knew I had seen this someplace before, and then you always forget looking in the most obvious place smile

30. September 2011, 22:29:27

burnout426

Posts: 13202

Originally posted by Moooooon:

I managed to find that file finally in an odd place under "Documents and Settings"/[username]/Local Settings/Application Data.



If you mean "Opera/Opera/Mail" in that application data folder, then that's not a weird place at all. That application data folder is where programs store local-only data.

30. September 2011, 22:32:00

Moooooon

Posts: 29

Hmm, looking at that About page, I notice that it says this:

Saved session - (snip)\Opera\Opera\sessions\autopera.win

But there is no such file in that directory. I can see two files in that folder, autosave.win and autosave.win.bak

30. September 2011, 22:35:24

Moooooon

Posts: 29

Care to elaborate what you mean with "yes"? Is the path in the about page wrong? It points to "autopera.win" and not autosave.win.

30. September 2011, 22:36:46

burnout426

Posts: 13202

Originally posted by Moooooon:

Care to elaborate what you mean with "yes"?



Originally posted by burnout426:

You can close down Opera and delete autosave.win in the sessions folder

30. September 2011, 22:40:56

Moooooon

Posts: 29

OK, I'll try that, but do you have any idea why the path points to autopera.win and not autosave.win?

30. September 2011, 22:49:34

Moooooon

Posts: 29

Nope, deleting autosav.win (and also autosav.win.bak which was also in there) didn't change a thing. The Mail Panel still opens uncustomized, and none of the changes I make to it "stick" (after closing Opera, it opens again as it was before I made any changes). I did make sure to set "Opera Standard" under the Toolbars setting, and I deleted all of the entries "Opera Standard (modified)" as well.

I dunno, but it seems to be not reading some sort of ini file correctly, I think fonant may be on the right track here...?

30. September 2011, 22:50:36

burnout426

Posts: 13202

Originally posted by Moooooon:

but do you have any idea why the path points to autopera.win and not autosave.win?



That's just the default "user hasn't changed it yet" value for opera:config#Automatic%20Window%20Storage%20File, which isn't honored if you change it I hear. I forget whether it used to be called autoopera.win a long time ago and then just never changed the string or if they plan on changing the actually filename used in the future. Wouldn't worry about it.

30. September 2011, 22:53:24

burnout426

Posts: 13202

Originally posted by Moooooon:

I dunno, but it seems to be not reading some sort of ini file correctly, I think fonant may be on the right track here...?



Yeh, sounds like an index.ini problem for you too. But, since it happened to fontant again, there might be something else that's triggering the corruption of index.ini. Starting with a completely new mail folder should rule that out, unless it's some external program that's interfering with Opera. Just want to stress that this isn't a common problem.

30. September 2011, 22:54:31

Moooooon

Posts: 29

OK, then I won't. What I worry about is that my Opera Mail is still seriously borked, I can't make any changes to the Mail panel, my RSS feeds and all Labels are gone sad Since it seems that I am not alone in this and fonant has pretty much the same problem since a few days (which is when I first noticed it, as well), then this probably points at some underlying issue in Opera itself? It would seem way too much coincidence to be just a random corruption for it to happen to two guys (that we know of so far) at nearly the same time with basically the same symptoms.

30. September 2011, 23:37:06 (edited)

burnout426

Posts: 13202

Originally posted by Moooooon:

OK, then I won't. What I worry about is that my Opera Mail is still seriously borked, I can't make any changes to the Mail panel, my RSS feeds and all Labels are gone Since it seems that I am not alone in this and fonant has pretty much the same problem since a few days (which is when I first noticed it, as well), then this probably points at some underlying issue in Opera itself? It would seem way too much coincidence to be just a random corruption for it to happen to two guys (that we know of so far) at nearly the same time with basically the same symptoms.



If you want to figure out what's wrong, you'll need to upload index.ini to your file space and link to it here. If we don't find anything wrong with it, then we'll need a copy of your mail folder (minus the files in the store folder would be fine and minus the lexicon folder, but still need everything else). If you're not willing to do that then it's hard for us to do anything except give you ideas to try. But, we'll need to know more about your setup like where Opera is installed, was it installed as an admin, are you running as an admin, what version of Opera, how long you've been upgrading, what service pack you have for winxp, what security software you have installed and anything else that you have installed that might be interfering with Opera reading/writing the files. And, has Opera or the computer crashed lately? Have you seen windows ask to run chkdsk etc.?

But, unless it's something simple, the damage is already done and there won't be a way to fix it. Even if it's a bug in Opera and a newer version has a fix for the bug, there's less than a 1% chance that it could repair an already-messed-up mail folder. But, you could use the "standalone installation" option in the 12.x installer at <http://my.opera.com/desktopteam/blog/> and replace its mail folder with a *copy* of yours to see what happens. Maybe it will fix things as there were some upgrade issues with index.ini a couple of versions back.

30. September 2011, 23:38:41

burnout426

Posts: 13202

If you both can figure out what your setups have in common, that might help too.

1. October 2011, 01:06:03

Moooooon

Posts: 29

Uploading my index.ini file or mail folder here won't do it because I don't want that, and also because it's too large. The mail database is 140+ MB. Perhaps that's part of the problem, not sure.

I did a standalone installation of Opera just now. Works fine.

I then copied my /mail folder into it, and I am seeing the exact same behavior as I am seeing in my main Opera installation - mail panel loads in a certain way and refuses to accept any changes I make to it, and the feeds and labels are gone.

Now, I don't think that any permanent damage has been done, because the information is, as far as I can tell, still in my mail folder. Opera is just not loading it right.

There are no problems with running as admin or anything because I am using Windows XP. This may be just a hunch, but something tells me that this could be part of the problem, i.e. something about permissions and the whole Vista/W7 admin crap.

I have reported my issues via the Bug Wizard to the developer team, and that includes all the info there is about my system, plugins etc.

No crashes, no chkdsk or anything. I did upgrade AVG free edition to the 2012 version recently, yes, but I doubt that has anything to do with it, because the standalone installation of Opera does work without my mail stuff in it.

>Maybe it will fix things as there were some upgrade issues with index.ini a couple of versions back.

Well, that is interesting, of course, especially since fonant seemed to have some success with copying an older index.ini. So this means that we need someone to figure out what is wrong with my index.ini. Is it supposed to be 2.5 MB in size? Can I simply remove some index entries from it and see what happens?

1. October 2011, 01:06:58

Moooooon

Posts: 29

Originally posted by burnout426:

If you both can figure out what your setups have in common, that might help too.



I agree, and my hunch is that the one thing we have in common is that we both run Windows XP.

1. October 2011, 01:34:09

Moooooon

Posts: 29

Looking at my index.ini file, I notice a few oddities. It has entries for

[Indexer]
[Categories]
(Spam Filter]
[Category 0]
[Category 1]
...
[Category 028]

and then a bunch of entries for "Index". One odd thing is that the first two entries appear to be out of order. They appear like this:

[Index 5078]
[Index 5079]
[Index 1]
[Index 2]
[Index 3]
...
all the way up to
[Index 5067], which is the last entry.

Some of these Index entries seem to be for my own email addresses as they have my email address listed under "Name=", others seem to be related to my mail folders, as they have the name of the mail folder under "name=" (such as "Received" etc.) But there are many indexes (well, thousands!) that list somebody else's email address (presumably someone who emailed me).

Are these some sort of searches that I had run at some point or another? Can I simply delete them?

1. October 2011, 10:26:52

burnout426

Posts: 13202

Originally posted by Moooooon:

and then a bunch of entries for "Index". One odd thing is that the first two entries appear to be out of order



While Opera is closed, try moving them after index 5067 so they're in the right order. Make a copy of index.ini first. Maybe the out-of-orderness messes with parsing index.ini.

Originally posted by Moooooon:

Some of these Index entries seem to be for my own email addresses



For each contact in contacts.adr in the preferences folder, you'll get an index in index.ini because contacts are views too (like labels with a rule to search for the email address). This should all work fine. However, when you export your contacts, an m2indexid line will show up for each contact in the exported file. If you did this and imported the abook into a version of Opera before 11.10, would have generated indexes with numbers from those m2indexid options where those indexids with be valid according to Opera's indexer. This would result in contact views showing form wherever and you would have to open and close the properties of each contact to fix it. Or, export your address book, delete all your contacts and import them via the method listed in the "backup contacts" section at <http://operawiki.info/ImportFromBadMailFolder>. That's fixed now, but if you've been upgrading for a while, you could have hit that bug a while ago.

But, that wouldn't normally put the indexes out of order. However, if you imported your contacts with < 11.10 *before* setting up mail that had a fresh mail folder, it might mess things up. Or, if you used an old contacts.adr that was tied to an old mail folder with a new mail folder, that might have messed things up.

However, if that was the case, you probably would have noticed the problem a long time ago. But, maybe a recent upgrade to 11.51 (which might do some upgrades to index.ini) or a resetting of the mail panel to its defaults might have caused Opera to get confused with the indexes (the out of order ones). But, that's a big guess.

Are 5078 and 5079 indexes for contacts?

You should be able to delete them if they are. But, if you do, you have to decrement the index count at the top of index.ini to match the new number of indexes. But, it's better to delete contacts from the UI.

If those out-of-order indexes are for something else, try to find out what.

Finally, use the "standalone installation" option in the Opera installer to install to a folder on your desktop. Then, setup a dummy account and maybe some feeds etc. You can then use that as a reference to check some parent Ids (but not much else).

For example, the Unread view is usually:

[Index 1]
Name=Unread
Id=1
Parent Id=1600000000


But, also look at the category sections in your original index.ini. Some of them might have visible=0 instead of visible=1.

Stuff you can play with if you want.

Originally posted by Moooooon:

we both run Windows XP.



It's a possibility that it has to do with just WinXP, but I wouldn't assume so just yet.

1. October 2011, 11:28:25

burnout426

Posts: 13202

Originally posted by Moooooon:

Uploading my index.ini file or mail folder here won't do it because I don't want that, and also because it's too large.



Yeh, this is always an issue with troubleshooting mail problems. Users don't want to (or can't) give up their mail folder. I don't blame them one bit, but it's always worth trying.

The mail database is 140+ MB. Perhaps that's part of the problem, not sure.



The size alone says nothing either way.

Originally posted by Moooooon:

I did a standalone installation of Opera just now. Works fine.

I then copied my /mail folder into it, and I am seeing the exact same behavior as I am seeing in my main Opera installation - mail panel loads in a certain way and refuses to accept any changes I make to it, and the feeds and labels are gone.



O.K., so it's definitely the mail folder. (Already assumed, but nice to know for sure.)

Originally posted by Moooooon:

Now, I don't think that any permanent damage has been done, because the information is, as far as I can tell, still in my mail folder. Opera is just not loading it right.



Yeh, sounds like it.

Originally posted by Moooooon:

There are no problems with running as admin or anything because I am using Windows XP. This may be just a hunch, but something tells me that this could be part of the problem, i.e. something about permissions and the whole Vista/W7 admin crap.



Well, whether you're running WinXP, Vista or Win7, you should be running Opera as a limited user and not as an admin. Running the installer as an admin to install for all users is O.K. But, once Opera is installed, you should log out of the admin account and log on to your limited user account to run Opera. Then, you might only run Opera again as admin to update it. But, you can also just run the Opera installer as your limited user and install the Opera program files to "%userprofile%\My Program Files\Opera" so that Opera is only installed for your limited account and so it upgrades just fine without admin access. But, I asked as it's always good to know whether the user is doing that or incorrectly running Opera as an admin. It's also good to know if WinXP users for example mistakenly installed Opera using the single profile option (hidden in command-line switching in the installer now) so that the profile folder is incorrectly located at "C:\Program Files\Opera\profile" where only admins have write access to it. If you do something like this on Win7, Opera will virtualize the writes to a folder in your user space, which can get goofy and mess things up.

So, from that I see that you're running as an admin, have Opera installed to "C:\Program Files\Opera", but you're using the proper local and roaming profile locations under application data. With that setup, you shouldn't have any read/write access problems. But, it's always good to check the permissions on the mail folder and all of its files.

Originally posted by Moooooon:

No crashes, no chkdsk or anything. I did upgrade AVG free edition to the 2012 version recently, yes, but I doubt that has anything to do with it, because the standalone installation of Opera does work without my mail stuff in it.



Anti-virus software is known to mess with mail clients. Usually though, it's just the email scanner that messes with things. But, it is possible that anti-virus can interfere (and has happened before). There's just no proof that this was the cause in this case.

Originally posted by Moooooon:

Well, that is interesting, of course, especially since fonant seemed to have some success with copying an older index.ini. So this means that we need someone to figure out what is wrong with my index.ini. Is it supposed to be 2.5 MB in size?



The size depends on how many views, labels (and their rules), contacts and followed threads you have. So, it could be big or small. The size itself doesn't really help.

Can I simply remove some index entries from it and see what happens?



See my previous post.

1. October 2011, 11:31:57

burnout426

Posts: 13202

Also, if you happen to fix your index.ini good enough to get your views back (which would help others too), there may be other things that are messed up that you don't know about. If you want to be sure things are right 100%, you can do it the hard way with <http://operawiki.info/ImportFromBadMailFolder>.

1. October 2011, 11:59:09

fonant

Posts: 120

OK, more info from my machine.

I'm running Vista x64, with 6G of RAM.
File index.ini is 2.43Mbytes in size.

When it gets corrupted, the feeds that disappear also have their [Index] sections disappear completely from index.ini
The corrupted index.ini has [Index 5000] and above, the non-corrupted one goes up to [Index 4985], just less than 5000 items.
In the OK index.ini, the [Index] sections are in numerical order, while in the corrupted one some of the 5000+ ones appear early in the file.

I'm feeling that there might be a 4999 item limit on the number of [Index] entries, perhaps? So all is well until I add a new Contact or RSS feed, and then it breaks.
www.fonant.com
Quality websites, with the help of Opera
www.numberlinelane.co.uk
Teaching and learning maths through stories

1. October 2011, 12:33:05

fonant

Posts: 120

Yes, 5000 is a critical number.

If my index.ini file has 5000 or fewer [Index] entries, all is well.

If I have an [Index 5000] and I add a new label, to make [Index 5001], the index.ini file is saved when I close Opera with that [Index 5001] included. But when I re-open Opera I lose one of my feeds, and when Opera is closed the largest index is 5000.

Restoring an earlier index.ini restores the feeds and labels, so it might be possible to recover from this corruption by looking at the database and/or stored files on disk.

Let me know if you'd like some obfuscated index.ini files (with the Contact email addresses removed).
www.fonant.com
Quality websites, with the help of Opera
www.numberlinelane.co.uk
Teaching and learning maths through stories

1. October 2011, 13:03:05

burnout426

Posts: 13202

Originally posted by fonant:

The corrupted index.ini has [Index 5000] and above



I think that's fixed in Opera 12.x. Let me double-check the changelogs.

1. October 2011, 13:09:47

Moooooon

Posts: 29

Cool! I have to try that out, I'll simply erase the index entries until I'm below 5000 on the standalone install I have!

If this is true, then this sounds like a genuine bug to me.

1. October 2011, 13:13:57

burnout426

Posts: 13202

It's bug DSK-342882 but not sure if the fix is in yet.

Edit: Don't think the fix is in yet.

1. October 2011, 13:21:09

burnout426

Posts: 13202

Originally posted by Moooooon:

Are 5078 and 5079 indexes for contacts?



You're probably running into the same thing.

1. October 2011, 13:38:15

Moooooon

Posts: 29

OK, I made a little progress. In my standalone install that I had copied my mail folder in, I went into the index.ini file and simply deleted 100 entries in the middle that appear to be contacts. Loading Opera now at least stops the Mail Panel from resetting! I was able to add a Label, close Opera, and it opened with the Label still there. That's encouraging.

Now my contacts list is empty, however, but I guess that's because simply deleting a bunch of indexes in the middle doesn't solve all the problems :-)

I can see my contacts in my main Opera install. Perhaps I should simply start deleting them to reduce the size of index.ini? What do you think?

1. October 2011, 13:46:10

fonant

Posts: 120

Sadly deleting contacts (I've not turned off "Add contacts from sent messages" on all my mail accounts) seems to cause the [Index] number to increase. So apart from trying to manually edit the [Index xxxx] numbers, and presumably setting the Index Count in the [Indexer] section to a lower number, it seems tricky to fix this.
www.fonant.com
Quality websites, with the help of Opera
www.numberlinelane.co.uk
Teaching and learning maths through stories

1. October 2011, 13:58:33

Moooooon

Posts: 29

Hi fonant, yes, this mirrors what I just experienced. I tried to delete contacts as well, but it didn't change anything. It deletes the contact but doesn't seem to delete the index entry.

I am wondering though if deleting contacts to get them below 5000, and then running a new install of Opera 11.51 on top of the existing install might not fix the indexes... hmmm...

1. October 2011, 14:04:05

fonant

Posts: 120

Ah, OK, if you delete contacts from the middle of the index.ini file, while Opera is not running, then the Index numbers are re-generated. This seems to reduce the Index count below 5000, which fixes the problem.

  1. Close Opera
  2. Open index.ini
  3. Delete contacts (Type=0) that you don't recognize, or don't want to keep as contacts.
  4. Re-start Opera
  5. When you close Opera again, you'll see that the index.ini has renumbered, and with any luck the Index count will be below 5000.
www.fonant.com
Quality websites, with the help of Opera
www.numberlinelane.co.uk
Teaching and learning maths through stories

1. October 2011, 15:44:09

Moooooon

Posts: 29

Doesn't quite fix it for me. On my standalone install, I did what you describe already before. After doing so, my Mail Panel accepts changes again, but my contacts are empty, my Feeds and Labels aren't back either, and I still see high numbered indexes (5000+) at the beginning of that list rather than at the end after closing Opera (this happens even after I move them manually to the end of the file).

1. October 2011, 15:53:47

Moooooon

Posts: 29

In my mail folder, I have a file called "recovery.log". In it, there is a log entry like so:

==== Logging started ====
20/09-2011 10:08:00 Ghostbuster
Started
20/09-2011 10:08:22 Ghostbuster
Finished: Deleted 0 ghosts from the following indexes:(null)

I assume this is part of that maintenance that Opera sometimes wants to do (apparently, looking at the log entries, once a month). Is there a way to force Opera to do this maintenance (rather than having to wait until October 20th)?

1. October 2011, 15:56:23

Moooooon

Posts: 29

OK, nevermind, I found it:

opera:config and under Mail there is an entry for Database Consistency Check

1. October 2011, 16:04:50

Moooooon

Posts: 29

Bah, didn't work. Or at least, it didn't change anything. The Ghostbuster wasn't even launch during the maintenance session.

1. October 2011, 17:32:07

burnout426

Posts: 13202

Originally posted by Moooooon:

opera:config and under Mail there is an entry for Database Consistency Check



You have to set it to 0, save and restart and choose ok to run it when Opera closes. Then, it'll take a bit. But, that won't fix stuff in index.ini.

3. October 2011, 22:31:09

Moooooon

Posts: 29

Yup, you're right, it didn't fix anything. So I'm still out a working Mail Panel... :-( I have been using Opera for years. Has now the end come for me? Ugh.

4. October 2011, 15:13:56

burnout426

Posts: 13202

Originally posted by Moooooon:

Yup, you're right, it didn't fix anything. So I'm still out a working Mail Panel



If you close down Opera, delete a bunch of index you don't want, change all the index numbers so that they're consecutive all the way through and then update the index count to reflect, it'll probably fix it.

For example, if you have:


[Indexer]
Index Count=10

[Index 1]
[Index 2]
[Index 3]
[Index 4]
[Index 5]
[Index 6]
[Index 7]
[Index 8]
[Index 9]
[Index 10]



and delete indexes 3, 4 and 5, you'd change index 6 to 3, 7 to 4, 8 to 5, 9 to 6 and 10 to 7. Then, you'd update index count to 7.

Obviously, you have a lot more indexes to fix and rename. But, doing that may get you way below the 5000 mark and allow you to create new labels. Just not sure if that'll make Opera use the next available index number when you create a new label or contact or if it'll still try to use a number above 5000. Something you can try though.

4. October 2011, 17:15:06

Moooooon

Posts: 29

I already managed partial success. See my previous post further above:

"Doesn't quite fix it for me. On my standalone install, I did what you describe already before. After doing so, my Mail Panel accepts changes again, but my contacts are empty, my Feeds and Labels aren't back either, and I still see high numbered indexes (5000+) at the beginning of that list rather than at the end after closing Opera (this happens even after I move them manually to the end of the file)."

So while I was able to generate a new label and save it (as the mail panel layout), it's not fixed entirely.

Nevertheless, I just ran another attempt, this time renumbering and changing the Index Count. In addition to renumbering the Indexes to close the gap created by deleting a couple hundred of them, I also renumbered the 5000+ index numbers that appear in my ini in front of [Index 1] all the time (even if I move them to the end of the file manually, I might add).

The result:

I cannot see any difference between this approach with renumbering them vs. what I did previously. My mail panel accepts and saves changes, but I don't see my Feeds and previous Labels.

Moreover, opening Index.ini, it appears that the 5000+ indexes I had renumbered are gone entirely. It's a little hard to say for sure, because I still have 4800 or so indexes in the ini. I also don't see any obvious entries missing from the Mail Panel itself (like email addresses that I may have deleted or something like that).

But again, the old labels and feeds remain gone. That despite the fact that I think I can see them in the "autofilter" and "newsfeed" folders.

4. October 2011, 18:02:30

burnout426

Posts: 13202

I only have 1094 index, but if I was to do this, I'd export my contacts first. Then, I'd delete them and empty the contacts trash. Then, I'd reset the mail panel to defaults. Then, I'd close Opera and remove any indexes for my contacts that didn't get deleted. Then, I'd do the renumbering and index count updating. And, I'd find the "{Catergory]" for the labels access point, make sure it's set to visible and take note of its id. Then, I'd look for the indexes for my labels and make sure the parent id is set to that id for each. Then I'd start Opera and import my contacts (but only if I don't have too many contacts that would cause the index count to go to high.)

I think the labels access point for me is "category 7" with an id of 1600000004.

I think the feeds access point for me is "category 12" with an id of 1000000005.

They both have visible=1 and the parentIDs of my labels and feeds match those ids. (Feeds in folders obviously have the parentId set to the id of the parent folder and nested labels have their parentId set to the parent label's id).

So, you've already tried most of that, but you can try the above too. If those categories are missing, you might try creating them with those ids (or specifically use the id in the parentId setting for your labels as feeds) to see if you can then see your feeds.

But, if nothing helps, then you'll have to wait to the 5000 limit bug if fixed to see if that fixes things for you. And, if it doesn't, you'll just have to start over from scratch with a build that has the fix. While it's interesting to try and fix your current setup, it sounds like things are pretty much hosed.

4. October 2011, 20:02:30

Moooooon

Posts: 29

Hi burnout426, thanks for the instructions. I may be desperate enough to just try it out smile

The "5000 index bug" seems to be a pretty severe shortcoming (especially since mail accounts seem to be created by default with the "Add contacts option on"), so I would really hope that the devs come out with a fix. I've been a great supporter of Opera since version 8 and converted a whole bunch of people to it, never really encountering any issues with it until now, but this would shake my foundations in the product quite a bit.

4. October 2011, 20:09:37

Moooooon

Posts: 29

Hmm, based on your description I may have a problem with the categories in my index.ini file, too. I have entries for

[Category 1]
[Category 2]
...
[Category 28]

But my entry called [Categories] looks like this:

[Categories]
Category 0 open=0
Category 0 unread=0
Category 1 open=0
Category 1 unread=0
Category 2 open=0
Category 2 unread=0
Category 3 open=0
Category 3 unread=0
Category 4 open=0
Category 4 unread=0
Category 5 open=0
Category 5 unread=0
Category 6 open=0
Category 6 unread=0
Category 7 open=0
Category 7 unread=0
Category 8 open=0
Category 8 unread=0
Category 9 open=0
Category 9 unread=0
Category 1400000002 open=0
Category 1400000002 unread=0
Category 1400000005 open=0
Category 1400000007 open=0
Category 1400000007 unread=0
Category 1400000009 open=0
Category 1400000009 unread=0
Category 1400000008 open=256
Category 1400000001 open=0
Category 1400000001 unread=0
Category 1400000003 open=8
Category 1400000006 unread=0
Category 1400000000 open=1
Category 1400000006 open=64
Category 1400000004 unread=0
Category 1400000008 unread=0
Category 1400000000 unread=1
Category 1400000005 unread=0
Category 1400000004 open=0
Category 1400000003 unread=0

That doesn't looks right, does it?

4. October 2011, 20:17:41

burnout426

Posts: 13202

Originally posted by Moooooon:

That doesn't looks right, does it?



I checked my 11.51 build and even it doesn't look like that. It might have been like that in some pre 11.51 snapshot or just in previous versions in general. Don't remember. It being like that might be a result of index.ini being upgraded from the old way. Don't know.

For ones that don't have their own category, you could try to convert them to the :

[Category 0]
id=1000000001
open=1
unread=1
visible=1


format. (Try with a copy of your mail folder or copy of index.ini at least just in case it hoses things more.)

Then, you could delete the "[Categories]" section. I don't have that at all.

4. October 2011, 20:24:44

Moooooon

Posts: 29

Yes, it says "Indexer Version 12".

Unless I counted wrong, the number of entries under [Categories] corresponds to the number of [Category 1]...[Category 28] entries below it. So I'm not sure if there are any "missing", they just seem to be mis-numbered.

I'll experiment and see what happens when I simply delete that whole entry... smile

5. October 2011, 22:18:16

Moooooon

Posts: 29

OK, deleting the entire [Categories] entry doesn't seem to do anything bad. When I started my standalone test install of Opera, it opened with all the tabs in the Mail Panel closed, but I am not sure if this had anything to do with deleting the entry or not. Closing Opera and re-opening works, and the [Categories] entry is gone.

I guess I am starting to figure out how this whole index.ini file is working. That's the good news. The bad news seem to be that it merely reflects the broken state that it is in, and I would have to rebuild the whole thing from scratch to get things back to how they used to be :-(

My feeds seem to have the Id of 1000000003. I also see a reference to File=folder_1000000003.idx under that Index entry. But I cannot find that folder. Do you know where it is supposed to be?

My labels seem to have the Id of 1600000004. I can see the test label that I created in the Index. It also includes a reference to folder_200000030.idx. Again, I don't know where that folder is supposed to be, any ideas?

Perhaps in order to get my old feeds and labels back, I would need to figure out if the old idx files are still somewhere, and instead link to those???

But really, I'm losing hope that I'll be able to fix this myself. Looks like this Opera bug has cost me dearly this time sad

5. October 2011, 22:38:09

burnout426

Posts: 13202

Originally posted by Moooooon:

My feeds seem to have the Id of 1000000003. I also see a reference to File=folder_1000000003.idx under that Index entry. But I cannot find that folder. Do you know where it is supposed to be?



I think it refers to the feed_id file in the feeds folder. But, I think it should be File=newsfeed_1200000001.idx for example for feeds and not "folder". But, it might just point to something in the indexer/database.

Originally posted by Moooooon:

My labels seem to have the Id of 1600000004. I can see the test label that I created in the Index. It also includes a reference to folder_200000030.idx.



I think that points to something in the indexer/database.

19. October 2011, 13:41:14

Moooooon

Posts: 29

Well, 11.52 is out and I was hopeful that the devs would address this issue, but sadly nothing changed. My 5000+ index is still corrupt. I'm disappointed that they seem to be ignoring such a blatant bug, driving away a frequent (and up until now very happy) Opera user. Way to go... not. Time to say goodbye to Opera.

19. October 2011, 23:38:02

LeoCG

Posts: 10103

11.52 was released (almost) only to address a security issue, there is almost no bugfixes on it.

Lastest Opera Developer Build @ Windows 8.1 Pro X64
Intel I5-4430 - 8GB Ram
Intel HD Graphics 4600

20. October 2011, 06:52:01

fonant

Posts: 120

It's a pity the bug fix for this 5000 limit hasn't yet appeared. It's hard to work around, but perhaps quite easy to fix (we have some good repeatable symptoms, and it might just be a case for swapping a fixed data array allocation for a dynamic one)?

Is there a way to vote "+1" on bugs, to say "this is hurting me too!"?
www.fonant.com
Quality websites, with the help of Opera
www.numberlinelane.co.uk
Teaching and learning maths through stories

Forums » Opera for Windows/Mac/Linux » Opera mail, chat and news