Peterhd wrote:
> Hi There
> 
> I dont know if this has happened to anybody else.
> 
> I run firefox 2.0.0.3 <http://2.0.0.3> on OSX 10.4.9 and firefox 2.0.0.3
> <http://2.0.0.3> on XP,  I have been using Piggy Bank to create firstly
> a collection ( excuse my terminology - its how I conceptualize  things )
> spread out over the Mac and a windows PC,  which I have then been saving
> to an implementation of Semantic Bank at
> http://rhubarb.mweb.co.za:8080/knowledge
> Basically I have been scraping South African blogs and adding them.
> 
> Everything was working fine and this evening I was exporting from
> PiggyBank the sites I had scraped, to convert in babel, and then load
> into an exhibit I have been working on http://rhubarb.mweb.co.za/exhibit
> , everything was fine and I had done it before when somehow, I don't
> think I pressed the red button, all the content from the central column
> i.e. "Starting Points" vanished, leaving me with only all the tags
> column on the left, tags that complained about:
> 
> --------------------------------------------------------
> 
> The page at http://127.0.0.1:1978 says:
> 
> TypeError: elmt has no properties
> 
> ------------------------------------------------------
> 
> but none of the content.  Rather startling, although I have since
> scraped my Semantic Bank to get the content back (phew!).
> 
> Below is some error output but this is all generated after the fact so I
> dont know how relevant it will be unfortunately - the debug tools are
> not ones I use much.
> 
> These errors showed when I just shutdown and opened Firefox - I have the
> session manager plugin so my tabs all re-opened.   I closed tabs and
> restarted again and got the error at the bottom of the page.  I have all
> so tried re-installing to no avail.
> 
> 
> Thanks
> 
> Peter
> 
> PS: Great applications - really really interesting and intriguing :)
> 
> 
> 
> Error: PiggyBank._removeCollector(browser) has no properties
> Source File: chrome://piggy-bank/content/scripts/piggybank.js
> Line: 170
> 
> PiggyBank._instrumentBrowsers = function() {
>     if (PB_Debug.enabled()) PB_Debug.trace("piggybank.js",">
> PiggyBank.instrumentBrowsers");
> 
>     var browsers = PiggyBank._tabBrowser.browsers;
> 
>     if (PB_Debug.enabled()) PB_Debug.trace("piggybank.js","> Remove
> Collectors");
> 
>     // Remove collector of any browser that no longer exists
>     for (var i = 0; i < PiggyBank._browsers.length; i++) {
>         var browser = PiggyBank._browsers[i];
>         var exists = false;
> 
>         for (var j = 0; j < browsers.length; j++) {
>             if (browser == browsers[j]) {
>                 exists = true;
>                 break;
>             }
>         }
> 
>         if (!exists) {
>             PiggyBank._browsers.splice(i,1);
> 
>             var sourceName = PiggyBank._browserToSourceName[browser];
>             if (sourceName) {
>                 PB_Extension.removeSource(sourceName);
>                 PiggyBank._browserToSourceName[browser] = null;
>             }
> 
>             PiggyBank._removeCollector(browser).dispose();    
> <------------------------- whole line highlighted error line
>         }
>     }
> 
>     if (PB_Debug.enabled()) PB_Debug.trace("piggybank.js","< Remove
> Collectors");
> 
>     if (PB_Debug.enabled()) PB_Debug.trace("piggybank.js","> Add
> Collectors");
> 
>    
>     ---------------------------------------------
>    
>     Error: PiggyBank._getCollector(browser) has no properties
> Source File: chrome://piggy-bank/content/scripts/piggybank.js
> Line: 88
> 
> 
> /*
>  * The browser XUL has unloaded. Remove listeners to avoid leaking memory.
>  */
> PiggyBank.chromeUnload = function() {
>     if (PB_Debug.enabled()) PB_Debug.trace("piggybank.js",">
> chromeUnload");
> 
>     for (var i = 0; i < PiggyBank._browsers.length; i++) {
>         var browser = PiggyBank._browsers[i];
>         var sourceName = PiggyBank._browserToSourceName[browser];
>         if (sourceName) {
>             // tell the java subsystem to discard the temporary profiles
>             PB_Extension.removeSource(sourceName);
>         }
>         // dispose the collector (which contains listerners!) to avoid
> leaking memory
>         PiggyBank._getCollector(browser).dispose();    
> <---------------------------------- whole line highlighted error line
>     }
> 
>     // remove the listeners to avoid leaking memory
>     window.getBrowser().removeProgressListener(PiggyBank._listener);
>     document.getElementById("appcontent").removeEventListener("load",
> PiggyBank._onPageLoad, true);
> 
>     // unregister as a URI content listener
>     Components.classes["@mozilla.org/uriloader;1
> <http://mozilla.org/uriloader;1>"]
>         .getService(Components.interfaces.nsIURILoader)
>             .unRegisterContentListener(PiggyBank);
> 
>     // cut the references to the objects we created
>     PiggyBank._browsers = null;
>     PiggyBank._browserToCollector = null;
>     PiggyBank._browserToSourceName = null;
>     PiggyBank._contentListener = null;
>     PiggyBank._tabBrowser = null;
>     PiggyBank._listener = null;
> 
>     if (PB_Debug.enabled()) PB_Debug.trace("piggybank.js","<
> chromeUnload");
>     if (PB_Debug.enabled()) PB_Debug.trace("piggybank.js","-----
> [Disposed PiggyBank Overlay] -----");
> }
> 
> //
> ---------------------------------------------------------------------------------
> 
> 
> 
> Then after closing all tabs shutting down and restarting only one error
> on loading piggy bank
> 
> Warning: anonymous function does not always return a value
> Source File: chrome://piggy-bank/content/scripts/extension.js
> Line: 313
> Source Code:
> }
> 
> 
> 
> /
> -------------------------------------------------------------------------------
> 
> // FIXME(SM) these two functions should be private only, as to make sure
> // that there is a single point of failure
> 
> PB_Extension.getPiggyBank = function() {
>     //PB_Debug.trace("extension.js","PB_Extension.getPiggyBank");
>     var pb = PB_Extension.getPiggyBankComponent();
>     if (pb) {
>         return pb.getInstance();
>     }
> } <------------------------------------------------------------    was
> highlighted as an error

Hmmm, can you try to turn on the java debugging too and open the java
console error log? (on windows, right click on the java icon on the tray
bar and hit show console).

It seems an error with the java subsystem is percolating all the way to
piggy bank, but it's weird as it should have been trapped somewhere else.

That said, I've never seen this before.

-- 
Stefano Mazzocchi
Digital Libraries Research Group                 Research Scientist
Massachusetts Institute of Technology
E25-131, 77 Massachusetts Ave               skype: stefanomazzocchi
Cambridge, MA  02139-4307, USA         email: stefanom at mit . edu
-------------------------------------------------------------------

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to