debugging

7 views
Skip to first unread message

Gam

unread,
Feb 22, 2008, 1:48:22 PM2/22/08
to TiddlyWiki
A bit back I had upgraded my core and had some incompatability
difficulties with my existing plugins. Apparently some old code was
removed from the core but I still required it. I thought I had
overcome this with my re-updating of the core following the updated
procedures.

But apparently I hadn't succeeded.

So I currently have an error with my tabs macro. How do I find which
plugin/tiddler is causing this?
How do you search for a macro? Is this possible?

Any suggestions on how to proceed for a noncoder debugging?

thanks

Eric Shulman

unread,
Feb 22, 2008, 2:04:41 PM2/22/08
to TiddlyWiki
> So I currently have an error with my tabs macro. How do I find which
> plugin/tiddler is causing this?

Inasmuch as we can't look over your shoulder to see what is happening,
you need to be a bit more specific when asking for help:

1) What version of TW are you using?
2) What browser/system are you using?
3) What plugins do you have installed (and what versions are they)?
4) What is the actual text of the error you are seeing? (click on the
red "error in macro" to see the diagnostic message).
5) If at all possible, post your errant document online and provide a
URL so we CAN take a look, which makes it MUCH more likely that the
problem can be found quickly.

-e
Eric Shulman
TiddlyTools / ELS Design Studios

FND

unread,
Feb 22, 2008, 3:04:46 PM2/22/08
to TiddlyWiki
> Inasmuch as we can't look over your shoulder to see what is happening,
> you need to be a bit more specific when asking for help

I have summarized this and some more information on the community
wiki:
http://www.tiddlywiki.org/wiki/Troubleshooting

Especially important is the text of that macro error.


-- F.

Gam

unread,
Feb 22, 2008, 3:46:16 PM2/22/08
to TiddlyWiki

The question was mostly how do I find the relevant tiddler with the
macro that is causing my concerns.
the troubleshooting guide is new to me i'll look at that. I was
trying to learn how to find out my bug source before I asked your
peoples help.

Part of my difficulties are that at home I have no internet so the
timelag between testing and asking gets stretched out.

This current error is <<tabs>>
1. Error while executing macro <<tabs>>:
2. TypeError: s has no properties

I'm trying to find where that is occuring as it may be my usage /
typing that is causing the problem and not the macro or plugin at all

I was originally having plugin problems with <<toc>> and so on when I
updated the core. At that time the procedures for upgrading the core
were differnet, and I didn't see the plugin conflicts as I upgraded.
(I believe I required some ancient code that most people don't use so
it was removed from the core) Now, the tiddler is reworked with the
new core so the plugin conflicts are not visible to me as I can't
reupgrade the core as it already is fait accompli.

Your suggestion for seeing if my plugins are outdated is good. (so are
your other points) I was having problems with HTMLFormattingPlugin
messing up my tables but I think my other problems are actually
causing that problem and so I am trying to start somewhere bu finding
the <<tabs>> error source

tw version is the latest I believe:
var version = {title: "TiddlyWiki", major: 2, minor: 2, revision: 6,
date: new Date("Oct 18, 2007"), extensions: {}};
//]]>

Browser is firefox

I use many plugins which likely I need to verify first what is
outdated before asking you all to solve my problem I modify most of
my plugins so I need to look at my screwing around before I could
identify any plugin as being the cause of my difficulties.

I can't post as my tiddlywiki is a group of directories and not just
one tiddlywiki. I can zip and email it though.

So really question for now, is: how to search for a macro <<tabs>> in
my tiddlers.

thanks to you both for your patience and help

Eric Shulman

unread,
Feb 22, 2008, 4:23:02 PM2/22/08
to TiddlyWiki
> So really question for now, is: how to search for a macro <<tabs>> in
> my tiddlers.

If the core's built-in <<tabs>> macro is being re-defined, then
somewhere in a plugin tiddler should be the text:
"config.macros.tabs". I'd start by looking for that. Then disable
that plugin, save/reload, and see what happens.

HTH,
-e

Eric Shulman

unread,
Feb 23, 2008, 6:46:45 AM2/23/08
to TiddlyWiki
> This current error is <<tabs>>
> 1. Error while executing macro <<tabs>>:
> 2. TypeError: s has no properties
>
> I'm trying to find where that is occuring as it may be my usage /
> typing that is causing the problem and not the macro or plugin at all

This thread starts out with the SAME error message:
http://groups.google.com/group/TiddlyWiki/browse_thread/thread/3a4b4d8fc87e3b18/5ccc9e8bcb43b074

The problem there was use of out-of-date plugins...

HTH,
Reply all
Reply to author
Forward
0 new messages