Help - Search - Member List - Calendar
Full Version: Bug in categories handling
eMule Plus Forums > Development > Bug Reports
rgreen83
Ok, so I use the categories alot. Some of the categories are very old because i dont start the next category of a series of items until the previous series is finished.

So what is happening is the category.ini simply appends a new CategoryID for each new category directly after the last highest CategoryID, i.e. if catid=49 is still listed, the next category added will be given catid=51, regardless if catid=1 through 49 are being used. This ideally would be handled like the part naming, i.e. each new catid is given the lowest unused #.

Normally im sure this isnt a problem, but for me it is, because there is another bug in the if catid=99 is being used, catid=100 will be given out next, but eplus for whatever reason cannot handle catid=100, at first, all uncategorized files will be assigned to catid=100, then when you remove the category trying to start over e+ will crash every time.

I have been able to reproduce this every time on multiple installs, it should be easy enough to reproduce on your end if i have made myself clear enough in my explanation.

The crash dumps have been sent to the addy listed in the help section.

Could both these problems be fixed, so the catids are assigned like the .part names and so that eplus could handle more than 99 categories?
muleteer
Very interesting. I don't think we expected anyone to use so many categories. wink.gif We'll look into it. smile.gif
Aw3
Oops... It looks like the whole bunch of bugs... Value 100 is [All]...
Only 1-99 are used for user defined categories.
Aw3
Actually we don't debug dumps from custom builds wink.gif... Anyway I don't think we need dump files for this case as it is pretty much obvious.
rgreen83
oops sorry, thought i was still using the 1.2 build, i could reproduce with it though i suppose, but as you said it probably isnt necessary. Ill keep that in mind before sending dumps in the future. Thanks for the interest in my problem, which apparently will probably only affect me.
muleteer
btw, how many files are you sharing? Sounds like you have a lot. Would be nice to have some feedback about how the fix for the handling of large numbers of shared files is working. There was a time (until a few months ago) when anyone sharing more than about 1000 files was immediately disconnected from the server.
rgreen83
I didnt realize a fix had been put in place for that, you are correct that i do have many files to share, maybe 2000, but have always placed them in seperate folders and rotated my shares to avoid sharing too many for the problems you mentioned. I will give it a shot though and get back with some feedback.
muleteer
Thanks, you've already provided it - no problems sharing approx 2000 files. biggrin.gif
rgreen83
Just wanted to ask if this was a simple fix that would be done soon, or a difficult one that will be awhile off? not rushing just curious.
Aw3
I need to study it first to see possible solutions...
rgreen83
thats cool im in no hurry as ive worked around it for now by manually editing the category.ini, but thank you for taking the time to answer my question!
rgreen83
just checkin in tongue.gif so my manual editing of the category.ini is not working out so well, eplus wants to keep adding another all category now and it forgets my categories on restart. Not e+ fault, but also means im still waiting for a proper fix, please :beg:
rgreen83
Wow! Thought i would update this post in case anyone else had ever had this problem, though they shouldnt in the future as AW3 has fixed this today! Thank you! I cant believe it was remembered after so much time and affected so few people (maybe just me, ever) and it speaks much to the integrity of the e+ dev team. Thanks again!
Zom
QUOTE(muleteer @ Mar 6 2006, 14:30)
btw, how many files are you sharing? Sounds like you have a lot. Would be nice to have some feedback about how the fix for the handling of large numbers of shared files is working. There was a time (until a few months ago) when anyone sharing more than about 1000 files was immediately disconnected from the server.
*

See post http://emuleplus.info/forum/index.php?show...151&#entry79151 wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.