Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm
Mở

tryng to import a seamonkey profile in to at TB email system.

david đã trả lời
sdye1

Am trying to import seamonkey profile data in to Thunderbird, but keep getting error messages: am using win 11 anddownloaded latest TB exe yesterday. mail.import: Path Profiles/4wd1drzq.default is incorrect; isRelative=true SeamonkeyProfileImporter.sys.mjs:67:22 and This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “”. SeamonkeyProfileImporter.sys.mjs . Have found this: /* This Source Code Form is subject to the terms of the Mozilla Public

* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import { AppConstants } from "resource://gre/modules/AppConstants.sys.mjs"; import { ThunderbirdProfileImporter } from "resource:///modules/ThunderbirdProfileImporter.sys.mjs";

/**

* A module to import things from a seamonkey profile dir into the current
* profile.
*/

export class SeamonkeyProfileImporter extends ThunderbirdProfileImporter {

 NAME = "SeaMonkey";
 /** @see BaseProfileImporter */
 async getSourceProfiles() {
   const slugs = {
     win: ["AppData", "Mozilla", "SeaMonkey"],
     macosx: ["ULibDir", "Application Support", "SeaMonkey"],
     linux: ["Home", ".mozilla", "seamonkey"],
   }[AppConstants.platform];
   if (!slugs) {
     // We don't recognize this OS.
     return [];
   }
   const seamonkeyRoot = Services.dirsvc.get(slugs[0], Ci.nsIFile);
   slugs.slice(1).forEach(seamonkeyRoot.append);
   const profilesIni = seamonkeyRoot.clone();
   profilesIni.append("profiles.ini");
   if (!profilesIni.exists()) {
     this._logger.debug(
       "No SeaMonkey profile found in the well known location."
     );
     return [];
   }
   const profiles = [];
   const ini = Cc["@mozilla.org/xpcom/ini-parser-factory;1"]
     .getService(Ci.nsIINIParserFactory)
     .createINIParser(profilesIni);
   for (const section of ini.getSections()) {
     const keys = [...ini.getKeys(section)];
     if (!keys.includes("Path")) {
       // Not a profile section.
       continue;
     }
     const name = keys.includes("Name")
       ? ini.getString(section, "Name")
       : null;
     const path = ini.getString(section, "Path");
     const isRelative = keys.includes("IsRelative")
       ? ini.getString(section, "IsRelative") == "1"
       : false;
     let dir;
     try {
       if (isRelative) {
         dir = seamonkeyRoot.clone();
         dir.appendRelativePath(path);
       } else {
         dir = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsIFile);
         dir.initWithPath(path);
       }
     } catch (ex) {
       this._logger.warn(
         `Path ${path} is incorrect; isRelative=${isRelative}`
       );
       continue;
     }
     if (!dir.exists()) {
       this._logger.warn(`${dir.path} does not exist`);
       // Not a valid profile.
       continue;
     }
     profiles.push({ name, dir });
   }
   return profiles;
 }

} Thank you

Am trying to import seamonkey profile data in to Thunderbird, but keep getting error messages: am using win 11 anddownloaded latest TB exe yesterday. mail.import: Path Profiles/4wd1drzq.default is incorrect; isRelative=true SeamonkeyProfileImporter.sys.mjs:67:22 and This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. SeamonkeyProfileImporter.sys.mjs . Have found this: /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import { AppConstants } from "resource://gre/modules/AppConstants.sys.mjs"; import { ThunderbirdProfileImporter } from "resource:///modules/ThunderbirdProfileImporter.sys.mjs"; /** * A module to import things from a seamonkey profile dir into the current * profile. */ export class SeamonkeyProfileImporter extends ThunderbirdProfileImporter { NAME = "SeaMonkey"; /** @see BaseProfileImporter */ async getSourceProfiles() { const slugs = { win: ["AppData", "Mozilla", "SeaMonkey"], macosx: ["ULibDir", "Application Support", "SeaMonkey"], linux: ["Home", ".mozilla", "seamonkey"], }[AppConstants.platform]; if (!slugs) { // We don't recognize this OS. return []; } const seamonkeyRoot = Services.dirsvc.get(slugs[0], Ci.nsIFile); slugs.slice(1).forEach(seamonkeyRoot.append); const profilesIni = seamonkeyRoot.clone(); profilesIni.append("profiles.ini"); if (!profilesIni.exists()) { this._logger.debug( "No SeaMonkey profile found in the well known location." ); return []; } const profiles = []; const ini = Cc["@mozilla.org/xpcom/ini-parser-factory;1"] .getService(Ci.nsIINIParserFactory) .createINIParser(profilesIni); for (const section of ini.getSections()) { const keys = [...ini.getKeys(section)]; if (!keys.includes("Path")) { // Not a profile section. continue; } const name = keys.includes("Name") ? ini.getString(section, "Name") : null; const path = ini.getString(section, "Path"); const isRelative = keys.includes("IsRelative") ? ini.getString(section, "IsRelative") == "1" : false; let dir; try { if (isRelative) { dir = seamonkeyRoot.clone(); dir.appendRelativePath(path); } else { dir = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsIFile); dir.initWithPath(path); } } catch (ex) { this._logger.warn( `Path ${path} is incorrect; isRelative=${isRelative}` ); continue; } if (!dir.exists()) { this._logger.warn(`${dir.path} does not exist`); // Not a valid profile. continue; } profiles.push({ name, dir }); } return profiles; } } Thank you

Tất cả các câu trả lời (1)

Just some suggestions, as I do not have the expertise to dig through all of that.

  1. one option is to install the addon, importexporttools NG, and use it's import/export tool for the seamonkey profile
  2. failing that, I suggest using that same addon by clicking Local Folders, rightclicking, and selecting the import/export option to import mbox files, and then locate on the seamonkey profile, the accounts, and then the message folders, such as inbox, inbox.msf, sent, sent.msf, ignoring the msf entries and, individually, importing the message files. That would give you the messages within Local Folders. Not all that you wanted, but that would at least salvage the messages.
Đặt một câu hỏi

Bạn phải đăng nhập vào tài khoản của bạn để trả lời bài viết. Vui lòng bắt đầu một câu hỏi mới, nếu bạn chưa có tài khoản.