[Slogger] Slogger 0.6.20060201 totally broken in Firefox 1.5.0.1 - Really need help.

Ken Schutte kschutte at mit.edu
Sat Feb 11 13:33:24 EST 2006


Hi Tom,

I tried to answer some of your questions below...

In general, for things not to work on a completely fresh install with 
the default settings, I'm not sure what to tell you... except maybe how 
to make sure everything is really uninstalled: Search for a prefs.js 
file in your Firefox profile directory.  With Firefox not running, and 
Slogger uninstalled, delete lines in prefs.js with "slogger.", then 
re-install slogger.  You should get a message that Slogger was just 
installed, and it should hopefully work okay...

tomthumb at tom.com wrote:
> 1. With a fresh Slogger installation (all default settings) to a
> brand-new Firefox profile, everytime I choose "View RDF-XUL log" from
> the Slogger menu, I would get a "File not found".

The default settings shouldn't have the RDF-XUL profile active for 
anything... This was just an idea I was playing with, and doesn't really 
work right.  That "View RDF-XUL log" message shouldn't show up in the 
menu without having run it - I'm not sure how that would happen, I'll 
have to check that out...  Did you select "Run -> (that profile)" from 
the menu?  Maybe I should delete it all together... You can modify the 
menu by going to the URL "about:config" and modifying 
"slogger.customMenu".  It's format is "label1|uri1|label2|uri2|..."

> 2. As above, when I choose "View today's XML log file", I would get a
> 'unformatted' bunch of entries on a white page, not a properly formatted
> table of previous versions.

hmm... Does it open the correct xml file?  If you kept default settings 
- is there a "slogger.xsl" file in the same directory.

> 3. If I check the "Show confirmation/edit window before page is logged"
> option, Slogger would pop up a completely blank window each time a page
> is logged (auto or otherwise).

Did you select variables to edit on confirm?  That's what should appear 
in this window - the idea is that you select what info you want to 
customize in the edit popup...  With none selected, the window is blank, 
and you can just hit OK or Cancel to log or cancel log.  I guess it 
should have some text message, like "Confirm: OK to log, Cancel to skip"...

> 
> 4. Clicking on the 'Test' button in those profiles with custom scripts
> does not do anything at all.

I have not seen this problem... If something very simple like 
"alert('x');" doesn't do anything, maybe check Firefox 
"Tools->Javascript console" for error messages... ?

> Besides the above, I've found it totally confusing and almost impossible
> to change the data directory for Slogger without delving into prefs.js
> where the $sloggerDir variable seems to be hard-coded. I recall this was
> much more straightforward and easily done in the 0.5.x versions.

The $sloggerDir is really just meant to be a shortcut to Slogger's 
extension directory (ie where the code is installed, etc), which is set 
by Firefox, and does not change.  I use this as a default place to store 
things, because I figure is a fairly safe place to create dirs/write 
data, etc..  You don't have to use $sloggerDir if you want to store 
stuff elsewhere, but if you want to and want to change it, the way to do 
so is entering "about:config" as URL in Firefox, and editing 
"slogger.sloggerDir". (this is how you can modify prefs.js stuff safely)

The main difference in direcories from previous versions is that the 
saved pages and log file can have different directories, so depending on 
your setup, you may have to make a change in two places.


Ken



More information about the Slogger mailing list