General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
URL length exceeded storage.......
Posted by: caktus
Date: May 29, 2012 09:18PM

Sometimes when I click on a web link I get an error message

"URL length exceeded storage
Unable to store tab"

What causes this and is there a way to avoid this problem? I have tried doing a search regarding this but all I can find seems to be all gobbledygook.:s

Thank you,

Charlie

~~If it ain't broke, why screw it up?~~


Options: ReplyQuote
Re: URL length exceeded storage.......
Posted by: deadlock
Date: May 30, 2012 07:40AM

@caktus
The message doesn't exist in Gecko and K-Meleon.
Try to find the origin of the message.

Disable third party macros and addons and try again.



Edited 1 time(s). Last edit at 05/30/2012 07:53AM by deadlock.

Options: ReplyQuote
Re: URL length exceeded storage.......
Posted by: JamesD
Date: May 30, 2012 12:04PM

@ caktus

That message comes from the macro 'priortabs.kmm'. In that system, tabs (the URL) that are closed are stored in an ini file. The maximum length for an ini string value is 255, I think. For stability, I set the cutoff at 250 for priortabs. Closed tabs can be found under the 'View' menu.

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Options: ReplyQuote
Re: URL length exceeded storage.......
Posted by: deadlock
Date: May 31, 2012 01:54PM

@JamesD
I set the cutoff at 250 for priortabs.

Is it still necessary with last years macros.dll update?
It allows string length of 1024 characters.

Options: ReplyQuote
Re: URL length exceeded storage.......
Posted by: JamesD
Date: May 31, 2012 04:17PM

Quote
deadlock
Is it still necessary with last years macros.dll update?
It allows string length of 1024 characters.

I don't know. I will have to do some checking. Is there a date for the new version? All mine have the date 2/26/2010 and are 124 KB in size.

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Options: ReplyQuote
Re: URL length exceeded storage.......
Posted by: deadlock
Date: May 31, 2012 07:03PM

@JamesD
I remember that you and Siria asked for it.

A few days later something was fixed in CVS.

Just found out, that URL Bar cache history allows
only 260 chars. That should be fixed first.

Invalid URLs are not good for testing.
Retested with 1982 char URL without problems.

@cactus
If you want no popups, comment out the line beginning with:
$_PriorTabs_CurrType == 2 ...



Edited 3 time(s). Last edit at 06/01/2012 05:23PM by deadlock.

Options: ReplyQuote
Re: URL length exceeded storage.......
Posted by: JamesD
Date: June 01, 2012 06:30PM

What KM version has the new longer length for ini files? I am using KM 1.6.0 beta 2.4 and it fails if the cutoff is changed from 250 to 950.

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Options: ReplyQuote
Re: URL length exceeded storage.......
Posted by: deadlock
Date: June 01, 2012 08:16PM

@JamesD
What KM version has the new longer length for ini files?

There is no download available.
CVS update was only 7 month ago.
A newer macros.dll is needed.

Did you ask the project owner?
I suppose he updated it in response to your forum request.

Options: ReplyQuote
Re: URL length exceeded storage.......
Posted by: deadlock
Date: June 02, 2012 11:44AM

PriorTabs.kmm update.

Works only with new CVS version of macros.dll. sad smiley
Current CVS version allows only 1024 characters.
Not good enough.



Edited 2 time(s). Last edit at 06/03/2012 09:37AM by deadlock.

Options: ReplyQuote
Re: URL length exceeded storage.......
Posted by: guenter
Date: June 04, 2012 12:01PM

Quote
deadlock
PriorTabs.kmm update.

Works only with new CVS version of macros.dll. sad smiley
Current CVS version allows only 1024 characters.
Not good enough.


An attachment with the alterations for macros2 created by deadlock is at

http://dhost.info/kmeleonskins/macros2-functions-h-buffer-2048.7z

I do not have development software installed any more because my version of
VC 2005 does not yield a stable K-Meleon.exe. & I gave up trying anything.

Only Dorian's version of VC 2005 does create stable exes. It does even with the sources and libs that I used and that are at http://dhost.info/kmeleonskins/.meleon-build.7z.

Free for all that want to try to compile K-Meleon.exe or a new macros plugin.

Some background info is in these subsequent 3 mails.

p.s. In case You (deadlock) change Your mind whether You need writing access to CVS and K-Meleon Download page as pre-condition to have any of Your work used or continuing to help in the development of K-Meleon You can contact me via mail.

I only come here or to the wiki when get info that spam has been posted and must be deleted.

If You still want the pre-conditions You will have to deal with the project owners. No idea who except Dorian.


Quote
In Answer to FW: macros2 To 'deadlock', 'James DeYoung', 'alain'


To build a Plugin You only need VC Express 2005.

Instructions are here: http://kmeleon.sourceforge.net/wiki/BuildKMeleonDistribution

deadlock's adapted source is at: http://dhost.info/kmeleonskins/.meleon-build.7z

deadlock other adapted things are still at .KM1.6b2 and .KM1.6b3 same web page.

deadlock did not want it when I wanted to put together a new beta consisting of and using HIS work. So I do not use HIS work anymore.

I also quit trying to finish 1.6 beta German translation.
Because much of the last chrome is AFAIK also HIS work.

deadlock insisted that he first needs CVS writing to do anything
and AFAIK posted that also in Forum.

alain is the only admin that still visits the Forum he needs to show his mail so that people can reach an admin. Else someone should make up his mind and make You admin.

Greetings and thanks for Your attention

Quote
FW: macros2 To 'guenter'


Good day Guenter,

I guess you did not expect to hear from me again. Here is the
situation. Someone asked on forum about PriorTabs.kmm. I told them the
limit for iniread and iniwrite was 256. Somehow Deadlock got involved and
found that the official CVS had been changed to 1024 from 512 in macros.dll
code. He has updated PriorTabs.kmm to use a different method and longer
string.

In any case he asked me to ask you to compile a new macros.dll with
an even longer buffer. I am not sure buffer is the right word. I don't
know why he did not ask you directly.

If you have time and it seems reasonable to you to do this, would
you mind making a new macros.dll file? It seems to me if we are trying to
sew a new cinch on an old saddle for a dead horse, but I did promise to ask.

Thank you,

JamesD

Quote
macros2 To "JamesD"


Update: CVS version was not good enough.

My largest URL has 1987 characters and didn't fail, because
I was already using a length of 2048 for chars.

I've downloaded layout.h from CVS, replaced 1024 with 4096,
saved it in DOS format and attached it to this email.

The buffers are now 16 times bigger than in KM 1.6b2.

You can send it to Guenter with instructions.
(He already has pre-configured sources.)

- copy functions.h to /macros2 directory
- compile macros2 with VS2005

deadlock



Edited 2 time(s). Last edit at 06/04/2012 12:33PM by guenter.

Options: ReplyQuote
Re: URL length exceeded storage.......
Posted by: caktus
Date: June 04, 2012 07:29PM

Quote
JamesD
@ caktus
The maximum length for an ini string value is 255, I think.

It seems the value is set at 250. What kind of instability should I expect if I increase it?

Charlie

~~If it ain't broke, why screw it up?~~


Options: ReplyQuote
Re: URL length exceeded storage.......
Posted by: guenter
Date: June 04, 2012 10:06PM

Quote
caktus
Quote
JamesD
@ caktus
The maximum length for an ini string value is 255, I think.

It seems the value is set at 250. What kind of instability should I expect if I increase it?

Crash unless You compile the plugin with deadlock's changes.

Options: ReplyQuote
Re: URL length exceeded storage.......
Posted by: guenter
Date: July 02, 2012 08:07PM

Quote
caktus
Quote
JamesD
@ caktus
The maximum length for an ini string value is 255, I think.

It seems the value is set at 250. What kind of instability should I expect if I increase it?

Quote
Dorian
I've set the limit to 4096 and rebuilt everything just in case.
http://kmeleon.sourceforge.net/files/KMeleon1.6.7z


Options: ReplyQuote


K-Meleon forum is powered by Phorum.