With your change it now works perfectly. Thanks Mark! Stephan On Dec 13, 6:43 pm, "Mark S." <[email protected]> wrote: > After reviewing the code, I'm still not sure which plugin is > "responsible". Both plugins hijack the code for saving a tiddler in > the internal TW structure. Apparently the IntelliTagger calls the save > tiddler code without a tiddler body ... I think as a macro invocation. > This causes the InstantTimestampPlugin to create an error, because it > expects a body to be there. I don't know if IntelliTagger is doing an > unreasonable thing (not sending a body) or if InstantTimestamp is > unreasonably not checking for an error condition. There is no TW API > that I know of that will tell me what arguments the TW saver routine > *must* always complete, and which can be left empty. So its hard to > say which plugin is "wrong". > > Anyways, this may do for a quick fix. Change this line in > InstantTimestampPlugin from this: > > if (!tags.containsAny(conf.excludeTags) && ! > conf.excludeTiddlers.contains(newTitle) ) { > > to this: > > if (newBody && !tags.containsAny(conf.excludeTags) && ! > conf.excludeTiddlers.contains(newTitle) ) { > > HTH > Mark > > On Dec 13, 3:08 pm, StephanF <[email protected]> wrote: > > > Yes indeed, it turns out InstantTimestampPlugin and Intellitagger are > > not compatible. > > > I am still getting used to the idea that plugins are javascript > > contained in tiddlers, so it didn't immediately dawn on me that I > > could search for that code in TW to find which plugin(s) had it. > > It was in the timestamp one, and as soon as I loaded it the bad > > behavior began. > > > Since I am new to this discussion group, I don't know what the > > protocol is for reporting these sorts of errors. Should I email both > > authors? Or, do we assume that authors are monitoring the discussion? > > > Thanks for the help! > > Stephan > > > On Dec 13, 8:44 am, cmari <[email protected]> wrote: > > > > Hi Stephan, > > > Coincidentally, I was just trying to figure out why installing the > > > InstantTimestampPlugin prevents ListboxPlugin from working. > > > I'm too stupid to be able to figure that out, but I can tell you for > > > sure that the code you pasted in actually comes from > > > InstantTimestampPlugin. So you might start with disabling that one. > > > cmari > > > > On Dec 13, 8:05 am, "Mark S." <[email protected]> wrote: > > > > > Don't forget that you can enable and disable your plugins through the > > > > backstage control panel. Might be faster than re-loading each plugin. > > > > > HTH > > > > Mark > > > > > On Dec 13, 5:23 am, StephanF <[email protected]> wrote: > > > > > > Hi > > > > > Yes, I should have provided more contextual data. thought of it just > > > > > as I pressed send. > > > > > Anyway, Firefox 3.5.5 on Windows Vista Premium > > > > > The error I reported came from the Firefox error console. I looked > > > > > there because pressing the Done button didn't do anything. > > > > > > I just started a series of tests to isolate the problem: > > > > > - created a new TW from my original download (2.4.1) and added the IT > > > > > plugin. worked correctly. > > > > > - upgraded the TW to version 2.5.3. IT plugin works correctly. > > > > > So, it is not the machine, OS, browser, TW or the IT plugin. So it > > > > > must be a conflict with another plugin. > > > > > later today I will add the rest of my plugins one at a time until the > > > > > error recurs, then report the conflict here. > > > > > Several of the other plugins have to do with tags since I am trying to > > > > > organize TW's with lots of stuff in them but poor tagging. The 'tag > > > > > lots of tiddlers at once' sort of plugins are appealing! > > > > > > Thanks > > > > > Stephan > > > > > > On Dec 13, 12:09 am, "Mark S." <[email protected]> wrote: > > > > > > > I just loaded the IntelliTaggerPlugin into a TW, and it seems to > > > > > > work > > > > > > fine. It might help others to diagnose your situation if you mention > > > > > > which OS, browser, and browser version you using. Also a list of > > > > > > plugins you are using, and maybe a list of browser add-ons. Describe > > > > > > the exact steps leading up to the error. > > > > > > > Good luck! > > > > > > Mark > > > > > > > On Dec 12, 11:21 am, StephanF <[email protected]> wrote: > > > > > > > > Error: newBody is undefined Line: 4995 > > > > > > > > Edit tags only tool works correctly when a tiddler is tagged with > > > > > > > something in a hide list (I think), but using 'edit tags only' > > > > > > > for > > > > > > > any other tiddler causes the above error and the edit fails. > > > > > > > > I think this is the code that fails > > > > > > > > if ( !tags.containsAny(conf.excludeTags) && ! > > > > > > > conf.excludeTiddlers.contains(newTitle) ) { > > > > > > > > var now = new Date(); > > > > > > > var trans = conf.translations; > > > > > > > for (var i=0;i<trans.length;i++) { > > > > > > > newBody = newBody.replace(trans[i][0], > > > > > > > eval(trans[i][1])); > > > > > > > } > > > > > > > } > > > > > > > > If I put a tag like systemConfig in the taglist then it works as > > > > > > > expected. > > > > > > > > Any ideas how to fix? I would really like to use this plugin! > > > > > > > > Regards, > > > > > > > Stephan > > > > > > > > ps. I am using the latest version of TW
-- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

