Big tiddler crash

18 просмотров
Перейти к первому непрочитанному сообщению

Yakov

не прочитано,
15 нояб. 2010 г., 10:04:2415.11.2010
– TiddlyWiki
Since I've ran into this second time and this time it was rather
devastating I'd like to mention this and ask about the solution.

The bug seems to be somewhat similar to the stack overflow. Create a
big tiddler. Reload TW. Open the tiddler. Buttons on the
ToolbarCommands become inactive and the tiddler contains more than it
did - also text of some other tiddlers (and those are deleted as
unique tiddlers _before_ big tiddler is opened) and grows.. it shows
some code, perhaps the whole TW code, adds some more.. and stops it's
growth. In the end there is some striked out code-formatted text.
After this ToolbarCommands are available again.

Opening tw-code of the tiddler shows all this nonsence, including the
initial tiddler content and that of those hallowed by it, and the
extra code, of course)

Rebuilding the document and checking all the "missed" (TabMoreMissing)
tiddlers showed it's likely that all tiddlers are not totaly missed
(they either remain usual tiddlers or get hallowed; in the latter case
tags and titles are missed).

Previous tests showed that 32732-3 symbols is the border of the bug
domain. This is a bit weird since it's not 2^k-1 (the nearest 2^k is
32768). Perhaps it depends on the number of cyrillic (non-//
standart//) symbols but since TW uses Unicode, it is unlikely.

Now, as for solution (if this is not exacly a bug, but somewhat
"natural limit" like the size of the JavaScript lines) it would be
good thing to intoduce some "notifying" to the edit mode - like making
thick red border around the editor and showing a message in the bottom
of the editor if the size is more than the limit (or even if it's
close, with orange border).

I understand that big tiddlers aren't a good practice usually, but
when this happens remembrance of good practice doesn't console and
anyone can get carried away sometimes)

PS I'd like to appologize to those who answered the latest quesions
I've asked and I didn't answered to, now I'm making the cleaning in my
TW-description and I'll join the discussions a bit later.

Jeremy Ruston

не прочитано,
15 нояб. 2010 г., 10:18:4615.11.2010
– tiddl...@googlegroups.com
Although there has been the odd bug over the years, there is no
intrinsic limit to the length of a tiddler in TiddlyWiki. It's
possible that we've accidentally re-introduced an old bug, or perhaps
that you've discovered a new one. Either way, I'm sure we'll get to
the bottom of it.

Could you let me know what version of TiddlyWiki you are using, what
plugins you are using, and what operating system and browser you are
using. If you are using a lot of plugins it would be useful if you
were able to try to reproduce the behaviour without them.

Best wishes

Jeremy

> --
> You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
> To post to this group, send email to tiddl...@googlegroups.com.
> To unsubscribe from this group, send email to tiddlywiki+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
>
>

--
Jeremy Ruston
mailto:jer...@osmosoft.com
http://www.tiddlywiki.com

Yakov

не прочитано,
15 нояб. 2010 г., 11:36:1915.11.2010
– TiddlyWiki
I see.

So, it's TW v2.6.1 with no plugins. in Win Vista with Opera 9.64 (an
old version is used on a computer with no access to internet because
it has a better search through web code). The previous crash was also
there, as I remember.

Hope this will help.

Also, is the v2.6.2 released already? http://tiddlywiki.com/ doesn't
mention this, but http://trac.tiddlywiki.org/ did somewhere..
> > For more options, visit this group athttp://groups.google.com/group/tiddlywiki?hl=en.

Jeremy Ruston

не прочитано,
15 нояб. 2010 г., 12:04:4615.11.2010
– tiddl...@googlegroups.com
> So, it's TW v2.6.1 with no plugins. in Win Vista with Opera 9.64 (an
> old version is used on a computer with no access to internet because
> it has a better search through web code). The previous crash was also
> there, as I remember.

Ahhh! It was Opera that we had problems with before, so I suspect that
this is a regression bug. I've created a ticket for it here:

http://trac.tiddlywiki.org/ticket/1276

Could you try another browser just to see whether it works? We'll
track down and fix the Opera fault.

> Hope this will help.
>
> Also, is the v2.6.2 released already? http://tiddlywiki.com/ doesn't
> mention this, but http://trac.tiddlywiki.org/ did somewhere..

2.6.2 is being prepared for a beta release over the next day or two.
You can follow developments on trac.tiddlywiki.org:

http://trac.tiddlywiki.org/query?group=status&milestone=2.6.2

Best wishes

Jeremy

> For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

Yakov

не прочитано,
16 нояб. 2010 г., 15:33:2916.11.2010
– TiddlyWiki
I tried 4 sequences.

I created a TW A with a tiddler with 32732 symbols and put it into
DefaultTiddlers.
Then I made 2 copies (AA and AB) of it and opened one copy with Opera
9.64 and the other with FireFox 3.6.10 (or 3.6.12, whatever). In both
I added one more symbol and closed both of them.
Then I made 4 copies: AAA and AAB - from AA and ABA and ABB - from AA.
Those with names ended by "A" I open in Opera (not simultaneously,
of'course) and by "B" - with FireFox.
Only the AAA one opened with the error.

So, the bug occurs only if the big tiddler was created in Opera 9.64
and then the document was opened in it once more.

On 15 ноя, 20:04, Jeremy Ruston <jeremy.rus...@gmail.com> wrote:
> > So, it's TW v2.6.1 with no plugins. in Win Vista with Opera 9.64 (an
> > old version is used on a computer with no access to internet because
> > it has a better search through web code). The previous crash was also
> > there, as I remember.
>
> Ahhh! It was Opera that we had problems with before, so I suspect that
> this is a regression bug. I've created a ticket for it here:
>
> http://trac.tiddlywiki.org/ticket/1276
>
> Could you try another browser just to see whether it works? We'll
> track down and fix the Opera fault.
>
> > Hope this will help.
>
> > Also, is the v2.6.2 released already?http://tiddlywiki.com/doesn't
> > mention this, buthttp://trac.tiddlywiki.org/did somewhere..

Jeremy Ruston

не прочитано,
17 нояб. 2010 г., 07:43:5717.11.2010
– tiddl...@googlegroups.com
Hi Yakov

Thanks for the response, that's very helpful. I'll have a look and let you know,

Best wishes

Jeremy

> For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

Jeremy Ruston

не прочитано,
22 нояб. 2010 г., 09:06:2422.11.2010
– tiddl...@googlegroups.com
I've had a look at this, and not got very far. I'm using Opera 10.6,
and I'm unable to get file saving working using the TiddlerSaver
applet. Could any Opera 10.x users out there confirm whether
TiddlyWiki saving works for them?

I'll do some more investigations over the next few days.

Yakov

не прочитано,
23 нояб. 2010 г., 10:38:1623.11.2010
– TiddlyWiki
Yes, sure, 10.63 does save. The only problem with saving I had got was
saving TW-document which address contained non-latin characters. But
this is true for all browsers, as I know.

Was TiddlySaver changed during latest months? If not, I have no idea
why there can be a problem.

On 22 ноя, 17:06, Jeremy Ruston <jeremy.rus...@gmail.com> wrote:
> I've had a look at this, and not got very far. I'm using Opera 10.6,
> and I'm unable to get file saving working using the TiddlerSaver
> applet. Could any Opera 10.x users out there confirm whether
> TiddlyWiki saving works for them?
>
> I'll do some more investigations over the next few days.
>
>
>
>
>
> On Wed, Nov 17, 2010 at 12:43 PM, Jeremy Ruston <jeremy.rus...@gmail.com> wrote:
> > Hi Yakov
>
> > Thanks for the response, that's very helpful. I'll have a look and let you know,
>
> > Best wishes
>
> > Jeremy
>

Yakov

не прочитано,
30 нояб. 2010 г., 15:57:2830.11.2010
– TiddlyWiki
Hi, Jeremy!

There's one more bug in TW+Opera (9.64) which seems to be connected
with the "big tiddler" crash. It is a problem with import.

I open a tw-document A with Opera. Then I go to the import panel (in
backstage) and choose tw-document B. The first part of the bug is I
see the list of tiddlers of B which has fewer items than B actually
has. The last tiddler in there has a bigger size than it has in B (I'm
not sure if this always happens with the last one).

If I import some other tiddlers, it goes ok, but if I touch the last
one, it is imported as such "big tiddler" described previously: it
contains many other tiddlers of B. If I open B after the import to A,
there's still everything ok. This is the second part of the bug.

The "small" list (in import panel) doesn't contain some definite
number of items, it varies from one tw-document B to another.

Hope this helps, Yakov.
Ответить всем
Отправить сообщение автору
Переслать
0 новых сообщений