It might be related to issue #120 but if the profile gets moved we now completely fail to initialize memchaser. The following Javascript error is thrown:
Traceback (most recent call last):
File "resource://gre/modules/XPIProviderUtils.js", line 1238, in readTargetPlatforms_handleCompletion
callbacks.forEach(function(aCallback) {
File "self-hosted", line 339, in forEach
File "resource://gre/modules/XPIProviderUtils.js", line 1239, in XPIDB_fetchAddonMetadata/readTargetPlatforms/readTargetPlatforms_handleCompletion/<
aCallback(aAddon);
File "resource://gre/modules/XPIProviderUtils.js", line 161, in handleResult_makeAddonFromRowAsync
AddonRepository.getCachedAddonByID(aAddon.id, completeAddon);
File "resource://gre/modules/AddonRepository.jsm", line 556, in AddonRepo_getCachedAddonByID
getAddon(this._addons);
File "resource://gre/modules/AddonRepository.jsm", line 524, in getAddon
aCallback((aId in aAddons) ? aAddons[aId] : null);
File "resource://gre/modules/XPIProviderUtils.js", line 157, in completeAddon
self.callback(self.addons);
File "resource://gre/modules/XPIProviderUtils.js", line 1361, in getAddonInLocation_executeAsync
aCallback(aAddons[0]);
File "resource://gre/modules/XPIProvider.jsm", line 5152, in startInstall_getAddonInLocation
reason);
File "resource://gre/modules/XPIProvider.jsm", line 3799, in XPI_callBootstrapMethod
this.bootstrapScopes[aId][aMethod](params, aReason);
File "jar:file:///home/henrik/.mozilla/firefox/profiles/henrik/extensions/memchaser@quality.mozilla.org.xpi!/bootstrap.js", line 180, in startup
prefsURI: rootURI + 'defaults/preferences/prefs.js'
File "resource://memchaser-at-quality-dot-mozilla-dot-org/api-utils/lib/addon/runner.js", line 99, in startup
quit: exit
File "resource://memchaser-at-quality-dot-mozilla-dot-org/memchaser/lib/main.js", line 41, in exports.main
var logger = new Logger({ dir: dir });
File "resource://memchaser-at-quality-dot-mozilla-dot-org/memchaser/lib/logger.js", line 21, in Logger
this.dir = aOptions.dir;
File "resource://memchaser-at-quality-dot-mozilla-dot-org/memchaser/lib/logger.js", line 75, in Logger.prototype.dir
this._dir.create(Ci.nsIFile.DIRECTORY_TYPE, PERMS_DIRECTORY);
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsILocalFile.create]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://memchaser-at-quality-dot-mozilla-dot-org/api-utils/lib/loader.js -> resource://memchaser-at-quality-dot-mozilla-dot-org/memchaser/lib/logger.js :: Logger.prototype.dir :: line 75" data: no]
"]
It might be related to issue #120 but if the profile gets moved we now completely fail to initialize memchaser. The following Javascript error is thrown:
Traceback (most recent call last): File "resource://gre/modules/XPIProviderUtils.js", line 1238, in readTargetPlatforms_handleCompletion callbacks.forEach(function(aCallback) { File "self-hosted", line 339, in forEach File "resource://gre/modules/XPIProviderUtils.js", line 1239, in XPIDB_fetchAddonMetadata/readTargetPlatforms/readTargetPlatforms_handleCompletion/< aCallback(aAddon); File "resource://gre/modules/XPIProviderUtils.js", line 161, in handleResult_makeAddonFromRowAsync AddonRepository.getCachedAddonByID(aAddon.id, completeAddon); File "resource://gre/modules/AddonRepository.jsm", line 556, in AddonRepo_getCachedAddonByID getAddon(this._addons); File "resource://gre/modules/AddonRepository.jsm", line 524, in getAddon aCallback((aId in aAddons) ? aAddons[aId] : null); File "resource://gre/modules/XPIProviderUtils.js", line 157, in completeAddon self.callback(self.addons); File "resource://gre/modules/XPIProviderUtils.js", line 1361, in getAddonInLocation_executeAsync aCallback(aAddons[0]); File "resource://gre/modules/XPIProvider.jsm", line 5152, in startInstall_getAddonInLocation reason); File "resource://gre/modules/XPIProvider.jsm", line 3799, in XPI_callBootstrapMethod this.bootstrapScopes[aId][aMethod](params, aReason); File "jar:file:///home/henrik/.mozilla/firefox/profiles/henrik/extensions/memchaser@quality.mozilla.org.xpi!/bootstrap.js", line 180, in startup prefsURI: rootURI + 'defaults/preferences/prefs.js' File "resource://memchaser-at-quality-dot-mozilla-dot-org/api-utils/lib/addon/runner.js", line 99, in startup quit: exit File "resource://memchaser-at-quality-dot-mozilla-dot-org/memchaser/lib/main.js", line 41, in exports.main var logger = new Logger({ dir: dir }); File "resource://memchaser-at-quality-dot-mozilla-dot-org/memchaser/lib/logger.js", line 21, in Logger this.dir = aOptions.dir; File "resource://memchaser-at-quality-dot-mozilla-dot-org/memchaser/lib/logger.js", line 75, in Logger.prototype.dir this._dir.create(Ci.nsIFile.DIRECTORY_TYPE, PERMS_DIRECTORY); [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsILocalFile.create]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://memchaser-at-quality-dot-mozilla-dot-org/api-utils/lib/loader.js -> resource://memchaser-at-quality-dot-mozilla-dot-org/memchaser/lib/logger.js :: Logger.prototype.dir :: line 75" data: no] "]